What is claimed is:1. A street lamp integration device, comprising: a local area network device comprising hardware, a traffic collector and a communication device comprising hardware; wherein,the local area network device is configured for generating a local area network that covers a first range;the traffic collector is configured for collecting traffic information in a second range and sending the traffic information to the communication device;the communication device is configured for sending the traffic information to a vehicle connected to the local area network;wherein the street lamp integration device further comprises:a controller configured for sending a first instruction to the traffic collector to obtain the traffic information; anda detector configured for detecting heights of all vehicles in the first range according to a preset frequency, and sending the heights of all vehicles to the controller;wherein the controller is further configured for, if it is determined that a height of at least one vehicle is higher than a height threshold based on the heights of all vehicles sent by the detector, generating the first instruction.2. The street lamp integration device according to claim 1, wherein the controller is further configured for, if a vehicle in the first range matches a first condition, determining to connect the vehicle to the local area network.3. The street lamp integration device according to claim 2, wherein the controller is further configured for receiving the traffic information collected by the traffic collector, and sending the traffic information to the communication device.4. The street lamp integration device according to claim 3, wherein,the communication device is further configured for receiving a first request to obtain the traffic information sent by the vehicle connected to the local area network, and sending the first request to the controller;the controller is further configured for receiving the first request sent by the communication device, and generating the first instruction based on the first request.5. The street lamp integration device according to claim 3, wherein the detector is further configured for detecting a speed of a vehicle in the first range, and sending the speed of the vehicle to the controller;the controller is further configured for, if the speed of the vehicle is smaller than a speed threshold, determining to connect the vehicle to the local area network.6. The street lamp integration device according to claim 5, wherein the communication device is further configured for receiving a second request to be connected to the local area network sent by the vehicle in the first range, and sending the second request to the controller;the controller is further configured for generating a second instruction to detect a speed of the vehicle based on the second request, and sending the second instruction to the detector, so as to enable the detector to detect the speed of the vehicle based on the second instruction.7. The street lamp integration device according to claim 5, wherein the controller is further configured for, after connecting a first vehicle and a second vehicle to the local area network, if it is determined that the first vehicle and the second vehicle meet a second condition, establishing a communication connection between the first vehicle and the second vehicle.8. The street lamp integration device according to claim 7, wherein the controller is further configured for generating a third instruction to detect a distance between the first vehicle and the second vehicle, and sending the third instruction to the detector;the detector is further configured for detecting a distance between the first vehicle and the second vehicle based on the third instruction sent by the controller, and sending the distance between the first vehicle and the second vehicle to the controller, so as to enable the controller to determine whether the first vehicle and the second vehicle meet the second condition based on the distance between the first vehicle and the second vehicle and the speeds thereof.9. The street lamp integration device according to claim 8, wherein the communication device is further configured for receiving a third request to establish a communication connection with the second vehicle connected to the local area network sent by the first vehicle connected to the local area network, and sending the third request to the controller; wherein the third request contains an identification of the second vehicle.10. The street lamp integration device according to claim 5, wherein the detector is further configured for, based on a fourth instruction to obtain an identification of a vehicle connected to the local area network sent by the controller, detecting the identification of the vehicle connected to the local area network, and sending the identification to the controller;the controller is configured for sending the fourth instruction to the detector and sending the identification sent by the detector to the communication device.11. The street lamp integration device according to claim 10, wherein the controller is further configured for, if the vehicle is connected to the local area network, generating the fourth instruction;the communication device is further configured for broadcasting all identifications sent by the controller in the local area network.12. The street lamp integration device according to claim 10, wherein the communication device is further configured for receiving a fourth request to obtain an identification of a vehicle connected to the local area network sent by a third vehicle, and sending the fourth request to the controller; sending the identification sent by the controller to the third vehicle;the controller is further configured for, before sending the fourth instruction to the detector, generating the fourth instruction based on the fourth request sent by the communication device.13. The street lamp integration device according to claim 1, wherein the street lamp integration device communicates with a device in a wide area network through the wide area network.14. The street lamp integration device according to claim 1, wherein the traffic collector is arranged at a position of the street lamp close to the top of the street lamp, and the traffic collector comprises a camera.15. A street lamp system, comprising: a plurality of street lamps, a plurality of street lamp integration devices as claimed in claim 1 mounted on the plurality of street lamps respectively, first ranges covered by local area networks of adjacent ones of the street lamp integration devices adjoin or at least partly coincide, second ranges which can be collected by the traffic collectors of adjacent ones of the street lamp integration devices adjoin or at least partly coincide, and communication can be performed between any two of the street lamp integration devices.16. A communication method performed by a street lamp integration device,wherein the communication method comprises:generating a local area network that covers a first range;connecting a vehicle in the first range to the local area network;collecting traffic information in a second range; andsending the traffic information to the vehicle connected to the local area network; andwherein the collecting traffic information in a second range comprises:detecting heights of all vehicles in the first range according to a preset frequency; andcollecting the traffic information in the second range if it is determined that a height of at least one vehicle is higher than a height threshold based on detected heights of all vehicles.17. The communication method according to claim 16, wherein the connecting a vehicle in the first range to the local area network comprises:determining to connect a first vehicle and a second vehicle in the first range to the local area network if the first vehicle and the second vehicle match a first condition, andafter connecting the first vehicle and the second vehicle to the local area network, establishing a communication connection between the first vehicle and the second vehicle if it is determined that the first vehicle and the second vehicle meet a second condition.18. The communication method according to claim 17, further comprising detecting speeds of the first vehicle and the second vehicle in the first range, and the first condition being that the speeds of the first vehicle and the second vehicle are smaller than a speed threshold; andafter connecting the first vehicle and the second vehicle to the local area network, detecting a distance between the first vehicle and the second vehicle, anddetermining whether the first vehicle and the second vehicle meet the second condition based on the distance between the first vehicle and the second vehicle and the speeds thereof.