Control method and device of the invention discloses a display interface, the method comprises: receiving the access request to the application after the trigger to intercept instruction; according to the intercept instruction cache to intercept data corresponding to the preset data acquisition interface; interface, display interface according to the preset; access to the application request and response data check whether access to the request; if yes, then switch the preset interface to the application interface data corresponding to the response. The invention also discloses a mobile terminal including a control device for displaying the interface. The control method of the invention, a display device and a mobile terminal, the mobile terminal can eliminate the calling application show the beneficial effect of cache data corresponding to the interface at the same time, to avoid the disclosure of personal information.
【技術實現步驟摘要】
界面顯示的控制方法、裝置及移動終端
本專利技術涉及移動終端
,尤其涉及一種界面顯示的控制方法、裝置及移動終端。
技術介紹
隨著移動終端的智能化,用戶使用移動終端的應用也日漸豐富;在移動終端的諸多應用中,因內置瀏覽器輕量級、調用便捷的優點,很多應用程序采用調用移動終端的內置瀏覽器來實現網頁的跳轉,或者調用該內置瀏覽器實現用戶需要的其他某種功能。但是,如果在短時間內多次調用內置瀏覽器,則會因為瀏覽器的緩存得不到及時的清除而導致上一次的網頁請求重新在網頁上顯示出來;更為嚴重的是,可能會導致用戶前一次訪問網頁的重要信息的泄露。
技術實現思路
本專利技術的主要目的是提供一種界面顯示的控制方法、裝置及移動終端,旨在解決移動終端調用應用程序時先顯示緩存數據對應的界面的問題。本專利技術實施例公開了一種界面顯示的控制方法,包括以下步驟:接收到訪問應用程序的請求后,觸發攔截指令;根據所述攔截指令,攔截緩存數據對應的界面顯示;獲取預置界面數據,顯示預置界面;根據所述訪問應用程序的請求,檢測是否獲取到所述請求的響應數據;若是,則切換所述預置界面至所述響應數據對應的應用界面。本專利技術實施例還公開了一種界面顯示的控制裝置,包括:預置界面顯示模塊,用于接收到訪問應用程序的請求后,觸發攔截指令;根據所述攔截指令,攔截緩存數據對應的界面顯示;獲取預置界面數據,顯示預置界面;應用界面顯示模塊,用于根據所述訪問應用程序的請求,檢測是否獲取到所述請求的響應數據;若是,則切換所述預置界面至所述響應數據對應的應用界面。本專利技術通過接收到訪問應用程序的請求后,觸發攔截指令;根據所述攔截指令,攔截 ...
【技術保護點】
一種界面顯示的控制方法,其特征在于,包括以下步驟:接收到訪問應用程序的請求后,觸發攔截指令;根據所述攔截指令,攔截緩存數據對應的界面顯示;獲取預置界面數據,顯示預置界面;根據所述訪問應用程序的請求,檢測是否獲取到所述請求的響應數據;若是,則切換所述預置界面至所述響應數據對應的應用界面。
【技術特征摘要】
1.一種界面顯示的控制方法,其特征在于,包括以下步驟:接收到訪問應用程序的請求后,觸發攔截指令;根據所述攔截指令,攔截緩存數據對應的界面顯示;獲取預置界面數據,顯示預置界面;根據所述訪問應用程序的請求,檢測是否獲取到所述請求的響應數據;若是,則切換所述預置界面至所述響應數據對應的應用界面。2.如權利要求1所述的方法,其特征在于,所述獲取預置界面數據,顯示預置界面的步驟包括:獲取所述應用程序啟動界面的屏幕數據,并將所述屏幕數據作為所述預置界面數據;根據所述預置界面數據,繪制所述預置界面并顯示。3.如權利要求1所述的方法,其特征在于,所述預置界面包括:預置圖片和動畫。4.如權利要求1所述的方法,其特征在于,所述切換所述預置界面至所述響應數據對應的應用界面包括:清除所述緩存數據。5.一種界面顯示的控制裝置,其特征...
【專利技術屬性】
技術研發人員:商亮,
申請(專利權)人:騰訊科技深圳有限公司,
類型:發明
國別省市:廣東,44
還沒有人留言評論。發表了對其他瀏覽者有用的留言會獲得科技券。