In the age of IoT, the wave energy harvester has been rapidly developed for smart ocean and cross-sea bridge, it is like a bond that links the ocean and bridge. In this study, we proposed a self-powered and self-sensing wave energy harvesting system (SS-WEHS) for smart ocean and cross-sea bridges. The SS-WEHS achieves self-powered characteristics through a coaxial counter-rotating electromagnetic generator (CC-EMG). The experiments show that the voltage of CC-EMG increases synchronously with the frequency and amplitude of the external excitation. At 0.7 Hz and 25 mm excitation, the system's average power generation can reach up to 316 mW, enough to power the bridge sensors. In the water tank, stable power supply of temperature and humidity sensors by CC-EMG verifies the self-powering capability of SS-WEHS in a water environment. In addition, we used the voltage captured by the triboelectric nanogenerator (TENG) in the LSTM deep learning model, which can recognize the hydrological information of waves. The accuracy of recognizing wave amplitude is 98.17 %, and the accuracy of recognizing wave frequency is 99.33 %. Four sets of recognition tests were conducted in a water tank, with different excitation amplitudes and frequencies. The lowest recognition rate achieved was 91 %, which reflecting the self-sensing capability of SS-WEHS in the water environment. Therefore, the system has high-efficiency self-powering and high-precision self-sensing characteristics, which has a great potential for the future development of the smart ocean.