CPCS CSP

CPM Continuous Policy and Charging Suite (CPСS)


CPCS is an in-house developed solution by CPM that functions as a PCRF element for wireless networks (2G/3G/4G/5G/IMS). The product is fully compliant with RFC 6733 and 3GPP specifications TS 23.203, TS 29.212, TS 29.213, and TS 29.214. It is designed for the centralized management of Quality of Service (QoS) policies, as well as subscriber access and charging rules. The current release includes support for VoLTE.

picture

Key functional features and capabilities:

Product Documentation:

Contact us to learn more about the CPCS solution: products@cpm.ru

CPM Unified Continuous Signaling Platform CSP


In the modern telecommunications ecosystem, operators face an unprecedented challenge: the need to provide seamless interaction, intelligent routing, and protection of signaling traffic across three generations of mobile communication. The historical legacy of SS7/SIGTRAN (2G/3G) coexists with the massive traffic of Diameter (4G LTE), while the network is rapidly migrating toward a service-oriented architecture (SBI) based on HTTP/2 JSON (5G).

CPM CSP (Continuous Signaling Platform) is a high-performance telecommunications platform of the Diameter Signaling Controller (DSC) class, designed to ensure convergence, balancing, and protection of signaling traffic at the intersection of all mobile communication generations.

picture

Key features of the solution are provided below:

1. Architecture and Main Components


The CPM CSP system is designed on a modular principle and divided into isolated functional planes. From a technical standpoint, the platform is a monorepository in the form of a Rust Workspace (dra/), divided into specialized packages (Crates):

Management Plane (management/):

Core Plane (core/):

Protocol & 5G Planes (protocol/, 5g/):

2. Three-Stage Routing Pipeline (3-Stage Pipeline)


Signaling traffic processing in CPM CSP is strictly divided by message types. Responses (R-bit=0 flag) are delivered directly to nodes based on the pending_requests transaction table by matching the Hop-by-Hop ID, bypassing routing rules.

Stage 1: Inbound Rules (Security & Normalization)

At the first stage, packets undergo filtering via IP allowlists (ip_allowlist) and blocklists (ip_blocklist). To protect against signaling floods and DoS attacks, a rate_limits.max_per_second mechanism is applied. The presence of mandatory attributes (Session-Id, Origin-Host, Destination-Realm) is verified, strict ABNF validation of the message structure is performed, and identifier normalization (normalize_imsi) is executed—clearing text prefixes like imsi:, tel:, + and aligning the length to 15 digits.

Stage 2: Direction Determination (RuleEngine & Direction Resolution)

The priority RuleEngine (core/routing/src/rules.rs) performs message matching against rule tables and peer-group load-balancing groups. It supports regular expression processing based on the ultra-fast RE2 library, matching on any AVP (including nested and grouped), and dynamic domain learning based on CEA responses (learned realm). This stage also handles Session Affinity / Session Binding logic and Redirect responses (RFC 6733 §7.1.5). For server-initiated requests (e.g., RAR, ASR), the direction is extracted from the session_routes table.

Stage 3: Outbound Rules (Outgoing Rules & Mediation)

In the final stage, the node performs Topology Hiding to mask the internal network structure and conceal the real names of HSS/MME from external partners. The mediation module adapts different vendor dialects (dynamic addition, modification, and removal of specific AVPs and header fields), selects the outgoing transport (SCTP/TCP), and handles failover scenarios based on priorities in case of receiving error codes DIAMETER_UNABLE_TO_DELIVER (3002) or DIAMETER_LOOP_DETECTED (3005).

3. Key Management, Storage, and Convergence Functions (STP/IWF)


Service / Module Purpose Implementation Features
EIR IMEI device checking Two-stage search on the S13 interface: first, an exact IMEI match is checked; if not found, a search is performed using the 8-digit TAC prefix.
SLF HSS Lookup (Address Resolution) Ultra-fast three-tier search: In-memory Bloom filter ➔ exact IMSI search in RocksDB ➔ search by 9-digit telephony capacity prefix.
SoR Steering of Roaming Applied "on-the-fly" during ULR request processing for dynamic blocking or permission of subscriber registration in partner visited networks.
CDR Writer Billing, logging, and auditing Streaming transaction recording (dra, eir, sor, slf) in structured JSONL format at /opt/dra/cdrs. Supports automatic file rotation based on size (100 MB) or time (24 hours).
STP / IWF Engine SS7 Transit and MAP ↔ Diameter conversion Parallel operation of the classic SS7/SIGTRAN stack (SCTP/TCP transport, M3UA RFC 4666, SCCP UDT/XUDT Q.713, TCAP Q.773, MAP adaptation) and packet translation per 3GPP TS 29.305 (UpdateLocation ↔ ULR/ULA, CancelLocation ↔ CLR/CLA, and transit operations SRI, SAI, ISD, PURGE).

4. Supported Diameter Interfaces


The system is fully compliant with international 3GPP Rel.11+ standards and is capable of functioning in Diameter Relay, Proxy, Redirect, and Translation Agent modes (within the IWF interworking node).

5. Performance, System Requirements, and Licensing


Estimated performance metrics for a single CPM CSP hardware/virtual node (where 1 TPS corresponds to one full Diameter "request + response" pair) depending on the allocated computing resources:

Node Configuration Computing Resources (CPU) RAM Transit Mode Logic-Enabled Mode (SLF / CDR)
Minimum 2 cores 4 GB ∼5,000 TPS ∼3,000 TPS
Recommended 4 cores (workers: 4) 8+ GB ∼15,000 TPS ∼8,000 TPS
Advanced 16 cores 32+ GB ∼75,000 TPS ∼50,000 TPS

When horizontally scaling the platform in an Active/Active cluster, the total throughput increases linearly and can exceed 100,000+ TPS.

6. Management, Modular Configuration, and Operation