public String getServiceUniqueName(SofaRequest sofaRequest) {
        this.readLock.lock();
        try {
            Invoker invoker = this.findInvoker(sofaRequest.getInterfaceName(), getUniqueIdFromInvokeContext());
            ProviderConfig providerConfig = null;
            if (invoker instanceof ProviderProxyInvoker) {
                providerConfig = ((ProviderProxyInvoker) invoker).getProviderConfig();
            }
            if (providerConfig == null) {
                throw new SofaRpcException(RpcErrorType.SERVER_NOT_FOUND_INVOKER, "Cannot find providerConfig");
            }
            return ConfigUniqueNameGenerator.getUniqueName(providerConfig);
        } finally {
            this.readLock.unlock();
        }
    }
get unique id from rpc invoke context

@return unique id from rpc invoke context
remoting/remoting-triple/src/main/java/com/alipay/sofa/rpc/server/triple/UniqueIdInvoker.java