Instant measurement of the thickness of the curved surface of the case using smart sensing technology