A method for data communication, the method comprising: obtaining vehicle identification information of one or more other vehicles from an image captured by a camera sensor of a vehicle , wherein the camera sensor comprises a front camera sensor ; and transmitting the vehicle identification information to a server from a communication unit of the vehicle, characterised in that the obtaining the vehicle identification information comprises: checking whether a different vehicle is traveling in the side direction of the vehicle , checking whether the different vehicle has a front camera sensor based on the different vehicle currently travelling in the side direction of the vehicle, obtaining, by adjusting the view angle of the front camera sensor , the vehicle identification information only of the other vehicle located in a same lane of the vehicle with the front camera sensor of the vehicle if the different vehicle has the front camera sensor, and obtaining, by adjusting the view angle of the front camera sensor , respective pieces of vehicle identification information of other vehicles located in at least two lanes with the front camera sensor of the vehicle if the different vehicle does not have the front camera sensor. obtaining vehicle identification information of one or more other vehicles from an image captured by a camera sensor of a vehicle , wherein the camera sensor comprises a front camera sensor ; and transmitting the vehicle identification information to a server from a communication unit of the vehicle, characterised in that the obtaining the vehicle identification information comprises: checking whether a different vehicle is traveling in the side direction of the vehicle , checking whether the different vehicle has a front camera sensor based on the different vehicle currently travelling in the side direction of the vehicle, obtaining, by adjusting the view angle of the front camera sensor , the vehicle identification information only of the other vehicle located in a same lane of the vehicle with the front camera sensor of the vehicle if the different vehicle has the front camera sensor, and obtaining, by adjusting the view angle of the front camera sensor , respective pieces of vehicle identification information of other vehicles located in at least two lanes with the front camera sensor of the vehicle if the different vehicle does not have the front camera sensor. checking whether a different vehicle is traveling in the side direction of the vehicle , checking whether the different vehicle has a front camera sensor based on the different vehicle currently travelling in the side direction of the vehicle, obtaining, by adjusting the view angle of the front camera sensor , the vehicle identification information only of the other vehicle located in a same lane of the vehicle with the front camera sensor of the vehicle if the different vehicle has the front camera sensor, and obtaining, by adjusting the view angle of the front camera sensor , respective pieces of vehicle identification information of other vehicles located in at least two lanes with the front camera sensor of the vehicle if the different vehicle does not have the front camera sensor. <EOS>