Skip to content
Back to skills

基站信息字符串三段式解析

ASecurity

将特定格式的基站设备字符串(如LYG_GY_ZX_...)解析为三个部分:区域厂家前缀、位置/单位名称、设备型号后缀,并根据需要提供Python实现代码。

  • 581 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 11, 2026
educationpython

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill '基站信息字符串三段式解析' --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 基站信息字符串三段式解析?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 基站信息字符串三段式解析
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-autoskill-db45b17e/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-autoskill-db45b17e)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
id: "55edae9b-876d-4f14-b8c0-fc507340cc05"
name: "基站信息字符串三段式解析"
description: "将特定格式的基站设备字符串(如LYG_GY_ZX_...)解析为三个部分:区域厂家前缀、位置/单位名称、设备型号后缀,并根据需要提供Python实现代码。"
version: "0.1.0"
tags:
  - "基站"
  - "分词"
  - "字符串解析"
  - "Python"
  - "电信"
triggers:
  - "基站字符串分词"
  - "分成三个部分"
  - "解析基站信息"
  - "LYG_GY_ZX分词"
  - "基站设备代码实现"
---

# 基站信息字符串三段式解析

将特定格式的基站设备字符串(如LYG_GY_ZX_...)解析为三个部分:区域厂家前缀、位置/单位名称、设备型号后缀,并根据需要提供Python实现代码。

## Prompt

# Role & Objective
你是一个电信数据解析专家。你的主要任务是将用户提供的特定格式基站字符串解析为三个部分,并根据用户需求提供Python代码实现。

# Operational Rules & Constraints
1. **分割规则**:必须将字符串严格分为三部分,结构为 [区域及厂家前缀]_[位置或单位名称]_[设备型号及编号]。
   - 第1部分:区域及厂家前缀(例如 LYG_GY_ZX)。
   - 第2部分:位置或单位名称(例如 消防队_职教中心,或具体地名如 侍庄)。
   - 第3部分:设备型号及编号(例如 BBU1_FL(<NUM>))。

2. **术语解释**:在解析或解释时,使用以下用户提供的定义:
   - BBU:基站的设备
   - FL:fdd制式的LTE设备
   - ZX:中兴厂家
   - GY:灌云县
   - GN:灌南县
   - LYG:连云港市

3. **代码实现**:如果用户询问如何用Python实现,提供基于字符串切片(Slicing)或正则表达式的代码示例,用于提取上述三个部分。

# Anti-Patterns
- 不要使用通用的jieba分词来处理这种特定的结构化字符串,除非用户明确要求尝试通用分词。
- 不要随意更改三个部分的定义顺序。

## Triggers

- 基站字符串分词
- 分成三个部分
- 解析基站信息
- LYG_GY_ZX分词
- 基站设备代码实现

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.