In vehicular cyber-physical system (VCPS), beaconing mechanism is commonly deployed for the solar-powered roadside infrastructure to detect available passing-by vehicles for data dissemination. The traditional beaconing mechanism would cause a higher energy consumption due to the periodical beaconing procedure. To tackle this problem, we propose a new data dissemination strategy for roadside infrastructures by adjusting the beaconing interval to reduce the energy consumption. We model the beaconing procedure as a Markov model by observing the periodical beaconing results and then using the modeling result to obtain the relationship between the beaconing interval and the expectation of the single-vehicle discovery time. Then, with the average data transmission rate requirement, we can calculate the maximum beaconing interval. We also introduce a satisfaction degree based on the Sigmoid function to combine the decreased energy consumption and the decreased data rate. The satisfaction degree function allows the roadside infrastructure to obtain the optimal beaconing interval based on the required quality of service. The analysis of the results show that careful tuning of key parameters leads to improved energy efficiency and increased data rate of the data dissemination strategy.