The rapid deployment of Pre-trained Foundation Models (PFMs) on edge servers has recently facilitated the efficient and scalable delivery of AI-Generated Content (AIGC) services. However, this convenience introduces a critical security problem: a compromised server can propagate malicious content across the network at scale. To mitigate such risks, service providers must integrate security-aware network functions (S-NFs) within both hardware and software implementations into their infrastructure. Following this, a fundamental challenge remains: accurately estimating and categorizing security levels (SeLs) within such a framework. This work addresses the above challenge by pioneering a methodology for estimating and classifying the SeL of PFM-hosting servers. First, we introduce the security intensity identifier (SeII), a novel indicator designed to assess security strength. We then propose an innovative SeL calculation methodology that accurately estimates the SeL of PFM-hosting servers. Subsequently, we propose security level indicators (SeLIs) and classify servers with different S-NF sets into different security classes (SeCs) with distinct SeL ranges. Building upon this estimation and classification framework, we design a cost-efficient security complementation scheme for PFM-hosting servers, tailored to the diverse security needs of AIGC services. Our extensive experimental results demonstrate that the proposed scheme significantly outperforms state-of-the-art benchmarks, showing an average improvement of 21.77% and 51.77% in implementation cost, respectively.
Recurrent workflows revisit mutable state after intervening computations. Retaining state at its owner permits compact update returns, whereas migration changes future access paths and memory occupancy. This paper studies joint execution and state residency for serialized workflows in computing networks. The formulation distinguishes intermediate data, full-state fetches, and differential updates, minimizing computation and communication cost under resource reservations, peak-memory limits, and a completion deadline. Reuse-Frontier Label Search (RFLS) represents each execution prefix by the last host, owners of states awaiting reuse, and accumulated resource consumption. Componentwise dominance and admissible completion bounds prune the search. The unrestricted algorithm is exact; a finite label budget yields a heuristic. On 24 default synthetic instances, RFLS reduces mean paired cost by 4.64% relative to greedy placement. With a label width of 64, it matches 58 of the 63 certified optima in the intermediate-size tests. Experiments extending to 60 invocations examine the effects of resource limits, state reuse, and search effort on placement cost and runtime.