Abstract:
A state transition method and apparatus based on ROHC, and a computer storage medium are disclosed. The method comprises: when a state machine of a compressor is in an IR state, transiting a state of the state machine to an FO state when a decompressor can only successfully parse a static field of a service stream packet header; and transiting a state of the state machine to an SO state when the decompressor can successfully parse the static field and a dynamic field; when the state machine is in the FO state, transiting a state of the state machine of the compressor to the SO state when the decompressor can successfully parse the dynamic field; and when the state machine is in the SO state, transiting a state of the state machine to the FO state when the decompressor fails to parse the dynamic field within a preset time threshold.