Segal approach for algebraic structures