def METHOD_NAME(
    self, executor, ip_table, supplier_account, logger_handle, ip_key="ip", need_build_ip=True
):
    def build_ip_str_from_table():
        ip_list = []
        # 第二步 分析表格, 得到 ipv6, host_id，ipv4, 三种字符串，并连接成字符串
        for _ip in ip_table:
            ipv6_list, ipv4_list, host_id_list, *_ = extract_ip_from_ip_str(_ip[ip_key])  # noqa
            host_id_list = [str(host_id) for host_id in host_id_list]
            ip_list.extend(
                [
                    *["{}:[{}]".format(_ip.get("bk_cloud_id", 0), item) for item in ipv6_list],
                    *host_id_list,
                    *["{}:{}".format(_ip.get("bk_cloud_id", 0), item) for item in ipv4_list],
                ]
            )
        return ",".join(ip_list)
    if settings.ENABLE_IPV6:
        # 第一步 查询这个业务集下所有的业务id, 得到bk_biz_ids
        ip_str = ip_table
        # 在业务集的执行方案中，可能不需要额外处理ip,这种情况直接透传就好
        if need_build_ip:
            ip_str = build_ip_str_from_table()
        logger_handle.info("[get_target_server_biz_set] build ip_str, ip_str is {}".format(ip_str))
        host_result = cc_get_host_by_innerip_with_ipv6(executor, None, ip_str, supplier_account, is_biz_set=True)
        logger_handle.info("[get_target_server_biz_set] search ip end, host_result is {}".format(host_result))
        if not host_result["result"]:
            return False, {}
        return True, {"host_id_list": [int(host["bk_host_id"]) for host in host_result["data"]]}
    # 拼装ip_list， bk_cloud_id为空则值为0
    ip_list = [
        {"ip": ip, "bk_cloud_id": int(_ip["bk_cloud_id"]) if str(_ip["bk_cloud_id"]) else 0}
        for _ip in ip_table
        for ip in get_ip_by_regex(_ip[ip_key])
    ]
    return True, {"ip_list": ip_list}