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 (4100, 530) of a vehicle (3000, 4000), wherein the camera sensor (4100, 530) 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 (3000, 4000), 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 (3000, 4000) with the front camera sensor of the vehicle (3000, 4000) 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 (3000, 4000) 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 (4100, 530) of a vehicle (3000, 4000), wherein the camera sensor (4100, 530) 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 (3000, 4000), 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 (3000, 4000) with the front camera sensor of the vehicle (3000, 4000) 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 (3000, 4000) 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 (3000, 4000), 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 (3000, 4000) with the front camera sensor of the vehicle (3000, 4000) 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 (3000, 4000) if the different vehicle does not have the front camera sensor.