TW201818230A - Display method and apparatus - Google Patents

Display method and apparatus Download PDF

Info

Publication number
TW201818230A
TW201818230A TW106131559A TW106131559A TW201818230A TW 201818230 A TW201818230 A TW 201818230A TW 106131559 A TW106131559 A TW 106131559A TW 106131559 A TW106131559 A TW 106131559A TW 201818230 A TW201818230 A TW 201818230A
Authority
TW
Taiwan
Prior art keywords
display
distance
user
terminal
interface
Prior art date
Application number
TW106131559A
Other languages
Chinese (zh)
Inventor
柳林東
Original Assignee
香港商阿里巴巴集團服務有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 香港商阿里巴巴集團服務有限公司 filed Critical 香港商阿里巴巴集團服務有限公司
Publication of TW201818230A publication Critical patent/TW201818230A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

Disclosed in the present application are a display method and apparatus. The method comprises: determining the distance between a display interface and a user; on the basis of a preset correspondence between distance and display parameters, determining display parameters corresponding to the distance between the display interface and the user; and implementing display on the basis of the determined display parameters. The present method enables dynamic adjustment of display parameters on the basis of the distance between the display interface and the user, saving the consumption of internal processing resources of the terminal, and also avoiding the complex processes of the user self-setting the display parameters.

Description

顯示方法及裝置Display method and device

本發明關於電腦技術領域,尤其關於一種顯示方法及裝置。The present invention relates to the field of computer technology, and in particular, to a display method and device.

目前,顯示介面在進行顯示時,諸如像素密度(Pixels Per Inch,PPI,也稱為每英吋像素)、銳度等顯示參數,決定了所顯示的內容的顯示效果,例如:在實際應用中,螢幕的解析度越高,所顯示的內容也就越精細,反之,所顯示的內容也就越粗糙;螢幕的銳度越高,所顯示的內容也就越清晰,反之,越模糊。   現有技術中,顯示介面的顯示參數通常在出廠時由設備提供方預先設定,那麼,當螢幕進行顯示時,便會基於預設的顯示參數進行顯示。   然而,在現有技術中,為了使螢幕達到最優的顯示效果,設備提供方預先設定的顯示參數的預設值通常較高(對於某些顯示參數而言,其預設值會設置為最高狀態),實際上,由於人眼的識別精度有限,在多數場景中,並不需要過高的顯示參數,那麼,現有技術中的上述方式始終保持較高的顯示參數,這無疑加大了對終端內圖形處理資源的消耗,導致終端內圖形處理器、記憶體等設備始終保持較高的工作負荷,浪費了終端的處理資源,而且,用戶若要改變顯示參數,還需要在相應的設置選項中逐一調節顯示參數,其過程較為繁瑣。At present, when the display interface performs display, display parameters such as pixel density (Pixels Per Inch, PPI) and sharpness determine the display effect of the displayed content, for example: in practical applications The higher the resolution of the screen, the finer the content displayed, and the rougher the content displayed; the sharper the screen, the clearer the content displayed, and conversely, the more blurred it is. In the prior art, the display parameters of the display interface are usually set in advance by the equipment provider when leaving the factory. When the screen is displayed, the display is performed based on the preset display parameters. However, in the prior art, in order to achieve the best display effect on the screen, the preset value of the display parameter preset by the device provider is usually high (for some display parameters, the preset value will be set to the highest state. ) In fact, because the recognition accuracy of the human eye is limited, in most scenes, too high display parameters are not required. Then, the above method in the prior art always maintains high display parameters, which undoubtedly increases the terminal The consumption of internal graphics processing resources causes the graphics processor, memory and other devices in the terminal to always maintain a high workload, which wastes the processing resources of the terminal. In addition, if the user wants to change the display parameters, he also needs to set the corresponding setting options. Adjusting the display parameters one by one is tedious.

本發明實施例提供一種顯示方法,用以解決現有技術中對顯示介面的顯示參數調節過程過於繁瑣的問題。   本發明實施例提供一種顯示裝置,用以解決現有技術中對顯示介面的顯示參數調節過程過於繁瑣的問題。   本發明實施例採用下述技術方案:   本發明實施例提供的一種顯示方法,包括:   確定顯示介面與用戶之間的距離;   根據預設的距離與顯示參數的對應關係,確定所述顯示介面與所述用戶的距離所對應的顯示參數;   根據確定出的所述顯示參數進行顯示。   本發明實施例還提供的一種顯示方法,包括:   監測終端自身的顯示模式;   當監測到顯示模式為虛擬實境VR顯示模式時,確定終端螢幕與用戶眼部之間的物距;   根據預先設定的物距與顯示參數的對應關係,確定所述終端螢幕與用戶的所述物距所對應的顯示參數;   根據確定出的所述顯示參數進行VR顯示。   本發明實施例提供的一種顯示裝置,包括:   測距模組,確定顯示介面與用戶之間的距離;   確定模組,根據預設的距離與顯示參數的對應關係,確定所述顯示介面與所述用戶的距離所對應的顯示參數;   顯示模組,根據確定出的所述顯示參數進行顯示。   本發明實施例還提供的一種顯示裝置,包括:   監測模組,監測終端自身的顯示模式;   測距模組,當監測到顯示模式為虛擬實境VR顯示模式時,確定終端螢幕與用戶眼部之間的物距;   確定模組,根據預先設定的物距與顯示參數的對應關係,確定所述終端螢幕與用戶的所述物距所匹配的顯示參數;   顯示模組,根據確定出的所述顯示參數進行VR顯示。   本發明實施例採用的上述至少一個技術方案能夠達到以下有益效果:   在顯示介面進行圖像顯示的過程中,終端將即時確定用戶與顯示介面之間的距離,用戶與顯示介面之間的距離,決定了顯示介面的顯示參數數值的高低,具體而言,在用戶距顯示介面較近的情況下,用戶可以針對顯示介面所顯示的畫面識別出更為精細的圖像細節,而在用戶距顯示介面較遠的情況下,用戶對畫面精細程度的要求也會隨之降低,故在本發明中,終端將根據識別出的距離,結合預先設置的距離與顯示參數之間的對應關係,確定出適合於當前距離下的顯示參數,並基於該確定出的顯示參數進行圖像顯示。   與現有技術中顯示介面保持固定的顯示參數進行顯示的方式相比,本發明中的上述方法能夠即時根據用戶與顯示介面之間的距離,動態地調整顯示參數,既能夠節省對終端內部處理資源的消耗,也避免了用戶自行設定顯示參數的繁瑣過程。An embodiment of the present invention provides a display method to solve the problem that the display parameter adjustment process of the display interface in the prior art is too complicated.实施 An embodiment of the present invention provides a display device, which is used to solve the problem that the display parameter adjustment process of the display interface is too complicated in the prior art. The embodiments of the present invention adopt the following technical solutions: A display method provided by an embodiment of the present invention includes: determining a distance between a display interface and a user; determining the display interface and the display interface according to a preset correspondence between a distance and a display parameter. A display parameter corresponding to the distance of the user; 显示 displaying according to the determined display parameter. An embodiment of the present invention further provides a display method, including: monitoring a terminal's own display mode; 确定 determining that the object distance between the terminal screen and the user's eye is determined when the display mode is a virtual reality VR display mode; according to a preset The correspondence between the object distance and the display parameter determines the display parameter corresponding to the object distance between the terminal screen and the user; VR displays according to the determined display parameter. A display device provided by an embodiment of the present invention includes: 距 a distance measuring module that determines a distance between a display interface and a user; a determining module that determines the display interface and the distance between the display interface and a display parameter according to a preset correspondence between the distance and the display parameter The display parameter corresponding to the distance of the user is described; The display module performs display according to the determined display parameter. An embodiment of the present invention further provides a display device, including: a monitoring module that monitors a terminal's own display mode; 距 a ranging module that determines when the display mode is a virtual reality VR display mode, determining the terminal screen and the user's eye The distance between the objects; the determination module, according to the preset correspondence between the object distance and the display parameters, determine the display parameters that match the terminal screen and the user's object distance; the display module, according to the determined information The display parameters are described for VR display. The at least one of the above technical solutions adopted by the embodiments of the present invention can achieve the following beneficial effects: In the process of image display on the display interface, the terminal will determine the distance between the user and the display interface in real time, and the distance between the user and the display interface, Determines the value of the display parameter value of the display interface. Specifically, when the user is close to the display interface, the user can identify finer image details for the screen displayed by the display interface, and display it at the user distance. When the interface is far away, the user's requirements for the screen fineness will also decrease accordingly. Therefore, in the present invention, the terminal will determine the distance based on the recognized distance and the corresponding relationship between the preset distance and the display parameters to determine It is suitable for display parameters at the current distance, and image display is performed based on the determined display parameters. Compared with the prior art in which the display interface keeps the display parameters fixed, the above method in the present invention can dynamically adjust the display parameters according to the distance between the user and the display interface, which can save the internal processing resources of the terminal. It also avoids the tedious process of setting display parameters by the user.

為使本發明的目的、技術方案和優點更加清楚,下面將結合本發明具體實施例及相應的附圖對本發明技術方案進行清楚、完整地描述。顯然,所描述的實施例僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員在沒有做出進步性勞動前提下所獲得的所有其他實施例,都屬於本發明保護的範圍。   如前所述,對於顯示介面而言,其設備提供方通常會在出廠時預先設定較高的顯示參數,以使顯示介面達到最佳顯示效果,那麼,當顯示介面顯示內容時,將根據預先設定的較高的顯示參數,在高清晰度、高像素密度等狀態下進行顯示。然而,人眼能夠識別出的清晰度或像素密度有限,故當顯示參數超過一定的閥值後,人眼將難以分辨出差別,此時會造成終端處理資源的浪費,並且,若要改變相應的顯示參數,也只能由用戶自行進行設置,較為繁瑣。   基於此,在本發明實施例中,提供一種顯示方法,使得終端根據用戶至顯示介面之間的距離,動態地調節顯示介面的顯示參數,在降低了終端內處理資源消耗的同時,也避免了用戶手動逐一設置顯示參數的繁瑣過程。   在本發明實施例中,所述終端包括但不限於:投影設備、以及具有螢幕的行動終端和非行動終端,其中:   投影設備具體可為全息投影設備,該全息投影設備所產生的投影圖像可包括三維投影圖像及二維投影圖像。   行動終端可以包括:智慧手機、平板電腦、智慧手錶、虛擬實境(Virtual Reality,VR)設備等,非行動終端可包括:電腦、電視等。這裡提及的VR設備進一步包括:外接式VR眼鏡(自身具備螢幕)、移動端VR眼鏡(VR眼鏡框架與手機配合使用,在使用時以手機顯示幕作為螢幕)中的至少一種。   此外,對於上述的終端而言,在本發明的一種實施例中,終端自身具有測距功能,該測距功能通過該終端上的距離感測器實現,其中,距離感測器可以是:紅外測距感測器、超聲波測距感測器、光學測距感測器等等。   在本發明的另一種實施例中,與終端組合使用的設備具有測距功能,並且,該設備會將測量得到的距離資料即時傳輸給終端。如:對於移動端VR眼鏡而言,VR眼鏡框架上的物距調節輪會將測量得到的物距(在VR場景下,物距指螢幕至人眼的距離)即時傳輸給手機。   當然,上述內容並不構成對本發明的限定。   本發明的一種實施例中,用戶與終端之間的互動場景可如圖1a所示,基於該場景,本發明實施例中所提供的圖像顯示過程如圖1b所示,該過程具體包括以下步驟:   S101:確定顯示介面與用戶之間的距離。   在本實施例中,對於所述的顯示介面而言,在一種場景下,若終端自身帶有螢幕,則顯示介面為終端螢幕;而在另一種場景下,終端具備投影功能但不具有用於顯示內容的螢幕,則顯示介面為終端所投影出的影像所基於的介面,該介面可以是牆體、螢幕等平面,也可以是空氣、氣流、水流等非實體介面。   所述的距離,是指用戶眼部至終端螢幕的視線距離。可以理解地,用戶至終端螢幕的視線距離的遠近,將影響用戶對螢幕中所顯示內容進行識別的精細程度,故在本發明實施例中,對用戶與顯示介面之間的距離的確定,將決定後續顯示參數的數值高低。   需要說明的是,確定終端螢幕與用戶之間的視線距離,可由相應的測距感測器結合相應的測距演算法(如:人眼位置追蹤演算法、面部追蹤演算法等)實現,當然,測距感測器的測距原理並不作為本發明的保護內容,故在此不做過多論述。   S102:根據預設的距離與顯示參數的對應關係,確定所述顯示介面至所述用戶的距離所對應的顯示參數。   考慮到在實際應用場景下,人眼對圖像細節的識別能力,與眼部和畫面的間距相關,具體而言,當人眼距離畫面越近,則能夠識別出的圖像細節越清晰,反之,能夠識別的圖像細節越粗糙,那麼,也就是說,如果用戶眼部與終端螢幕的距離越近,則終端螢幕的顯示參數就應越高,以便保持較高的顯示效果,而如果用戶眼部與終端螢幕距離較遠,則終端螢幕的顯示參數就應相應降低,以便降低終端內部的處理資源消耗。   換言之,顯示參數的數值高低,與用戶和螢幕的距離負相關。因此,在本發明實施例中,預設的距離與顯示參數的對應關係,便是根據負相關的關係所進行設置的。在通常的應用場景下,所述對應關係包含多中距離區間,以及每一距離區間分別對應的顯示參數,例如:在20CM~25CM這一距離區間內,PPI為320;在30CM~50CM這一距離區間內,PPI為280。而在對距離精度要求較高的場景下,所述對應關係可以是步進的,也就是說,隨著距離的變化,顯示參數的數值也隨之變化。   在實際操作時,上述的對應關係可採用設定檔的方式保存在終端本地,故終端可在本地直接讀取設定檔中的對應關係,用以確定出當前距離下的顯示參數的具體數值。當然,所述的對應關係還可以儲存在相應的伺服器中,終端可向伺服器發出獲取請求,以獲取所述的對應關係,並確定出當前距離下的顯示參數。具體採用何種方式,將具體根據實際應用的需要進行確定,這裡並不構成對本發明的限定。   S103:根據確定出的所述顯示參數進行顯示。   確定出的所述顯示參數,與終端螢幕和用戶之間當前的距離相匹配,也就是說,終端螢幕基於當前的顯示參數進行顯示,其顯示效果能夠匹配用戶在當前距離下對顯示內容細節的識別能力。   通過上述步驟,在顯示介面進行圖像顯示的過程中,終端將即時確定用戶與顯示介面之間的距離,用戶與顯示介面之間的距離,決定了顯示介面的顯示參數數值的高低,具體而言,在用戶距顯示介面較近的情況下,用戶可以針對顯示介面所顯示的畫面識別出更為精細的圖像細節,而在用戶距顯示介面較遠的情況下,用戶對畫面精細程度的要求也會隨之降低,故在本發明中,終端將根據識別出的距離,結合預先設置的距離與顯示參數之間的對應關係,確定出適合於當前距離下的顯示參數,並基於該確定出的顯示參數進行圖像顯示。   與現有技術中顯示介面保持固定的顯示參數進行顯示的方式相比,本發明中的上述方法能夠即時根據用戶與顯示介面之間的距離,動態地調整顯示參數,既能夠節省對終端內部處理資源的消耗,也避免了用戶自行設定顯示參數的繁瑣過程。   需要說明的是,對於上述內容而言,在一種方式下,實現所述顯示方法的執行主體可以是終端,具體而言,終端自身具有測距感測器,其作業系統通過測距感測器獲得顯示介面與用戶之間的距離,在根據預設的距離與顯示參數的對應關係,計算得到了當前距離對應的顯示參數的數值後,呼叫作業系統內顯示調節功能的介面,改變相應的顯示參數。   在另一種方式下,對於距離的確定過程,執行主體可以是外置感測器,此時,終端向外置感測器發出指令,通過該外置感測器獲得顯示介面與用戶之間的距離,後續終端可基於獲得的距離,確定顯示參數以及根據顯示參數進行顯示。   當然,還可以由運行在終端內的第三方應用(Application,APP)作為執行主體,在此情況下,該第三方APP將獲得終端作業系統內的許可權,以便獲取距離,並調節終端的顯示參數。這裡並不構成對本發明的限定。   在實際應用場景下,在確定終端螢幕與用戶之間的距離的過程中,終端往往需要對用戶進行監測,也就是說,只有當用戶處於顯示介面之前,才需要對顯示介面的顯示參數進行動態調節,故在本發明實施例中,確定顯示介面與用戶之間的距離,具體包括:監測處於所述顯示介面可視範圍內的用戶,當監測到用戶處於所述可視範圍內時,測量所述顯示介面與用戶之間的距離。   上述過程中,顯示介面的可視範圍,表示能夠使用戶正常觀看所顯示內容的範圍,該可視範圍通常由可視角度和可視距離所決定。例如:對於如圖1a所示的終端而言,其可視範圍如圖2所示。   終端對其可視範圍內的用戶的監測,可由終端系統內的監測功能實現,具體而言,確定顯示介面與用戶之間的距離,具體包括:   顯示介面所基於的終端的作業系統,呼叫監測功能,監測處於所述顯示介面可視範圍內的用戶,並當監測到用戶處於所述可視範圍內時,測量所述顯示介面與用戶之間的視線距離。在實際應用時,終端上的紅外感應器、攝像頭等設備可作為測距感測器,也就是說,終端作業系統內的監測功能可以通過相應的資料介面,從終端上的測距感測器獲得顯示介面與用戶之間的距離資料,這裡並不構成對本發明的限定。   一旦終端監測到其可視範圍內出現了用戶,則會進一步確定出顯示介面至用戶之間的距離,進一步可以確定出適用於當前距離的顯示參數。其中,作為實際應用中的一種方式,預設的距離與顯示參數的對應關係,包括:預先劃分的距離區間與顯示參數的對應關係,那麼,在此方式下,根據預設的距離與顯示參數的對應關係,確定所述顯示介面至所述用戶的距離所匹配的顯示參數,具體包括:確定所述顯示介面與用戶之間的距離所落入的預設的距離區間,根據預設的距離與顯示參數的對應關係,確定該預設的距離區間所對應的顯示參數,將確定出的所述顯示參數作為所述顯示介面至所述用戶的距離所匹配的顯示參數。   如圖3a所示,顯示了不同距離區間與顯示參數之間的對應關係,從圖3a中可見,0~20、21~40、41~60、61~80這四個距離區間內,每一距離區間所對應的顯示參數(圖3a中的僅以顯示參數為PPI進行說明)僅具有一種取值,可以認為,每一距離區間內所對應的顯示參數的取值,是該距離區間內的最佳化值,也即,該顯示參數值在該距離區間內,能達到最佳顯示效果。   在實際應用時,距離區間可以根據實際應用的需要進行劃分,例如,在對顯示精度要求較高的場景下(如:VR場景),可以將距離區間進行精密劃分,使得每一距離區間的長度極短(如:1CM或0.1CM),而如果對顯示精度要求較低的場景,則可以將距離區間的長度設置較長(如上述圖3a中的實例),這裡並不構成對本發明的限定。   當然,除了距離區間可以根據實際應用進行劃分之外,不同距離區間所對應的顯示參數也可以根據實際應用的需要進行設置,如圖3b所示,在對顯示精度要求較高的場景下,隨著用戶與終端螢幕之間的距離變化,顯示參數的變化程度也不相同。   在實際應用中,VR設備的使用愈發廣泛,其中,一種VR設備稱為移動端VR眼鏡,該移動端VR眼鏡支援將具有VR功能的手機置入VR眼鏡架中,從而組成可以使用的VR眼鏡,對於此應用場景,可以理解地,手機螢幕在置入VR眼鏡架後,對顯示參數的要求較高,本發明實施例中提供一種顯示方法,適用於VR場景,如圖4所述,該方法具體包括如下步驟:   S401:監測終端自身的顯示模式。   在本實施例中,所述的終端應理解為既可以應用在正常使用場景,也可以應用在VR場景下的各類終端,如:具有VR功能的手機、平板電腦、VR眼鏡等。   在實際應用時,終端在正常使用場景下和在VR場景下對顯示參數的要求並不相同,那麼,由於在該場景中,用戶可以在VR場景下使用終端,將會啟動終端的VR功能,此時,終端的顯示模型將發生變化,所以,將監測終端的顯示模式,以便後續過程中對終端的顯示參數進行調節。   需要說明的是,在本實施例中,對終端自身顯示模式的監測過程,可由終端作業系統中的顯示模式監測功能實現,也可以有相應的應用顯示(應理解,此情況下,該應用獲得了終端內對顯示模式進行監測、更改的許可權,這裡並不作具體限定)。   S402:當監測到顯示模式為虛擬實境VR顯示模式時,確定終端螢幕與用戶眼部之間的物距。   終端進入VR模式,通常表示終端已經與外置的VR穿戴設備相匹配,如:手機置入外部的VR眼鏡框中。這裡所述的VR穿戴設備包括但不限於:能夠置入終端的VR眼鏡框、VR頭盔等。   同時,在本實施例中,外置的VR穿戴設備具有測距感測器(如:物距調節輪),能夠精確地測量得到終端螢幕與用戶眼部的距離(也即,物距),當然,具體的測量過程在此不過多贅述。   S403:根據預先設定的物距與顯示參數的對應關係,確定所述終端螢幕與用戶的所述物距所對應的顯示參數。   在本實施例中,當用戶使用置入有終端的外置VR穿戴設備後,由於用戶眼部與終端螢幕的距離較近,那麼,終端螢幕對顯示參數的要求較高,故隨著終端螢幕與用戶之間的物距的變化,顯示參數也將發生相應的變化。   S404:根據確定出的所述顯示參數進行VR顯示。   對於上述場景,需要說明的是,用戶可以主動操控終端進行VR顯示模式,或者,當用戶將終端置入外置的VR穿戴設備後,終端會自行切換至VR顯示模式,所以,在當監測到顯示模式為VR顯示模式時,確定終端螢幕與用戶眼部之間的物距之前,所述方法還包括:終端接收用戶發出的VR顯示模式指令,或,終端接收到與外置VR穿戴設備的匹配通知。   在一種可能的情況下,由於VR顯示模式下對終端螢幕的顯示參數要求較高,所以,當終端切換至VR顯示模式後,終端螢幕的顯示參數將適合於進行VR顯示,故在本實施例中,在確定終端螢幕與用戶眼部之間的物距之前,所述方法還包括:根據針對VR顯示模式預設的基礎顯示參數進行顯示。   這裡所述的基礎顯示參數,是適合於終端螢幕進行VR顯示的顯示參數,通常來說,基礎顯示參數的數值將不低於正常顯示模式下的顯示參數的數值。當然,這裡並不作具體限定。   在本實施例中,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種。   以上為本發明實施例提供的顯示方法,基於同樣的思路,本發明實施例還提供一種顯示裝置。   如圖5所示,顯示裝置包括:   測距模組501,確定顯示介面與用戶之間的距離。   確定模組502,根據預設的距離與顯示參數的對應關係,確定所述顯示介面與所述用戶之間的距離所對應的顯示參數。   顯示模組503,根據確定出的所述顯示參數進行顯示。   進一步而言,測距模組501,監測處於所述顯示介面可視範圍內的用戶,當監測到用戶處於所述可視範圍內時,測量所述顯示介面與用戶之間的距離。   在一種方式下,所述對應關係包括:預先劃分的距離區間與顯示參數的對應關係,那麼,確定模組502,確定所述顯示介面與用戶之間的距離所落入的預設的距離區間,根據預設的距離與顯示參數的對應關係,確定該預設的距離區間所對應的顯示參數,將確定出的所述顯示參數作為所述顯示介面至所述用戶的距離所匹配的顯示參數。其中,預先劃分的距離區間與顯示參數的數值負相關。   在另一種方式下,所述對應關係包括:單位距離與顯示參數的對應關係,那麼,確定模組502,根據單位距離與顯示參數的對應關係,確定所述顯示介面至所述用戶的距離數值所對應的顯示參數值,其中,距離數值與顯示參數值成反比。   基於上述內容,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種。   此外,對於VR應用場景,申請實施例還提供一種顯示裝置。如圖6所示,顯示裝置包括:   監測模組601,監測終端自身的顯示模式。   測距模組602,當監測到顯示模式為虛擬實境VR顯示模式時,確定終端螢幕與用戶眼部之間的物距。   確定模組603,根據預先設定的物距與顯示參數的對應關係,確定所述終端螢幕與用戶的所述物距所匹配的顯示參數。   顯示模組604,根據確定出的所述顯示參數進行VR顯示。   具體而言,在監測模組601監測到終端接收用戶發出的VR顯示模式指令,或,終端接收到與外置VR穿戴設備的匹配通知之後,監測模組601將確定終端的顯示模式為VR顯示模式。   在測距模組602執行確定終端螢幕與用戶眼部之間的物距這一操作前,顯示模組604根據針對VR顯示模式預設的基礎顯示參數進行顯示。   確定模組603,根據單位距離與顯示參數的對應關係,確定所述終端螢幕至所述用戶的物距數值所對應的顯示參數值,其中,物距數值與顯示參數值成反比。   在本實施例中,與前述實施例相類似,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種。   本發明是參照根據本發明實施例的方法、設備(系統)、和電腦程式產品的流程圖和/或方塊圖來描述的。應理解可由電腦程式指令實現流程圖和/或方塊圖中的每一流程和/或方塊、以及流程圖和/或方塊圖中的流程和/或方塊的結合。可提供這些電腦程式指令到通用電腦、專用電腦、嵌入式處理機或其他可程式設計資料處理設備的處理器以產生一個機器,使得通過電腦或其他可程式設計資料處理設備的處理器執行的指令產生用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的裝置。   這些電腦程式指令也可儲存在能引導電腦或其他可程式設計資料處理設備以特定方式工作的電腦可讀記憶體中,使得儲存在該電腦可讀記憶體中的指令產生包括指令裝置的製造品,該指令裝置實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能。   這些電腦程式指令也可裝載到電腦或其他可程式設計資料處理設備上,使得在電腦或其他可程式設計設備上執行一系列操作步驟以產生電腦實現的處理,從而在電腦或其他可程式設計設備上執行的指令提供用於實現在流程圖一個流程或多個流程和/或方塊圖一個方塊或多個方塊中指定的功能的步驟。   在一個典型的配置中,計算設備包括一個或多個處理器(CPU)、輸入/輸出介面、網路介面和記憶體。   記憶體可能包括電腦可讀媒體中的非永久性記憶體,隨機存取記憶體(RAM)和/或非揮發性記憶體等形式,如唯讀記憶體(ROM)或快閃記憶體(flash RAM)。記憶體是電腦可讀媒體的實例。   電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可抹除可程式設計唯讀記憶體(EEPROM)、快閃記憶體或其他記憶體技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶磁磁片儲存或其他磁性存放裝置或任何其他非傳輸媒體,可用於儲存可以被計算設備存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫存電腦可讀媒體(transitory media),如調變的資料訊號和載波。   還需要說明的是,用語“包括”、“包含”或者其任何其他變體意在涵蓋非排他性的包含,從而使得包括一系列要素的過程、方法、商品或者設備不僅包括那些要素,而且還包括沒有明確列出的其他要素,或者是還包括為這種過程、方法、商品或者設備所固有的要素。在沒有更多限制的情況下,由語句“包括一個……”限定的要素,並不排除在包括所述要素的過程、方法、商品或者設備中還存在另外的相同要素。   本領域技術人員應明白,本發明的實施例可提供為方法、系統或電腦程式產品。因此,本發明可採用完全硬體實施例、完全軟體實施例或結合軟體和硬體態樣的實施例的形式。而且,本發明可採用在一個或多個其中包含有電腦可用程式碼的電腦可用儲存媒體(包括但不限於磁碟記憶體、CD-ROM、光學記憶體等)上實施的電腦程式產品的形式。   以上所述僅為本發明的實施例而已,並不用於限制本發明。對於本領域技術人員來說,本發明可以有各種更改和變化。凡在本發明的精神和原理之內所作的任何修改、等同替換、改進等,均應包含在本發明的申請專利範圍的範圍之內。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described in combination with specific embodiments of the present invention and corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making progressive labor belong to the protection scope of the present invention. As mentioned earlier, for the display interface, its equipment provider usually sets a higher display parameter in advance at the factory to make the display interface achieve the best display effect. Then, when the display interface displays the content, it will The higher display parameters are set to display under the conditions of high definition and high pixel density. However, the sharpness or pixel density that the human eye can recognize is limited, so when the display parameters exceed a certain threshold, it will be difficult for the human eye to distinguish the difference. At this time, the terminal processing resources will be wasted. The display parameters can only be set by the user, which is tedious. Based on this, in the embodiment of the present invention, a display method is provided, so that the terminal dynamically adjusts the display parameters of the display interface according to the distance between the user and the display interface, which reduces the processing resource consumption in the terminal while avoiding The tedious process of the user manually setting the display parameters one by one. In the embodiment of the present invention, the terminal includes, but is not limited to, a projection device, and a mobile terminal and a non-mobile terminal with a screen, wherein: the projection device may be a holographic projection device, and a projection image generated by the holographic projection device It may include a three-dimensional projection image and a two-dimensional projection image. Mobile terminals can include: smartphones, tablets, smart watches, virtual reality (VR) devices, etc. Non-mobile terminals can include: computers, televisions, etc. The VR devices mentioned here further include at least one of: external VR glasses (with their own screens), and mobile VR glasses (the VR glasses frame is used in conjunction with the mobile phone, and the mobile phone display screen is used as the screen when in use). In addition, for the above-mentioned terminal, in an embodiment of the present invention, the terminal itself has a ranging function, and the ranging function is implemented by a distance sensor on the terminal, where the distance sensor may be: infrared Ranging sensor, ultrasonic ranging sensor, optical ranging sensor, etc. In another embodiment of the present invention, the device used in combination with the terminal has a ranging function, and the device transmits the measured distance data to the terminal in real time. For example, for mobile VR glasses, the object distance adjustment wheel on the frame of the VR glasses will transmit the measured object distance (in VR scene, the object distance refers to the distance from the screen to the human eye) to the mobile phone in real time. Of course, the above content does not limit the present invention. In an embodiment of the present invention, an interaction scenario between a user and a terminal may be shown in FIG. 1a. Based on the scene, an image display process provided in an embodiment of the present invention is shown in FIG. 1b. The process specifically includes the following: Steps: S101: Determine the distance between the display interface and the user. In this embodiment, for the display interface, in one scenario, if the terminal itself has a screen, the display interface is the terminal screen; in another scenario, the terminal has a projection function but does not have The screen that displays content is the interface on which the image projected by the terminal is based. The interface can be a plane such as a wall, a screen, or a non-physical interface such as air, air, or water. The distance refers to the distance from the user's eyes to the terminal screen. Understandably, the distance of the line of sight from the user to the screen of the terminal will affect the fineness of the user in identifying the content displayed on the screen. Therefore, in the embodiment of the present invention, the distance between the user and the display interface is determined by Determines the value of subsequent display parameters. It should be noted that determining the line-of-sight distance between the terminal screen and the user can be achieved by a corresponding ranging sensor combined with a corresponding ranging algorithm (such as: eye position tracking algorithm, face tracking algorithm, etc.), of course The ranging principle of the ranging sensor is not the protection of the present invention, so it will not be discussed too much here. S102: Determine the display parameter corresponding to the distance from the display interface to the user according to the preset correspondence between the distance and the display parameter. Considering that in actual application scenarios, the ability of the human eye to recognize image details is related to the distance between the eye and the screen. Specifically, the closer the human eye is to the screen, the clearer the image details that can be identified, Conversely, the coarser the image details that can be identified, that is, if the distance between the user's eye and the terminal screen is closer, the display parameters of the terminal screen should be higher in order to maintain a higher display effect, and if The distance between the user's eyes and the terminal screen is relatively long, so the display parameters of the terminal screen should be reduced accordingly, so as to reduce the processing resource consumption inside the terminal. In other words, the value of the display parameter is negatively related to the distance between the user and the screen. Therefore, in the embodiment of the present invention, the corresponding relationship between the preset distance and the display parameter is set according to the negative correlation relationship. In a common application scenario, the corresponding relationship includes multiple intermediate distance intervals and display parameters corresponding to each distance interval, for example: within a distance interval of 20CM ~ 25CM, the PPI is 320; between 30CM ~ 50CM Within the distance interval, the PPI is 280. In a scenario where distance accuracy is required, the corresponding relationship may be stepped, that is, as the distance changes, the value of the display parameter also changes.实际 In actual operation, the above-mentioned correspondence relationship can be stored locally in the terminal in the form of a profile, so the terminal can directly read the correspondence in the profile locally to determine the specific value of the display parameter at the current distance. Of course, the corresponding relationship may also be stored in a corresponding server, and the terminal may send an acquisition request to the server to obtain the corresponding relationship and determine a display parameter at the current distance. Which method is specifically adopted will be determined according to the actual application requirements, which does not constitute a limitation on the present invention. S103: Display according to the determined display parameters. The determined display parameters match the current distance between the terminal screen and the user, that is, the terminal screen is displayed based on the current display parameters, and the display effect can match the user's detailed display of content at the current distance. Recognition. Through the above steps, during the image display process of the display interface, the terminal will determine the distance between the user and the display interface in real time, and the distance between the user and the display interface determines the value of the display parameter value of the display interface. In other words, when the user is closer to the display interface, the user can identify more detailed image details for the screen displayed by the display interface, and when the user is far away from the display interface, the user's The requirements will also decrease accordingly. Therefore, in the present invention, the terminal will determine the display parameter suitable for the current distance based on the identified distance and the corresponding relationship between the preset distance and the display parameter, and based on the determination The displayed parameters are used for image display. Compared with the prior art in which the display interface keeps the display parameters fixed, the above method in the present invention can dynamically adjust the display parameters according to the distance between the user and the display interface, which can save the internal processing resources of the terminal. It also avoids the tedious process of setting display parameters by the user. It should be noted that, for the above content, in one way, the execution subject of implementing the display method may be a terminal. Specifically, the terminal itself has a ranging sensor, and its operating system passes the ranging sensor. Obtain the distance between the display interface and the user. After calculating the value of the display parameter corresponding to the current distance according to the correspondence between the preset distance and the display parameter, call the interface of the display adjustment function in the operating system and change the corresponding display. parameter. In another way, for the distance determination process, the execution subject may be an external sensor. At this time, the terminal issues an instruction to the external sensor, and obtains the distance between the display interface and the user through the external sensor. Distance, subsequent terminals may determine display parameters based on the obtained distances and display based on the display parameters. Of course, a third-party application (Application, APP) running in the terminal can also be used as the execution subject. In this case, the third-party application will obtain the permission in the terminal operating system in order to obtain the distance and adjust the display of the terminal. parameter. This does not constitute a limitation on the present invention. In the actual application scenario, in determining the distance between the terminal screen and the user, the terminal often needs to monitor the user, that is, only when the user is in the display interface, the display parameters of the display interface need to be dynamically changed. Adjustment, so in the embodiment of the present invention, determining the distance between the display interface and the user specifically includes: monitoring a user who is within the visible range of the display interface, and measuring the user when it is detected that the user is within the visible range Shows the distance between the interface and the user.中 In the above process, the visible range of the display interface indicates the range in which the user can normally view the displayed content. The visible range is usually determined by the viewing angle and viewing distance. For example, for a terminal shown in FIG. 1a, its visible range is shown in FIG. The terminal's monitoring of users in its visible range can be implemented by the monitoring function in the terminal system. Specifically, determining the distance between the display interface and the user includes: The operating system of the terminal on which the display interface is based, call monitoring function Monitoring a user in a visible range of the display interface, and measuring a line-of-sight distance between the display interface and the user when the user is monitored in the visible range. In practical applications, infrared sensors, cameras, and other devices on the terminal can be used as ranging sensors, that is, the monitoring function in the terminal operating system can be measured from the ranging sensor on the terminal through the corresponding data interface. Obtaining the distance data between the display interface and the user does not constitute a limitation on the present invention. Once the terminal detects that a user appears in its visible range, it will further determine the distance between the display interface and the user, and further determine the display parameters applicable to the current distance. Among them, as a method in practical application, the correspondence between the preset distance and the display parameter includes: the correspondence between the pre-divided distance interval and the display parameter. Then, in this mode, according to the preset distance and the display parameter Corresponding to determining a display parameter matched by the distance between the display interface and the user, specifically including: determining a preset distance interval within which the distance between the display interface and the user falls, according to the preset distance The corresponding relationship with the display parameters determines the display parameters corresponding to the preset distance interval, and uses the determined display parameters as the display parameters that match the distance from the display interface to the user. As shown in Fig. 3a, the corresponding relationship between different distance intervals and display parameters is displayed. As can be seen from Fig. 3a, in the four distance intervals of 0 ~ 20, 21 ~ 40, 41 ~ 60, 61 ~ 80, each The display parameter corresponding to the distance interval (only the display parameter is described as PPI in Figure 3a) has only one value. It can be considered that the value of the corresponding display parameter in each distance interval is the value in the distance interval. The optimized value, that is, the display parameter value is within the distance interval, and the best display effect can be achieved. In practical applications, the distance interval can be divided according to the needs of the actual application. For example, in scenarios that require high display accuracy (such as VR scenes), the distance interval can be precisely divided so that the length of each distance interval Very short (such as: 1CM or 0.1CM), and if the display accuracy is low, you can set the length of the distance interval to be longer (such as the example in Figure 3a above), which does not constitute a limitation on the present invention. . Of course, in addition to the distance interval can be divided according to the actual application, the display parameters corresponding to different distance intervals can also be set according to the needs of the actual application, as shown in Figure 3b. As the distance between the user and the terminal screen changes, the degree of change in the display parameters varies. In practical applications, VR devices are used more and more widely. Among them, one type of VR device is called mobile VR glasses. The mobile VR glasses support the placement of a mobile phone with a VR function into a VR glasses frame to form a usable VR. Glasses. For this application scenario, it is understandable that after the mobile phone screen is placed in the VR glasses frame, the display parameter requirements are high. An embodiment of the present invention provides a display method suitable for VR scenarios, as shown in FIG. 4, The method specifically includes the following steps: S401: Monitor the display mode of the terminal itself. In this embodiment, the terminal should be understood as various types of terminals that can be applied in both normal use scenarios and VR scenarios, such as: mobile phones, tablets, and VR glasses with VR functions. In practical applications, the terminal has different requirements for display parameters in the normal use scenario and in the VR scenario. Then, in this scenario, the user can use the terminal in the VR scenario, and the VR function of the terminal will be activated. At this time, the display model of the terminal will change, so the display mode of the terminal will be monitored in order to adjust the display parameters of the terminal in the subsequent process. It should be noted that, in this embodiment, the monitoring process of the terminal's own display mode can be implemented by the display mode monitoring function in the terminal operating system, or a corresponding application can be displayed (it should be understood that in this case, the application obtains The permission to monitor and change the display mode in the terminal is not specifically limited here). S402: When it is detected that the display mode is the virtual reality VR display mode, determine the object distance between the terminal screen and the user's eyes. The terminal enters the VR mode, which usually means that the terminal has been matched with an external VR wearable device, such as: the mobile phone is placed in the external VR glasses frame. The VR wearable devices described herein include, but are not limited to, VR glasses frames, VR helmets, and the like that can be placed in a terminal. Meanwhile, in this embodiment, the external VR wearable device has a distance measuring sensor (such as an object distance adjustment wheel), which can accurately measure the distance between the terminal screen and the user's eye (that is, the object distance). Of course, the specific measurement process is not repeated here. S403: Determine the display parameter corresponding to the object distance between the terminal screen and the user according to the preset correspondence between the object distance and the display parameter. In this embodiment, when a user uses an external VR wearable device with a terminal installed, since the distance between the user's eye and the terminal screen is relatively short, the terminal screen has higher requirements for display parameters, so with the terminal screen With the change of the object distance from the user, the display parameters will also change accordingly. S404: Perform VR display according to the determined display parameters. For the above scenario, it should be noted that the user can actively control the terminal for the VR display mode, or when the user puts the terminal into an external VR wearable device, the terminal will switch to the VR display mode by itself, so when monitoring When the display mode is the VR display mode, before determining the object distance between the terminal screen and the user's eyes, the method further includes: the terminal receives a VR display mode instruction issued by the user, or the terminal receives a call from an external VR wearable device. Match notification. In a possible case, since the display parameters of the terminal screen are higher in the VR display mode, when the terminal is switched to the VR display mode, the display parameters of the terminal screen will be suitable for VR display. Therefore, in this embodiment, Before determining the object distance between the terminal screen and the user's eyes, the method further includes: displaying according to the basic display parameters preset for the VR display mode.基础 The basic display parameters described here are display parameters suitable for VR display on the terminal screen. Generally, the value of the basic display parameter will not be lower than the value of the display parameter in the normal display mode. Of course, it is not specifically limited here. In this embodiment, the display parameters include at least one of resolution, pixel density PPI, sharpness, refresh rate, and frame rate. The above is the display method provided by the embodiment of the present invention. Based on the same idea, the embodiment of the present invention also provides a display device. As shown in FIG. 5, the display device includes: 距 A ranging module 501 determines the distance between the display interface and the user. (2) The determining module 502 determines a display parameter corresponding to a distance between the display interface and the user according to a preset correspondence between a distance and a display parameter. (2) The display module 503 performs display according to the determined display parameters. Further, the ranging module 501 monitors a user who is within the visible range of the display interface, and measures the distance between the display interface and the user when it is detected that the user is within the visible range. In one mode, the correspondence relationship includes: a correspondence relationship between a pre-divided distance interval and a display parameter. Then, the determining module 502 determines a preset distance interval in which the distance between the display interface and the user falls. , Determining a display parameter corresponding to the preset distance interval according to a corresponding relationship between the preset distance and the display parameter, and using the determined display parameter as a display parameter that matches the distance from the display interface to the user . The pre-divided distance interval has a negative correlation with the value of the display parameter. In another manner, the corresponding relationship includes: a corresponding relationship between a unit distance and a display parameter. Then, the determining module 502 determines a value of the distance from the display interface to the user according to the corresponding relationship between the unit distance and the display parameter. The corresponding display parameter value, where the distance value is inversely proportional to the display parameter value. Based on the above, the display parameters include at least one of resolution, pixel density PPI, sharpness, refresh rate, and frame rate. In addition, for VR application scenarios, the application embodiment also provides a display device. As shown in FIG. 6, the display device includes: a monitoring module 601, which monitors a display mode of the terminal itself.距 The ranging module 602 determines the object distance between the terminal screen and the user's eyes when it is detected that the display mode is the virtual reality VR display mode. (2) The determining module 603 determines a display parameter that matches the object distance between the terminal screen and the user according to the preset correspondence between the object distance and the display parameter. (2) The display module 604 performs VR display according to the determined display parameters. Specifically, after the monitoring module 601 detects that the terminal receives a VR display mode instruction from the user, or after the terminal receives a matching notification from an external VR wearable device, the monitoring module 601 determines that the display mode of the terminal is VR display. mode. Before the ranging module 602 performs the operation of determining the object distance between the terminal screen and the user's eyes, the display module 604 performs display according to the basic display parameters preset for the VR display mode. The determination module 603 determines the display parameter value corresponding to the object distance value from the terminal screen to the user according to the correspondence between the unit distance and the display parameter, where the object distance value is inversely proportional to the display parameter value. In this embodiment, similar to the previous embodiment, the display parameters include at least one of resolution, pixel density PPI, sharpness, refresh rate, and frame rate. The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, and a combination of the flow and / or block in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to generate a machine for instructions executed by the processor of the computer or other programmable data processing device Generate means for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagram. These computer program instructions may also be stored in computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory generate a manufactured article including a command device , The instruction device implements the functions specified in a flowchart or a plurality of processes and / or a block or a block of the block diagram. These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operating steps can be performed on the computer or other programmable equipment to generate computer-implemented processing, and thus on the computer or other programmable equipment The instructions executed on the steps provide steps for implementing the functions specified in one or more flowcharts and / or one or more blocks of the block diagram.计算 In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory. Memory may include non-persistent memory, random access memory (RAM), and / or non-volatile memory in computer-readable media, such as read-only memory (ROM) or flash memory (flash) RAM). Memory is an example of a computer-readable medium. Computer-readable media include permanent and non-permanent, removable and non-removable media. Information can be stored by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), and other types of random access memory (RAM) Read-only memory (ROM), electrically erasable and programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital multifunction Optical discs (DVDs) or other optical storage, magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transmitting media may be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves. It should also be noted that the terms "including," "including," or any other variation thereof are intended to cover non-exclusive inclusion, so that a process, method, product, or device that includes a series of elements includes not only those elements, but also Other elements not explicitly listed, or those that are inherent to such a process, method, product, or device. Without more restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, product or equipment including the elements.技术 Those skilled in the art should understand that the embodiments of the present invention may be provided as a method, a system or a computer program product. Therefore, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk memory, CD-ROM, optical memory, etc.) containing computer-usable code therein. . The above descriptions are merely examples of the present invention and are not intended to limit the present invention. It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the scope of the patent application of the present invention.

S101〜S103‧‧‧步驟S101 ~ S103‧‧‧step

S401〜S404‧‧‧步驟S401 ~ S404‧‧‧step

501‧‧‧測距模組501‧‧‧ ranging module

502‧‧‧確定模組502‧‧‧ Determine the module

503‧‧‧顯示模組503‧‧‧Display Module

601‧‧‧監測模組601‧‧‧Monitoring Module

602‧‧‧測距模組602‧‧‧ ranging module

603‧‧‧確定模組603‧‧‧ Determine the module

604‧‧‧顯示模組604‧‧‧Display Module

此處所說明的附圖用來提供對本發明的進一步理解,構成本發明的一部分,本發明的示意性實施例及其說明用於解釋本發明,並不構成對本發明的不當限定。在附圖中:   圖1a為本發明實施例提供的用戶與顯示介面的場景示意圖;   圖1b為本發明實施例提供的圖像顯示過程示意圖;   圖2為本發明實施例提供的可視範圍的示意圖;   圖3a及3b為本發明實施例提供的不同距離區間與顯示參數的對應關係的示意圖;   圖4為本發明實施例提供的在VR場景下的圖像顯示過程示意圖;   圖5為本發明實施例提供的顯示裝置結構示意圖;   圖6為本發明實施例提供的在VR場景下的顯示裝置結構示意圖。The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The schematic embodiments of the present invention and the descriptions thereof are used to explain the present invention, and do not constitute an improper limitation on the present invention. In the drawings: FIG. 1a is a schematic diagram of a scene of a user and a display interface according to an embodiment of the present invention; FIG. 1b is a schematic diagram of an image display process provided by an embodiment of the present invention; FIG. 2 is a schematic diagram of a visible range provided by an embodiment of the present invention Figures 3a and 3b are schematic diagrams of the correspondence between different distance intervals and display parameters according to an embodiment of the present invention; Figure 4 is a schematic diagram of an image display process in a VR scene provided by an embodiment of the present invention; Figure 5 is an implementation of the present invention Schematic diagram of the structure of the display device provided by the example; FIG. 6 is a schematic diagram of the structure of the display device in the VR scene according to an embodiment of the present invention.

Claims (16)

一種顯示方法,所述方法包括:   確定顯示介面與用戶之間的距離;   根據預設的距離與顯示參數的對應關係,確定所述顯示介面與所述用戶之間的距離所對應的顯示參數;   根據確定出的所述顯示參數進行顯示。A display method comprising: determining a distance between a display interface and a user; determining a display parameter corresponding to a distance between the display interface and the user according to a preset correspondence between a distance and a display parameter; Display according to the determined display parameters. 如申請專利範圍第1項所述的方法,其中,確定顯示介面與用戶之間的距離,具體包括:   監測處於所述顯示介面可視範圍內的用戶,並當監測到用戶處於所述可視範圍內時,測量所述顯示介面與用戶之間的視線距離。The method according to item 1 of the scope of patent application, wherein determining the distance between the display interface and the user specifically includes: monitoring a user who is within the visible range of the display interface, and when monitoring that the user is within the visible range When measuring the line-of-sight distance between the display interface and the user. 如申請專利範圍第1項所述的方法,其中,所述對應關係包括:預先劃分的距離區間與顯示參數的對應關係;   根據預設的距離與顯示參數的對應關係,確定所述顯示介面至所述用戶的距離所匹配的顯示參數,具體包括:   確定所述顯示介面與用戶之間的距離所落入的預設的距離區間;   根據預設的距離與顯示參數的對應關係,確定該預設的距離區間所對應的顯示參數;   將確定出的所述顯示參數作為所述顯示介面至所述用戶的距離所匹配的顯示參數。The method according to item 1 of the scope of patent application, wherein the correspondence includes: a correspondence relationship between a pre-divided distance interval and a display parameter; determining the display interface to The display parameter matched by the distance of the user specifically includes: determining a preset distance interval within which the distance between the display interface and the user falls; 确定 determining the preset distance according to the correspondence between the preset distance and the display parameter A display parameter corresponding to a set distance interval; using the determined display parameter as a display parameter that matches the distance from the display interface to the user. 如申請專利範圍第1~3項中任一項所述的方法,其中,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種;   其中,所述解析度、像素密度PPI、銳度中的至少一種,與所述顯示介面與用戶之間的距離負相關。The method according to any one of claims 1 to 3, wherein the display parameters include at least one of resolution, pixel density PPI, sharpness, refresh rate, and frame rate; At least one of the resolution, the pixel density PPI, and the sharpness is negatively related to the distance between the display interface and the user. 一種顯示方法,所述方法包括:   監測終端自身的顯示模式;   當監測到顯示模式為虛擬實境VR顯示模式時,確定終端螢幕與用戶眼部之間的物距;   根據預先設定的物距與顯示參數的對應關係,確定所述終端螢幕與用戶的所述物距所對應的顯示參數;   根據確定出的所述顯示參數進行VR顯示。A display method comprising: monitoring a display mode of a terminal itself; 确定 determining a distance between a terminal screen and a user's eyes when the display mode is a virtual reality VR display mode; according to a preset object distance and The correspondence between the display parameters determines the display parameters corresponding to the object distance between the terminal screen and the user; VR displays according to the determined display parameters. 如申請專利範圍第7項所述的方法,其中,監測到顯示模式為VR顯示模式,具體包括:   終端接收用戶發出的VR顯示模式指令;   或,終端接收到與外置VR穿戴設備的匹配通知。The method according to item 7 of the scope of patent application, wherein the display mode is detected as the VR display mode, which specifically includes: The terminal receives a VR display mode instruction from the user; or, the terminal receives a matching notification with an external VR wearable device . 如申請專利範圍第5項所述的方法,其中,在確定終端螢幕與用戶眼部之間的物距之前,所述方法還包括:   根據針對所述VR顯示模式預設的基礎顯示參數進行顯示。The method according to item 5 of the scope of patent application, wherein before determining the object distance between the terminal screen and the user's eyes, the method further comprises: 显示 displaying according to the basic display parameters preset for the VR display mode . 如申請專利範圍第5~7項中任一項所述的方法,其中,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種;   其中,所述解析度、像素密度PPI、銳度中的至少一種,與所述顯示介面與用戶之間的距離負相關。The method according to any one of claims 5 to 7, wherein the display parameters include at least one of a resolution, a pixel density PPI, a sharpness, a refresh rate, and a frame rate; At least one of the resolution, the pixel density PPI, and the sharpness is negatively related to the distance between the display interface and the user. 一種顯示裝置,所述裝置包括:   測距模組,確定顯示介面與用戶之間的距離;   確定模組,根據預設的距離與顯示參數的對應關係,確定所述顯示介面至所述用戶的距離所匹配的顯示參數;   顯示模組,根據確定出的所述顯示參數進行顯示。A display device comprising: 距 a distance measuring module for determining a distance between a display interface and a user; a determining module for determining a distance between the display interface and the user according to a correspondence between a preset distance and a display parameter The display parameter matched by the distance; The display module performs display according to the determined display parameter. 如申請專利範圍第9項所述的裝置,其中,所述測距模組,監測處於所述顯示介面可視範圍內的用戶,並當監測到用戶處於所述可視範圍內時,測量所述顯示介面與用戶之間的視線距離。The device according to item 9 of the scope of patent application, wherein the ranging module monitors a user who is within the visible range of the display interface, and measures the display when the user is detected to be within the visible range. The line-of-sight distance between the interface and the user. 如申請專利範圍第9項所述的裝置,其中,所述對應關係包括:預先劃分的距離區間與顯示參數的對應關係,所述確定模組,確定所述顯示介面與用戶之間的距離所落入的預設的距離區間,根據預設的距離與顯示參數的對應關係,確定該預設的距離區間所對應的顯示參數,將確定出的所述顯示參數作為所述顯示介面至所述用戶的距離所匹配的顯示參數。The device according to item 9 of the scope of patent application, wherein the correspondence includes a correspondence relationship between a pre-divided distance interval and a display parameter, and the determination module determines a distance between the display interface and a user. The preset distance interval that falls is determined according to the correspondence between the preset distance and the display parameter, and the display parameter corresponding to the preset distance interval is determined, and the determined display parameter is used as the display interface to the display interface. The display parameter matched by the user's distance. 如申請專利範圍第9~11項中任一項所述的裝置,其中,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種;   其中,解析度、像素密度PPI、銳度中的至少一種,與所述顯示介面與用戶之間的距離負相關。The device according to any one of claims 9 to 11, wherein the display parameters include at least one of resolution, pixel density PPI, sharpness, refresh rate, and frame rate; At least one of degree, pixel density PPI, and sharpness is negatively related to the distance between the display interface and the user. 一種顯示裝置,所述裝置包括:   監測模組,監測終端自身的顯示模式;   測距模組,當監測到顯示模式為虛擬實境VR顯示模式時,確定終端螢幕與用戶眼部之間的物距;   確定模組,根據預先設定的物距與顯示參數的對應關係,確定所述終端螢幕與用戶的所述物距所匹對應的顯示參數;   顯示模組,根據確定出的所述顯示參數進行VR顯示。A display device includes: a monitoring module to monitor a terminal's own display mode; 距 a ranging module to determine an object between a terminal screen and a user's eye when the display mode is detected as a virtual reality VR display mode The determination module determines the display parameter corresponding to the object distance between the terminal screen and the user according to the preset correspondence between the object distance and the display parameter; the display module, according to the determined display parameter Perform VR display. 如申請專利範圍第13項所述的裝置,其中,所述監測模組,監測到終端接收用戶發出的VR顯示模式指令,或,終端接收到與外置VR穿戴設備的匹配通知之後,確定所述終端的顯示模式為VR顯示模式。The device according to item 13 of the scope of patent application, wherein the monitoring module detects that the terminal receives a VR display mode instruction issued by the user, or determines that the terminal receives the matching notification with the external VR wearable device after the terminal receives the notification. The display mode of the terminal is a VR display mode. 如申請專利範圍第13項所述的裝置,其中,在所述測距模組執行確定終端螢幕與用戶眼部之間的物距前,所述顯示模組根據針對VR顯示模式預設的基礎顯示參數進行顯示。The device according to item 13 of the scope of patent application, wherein before the ranging module executes determining the object distance between the terminal screen and the user's eyes, the display module is based on a preset basis for the VR display mode. Display parameters for display. 如申請專利範圍第13~15項中任一項所述的裝置,其中,所述顯示參數包括:解析度、像素密度PPI、銳度、刷新率、訊框率中的至少一種;   其中,所述解析度、像素密度PPI、銳度中的至少一種,與所述顯示介面與用戶之間的距離負相關。The device according to any one of claims 13 to 15, wherein the display parameters include at least one of a resolution, a pixel density PPI, a sharpness, a refresh rate, and a frame rate; At least one of the resolution, the pixel density PPI, and the sharpness is negatively related to the distance between the display interface and the user.
TW106131559A 2016-11-03 2017-09-14 Display method and apparatus TW201818230A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??201610953847.0 2016-11-03
CN201610953847.0A CN107037957A (en) 2016-11-03 2016-11-03 A kind of display methods and device

Publications (1)

Publication Number Publication Date
TW201818230A true TW201818230A (en) 2018-05-16

Family

ID=59530280

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106131559A TW201818230A (en) 2016-11-03 2017-09-14 Display method and apparatus

Country Status (3)

Country Link
CN (1) CN107037957A (en)
TW (1) TW201818230A (en)
WO (1) WO2018082474A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107037957A (en) * 2016-11-03 2017-08-11 阿里巴巴集团控股有限公司 A kind of display methods and device
CN107908278B (en) * 2017-10-20 2020-04-28 华为技术有限公司 Virtual reality VR interface generation method and device
CN108490797A (en) * 2018-03-20 2018-09-04 北京百度网讯科技有限公司 The search result methods of exhibiting and device of smart machine
CN111629198B (en) * 2020-06-08 2022-08-09 京东方科技集团股份有限公司 Imaging system, control method, control device and storage medium thereof
CN113099300B (en) * 2021-03-19 2022-08-02 深圳创维-Rgb电子有限公司 Program playing method, device, display terminal and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158721B (en) * 2011-04-06 2012-12-05 青岛海信电器股份有限公司 Method and device for adjusting three-dimensional image and television
CN105653032B (en) * 2015-12-29 2019-02-19 小米科技有限责任公司 Display adjusting method and device
CN105827872A (en) * 2016-06-07 2016-08-03 维沃移动通信有限公司 Control method of mobile terminal and mobile terminal
CN107037957A (en) * 2016-11-03 2017-08-11 阿里巴巴集团控股有限公司 A kind of display methods and device

Also Published As

Publication number Publication date
CN107037957A (en) 2017-08-11
WO2018082474A1 (en) 2018-05-11

Similar Documents

Publication Publication Date Title
TW201818230A (en) Display method and apparatus
CN109062531B (en) Spliced screen, display method of spliced screen and display control device
US9268137B2 (en) Means for dynamically regulating the time-out characteristics of a display of an electronic device
US11140317B2 (en) Method and device for managing thumbnail of three-dimensional contents
CN107807732B (en) Method for displaying image, storage medium, and electronic device
KR102355456B1 (en) A system for tracking the engagement of media items
US11263469B2 (en) Electronic device for processing image and method for controlling the same
WO2021008456A1 (en) Image processing method and apparatus, electronic device, and storage medium
TWI669659B (en) Method and terminal device for displaying information safely
TW201638727A (en) Electronic display illumination
US11297224B2 (en) Automated eyewear device sharing system
EP3195595A1 (en) Technologies for adjusting a perspective of a captured image for display
US11663689B2 (en) Foveated rendering using eye motion
CN107204044B (en) Picture display method based on virtual reality and related equipment
WO2017024765A1 (en) Display apparatus, display system and resolution adjustment method
CN112162669A (en) Screen recording method and device of intelligent terminal, storage medium and processor
US10877297B2 (en) Monitoring component of the position of a head mounted device
US20210233500A1 (en) System and Method for Dynamically Focusing an Information Handling System Display Screen Based on User Vision Requirements
TW201931305A (en) Mobile device and image processing method
JP2019102941A (en) Image processing apparatus and control method of the same
US10216604B2 (en) Monitoring environmental parameters associated with computer equipment
US20210278665A1 (en) Electronic device and control method thereof
US11272171B1 (en) Systems and methods for fallback tracking based on real-time tracking performance
EP3474237B1 (en) Method and device for processing image, and recording medium
TW201719552A (en) Projection system and projection method