Electronic device and control method of electronic device

A method of providing traffic-related contents of an electronic device and an electronic device is disclosed. According to the present invention, when a specific event occurs while the vehicle is running, the electronic device automatically acquires user contents related to the road conditions and automatically transmits the acquired user contents to the server.