Taking the circular flat package with weak glass window as the research object,the under-force status of the cap with optical window was analyzed with the method of finite element.The cap structure would be modified according to the variation tendency of the cap's structure and stress under strong impact so as to satisfy the requirement of high strength packaging.