public static String buildUniqueName(AbstractInterfaceConfig config, String protocol) {
        if (RpcConstants.PROTOCOL_TYPE_BOLT.equals(protocol) || RpcConstants.PROTOCOL_TYPE_TR.equals(protocol)) {
            return ConfigUniqueNameGenerator.getUniqueName(config) + "@DEFAULT";
        } else {
            return ConfigUniqueNameGenerator.getUniqueName(config) + "@" + protocol;
        }
    }
Init or add list.

@param <K>      the key parameter
@param <V>      the value parameter
@param orginMap the orgin map
@param key      the key
@param needAdd  the need add
core/api/src/main/java/com/alipay/sofa/rpc/registry/utils/RegistryUtils.java