A service processing method, applied to a node on a segment routing path, comprising:
- acquiring a segment list from a segment routing header of a received service message, wherein the segment list comprises a regular compression segment identification configured for respective nodes on the segment routing path and an extended compression segment identification configured for at least one of nodes on the segment routing path, and the extended compression segment identification configured for the at least one of the nodes is adjacent to and located after the regular compression segment identification configured for the at least one of the nodes;
- and
- acquiring, in response to determining that a current compression segment identification to be processed in the segment list is the extended compression segment identification, content of a function field of the extended compression segment identification, and performing an operation defined by the content.