[COMBINE] Модели Poly/Logitech/VINTEO/IVA/Hitrolink: 57 записей, 27 добавлено, stage 284
This commit is contained in:
1 parent
48d4cc8aa0
commit
418dd29001
6 files changed
+1758
No files matched your search
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Собрать модели других вендоров из research и добавить в P0-stage."""
|
||||
import re
|
||||
import yaml
|
||||
from collections import Counter
|
||||
|
||||
OUT = "/root/buryan-infra/ops/combine/vendors-other-models-2026-11-18.yaml"
|
||||
STAGE = "/root/buryan-infra/ops/combine/catalog-p0-2026-11-18.yaml"
|
||||
REP = "/root/buryan-infra/ops/combine/VENDORS-OTHER-REPORT-2026-11-18.md"
|
||||
|
||||
# (vendor, model, role, group, form, line, source_files)
|
||||
P = "poly"
|
||||
L = "logitech"
|
||||
V = "vinteo"
|
||||
I = "iva"
|
||||
H = "hitrolink"
|
||||
items = [
|
||||
# Poly — observed in results-poly
|
||||
(P, "Poly Studio X52", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio X70", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio X72", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio V72", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio V52", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio V12", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio G62", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio P15", "codec", "B_video_bars", "bar", "vcs.bar", ["results-poly-0.jsonl"]),
|
||||
(P, "Poly Studio E60", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-poly-0.jsonl"]),
|
||||
(P, "HP Mini IP Conferencing PC", "pc", "A_integration_terminals", "terminal", "vcs.terminals", ["results-poly-0.jsonl"]),
|
||||
(P, "HP Poly Studio 7 Room Compute", "pc", "A_integration_terminals", "terminal", "vcs.terminals", ["results-poly-0.jsonl"]),
|
||||
(P, "HP USB-C Dock G5", "accessory", "E_other", "accessory", "vcs.other", ["results-poly-0.jsonl"]),
|
||||
# Logitech — observed
|
||||
(L, "Rally Bar Mini", "codec", "B_video_bars", "bar", "vcs.bar", ["results-logitech-0.jsonl"]),
|
||||
(L, "Rally Bar", "codec", "B_video_bars", "bar", "vcs.bar", ["vendor-known"]),
|
||||
(L, "Rally", "codec", "B_video_bars", "bar", "vcs.bar", ["vendor-known"]),
|
||||
(L, "MeetUp", "codec", "B_video_bars", "bar", "vcs.bar", ["vendor-known"]),
|
||||
(L, "RoomMate", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["vendor-known"]),
|
||||
(L, "Tap", "touch", "E_control", "touch", "vcs.panels", ["results-logitech-0.jsonl"]),
|
||||
(L, "Tap IP", "touch", "E_control", "touch", "vcs.panels", ["vendor-known"]),
|
||||
(L, "Sight", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-logitech-0.jsonl"]),
|
||||
(L, "Scribe", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["vendor-known"]),
|
||||
(L, "Rally Camera", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["vendor-known"]),
|
||||
(L, "PTZ Pro 2", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-logitech-0.jsonl"]),
|
||||
(L, "PTZ Pro Camera", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-logitech-0.jsonl"]),
|
||||
(L, "BCC950 ConferenceCam", "codec", "B_video_bars", "bar", "vcs.bar", ["results-logitech-0.jsonl"]),
|
||||
(L, "ConferenceCam Connect", "codec", "B_video_bars", "bar", "vcs.bar", ["results-logitech-0.jsonl"]),
|
||||
(L, "ConferenceCam CC3000e", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-logitech-0.jsonl"]),
|
||||
(L, "Swytch", "sharing_hub", "D_usb_byod", "accessory", "vcs.usb_byod", ["results-logitech-0.jsonl"]),
|
||||
# VINTEO
|
||||
(V, "VINTEO Server", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-vinteo-0.jsonl"]),
|
||||
(V, "VINTEO USB microphone", "audio", "E_audio", "audio", "vcs.audio", ["results-vinteo-0.jsonl"]),
|
||||
# IVA
|
||||
(I, "IVA Advanced", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-iva-0.jsonl"]),
|
||||
# Hitrolink
|
||||
(H, "HTI-XC800", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XC800-NDI", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XC600", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-1.jsonl"]),
|
||||
(H, "HTI-XC900", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XC300", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-1.jsonl"]),
|
||||
(H, "HTI-UC300", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-UC325", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-UC340", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-UC390", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-UC400", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-UC500", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-UC600", "camera", "D_usb_byod", "camera", "vcs.usb_byod", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XT300", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XT500", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XT510", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-XT600", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-VB600", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-ET700", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-1.jsonl"]),
|
||||
(H, "HTI-ET800", "codec", "A_integration_terminals", "terminal", "vcs.terminals", ["results-hitrolink-1.jsonl"]),
|
||||
(H, "HTI-TP350", "touch", "E_control", "touch", "vcs.panels", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-A-BG200", "audio", "E_audio", "audio", "vcs.audio", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-ASP35-C", "audio", "E_audio", "audio", "vcs.audio", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HT-OM400", "audio", "E_audio", "audio", "vcs.audio", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HiBoard-IA86C", "display", "E_display", "display", "passive.display", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-ER110", "headset", "E_audio", "headset", "vcs.audio", ["results-hitrolink-0.jsonl"]),
|
||||
(H, "HTI-ER300", "headset", "E_audio", "headset", "vcs.audio", ["results-hitrolink-0.jsonl"]),
|
||||
]
|
||||
|
||||
records = []
|
||||
for vendor, model, role, group, form, line, src in items:
|
||||
records.append({
|
||||
"id": "vendor-%s-%s" % (vendor, re.sub(r"[^a-z0-9]+", "-", model.lower()).strip("-")),
|
||||
"vendor": vendor, "model": model, "aliases": [],
|
||||
"domain": "vcs", "line": line, "group": group, "role": role,
|
||||
"form_factor": form, "native_vcs": group in ("A_integration_terminals", "B_video_bars"),
|
||||
"protocols": [], "protocols_status": "unknown",
|
||||
"source": {"kind": "research-results" if src != ["vendor-known"] else "vendor-known",
|
||||
"files": src, "verified": False},
|
||||
"version": "2026-11-18",
|
||||
})
|
||||
yaml.safe_dump({"version": "2026-11-18", "vendors": sorted({r["vendor"] for r in records}),
|
||||
"devices": records}, open(OUT, "w", encoding="utf-8"),
|
||||
allow_unicode=True, sort_keys=False)
|
||||
|
||||
stage = yaml.safe_load(open(STAGE, encoding="utf-8"))
|
||||
have = {x["model"] for x in stage["devices"]}
|
||||
added = []
|
||||
for r in records:
|
||||
if r["model"] not in have:
|
||||
stage["devices"].append(r)
|
||||
added.append(r["model"])
|
||||
yaml.safe_dump(stage, open(STAGE, "w", encoding="utf-8"), allow_unicode=True, sort_keys=False)
|
||||
cnt = Counter(r["vendor"] for r in records)
|
||||
lines = ["# Модели других вендоров — 18.11.2026", "",
|
||||
"Источник: `results-*.jsonl` + явно помеченные vendor-known.", "",
|
||||
"| Вендор | Моделей |", "|---|---|"]
|
||||
for k, n in cnt.most_common():
|
||||
lines.append("| %s | %d |" % (k, n))
|
||||
lines += ["", "Добавлено в staging: **%d**." % len(added), "",
|
||||
"| Вендор | Модель | Роль | Группа | Источник |", "|---|---|---|---|---|"]
|
||||
for r in records:
|
||||
lines.append("| %s | %s | %s | %s | %s |" % (
|
||||
r["vendor"], r["model"], r["role"], r["group"], ",".join(r["source"]["files"])))
|
||||
open(REP, "w", encoding="utf-8").write("\n".join(lines) + "\n")
|
||||
print("records", len(records), "added", len(added), "stage", len(stage["devices"]))
|
||||
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python3
|
||||
import yaml
|
||||
from collections import Counter
|
||||
p = "/root/buryan-infra/ops/combine/catalog-p0-2026-11-18.yaml"
|
||||
d = yaml.safe_load(open(p, encoding="utf-8"))["devices"]
|
||||
g = Counter(x["group"] for x in d)
|
||||
v = Counter(x["vendor"] for x in d)
|
||||
lines = ["", "## Дополнение: другие вендоры (18.11.2026)", "",
|
||||
"В staging добавлены модели Poly, Logitech, VINTEO, IVA, Hitrolink.",
|
||||
"Итог: **%d** устройств." % len(d), "",
|
||||
"| Вендор | Кол-во |", "|---|---|"]
|
||||
for k, n in v.most_common():
|
||||
lines.append("| %s | %d |" % (k, n))
|
||||
lines += ["", "| Группа | Кол-во |", "|---|---|"]
|
||||
for k, n in g.most_common():
|
||||
lines.append("| %s | %d |" % (k, n))
|
||||
with open("/root/buryan-infra/ops/combine/P0-STAGE-REPORT-2026-11-18.md", "a", encoding="utf-8") as f:
|
||||
f.write("\n".join(lines) + "\n")
|
||||
print("stage", len(d), "vendors", dict(v))
|
||||
Reference in new issue
Block a user