AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 589774
Accepted
Totor
Totor
Asked: 2014-04-18 08:01:24 +0800 CST2014-04-18 08:01:24 +0800 CST 2014-04-18 08:01:24 +0800 CST

如何将戴尔服务标签转换为快速服务代码?

  • 772

致电戴尔支持时,您通常必须输入系统的“快速服务代码”才能通过电话获得技术支持。

这是因为服务标签(= 序列号)不仅由数字组成,而且快速服务代码是(DTMF友好的)。

我只将 ST 存储在我的库存中,那么有没有办法将戴尔 ST 转换为快速服务代码?

dell
  • 2 2 个回答
  • 6372 Views

2 个回答

  • Voted
  1. Best Answer
    Totor
    2014-04-18T08:01:24+08:002014-04-18T08:01:24+08:00

    戴尔服务标签只是一个以 36 位为基数的数字(10 位数字 + 26 个字母)。如果将其转换为以 10 为基数的数字,您将获得快速服务代码。

    为此,python您可以从控制台输入(感谢 MikeyB):

    int("SRVCTAG",36)
    

    此外,这是一个简单的 PHP 网页。

    <?php
    echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>
        <title>Conversion Service Tag => Express Service Code (Dell)</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>
    <body>
    
    <h1>Conversion Service Tag => Express Service Code (Dell)</h1>
    
    <p>
    <form action="" method="get">
    Service Tag : <input type="text" name="st" value="<?php echo isset($_GET['st']) ? $_GET['st'] : ''; ?>" autofocus="autofocus" />
    <input type="submit" value="Get Express SC" />
    </form>
    </p>
    
    <?php
    if( isset($_GET['st']) && ctype_alnum($_GET['st']) && strlen($_GET['st']) == 7 ) {
        $st = strtoupper($_GET['st']);
        $esc = base_convert($st, 36, 10); // convert from base 36 to base 10
        echo "<p>Express Service Code : $esc</p>";
    }
    
    ?>
    
    </body>
    </html>
    

    我根据GNU GPL许可证版本 2 或更高版本以及在 stackexchange 网络上使用的许可证授权此代码,无论您喜欢哪个。

    • 6
  2. Cold T
    2014-04-18T08:26:21+08:002014-04-18T08:26:21+08:00

    有许多网站可以做到这一点......谷歌是你的答案,但这里有一些直接来自戴尔网站本身......

    http://support.dell.com/support/topics/global.aspx/support/my_systems_info/express_service_code?DoNotRedirect=y

    http://www.dell.com/support/troubleshooting/us/en/19/Expressservice

    • 2

相关问题

  • 初学者 SAS 和服务器问题

  • 远程更改 DELL PE2950 Bios 设置

  • Dell R200 服务器上的最大支持硬盘驱动器。可以增加吗?

  • MS Small Business Server 2003 全新安装蓝屏?

  • 戴尔错误代码 0141 - 未检测到驱动器

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve