Text this: Dynamic Carbon Emission Measurement and Optimal Dispatching of Power Systems Considering Dual-Carbon Targets