The invention discloses a method for rapidly developing NFV. The method includes the following steps: S1, byte stream processing: firstly, data packets transmitted from the outside are received, and the received data packets are quickly packed; S2, data packet processing: data IP address, format and size of the data packets received in S1 are analyzed through a data packet analysis module in a data packet processing system, and the data IP address, format and size of the data packets are analyzed, which relates to the technical field of software development. The NFV rapid development approach,including development environments and libraries, we abstract the packet operations in the network, including byte stream operations, package operations, state operations, by abstracting these operations, an our library is built, users can use these abstract operations to construct complex NFV functions, through using reference counters and intelligent pointer technology, fast execution, the useof Unique-type packets encapsulation, the number of packets copied is reduced, execution efficiency is improved, and a flexible development framework and API can be provided.