自从谷歌地图开始提供交通数据来帮助人们导航,并提供沿线交通量是重还是轻、估计旅行时间和预计到达时间(ETA)的详细信息,已经有将近13年的时间了。
为了进一步增强这些流量预测能力,谷歌和Alphabet的人工智能研究实验室DeepMind利用一种称为图形神经网络的机器学习技术,在悉尼、东京、柏林、雅加达、圣保罗和华盛顿特区等地,将实时ETA提高了50%。
谷歌地图产品经理Johann Lau说,谷歌地图使用聚集的位置数据和历史交通模式来了解交通状况,以确定当前的交通量估计值,但它之前并未说明如果在旅途中发生交通堵塞,交通量可能会是什么样子。
“我们已经对预计到达时间进行了预测有一个非常高的准确度条——事实上,我们发现我们的预测在97%以上的旅行中一直是准确的……这项技术使谷歌地图能够更好地预测你是否会受到甚至还没有开始的经济放缓的影响,“他在a外部神经网络,这使得Google Maps能够整合“关系学习偏差,以模拟现实世界道路网络的连通性结构。”
“我们的实验已经证明,通过将不属于主干道一部分的相邻道路扩展到其中,可以提高预测能力,“DeepMind在a博客文章
”例如,想一想在一条小街上发生的交通堵塞会如何影响较大道路上的交通。通过跨越多个交叉口,该模型能够自然地预测转弯处的延误、合流造成的延误以及停走交通中的总穿越时间。图神经网络在组合空间中泛化的这种能力赋予了我们的建模技术强大的能力。“

同时,谷歌地图还指出,它是如何更新其机器学习模型的,以便考虑到自新型冠状病毒大流行开始以来全球流量模式的变化。
根据Lau的说法,该模型会自动对过去两到四周的历史交通模式进行优先排序,并对之前任何时间的交通模式进行优先级排序。
另请参见:谷歌地图15岁:回顾这一切的起点
刘补充说,其预测交通模型也是谷歌地图如何确定驾驶路线的关键,除了来自地方政府的权威数据和用户的实时反馈,以确定路况变化。
“如果我们预测某个方向的交通可能变得拥挤,我们会自动为您找到一个交通量更低的替代方案,”他说。
“我们还研究了许多其他因素,如道路质量。这条路是铺面的还是未铺的,还是覆盖着碎石、泥土或泥土的?这样的因素会使道路难以行驶,我们不太可能推荐这条路作为您的路线的一部分。我们还研究了道路的大小和直接性——在高速公路上行驶通常比在较小的道路上多站行驶更有效。“
相关覆盖范围
谷歌推出谷歌地图的隐姓埋名模式,此外,谷歌还将历史自动删除功能扩展到YouTube,为语音助手增加了更好的隐私控制。
谷歌首席执行官皮查伊致力于持久、有意义的变革
皮查伊承诺将使谷歌的产品更具包容性,并宣布对内部领导层进行全面调整,以及1.75亿美元的一揽子计划,支持黑人企业主、创业者、求职者和开发商。
人工智能如何帮助改进谷歌地图
使用人工智能和其他工具,谷歌已经将地图从一个帮助你找到目的地的工具转变为一个目的地。
谷歌地图推出COVID-19交通警报
帮助用户避免因出行限制而拥挤的公共交通和道路封闭。
澳大利亚政府发布自愿的物联网网络安全实践守则
富士通和东京新川医院开发COVID-19肺炎诊断人工智能在云转型期间将客户放在首位
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);
}
});
}
});