The invention provides a method and
system for communication of a
user state and an inner core. The method for the communication of the
user state and the inner core comprises the steps that a
network data structure of a registered interface of a
physical network card is obtained in the
user state, the name of the registered interface of the
physical network card is used for registering a
virtual network card interface in the inner core according to the obtained
network data structure of the registered interface of the
physical network card, the physical network card in the user state is used for receiving mainframe receiving messages needing to be processed by the inner core, the mainframe receiving messages are transmitted to the inner core through a corresponding
virtual network interface card, and the mainframe receiving messages processed by the inner core are transmitted to the user state through corresponding
virtual network cards, and are sent to the physical network card through the user state. The method and
system for the communication of the user state and the inner core can meet sensing requests of the physical
network interface states by the user state and the inner core, and meanwhile the switchover problem of message formats of the user state and message formats of the inner core is solved. The
system performance loss of
information transmission between the user state and the inner core is reduced, the time of
information transmission is saved, and efficiency of message transmission and
processing is improved.