通過研究發現,在實際應用中,儘管不同展示場景的展示需求在整體上各不相同,但是某些場景之間或多或少都會存在部分相同的展示需求。以電商平臺為例:假設存在商品列表展示場景A、B、C,展示需求涉及:“資料來源”和“排序規則”兩部分,具體如表1所示:
表1 可見,儘管3種展示場景的展示需求不同,但是在局部仍然存在相同的部分,例如場景A和場景B使用的資料來源相同、場景B和場景C使用的排序規則相同。根據現有技術的實現方式,需要開發人員分別針對場景A、B、C編寫展示邏輯。後續如果多個場景的展示需求發生了統一的變化(例如將場景B和場景C的排序規則統一調整為“排序規則3”),則需要分別重寫場景B和場景C的展示需求邏輯。不僅消耗了額外的開發和維護成本,而且重複的展示需求邏輯還會導致浪費儲存空間等問題。另外,由於展示需求邏輯分散在各個前端頁面的展示代碼中,也不利於統一維護管理。並且,可以理解的是,隨著場景的增加和展示需求的複雜化,上述問題會變得更加嚴重。 針對上述問題,本發明提出的方案是:將完整的展示需求拆分成若干個維度,每個維度用於描述展示需求在某一態樣的具體特徵;同時開發一套通用的展示方案庫,在該庫中,每個展示方案(對應展示需求)都是由若干個配置項(對應描述特徵)構成。 以表1所示為例,每個展示方案均由“資料來源”、“排序規則”2個配置項構成。分別對這2個配置項賦值,就可以形成一個完整的展示方案。例如令“資料來源=商品資料庫1”、“排序規則=排序規則1”,就形成了場景A的展示方案。 與現有技術相比,本發明所提供的技術方案至少具有以下優勢: 首先,將“配置項”作為展示方案的最小儲存單元,針對每個配置項可以對應儲存多種具體配置內容,從而可以根據實際需求更靈活地組裝出滿足各種需求的展示方案。 其次,同一具體配置內容可以被不同的展示方案複用,從而有效降低增加場景所帶來的開發和維護成本,還可以避免儲存重複的內容,節省儲存空間佔用。 再次,所有展示方案都集中儲存在展示方案資料庫中,而不是分散在不同的應用或不同的頁面中,有利於對所有展示方案的統一維護管理。 為了使本領域技術人員更好地理解本發明中的技術方案,下面將結合本發明實施例中的附圖,對本發明實施例中的技術方案進行詳細地描述,顯然,所描述的實施例僅僅是本發明一部分實施例,而不是全部的實施例。基於本發明中的實施例,本領域普通技術人員所獲得的所有其他實施例,都應當屬於本發明保護的範圍。 圖1所示,為本發明提供的資料物件展示方案的場景架構示意圖,該系統包括:前端系統100、展示方案管理系統200、資料物件儲存系統300。 前端系統100,直接與使用者側互動,負責接收使用者的各種操作請求,對頁面進行渲染及展示。在本發明中,前端系統100中可以不包含展示需求邏輯,當需要執行展示操作時,將展示場景的特徵上報給展示方案管理系統200、然後根據展示方案管理系統200返回的展示方案來執行展示操作。 需要說明的是,圖1中所示的100僅用於從功能上區分於場景架構中的其他部分,在實際應用中,前端系統可以包括多個,例如不同APP的分別對應不同的前端系統、不同的網站分別對應不同前端系統、等等。每個前端系統中可能包含一個或多個展示場景。 展示方案管理系統200,根據前端系統100上報的展示場景特徵,在展示方案庫中查找與該特徵對應的展示方案,並且將查找結果返回至前端系統100。以使得前端系統100根據所返回的展示方案進行展示。 如圖1所示,展示方案管理系統200,從邏輯上又可以進一步劃分為展示場景介面層2001、展示方案呼叫層2002、展示方案庫2003。 展示場景介面層2001直接與前端系統100互動,負責接收前端系統100上報的展示場景特徵,並且進一步上傳給展示方案呼叫層2002。展示方案呼叫層2002根據該特徵,從展示方案庫2003呼叫與該特徵對應的展示方案,並且將展示方案返回展示場景介面層2001,由展示場景介面層2001將展示方案進一步返回至前端系統100。 關於展示方案庫2003中展示方案的具體資料結構及儲存方式,將在後面的實施例中詳細說明。 資料物件儲存系統300,用於儲存展示所需的原始資料物件,根據實際需要,資料物件可以採用分庫、分表等儲存方式,這些並不影響本發明方案的實現。 以上介紹了本發明資料物件展示方案的基本場景架構。需要說明的是,在實際應用中,“根據展示方案的進行展示”的操作不僅限於全部在前端系統100執行,其中的一部分也可以在展示方案管理系統200執行。例如:在展示方案中指定了該方案原始資料物件,則原始資料物件的讀取操作,既可以在前端系統100執行,也可以在展示方案管理系統200執行、然後將讀取結果發送至前端系統100。即前端系統100和展示方案管理系統200都可以具備從資料物件儲存系統300中讀取資料的功能。 下面進一步對本發明方案中的“展示方案”的資料結構和儲存方式進行說明。 本發明方案將完整的展示需求拆分成若干個維度,每個維度用於描述展示需求在某一態樣的具體特徵,這裡的維度可以包括:使用哪些源物件資料、使用何種排序規則、以何種樣式排版展現、等等。也就是說,每個展示方案都可以通過對若干個特徵進行“配置”得到。為描述方便,在本發明中,將每個用於描述展示需求的特徵稱為一個“配置項”,即每個展示方案都是由若干配置項構成,如表2所示:
表2 可見,在本發明中,展示方案實際上是以結構化的形式進行儲存,所有的方案都具有統一的配置項,不同的配置值則區分出了不同的方案。具體的配置項可以根據實際需求進行設計,一般可以包括以下幾類: 展示場景特徵配置項:用於指定方案所適用的展示場景,實際應用可能存在一個或多個展示場景特徵配置項,由於本發明方案是根據展示場景來選對應的展示方案,因此也可以將該配置項也理解為展示方案的索引字段。 輸入配置項:用於指定方案所使用的原始資料物件,例如在進行商品資訊列表展示時,指示使用哪個商品資料庫的資料進行展示。 輸出配置項:用於指定方案的展示效果,具體可以包括排序策略配置項、篩選策略配置項、展示樣式配置項、等等。例如在進行商品資訊列表展示時,使用什麼排序規則,具體顯示商品資訊資料的哪些字段、各字段之間如何排版、等等。 除以上三個基本配置項之外,還可以包括其他類型的配置項,例如優先級配置項,可以在場景特徵匹配到多條展示方案的情況下,確定展示方案的選取優先級。 實際應用中,例如排序策略、篩選策略、展示樣式等配置項,都涉及比較複雜的邏輯。在一種具體實施方式中,可以創建新的資料表來儲存這些複雜的邏輯,這種情況下,表1中“配置值”的具體形式可以不是實體資訊(例如具體的規則),而是一個識別的形式,利用該識別可以在其他儲存位置唯一確定一個實體資訊類型的配置值。 參見圖2所示,本發明提供一種展示方案的儲存結構,應用於上述的展示方案庫2003,該結構可以從邏輯上劃分為兩個層次: 描述資訊儲存模組201,儲存有至少一個資料物件展示方案,每一展示方案由多個配置項構成,每個配置項配置值可以是實體資訊類型的配置值,如圖2所示的“配置項1”,例如直接寫入排序規則的具體邏輯;也可以是識別類型的配置值,每個識別可以唯一確定在儲存模組中202儲存的一個配置值;如圖2所示的“配置項2”和“配置項3”。需要說明的是,在某些情況下,同一配置項既可以使用實體資訊類型的配置值、也可以使用識別類型的配置值、甚至兩者混用,圖2所示的情形不應理解為對本發明方案的限定。 配置資訊儲存模組202,儲存有對應於不同配置項的實體資訊類型的配置值,每個配置項具有一種或多種配置值,如圖2所示,“配置項2”具有4種配置值,“配置項3” 具有3種配置值。並且,且每種配置值可被不同的展示方案複用。例如,同一排序規則可以被不同的展示方案所複用。這樣,在開發新場景時,可以直接使用已經編寫好的各種配置資訊,從而有效降低增加場景所帶來的開發和維護成本。還可以避免儲存重複的內容,節省儲存空間佔用。 此外,由於所有展示方案都集中儲存在展示方案資料庫中,而不是分散在不同的應用或不同的頁面中,有利於對所有展示方案的統一維護管理。特別地,如果採用如圖2所示的分層儲存結構,則一些涉及具體配置值的調整操作可以一次性在配置資訊儲存模組202完成,並且對所有複用該配置值的方案都生效,避免在描述資訊儲存模組201對方案逐項進行調整,從而進一步提升維護管理的便捷性。 圖3所示為本發明展示方案儲存結構的另一種結構示意圖,與圖2相比,進一步增加了全域調整策略儲存模組203,其作用是儲存對展示方案中一個或多個配置項的全域調整策略;全域調整策略在優先級上高於描述資訊儲存模組201中的儲存的每個展示方案,並且對每個展示方案均產生影響。可以用來實現普通展示方案外的特殊展示邏輯,進一步提高展示方案的配置靈活性。 例如,如果需要在整體運營層面對展示效果進行干預,例如強制置頂、強制過濾某些資訊、設置對原始資料物件的資料讀取量、設置對多個原始資料物件的讀取優先級等等,則可以預先為對應的配置項配置調整策略。在展示階段,根據場景特徵選取展示方案之後,首先判斷是否存在對展示方案中一個或多個配置項的全域調整策略;如果存在,則根據所述全域調整策略,對所選取的展示方案進行調整,後續根據調整後的方案進行展示。 基於上述的展示方案的資料結構和儲存方式,本發明還提供相應的資料物件展示方法,參見圖4所示,該方法可以包括以下步驟: S101,確定資料物件展示場景的至少一種特徵; 這裡的“展示場景”,可以是一個APP頁面或者網站頁面,因此可以以當前待顯示頁面的某種特徵作為展示場景的特徵,例如待顯示頁面ID、待顯示頁面所屬應用的ID,等等。 在實際應用中,決定展示場景可能的並不僅限於頁面本身的特徵。例如,對於某個確定的頁面,如果存在對不同使用者的展示需求(利用使用不同的排序策略等等),則“使用者特徵”也可以作為展示場景的特徵。這裡的使用者特徵可以是使用者名、使用者ID、使用者性別、甚至使用者的歷史行為資訊等等。此外,例如時間特徵、地域特徵等,都可能會對展示場景產生影響。本發明對具體使用的哪些展示場景特徵並不進行限定。 S102,根據所確定的場景特徵,從展示方案集合中,選取與該場景特徵匹配的展示方案; 根據前面的實施例可知,“展示場景特徵”是展示方案的配置項之一,用於指定方案所適用的展示場景。在本步驟中,根據S102所確定的特徵,在展示方案庫中查找具有相應的“展示場景特徵配置項”配置值的方案。 根據本發明方案,由於使用的場景特徵類型、數量不同,因此可能會出現的情況的是:匹配到多個符合當前場景特徵的展示方案,這種情況下,可以根據預設的策略從多個匹配的展示方案中選擇一個,例如隨機選擇其中一個,或者選取被使用頻率最高的一個,等等。在一種實現方式中,可以在展示方案的配置項中添加一個“優先級配置項”,並為每個展示方案設置優先級配置值,這樣,當場景特徵匹配到多條展示方案時,就可以根據各個方案的優先級配置值來確定當前應選取哪個展示方案。 本發明方案中,“可以匹配到多個符合當前場景特徵的展示方案”這一特性,還可以進一步應用對展示場景的A/B/……/n測試需求。具體而言,針對某個展示場景特徵,預先配置n個不同的展示方案,並且從整體上控制每種展示方案被選擇的比例,從而實現展示方案的A/B/……/n測試。 例如,對於給定頁面X,預先配置兩套展示方案A和B,並且通過“使用者類型”配置項來限定兩種方案的選擇條件,例如配置:當使用者ID尾號為奇數時,觸發選擇方案A;當使用者ID尾號為偶數時,觸發選擇方案B。這樣,在頁面X被顯示時,方案A和方案B會以基本相同的概率被推送到不同的使用者群體。如果在頁面X上提供使用者意見反饋的功能,就可以搜集不同使用者群體的反饋意見,從而實現頁面X展示方案的A/B測試。 當然,在實際應用中,“是否需要A/B/……/n測試”本身也是可配置的,在選取展示方案之前,可以判斷當前是否需要進行A/B/……/n測試,如果是則按照測試策略選取展示方案,否則按照常規策略選取展示方案。上述判斷可以通過設置不同的頁面特徵實現,也可以通過配置全域調整策略實現,本發明對具體的實現方式不做限定。 在一種具體實施方式中,如果展示方案庫中包括如圖3所示的雙層儲存結構,則需要將描述資訊儲存模組201中識別類型的配置值轉換為實體資訊類型配置值,以形成完整的展示方案。可以理解的是,上述“轉換”是通過查詢描述資訊儲存模組201實現,這裡不再詳細說明。 在另一種具體實施方式中,如果展示方案庫中包括如圖3所示的全域調整策略儲存模組203,則在選取展示方案之後,首先判斷是否存在對展示方案中一個或多個配置項的全域調整策略;如果存在,則根據所述全域調整策略,對所選取的展示方案進行調整。 S103,根據所選取的展示方案,以指定的展示效果對指定的原始資料物件進行展示輸出。 如圖1所示,展示方案管理系統200確定展示方案後,可以將方案返回至前端系統100,前端系統100根據方案的輸入配置項,從資料物件儲存系統300讀取指定的原始資料物件,並根據輸出配置項指定的展示效果對所讀取的原始資料物件進行展示輸出。 在另一種實施方式中,也可以由展示方案管理系統200根據方案從資料物件儲存系統300讀取指定的原始資料物件,將展示方案和原始資料物件讀取結果提供至前端系統100,再由前端系統100根據輸出配置項指定的展示效果對所讀取的原始資料物件進行展示輸出。 此外,還可以預先針對集合中的展示方案,根據輸入配置項讀取指定的原始資料物件,並根據輸出配置項產生用於展示輸出的準備資料並快取在本地。確定展示方案後,可以直接讀取展示方案對應的、預先快取的準備資料,並根據讀取結果進行展示輸出。 例如,展示方案管理系統200針對每種展示方案,可以預先根據輸入配置項讀取原始資料,並根據輸出配置項完成排序、過濾等操作,作為準備資料快取在本地。確認展示方案後,展示方案管理系統200直接讀取對應的準備資料,將展示方案和準備資料提供至前端系統100,由於部分展示操作(排序、篩選等)已經提前完成,因此前端系統100僅需根據展示方案完成一些顯示渲染方面的操作,例如根據樣式模板進行展示等等。 下面結合一個具體的應用實例,對本發明方案進行示意性的說明。該實例的具體應用於金融產品的銷售和服務平臺,主要需求包括以下幾個面: 由於不同使用者的經濟實力、風險承受能力等各不相同,因此需要基於使用者自身特徵,向使用者推薦個性化的金融產品資訊列表; 由於使用者存取平臺的渠道包括不同應用、網站等等,分別需要不同的頁面展示樣式。 能夠在整體上提供對推薦結果的靈活決策和干預能力,例如增加強制置頂、強制過濾等特殊邏輯。 能夠提供展示方案的AB驗證和資料回流優化的能力,以實現推薦—效果—優化的流程閉環。 根據本發明方案,基於上述需求,提供一種具體的金融產品資訊展示系統,基本設計架構如圖5所示,具體說明如下: 展示場景:對應於圖1所示的前端系統100中,具體包括“聚寶APP”、“支付寶錢包”、“聚寶中間頁”等等; 接入業務:對應於圖1所示的資料物件儲存系統300,包括“餘額寶”、“定期”、“基金”、“證券”、“聚寶社區”等多種金融產品的資料庫。 核心能力:即展示方案管理系統的核心能力,本發明將金融產品列表的展現方案拆分為“人群配置”“策略配置”“產品池配置”和“模板配置”四個維度,同時提供全域調整策略以實現運營干預。 人群配置:支持配置實時規則運算的實時人群,以及基於離線資料計算的離線人群。在運營干預方面,支持基於方案維度的人群分桶和切流,進行方案的A/B驗證。 產品池配置:支持通過文件上傳導入產品,也支持通過介面獲取接入產品資料,並進行產品的更新同步。在運營干預方面,支持不同產品池的展現數量權重配置。 策略配置:實現資料推薦策略的接入,包括按照固定的規則,或者推薦模型進行金融產品的排序展示。在運營干預方面,支持對特定的金融產品進行置頂或過濾。 模板配置:實現產品展示要素和佈局的管理,展示要素的資料來源產品自身的屬性,或者產品的一些外部關聯的資料,如銷售資料等。佈局主要指展現要素的擺放位置和樣式。佈局展示的展現要素和佈局均支持運營干預。 例如,針對“支付包錢包”的展示場景,要求類型A和類型B的使用者分別看到不同的個性化金融產品展示結果:則可以配置如圖6所示的兩種展示方案,其中: 對於使用者類型A;策略配置為策略1、2、3、4;產品池配置為產品A、B、C、D,模板配置為模板樣式A; 對於使用者類型B;策略配置為策略1、2、3、4;產品池配置為產品D、E、F、G,模板配置為模板樣式B; 展示方案配置完成後,展示方案管理系統將所有方案的產品池基於排序規則完成排序,並準備好結果進行快取;前端系統在渲染頁面時,將頁面場景碼、以及當前存取頁面使用者的UID上傳至展示方案管理系統; 展示方案管理系統根據場景碼以及使用者UID,查找匹配的展示方案,並且獲取與展示方案對應的預先準備好的結果。(匹配人群的時候同時查詢是否有AB方案,若有則按照設定的人群分桶進行AB方案分配),然後根據全域調整策略,對產品結果進行調整,具體可以包括產品資訊置頂、產品有效性的校驗和過濾等等,同時對匹配到的展示方案也進行調整。最後將調整後的產品結果和關聯的產品模板同時返回給前端系統。 前端根據展現模板的樣式渲染頁面、抓取產品模板需要獲取的字段,對產品結果進行展示,圖7示出了一種金融產品推薦列表展示效果的示意圖。 可以理解的是,除了應用於金融產品資訊列表展示之外,本發明方案還可以用於各類具有多樣化資料物件展示需求的場景,例如購物網站的商品展示、火車/飛機班次展示、搜索結果展示等等,因此上述應用實例僅用於示意性說明,不應理解為對本發明方案應用場景的限制。 相應於上述方法實施例,本發明還提供一種資料物件展示裝置,參見圖8所示,該裝置可以包括: 場景特徵確定模組110,用於確定資料物件展示場景的至少一種特徵; 展示方案選擇模組120,用於根據所確定的場景特徵,從展示方案集合中,選取與該場景特徵匹配的展示方案; 展示輸出模組130,用於根據所選取的展示方案,以指定的展示效果對指定的原始資料物件進行展示輸出。 參見圖9所示,本發明所提供的資料物件展示裝置還可以包括展示方案調整模組140,用於在選取展示方案之後,判斷是否存在對展示方案中一個或多個配置項的全域調整策略;如果是,則根據全域調整策略,對所選取的展示方案進行調整。 在一種具體實施方式中,展示輸出模組130可以具體用於:確定展示方案後,根據輸入配置項讀取指定的原始資料物件,並根據輸出配置項對指定的原始資料物件進行展示輸出。 如圖9所示,在另一種具體實施方式中,資料物件展示裝置還包括準備資料產生模組150,用於預先針對集合中的展示方案,根據輸入配置項讀取指定的原始資料物件,並根據輸出配置項產生用於展示輸出的準備資料; 相應地,展示輸出模組130可以具體用於:確定展示方案後,讀取與展示方案對應的準備資料,並根據讀取結果進行展示輸出。 可以理解的是,展示方案調整模組140與準備資料產生模組150作為兩種功能獨立的模組,既可以如圖9所示同時配置在裝置中,也可以分別單獨配置在裝置中,因此圖9所示的結構不應理解為對本發明方案的限定。 參見圖10所示,本發明還提供一種資料物件展示方案儲存裝置,該裝置可以包括:呼叫介面模組210、描述資訊儲存模組220和配置值儲存模組230; 描述資訊儲存模組210中,儲存有至少一個資料物件展示方案,每一展示方案由多個配置項構成,展示方案的配置項至少可以包括:展示場景特徵配置項、用於指定原始資料物件的輸入配置項、以及用於指定展示效果的輸出配置項;配置項的配置值為:實體資訊類型的配置值或者識別類型的配置值,每個識別指向配置值儲存模組中儲存的一個配置值; 配置資訊儲存模組220中,儲存有對應於不同配置項的實體資訊類型的配置值,每個配置項具有一種或多種配置值; 呼叫介面模組230,根據展示方案呼叫方提供的場景特徵,從描述資訊儲存模組中選取與該場景特徵匹配的展示方案,並將方案中的識別類型配置值轉換為實體資訊類型配置值,將轉換後得到的展示方案返回至展示方案呼叫方。 參見圖11所示,本發明所提供的資料物件展示方案儲存裝置還可以包括全域調整策略儲存模組240,用於儲存對展示方案中一個或多個配置項的全域調整策略; 相應地,呼叫介面模組230,還用於根據全域調整策略儲存模組中的儲存的全域調整策略,對所選取的展示方案進行調整。 本實施例中,描述資訊儲存模組210、配置資訊儲存模組220及全域調整策略儲存模組240均與圖2、圖3所示的展示方案儲存結構中的同名模組一致。而呼叫模組230的功能則相當於圖1所示的展示方案呼叫層,具體的描述可參見前面的實施例,這裡不再重複說明。 上述裝置中各個模組的功能和作用的實現過程具體詳見上述方法中對應步驟的實現過程,在此不再贅述。 本發明還提供一種電腦裝置,其至少包括記憶體、處理器及儲存在記憶體上並可在處理器上運行的電腦程式,其中,處理器執行所述程式時實現前述的資料物件展示方法。該方法至少包括: 確定資料物件展示場景的至少一種特徵; 根據所確定的場景特徵,從展示方案集合中,選取與該場景特徵匹配的展示方案; 根據所選取的展示方案,以指定的展示效果對指定的原始資料物件進行展示輸出。 圖12示出了本發明所提供的一種更為具體的計算裝置硬體結構示意圖,該裝置可以包括:處理器1010、記憶體1020、輸入/輸出介面1030、通信介面1040和匯流排1050。其中處理器1010、記憶體1020、輸入/輸出介面1030和通信介面1040通過匯流排1050實現彼此之間在裝置內部的通信連接。 處理器1010可以採用通用的CPU(Central Processing Unit,中央處理器)、微處理器、特殊應用積體電路積體電路(Application Specific Integrated Circuit,ASIC)、或者一個或多個積體電路等方式實現,用於執行相關程式,以實現本發明所提供的技術方案。 記憶體1020可以採用ROM(Read Only Memory,唯讀記憶體)、RAM(Random Access Memory,隨機存取記憶體)、靜態儲存裝置,動態儲存裝置等形式實現。記憶體1020可以儲存操作系統和其他應用程式,在通過軟體或者韌體來實現本發明所提供的技術方案時,相關的程式碼保存在記憶體1020中,並由處理器1010來呼叫執行。 輸入/輸出介面1030用於連接輸入/輸出模組,以實現資訊輸入及輸出。輸入輸出/模組可以作為組件配置在裝置中(圖中未示出),也可以外接於裝置以提供相應功能。其中輸入裝置可以包括鍵盤、滑鼠、觸控螢幕、麥克風、各類感測器等,輸出裝置可以包括顯示器、揚聲器、振動器、指示燈等。 通信介面1040用於連接通信模組(圖中未示出),以實現本裝置與其他裝置的通信互動。其中通信模組可以通過有線方式(例如USB、網線等)實現通信,也可以通過無線方式(例如移動網路、WIFI、藍芽等)實現通信。 匯流排1050包括一通路,在裝置的各個組件(例如處理器1010、記憶體1020、輸入/輸出介面1030和通信介面1040)之間傳輸資訊。 需要說明的是,儘管上述裝置僅示出了處理器1010、記憶體1020、輸入/輸出介面1030、通信介面1040以及匯流排1050,但是在具體實施過程中,該裝置還可以包括實現正常運行所必需的其他組件。此外,本領域的技術人員可以理解的是,上述裝置中也可以僅包含實現本發明方案所必需的組件,而不必包含圖中所示的全部組件。 本發明還提供一種電腦可讀儲存媒體,其上儲存有電腦程式,該程式被處理器執行時實現前述的資料物件展示方法。該方法至少包括: 確定資料物件展示場景的至少一種特徵; 根據所確定的場景特徵,從展示方案集合中,選取與該場景特徵匹配的展示方案; 根據所選取的展示方案,以指定的展示效果對指定的原始資料物件進行展示輸出。 電腦可讀媒體包括永久性和非永久性、可移動和非可移動媒體可以由任何方法或技術來實現資訊儲存。資訊可以是電腦可讀指令、資料結構、程式的模組或其他資料。電腦的儲存媒體的例子包括,但不限於相變記憶體(PRAM)、靜態隨機存取記憶體(SRAM)、動態隨機存取記憶體(DRAM)、其他類型的隨機存取記憶體(RAM)、唯讀記憶體(ROM)、電可抹除可編程唯讀記憶體(EEPROM)、快閃記憶體或其他內存技術、唯讀光碟唯讀記憶體(CD-ROM)、數位多功能光碟(DVD)或其他光學儲存、磁盒式磁帶,磁帶式磁碟儲存器或其他磁性儲存裝置或任何其他非傳輸媒體,可用於儲存可以被計算裝置存取的資訊。按照本文中的界定,電腦可讀媒體不包括暫態媒體(transitory media),如調變的資料訊號和載波。 通過以上的實施方式的描述可知,本領域的技術人員可以清楚地瞭解到本發明可借助軟體加必需的通用硬體平臺的方式來實現。基於這樣的理解,本發明的技術方案本質上或者說對現有技術做出貢獻的部分可以以軟體產品的形式體現出來,該電腦軟體產品可以儲存在儲存媒體中,如ROM/RAM、磁碟、光碟等,包括若干指令用以使得一台電腦裝置(可以是個人電腦,伺服器,或者網路裝置等)執行本發明各個實施例或者實施例的某些部分所述的方法。 上述實施例闡明的系統、裝置、模組或單元,具體可以由電腦晶片或實體實現,或者由具有某種功能的產品來實現。一種典型的實現裝置為電腦,電腦的具體形式可以是個人電腦、膝上型電腦、行動電話、相機電話、智慧型電話、個人數位助理、媒體播放器、導航裝置、電子郵件收發裝置、遊戲主機、平板電腦、可穿戴裝置或者這些裝置中的任意幾種裝置的組合。 本說明書中的各個實施例均採用循序的方式描述,各個實施例之間相同相似的部分互相參見即可,每個實施例重點說明的都是與其他實施例的不同之處。尤其,對於裝置實施例而言,由於其基本相似於方法實施例,所以描述得比較簡單,相關之處參見方法實施例的部分說明即可。以上所描述的裝置實施例僅僅是示意性的,其中所述作為分離部件說明的模組可以是或者也可以不是實體上分開的,在實施本發明方案時可以把各模組的功能在同一個或多個軟體和/或硬體中實現。也可以根據實際的需要選擇其中的部分或者全部模組來實現本實施例方案的目的。本領域普通技術人員在不付出創造性勞動的情況下,即可以理解並實施。 以上所述僅是本發明的具體實施方式,應當指出,對於本技術領域的普通技術人員來說,在不脫離本發明原理的前提下,還可以做出若干改進和潤飾,這些改進和潤飾也應視為本發明的保護範圍。Through research, it is found that in actual applications, although the display requirements of different display scenarios are different from each other as a whole, some of the same display requirements will exist in some scenarios. Take the e-commerce platform as an example: suppose there are scenes A, B, and C of the product list display, and the display requirements involve: "data source" and "sorting rules", as shown in Table 1: It can be seen from Table 1 that although the display requirements of the three display scenarios are different, there are still some parts in the same part, for example, scene A and scene B use the same data source, and scene B and scene C use the same sorting rules. According to the implementation of the existing technology, developers need to write display logic for scenarios A, B, and C, respectively. Subsequently, if the display requirements of multiple scenes change uniformly (for example, the sorting rules of scene B and scene C are uniformly adjusted to "sort rule 3"), the display requirement logic of scene B and scene C needs to be rewritten separately. Not only does it consume additional development and maintenance costs, but the repeated display of demand logic can also cause problems such as wasted storage space. In addition, because the display demand logic is scattered in the display code of each front-end page, it is also not conducive to unified maintenance management. And, it is understandable that as the scene increases and the display requirements become more complicated, the above problem will become more serious. In response to the above problems, the solution proposed by the present invention is: split the complete display requirement into several dimensions, each dimension is used to describe the specific characteristics of the display requirement in a certain form; at the same time, a set of general display solution library is developed, In the library, each display solution (corresponding to display requirements) is composed of several configuration items (corresponding to description features). Taking Table 1 as an example, each display solution is composed of two configuration items: "data source" and "sorting rule". Assigning values to these two configuration items separately can form a complete display solution. For example, let "data source=commodity database 1" and "sort rule=sort rule 1" form the display scheme of scene A. Compared with the prior art, the technical solution provided by the present invention has at least the following advantages: First, the "configuration item" is used as the smallest storage unit of the display solution, and for each configuration item, a variety of specific configuration content can be stored correspondingly, so that Demand is more flexible to assemble display solutions to meet various needs. Secondly, the same specific configuration content can be reused by different display schemes, thereby effectively reducing the development and maintenance costs caused by increasing the scene, and can also avoid storing duplicate content, saving storage space. Thirdly, all the display solutions are stored in the display solution database instead of being scattered in different applications or different pages, which is conducive to the unified maintenance and management of all display solutions. In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be described in detail in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is 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 should fall within the protection scope of the present invention. FIG. 1 is a schematic diagram of a scenario architecture of a data object display solution provided by the present invention. The system includes a front-end system 100, a display solution management system 200, and a data object storage system 300. The front-end system 100 directly interacts with the user side and is responsible for receiving various operation requests of the user, rendering and displaying the page. In the present invention, the front-end system 100 may not include display demand logic. When a display operation needs to be performed, the characteristics of the display scene are reported to the display solution management system 200, and then executed according to the display solution returned by the display solution management system 200. Show operation. It should be noted that 100 shown in FIG. 1 is only used to distinguish functionally from other parts of the scene architecture. In actual applications, the front-end system may include multiple, for example, different APPs correspond to different front-end systems, Different websites correspond to different front-end systems, etc. Each front-end system may contain one or more display scenarios. The display solution management system 200 searches for the display solution corresponding to the feature in the display solution database according to the display scene feature reported by the front-end system 100, and returns the search result to the front-end system 100. In this way, the front-end system 100 can display according to the returned display scheme. As shown in FIG. 1, the display solution management system 200 can be further logically divided into a display scene interface layer 2001, a display solution call layer 2002, and a display solution library 2003. The display scene interface layer 2001 directly interacts with the front-end system 100, and is responsible for receiving the characteristics of the display scene reported by the front-end system 100, and further uploading it to the display scheme call layer 2002. Based on this feature, the presentation plan call layer 2002 calls the presentation plan corresponding to the feature from the presentation plan library 2003, and returns the presentation plan to the presentation scene interface layer 2001, and the presentation scene interface layer 2001 further returns the presentation plan to the front-end system 100. The specific data structure and storage method of the display solutions in the display solution library 2003 will be described in detail in the following embodiments. The data object storage system 300 is used to store the original data objects required for display. According to actual needs, the data objects can be stored in sub-library, sub-table, etc., which does not affect the implementation of the solution of the present invention. The basic scenario architecture of the present invention's data object display solution is introduced above. It should be noted that, in actual applications, the operation of "display according to the display solution" is not limited to all being performed in the front-end system 100, and a part of them may also be performed in the display solution management system 200. For example, if the original data object of the solution is specified in the display solution, the reading operation of the original data object can be performed either in the front-end system 100 or in the display solution management system 200, and then the read result is sent to the front-end system 100. That is, both the front-end system 100 and the display solution management system 200 can have the function of reading data from the data object storage system 300. The following further describes the data structure and storage method of the "display scheme" in the scheme of the present invention. The solution of the present invention splits the complete display requirement into several dimensions. Each dimension is used to describe the specific characteristics of the display requirement in a certain form. The dimensions here can include: which source object data is used, what sorting rules are used, In what style is it displayed, etc. In other words, each display solution can be obtained by "configuring" several features. For the convenience of description, in the present invention, each feature used to describe the display requirements is called a "configuration item", that is, each display solution is composed of several configuration items, as shown in Table 2: Table 2 shows that in the present invention, the display solutions are actually stored in a structured form. All solutions have a unified configuration item, and different configuration values distinguish different solutions. The specific configuration items can be designed according to actual needs, and can generally include the following categories: Display scene feature configuration items: used to specify the display scenarios to which the scheme applies. Actual applications may have one or more display scene feature configuration items. The invention solution is to select the corresponding display solution according to the display scenario, so the configuration item can also be understood as the index field of the display solution. Input configuration item: used to specify the original data object used by the scheme, for example, when displaying the product information list, indicating which product database data to use for display. Output configuration items: used to specify the display effect of the scheme, which can include sorting strategy configuration items, filtering strategy configuration items, display style configuration items, and so on. For example, when displaying the commodity information list, what sorting rules are used, which fields of the commodity information data are specifically displayed, and how are the layouts between the fields, etc. In addition to the above three basic configuration items, other types of configuration items may also be included, such as priority configuration items, which can determine the selection priority of the display plan when the scene characteristics match multiple display plans. In practical applications, configuration items such as sorting strategies, filtering strategies, and display styles all involve more complicated logic. In a specific embodiment, a new data table can be created to store these complex logics. In this case, the specific form of the “configuration value” in Table 1 may not be entity information (such as specific rules), but an identification The form can be used to uniquely determine the configuration value of an entity information type in other storage locations. As shown in FIG. 2, the present invention provides a storage structure for display solutions, which is applied to the above-mentioned display solution library 2003. The structure can be logically divided into two levels: Description information storage module 201, which stores at least one data object Display scheme, each display scheme is composed of multiple configuration items, and the configuration value of each configuration item can be the configuration value of the entity information type, as shown in "Configuration Item 1" shown in FIG. 2, such as the specific logic of writing directly into the sorting rule ; Can also be the configuration value of the identification type, each identification can uniquely determine a configuration value stored in the storage module 202; as shown in Figure 2 "configuration item 2" and "configuration item 3". It should be noted that, in some cases, the same configuration item can use the configuration value of the entity information type, the configuration value of the identification type, or even a mixture of the two. The situation shown in FIG. 2 should not be understood as Limitation of the program. The configuration information storage module 202 stores configuration values corresponding to the types of physical information of different configuration items. Each configuration item has one or more configuration values. As shown in FIG. 2, "configuration item 2" has four configuration values. "Configuration Item 3" has 3 configuration values. And, each configuration value can be multiplexed by different presentation schemes. For example, the same sorting rule can be reused by different display schemes. In this way, when developing a new scenario, you can directly use the various configuration information that has been written, thereby effectively reducing the development and maintenance costs of increasing the scenario. It can also avoid storing duplicate content and save storage space. In addition, since all display solutions are stored centrally in the display solution database instead of being scattered in different applications or different pages, it is conducive to the unified maintenance and management of all display solutions. In particular, if the layered storage structure shown in FIG. 2 is used, some adjustment operations involving specific configuration values can be completed at one time in the configuration information storage module 202, and all schemes that reuse the configuration values are effective, It is avoided to describe item-by-item adjustments in the description information storage module 201, thereby further improving the convenience of maintenance management. FIG. 3 shows another schematic diagram of the storage structure of the display solution of the present invention. Compared with FIG. 2, a global adjustment strategy storage module 203 is further added, and its function is to store the global area of one or more configuration items in the display solution. Adjustment strategy; the global adjustment strategy is higher in priority than each display solution describing the storage in the information storage module 201, and has an impact on each display solution. It can be used to implement special display logic outside the ordinary display program, further improving the configuration flexibility of the display program. For example, if you need to intervene on the display effect at the overall operation level, such as mandatory sticking, mandatory filtering of certain information, setting the data reading amount of the original data object, setting the reading priority of multiple original data objects, etc. , You can configure adjustment strategies for the corresponding configuration items in advance. In the display stage, after selecting the display solution according to the characteristics of the scene, first determine whether there is a global adjustment strategy for one or more configuration items in the display solution; if it exists, adjust the selected display solution according to the global adjustment strategy , Followed by presentations based on the adjusted plan. Based on the data structure and storage method of the above display solution, the present invention also provides a corresponding data object display method. As shown in FIG. 4, the method may include the following steps: S101. Determine at least one feature of the data object display scene; The "display scene" can be an APP page or a website page, so certain characteristics of the current page to be displayed can be used as the characteristics of the display scene, such as the ID of the page to be displayed, the ID of the application to which the page to be displayed belongs, and so on. In practical applications, the decision to display the scene is not limited to the characteristics of the page itself. For example, for a certain page, if there are display needs for different users (using different sorting strategies, etc.), then "user characteristics" can also be used as the characteristics of the display scene. The user characteristics here can be the user name, user ID, user gender, or even the user's historical behavior information. In addition, for example, temporal characteristics, regional characteristics, etc., may affect the display scene. The present invention does not limit which display scene features are specifically used. S102. According to the determined scene features, select a display scheme matching the scene features from the set of display schemes; according to the previous embodiment, it can be seen that "show scene features" is one of the configuration items of the display scheme and is used to specify the scheme Applicable display scenarios. In this step, according to the characteristics determined in S102, a solution with a corresponding configuration value of the "display scene feature configuration item" is searched in the display solution library. According to the solution of the present invention, since the types and number of scene features used are different, a situation that may occur is that multiple display solutions matching the current scene features are matched. In this case, multiple Choose one of the matching display schemes, for example, choose one at random, or choose the one that is used most frequently, and so on. In one implementation, you can add a "priority configuration item" to the configuration items of the display scheme and set the priority configuration value for each display scheme, so that when the scene characteristics match multiple display schemes, you can According to the priority configuration value of each solution, determine which display solution should be selected currently. In the solution of the present invention, the feature of "a plurality of display solutions that match the characteristics of the current scene" can be further applied to the A/B/.../n test requirements for the display scene. Specifically, for a certain display scenario feature, n different display solutions are pre-configured, and the proportion of each display solution selected is controlled overall, so as to realize the A/B/.../n test of the display solution. For example, for a given page X, two sets of display schemes A and B are pre-configured, and the selection conditions of the two schemes are defined by the "user type" configuration item, for example, configuration: trigger when the user ID tail is odd Choose option A; when user ID tail number is even, trigger option B. In this way, when page X is displayed, plan A and plan B will be pushed to different user groups with substantially the same probability. If the user feedback function is provided on page X, the feedback of different user groups can be collected to realize the A/B test of the display solution of page X. Of course, in actual applications, "Whether A/B/.../n test is required" itself is also configurable. Before selecting a display solution, you can determine whether A/B/.../n test is currently required. The display plan is selected according to the test strategy, otherwise, the display plan is selected according to the conventional strategy. The above judgment can be achieved by setting different page features or by configuring a global adjustment strategy. The present invention does not limit the specific implementation mode. In a specific embodiment, if the display solution library includes a double-layer storage structure as shown in FIG. 3, the configuration value describing the type identified in the information storage module 201 needs to be converted into a physical information type configuration value to form a complete Display program. It can be understood that the above-mentioned "conversion" is realized by querying the description information storage module 201, which will not be described in detail here. In another specific embodiment, if the display solution library includes the global adjustment strategy storage module 203 as shown in FIG. 3, after selecting the display solution, it is first determined whether there is one or more configuration items in the display solution Global adjustment strategy; if it exists, adjust the selected display scheme according to the global adjustment strategy. S103: According to the selected display scheme, display and output the specified original data object with the specified display effect. As shown in FIG. 1, after the display solution management system 200 determines the display solution, it can return the solution to the front-end system 100. The front-end system 100 reads the specified original data object from the data object storage system 300 according to the input configuration items of the solution, and Display and output the read original data objects according to the display effect specified by the output configuration item. In another embodiment, the display solution management system 200 may read the designated original data object from the data object storage system 300 according to the solution, and provide the reading result of the display solution and the original data object to the front-end system 100, and then the front-end The system 100 displays and outputs the read original data object according to the display effect specified by the output configuration item. In addition, you can also read the specified original data objects according to the input configuration items for the display solutions in the collection in advance, and generate preparation materials for display output based on the output configuration items and cache them locally. After the display plan is determined, the pre-cached preparation materials corresponding to the display plan can be directly read, and the display output can be performed according to the reading result. For example, for each display solution, the display solution management system 200 may read the original data according to the input configuration items in advance, and perform sorting, filtering, and other operations according to the output configuration items, and cache it locally as preparation data. After confirming the display plan, the display plan management system 200 directly reads the corresponding preparation data and provides the display plan and preparation data to the front-end system 100. Since some of the display operations (sorting, screening, etc.) have been completed in advance, the front-end system 100 only needs to Complete some display rendering operations according to the display plan, such as display according to the style template. The solution of the present invention will be schematically described in combination with a specific application example below. The specific application of this example is applied to the sales and service platform of financial products. The main requirements include the following: Since different users have different economic strengths and risk tolerances, they need to be recommended to users based on their own characteristics Personalized financial product information list; Since the channels for users to access the platform include different applications, websites, etc., different page display styles are required. It can provide flexible decision-making and intervention capabilities for recommendation results as a whole, such as adding special logic such as mandatory sticking and mandatory filtering. It can provide the ability of AB verification and data reflow optimization of display solutions to achieve the closed loop of the recommendation-effect-optimization process. According to the solution of the present invention, based on the above requirements, a specific financial product information display system is provided. The basic design architecture is shown in FIG. 5, and the specific description is as follows: Display scenario: corresponding to the front-end system 100 shown in FIG. 1, specifically including ""JubaoAPP","Alipaywallet","Jubao middle page", etc.; Access business: corresponding to the data object storage system 300 shown in Figure 1, including "Yuebao", "regular", "fund", "Securities", "Jubao Community" and other financial products database. Core competence: the core competence of the display management system. The present invention splits the display scheme of the financial product list into four dimensions: "population configuration", "strategy configuration", "product pool configuration" and "template configuration", and provides global adjustment. Strategies to achieve operational intervention. Crowd configuration: It supports the configuration of real-time crowd calculation of real-time rules and offline crowd calculation based on offline data. In terms of operational intervention, it supports crowd splitting and flow-cutting based on the dimension of the plan to conduct A/B verification of the plan. Product pool configuration: It supports importing and importing products through file uploading, and also supports accessing product information through the interface and synchronizing product updates. In terms of operational intervention, it supports weight allocation for the number of different product pools. Strategy configuration: Realize the access to data recommendation strategies, including sorting and displaying financial products according to fixed rules or recommendation models. In terms of operational intervention, it supports the topping or filtering of specific financial products. Template configuration: to achieve the management of product display elements and layout, the data source of display elements is the attributes of the product itself, or some externally related information of the product, such as sales information. Layout mainly refers to the display location and style of elements. The display elements and layout of the layout display support operational intervention. For example, for the "Payment Wallet" display scenario, users of type A and type B are required to see different personalized financial product display results: two display solutions as shown in Figure 6 can be configured, where: User type A; strategy configuration is strategy 1, 2, 3, 4; product pool configuration is product A, B, C, D, template configuration is template style A; for user type B; strategy configuration is strategy 1, 2 , 3, 4; the product pool is configured as products D, E, F, G, and the template is configured as the template style B; after the display scheme configuration is completed, the display scheme management system sorts the product pools of all schemes based on the sorting rules and prepares them The results are cached; the front-end system uploads the page scene code and the UID of the user currently accessing the page to the display solution management system when rendering the page; the display solution management system finds a matching display solution based on the scene code and the user UID And obtain the pre-prepared results corresponding to the display plan. (At the same time, check whether there is an AB plan when matching the crowd, and if so, then allocate the AB plan according to the set crowd bucket), and then adjust the product results according to the global adjustment strategy, which can include product information top and product effectiveness. Checking and filtering, etc. At the same time, the matching display scheme is also adjusted. Finally, the adjusted product results and associated product templates are returned to the front-end system at the same time. The front end renders the page according to the style of the presentation template, grabs the fields that the product template needs to obtain, and displays the product results. FIG. 7 shows a schematic diagram of the display effect of the financial product recommendation list. It can be understood that, in addition to being applied to the display of financial product information lists, the solution of the present invention can also be used in various scenarios with diverse data object display needs, such as shopping site merchandise display, train/airplane flight display, search results For example, the above application examples are for illustrative purposes only, and should not be construed as limiting the application scenarios of the solutions of the present invention. Corresponding to the above method embodiment, the present invention also provides a data object display device. As shown in FIG. 8, the device may include: a scene feature determination module 110 for determining at least one feature of the data object display scene; a display scheme selection The module 120 is used to select a display solution that matches the scene feature from the set of display solutions according to the determined scene features; the display output module 130 is used to select the display effect based on the selected display solution The specified original data objects are displayed and output. As shown in FIG. 9, the data object display device provided by the present invention may further include a display solution adjustment module 140 for determining whether there is a global adjustment strategy for one or more configuration items in the display solution after selecting the display solution ; If yes, adjust the selected display scheme according to the global adjustment strategy. In a specific embodiment, the display output module 130 may be specifically configured to: after determining the display solution, read the specified original data object according to the input configuration item, and display and output the specified original data object according to the output configuration item. As shown in FIG. 9, in another specific embodiment, the data object display device further includes a preparation data generation module 150, which is used to read the specified original data object according to the input configuration item for the display solution in the collection in advance, and According to the output configuration item, the preparation data for display output is generated; accordingly, the display output module 130 may be specifically used to: after determining the display plan, read the preparation data corresponding to the display plan, and perform display output according to the reading result. It can be understood that the display solution adjustment module 140 and the preparation data generation module 150 are two independent functional modules, which can be configured in the device at the same time as shown in FIG. 9 or separately in the device, so The structure shown in FIG. 9 should not be construed as limiting the solution of the present invention. As shown in FIG. 10, the present invention also provides a data object display solution storage device, which may include: a call interface module 210, a description information storage module 220, and a configuration value storage module 230; the description information storage module 210 , At least one data object display solution is stored, and each display solution is composed of multiple configuration items. The configuration items of the display solution may include at least: display scene feature configuration items, input configuration items for specifying original data objects, and Specify the output configuration items of the display effect; the configuration value of the configuration item is: the configuration value of the entity information type or the configuration value of the identification type, each identification points to a configuration value stored in the configuration value storage module; the configuration information storage module 220 Among them, the configuration values corresponding to the types of physical information of different configuration items are stored, and each configuration item has one or more configuration values; the call interface module 230, according to the scene characteristics provided by the caller of the display solution, from the description information storage module Select the display plan that matches the characteristics of the scene, and convert the configuration value of the identification type in the plan to the configuration value of the entity information type, and return the converted display plan to the caller of the display plan. As shown in FIG. 11, the data object display solution storage device provided by the present invention may further include a global adjustment strategy storage module 240 for storing the global adjustment strategy for one or more configuration items in the display solution; accordingly, call The interface module 230 is also used to adjust the selected display scheme according to the stored global adjustment strategy in the global adjustment strategy storage module. In this embodiment, the description information storage module 210, the configuration information storage module 220, and the global adjustment strategy storage module 240 are all the same as the modules of the same name in the display scheme storage structure shown in FIGS. 2 and 3. The function of the calling module 230 is equivalent to the calling layer of the display solution shown in FIG. 1. For a detailed description, please refer to the previous embodiment, and the description will not be repeated here. For the implementation process of the functions and functions of each module in the above device, please refer to the implementation process of the corresponding steps in the above method for details, which will not be repeated here. The present invention also provides a computer device, which at least includes a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the program to implement the aforementioned method for displaying data objects. The method includes at least: determining at least one feature of the scene in which the data object is displayed; selecting a display solution that matches the feature of the scene from the set of display solutions based on the determined scene feature; selecting a display effect according to the selected display solution Display and output the specified original data objects. 12 shows a schematic diagram of a more specific hardware structure of a computing device provided by the present invention. The device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Among them, the processor 1010, the memory 1020, the input/output interface 1030 and the communication interface 1040 realize the communication connection among the devices through the bus 1050. The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit, central processing unit), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits, etc. , Used to execute relevant programs to realize the technical solution provided by the present invention. The memory 1020 may be implemented in the form of ROM (Read Only Memory, read only memory), RAM (Random Access Memory), static storage device, and dynamic storage device. The memory 1020 may store an operating system and other application programs. When the technical solution provided by the present invention is implemented by software or firmware, related program codes are stored in the memory 1020 and called and executed by the processor 1010. The input/output interface 1030 is used to connect input/output modules to realize information input and output. The input/output/module can be configured as a component in the device (not shown in the figure), or can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, and the like. The communication interface 1040 is used to connect a communication module (not shown in the figure) to realize communication interaction between the device and other devices. Among them, the communication module can realize communication through wired methods (such as USB, network cable, etc.), and can also realize communication through wireless methods (such as mobile network, WIFI, Bluetooth, etc.). The bus 1050 includes a path for transmitting information between various components of the device (such as the processor 1010, the memory 1020, the input/output interface 1030, and the communication interface 1040). It should be noted that although the above device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040, and the bus 1050, in the specific implementation process, the device may also include Required other components. In addition, those skilled in the art may understand that the above-mentioned device may also include only the components necessary to implement the solution of the present invention, and not necessarily include all the components shown in the figures. The invention also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the aforementioned method for displaying data objects is realized. The method includes at least: determining at least one feature of the scene in which the data object is displayed; selecting a display solution that matches the feature of the scene from the set of display solutions based on the determined scene feature; selecting a display effect according to the selected display solution Display and output the specified original data objects. Computer-readable media, including permanent and non-permanent, removable and non-removable media, can be stored by any method or technology. The 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 programmable read-only memory (EEPROM), flash memory or other memory technologies, read-only disc read-only memory (CD-ROM), digital versatile disc ( DVD) or other optical storage, magnetic tape cassettes, magnetic tape storage or other magnetic storage devices or any other non-transmission media can 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 transient media (transitory media), such as modulated data signals and carrier waves. It can be known from the description of the above embodiments that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or part of the contribution to the existing technology, and the computer software product can be stored in a storage medium, such as ROM/RAM, disk, An optical disc, etc., includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments of the present invention or some parts of the embodiments. The system, device, module or unit explained in the above embodiments may be implemented by a computer chip or entity, or by a product with a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a mobile phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an e-mail sending and receiving device, a game console , Tablet computers, wearable devices, or any combination of these devices. The embodiments in this specification are described in a sequential manner, and the same or similar parts between the embodiments can be referred to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the device embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiments. The device embodiments described above are only schematic, wherein the modules described as separate components may or may not be physically separated, and the functions of the modules may be the same when implementing the solution of the present invention Or multiple software and/or hardware. Part or all of the modules may also be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without paying creative labor. The above is only a specific embodiment of the present invention. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of the present invention, several improvements and retouches can be made. These improvements and retouches also It should be regarded as the protection scope of the present invention.