新加坡正寻求扩大摄像头和技术的使用,以更好地支持执法者和第一反应者。这些计划包括利用传感器、视频分析、人工智能(AI)、自动化和无人机来缓解人力短缺和提高服务效率https://www.zdnet.com/article/singapore-passes-bill-governance-police-use-of-contact-tracing-data/“target=”\u blank“>警方部署了近90人,在全岛的停车场和住宅区等公共场所安装了1000个摄像头。内政部长兼法律部长尚穆加姆(K.Shanmugam)周一在议会发表讲话时表示,未来几年还将推出“更多”的摄像头。他将这些摄像头描述为阻止和调查犯罪的“游戏规则改变者”,他说,这些设备帮助警方解决了4起案件,截至2020年12月,共有900起案件。
尚穆加姆指出,资源和人力有限,该部已将重点放在改造上,更多地利用技术来解决短缺问题。
例如,对邻近的警察中心和警察哨所进行了重新设计,以包括自动自助服务亭,他说,这样市民就可以在7点前24小时为警察服务。到2023年,大约300辆新一代快速反应车也将上路,配备摄像头,能够将周围环境的360度全景带回警察指挥中心。他说,这将使指挥中心的特工能够评估情况并部署备份。这些车辆还将配备视频分析技术,以读取车牌,并自动标记感兴趣的车辆。
“因此,您将被传感器包围,这使人们感到更安全和更有信心,”部长说。
此外,警方已经试验了一年的信标原型,使公众在紧急情况下直接联系执法部门。他说,这些信标横跨两个住宅区,配备了各种“威慑和项目存在”的能力,并补充说,这些信标还配备了闭路电视摄像头,使警方能够快速评估情况。
超越法律,目前正在努力建设“智能”消防站,更多地利用传感器和自动化,以促进行动响应、决策和人力管理。Shanmugam说,诸如跟踪应急物资、车辆和人员排班的准备情况等手动过程将实现自动化。
人工智能供电系统还将在紧急情况下向官员发送信息,如建筑物的平面图和现场直播视频,然后再到达现场。这将使他们能够更好地评估情况,更快地制定计划,并改进他们的反应。
紧急第一响应者还将拥有与智能消防站系统集成的智能穿戴设备,使指挥官能够在作战和训练期间监测军官的身体状况。
转入移民管制,Shanmugam表示,将进一步加强通过iris和验证旅行者身份的功能https://www.zdnet.com/article/uk-firm-to-power-face-verification-in-singapores-digital-identity-system/“target=”\u blank“>自动车道上的面部图像,绕过护照和指纹的使用。他补充说,试验正在进行中,并显示出有希望的结果。
他还指出,使用无人机和机器人来促进COVID-19隔离设施的安全行动,这降低了前线军官暴露的风险。
机器人也被用来灭火,他指出,包括在去年3月的一场工业火灾中,他们处理了火灾中最危险的部分,那里充满了巨大的热量和较差的能见度。
腾讯云希望通过巴林数据中心挖掘中东增长
foodpanda hot on untapped食品交付潜力,冷启动需要成为“超级应用程序”
a, .nav-item > a, .dropdown-menu a');
allLinks.forEach(link => {
let href = link.getAttribute('href');
if (!href || href === '#' || href === 'javascript:;') return;
// 4. 提取菜单中的核心路径
// 例如 /articles.html -> articles
let cleanHref = href.replace(/^\/|\/$/g, '').replace(/\.(html|php)$/, '').toLowerCase();
let isMatch = false;
// 5. 精确匹配逻辑
if (cleanHref === 'index') {
// 只有当前是首页时,才高亮首页
if (cleanPath === 'index') isMatch = true;
} else {
// 如果当前路径完全等于菜单路径 (如 /articles 匹配 /articles)
// 或者当前路径以 "菜单路径/" 开头 (如 /articles/154 匹配 /articles)
// 或者当前路径包含 "菜单路径." (防某些带点号的特殊情况)
if (cleanPath === cleanHref || cleanPath.startsWith(cleanHref + '/')) {
isMatch = true;
}
}
// 6. 如果匹配成功,加上高亮
if (isMatch) {
link.classList.add('active');
// 如果匹配的是下拉菜单里的子项,顺便把它的父级分类也高亮
const parentNavItem = link.closest('.nav-item');
if (parentNavItem && !parentNavItem.classList.contains('active')) {
const parentLink = parentNavItem.querySelector('a');
if (parentLink) parentLink.classList.add('active');
}
}
});
})();
// ================= 移动端菜单逻辑 =================
const toggle = document.getElementById("menuToggle");
const nav = document.getElementById("navLinks");
// 1. 汉堡按钮:切换主菜单显示/隐藏
if (toggle && nav) {
toggle.addEventListener("click", function (e) {
e.stopPropagation();
const expanded = this.getAttribute("aria-expanded") === "true";
this.setAttribute("aria-expanded", String(!expanded));
nav.classList.toggle("active");
});
}
// 2. 处理下拉子菜单的展开/折叠
if (window.innerWidth <= 768) {
const navItems = document.querySelectorAll(".nav-item");
navItems.forEach((item) => {
const titleLink = item.querySelector("a");
const dropdownMenu = item.querySelector(".dropdown-menu");
const arrowIcon = item.querySelector(".arrow-icon");
if (titleLink && dropdownMenu) {
titleLink.addEventListener("click", function (e) {
e.preventDefault(); // 阻止链接跳转
e.stopPropagation();
// 手风琴效果:收起其他已展开的菜单
navItems.forEach((otherItem) => {
if (otherItem !== item) {
const otherMenu = otherItem.querySelector(".dropdown-menu");
const otherArrow = otherItem.querySelector(".arrow-icon");
if (otherMenu) otherMenu.classList.remove("active");
if (otherArrow) otherArrow.style.transform = "rotate(0)";
}
});
// 切换当前菜单
dropdownMenu.classList.toggle("active");
if (arrowIcon) {
arrowIcon.style.transform = dropdownMenu.classList.contains(
"active",
)
? "rotate(180deg)"
: "rotate(0)";
}
});
}
});
}
// 3. 点击普通菜单项后,自动关闭整个主菜单
if (nav) {
nav.querySelectorAll("a").forEach(function (link) {
if (!link.querySelector(".arrow-icon")) {
link.addEventListener("click", function () {
nav.classList.remove("active");
if (toggle) toggle.setAttribute("aria-expanded", "false");
});
}
});
}
// ================= 返回顶部逻辑 =================
(function () {
const backToTop = document.getElementById("backToTop");
window.addEventListener("scroll", function () {
if (window.scrollY > 300) {
backToTop.classList.add("show");
} else {
backToTop.classList.remove("show");
}
});
backToTop.addEventListener("click", function () {
window.scrollTo({ top: 0, behavior: "smooth" });
});
})();
// 多语言
document.addEventListener("DOMContentLoaded", function() {
let path = window.location.pathname;
let isEn = path.startsWith('/en/');
if (isEn) {
document.cookie = "my_lang=en; path=/; max-age=" + (30 * 24 * 3600);
} else {
document.cookie = "my_lang=zh; path=/; max-age=" + (30 * 24 * 3600);
}
// 【2. 首页记忆】如果访问的是首页(没带 en),但记忆是英文,前端自动跳去英文首页
if (!isEn && (path === '/' || path === '/index.html')) {
if (document.cookie.includes('my_lang=en')) {
window.location.replace('/en' + path);
return;
}
}
// 【3. 菜单不掉线】如果是英文页面,自动给菜单链接加上 /en/
if (isEn) {
document.querySelectorAll('a').forEach(function(link) {
let href = link.getAttribute('href');
// 站内链接,且没带 /en/
if (href && href.startsWith('/') && !href.startsWith('/en/') && !href.startsWith('http')) {
link.setAttribute('href', '/en' + href);
}
});
}
});