public static Optional<String> getOsName() {
        try {
            return Optional.of(System.getProperty(SYSTEM_PROP_OS_NAME));
        } catch (SecurityException e) {
            return Optional.empty();
        }
    }
get the operating system name.

@return Optional operating system name
shenyu-register-center/shenyu-register-client/shenyu-register-client-http/src/main/java/org/apache/shenyu/register/client/http/utils/SystemUtils.java