The traditional edge-distributed storage systems fail to achieve the needs of real-time, scalable and deterministic data exchange in Industry 4.0 settings. Long transmission paths, hard communication management and inexpensive configuration limit them. Communication over the air also brings inconsistency of bandwidth, throughput, and reliability that directly impacts on storage efficacy. Conventional node selection methods are largely based on node capacity with no consideration to the dynamic network load or node workload, which usually causes uneven allocation and poor performance. This paper will suggest a single view of edge in-network storage architecture which is standardized using middleware and Software-Defined Networking (SDN), to overcome such limitations. Using a combination of SDN centralized control and the Server Message Block (SMB) protocol, it is possible to store data created at the edge in a potentially strategically chosen forwarding node. A prototype is developed on the basis of a custom SDN switch with embedded storage. The system uses real-time wireless communication metrics, network state information and node resource data to dynamically optimize transmission paths and reduce configuration complexity. A multi attribute decision making model is created that can be used to analyze the network conditions and node states together to make an efficient choice of storage nodes. As it has been demonstrated in experiments, the proposed architecture leads to a substantial decrease in storage latency and increase in flexibility, which makes it an excellent fit in terms of the stringent reliability and connectivity requirements of Industry 4.0 applications.