Jupiter, as a typical gas giant in the solar system, harbors atmospheric composition that carries crucial information about the early evolution of the solar system. Based on the principle of X-ray occultation, this study investigates the extinction process of X-rays in Jupiter's atmosphere using Scorpius X-1 as a background source. By establishing a 1-D forward radiation transfer model, incorporating atmospheric density profiles generated by Photochem and absorption cross-sections from the XCOM database, we calculated atmospheric transmittance. The radiation spectrum of Scorpius X-1 was simulated using XSPEC, enabling systematic analysis of the attenuation characteristics of transmission spectra, light curves, and energy spectra. The results indicate that as the photon energy increases from 0.1 keV to 500 keV, the penetration depth of X-rays gradually increases, with photons reaching a minimum altitude of 139 km. Analysis of light curves shows that both the initiation and completion altitudes of high-energy photon extinction are lower than those of low-energy photons. Energy spectra analysis reveals that low-energy photons experience more significant attenuation, and the degree of attenuation intensifies with decreasing altitude. Simulations based on the NICER detector response matrix demonstrate that increasing the number of detection modules can enhance the photon count; using four NICER-like detection modules reduces the minimum detectable altitude for photons to 183.5 km. This research provides a theoretical foundation for the payload design of China's "Tianwen-4" Jupiter system exploration mission, scheduled for launch around 2030, and opens up new technical avenues for probing Jupiter's upper atmosphere.