TWI708181B - Page display method and device - Google Patents

Page display method and device Download PDF

Info

Publication number
TWI708181B
TWI708181B TW107107594A TW107107594A TWI708181B TW I708181 B TWI708181 B TW I708181B TW 107107594 A TW107107594 A TW 107107594A TW 107107594 A TW107107594 A TW 107107594A TW I708181 B TWI708181 B TW I708181B
Authority
TW
Taiwan
Prior art keywords
page
display
test
terminal device
request
Prior art date
Application number
TW107107594A
Other languages
Chinese (zh)
Other versions
TW201837697A (en
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 TW201837697A publication Critical patent/TW201837697A/en
Application granted granted Critical
Publication of TWI708181B publication Critical patent/TWI708181B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本公開涉及一種頁面的顯示方法及裝置。該頁面的顯示方法包括:接收來自於終端設備的頁面顯示請求;在檢測到測試模式開啟的情況下,獲取頁面顯示請求對應的多個測試頁面;將多個測試頁面拼接為第一顯示頁面;向終端設備發送第一顯示頁面。本公開的頁面的顯示方法及裝置,能夠擴大參與測試的用戶數量,並根據用戶的使用數據確定哪個測試頁面具有更好的使用體驗,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。The present disclosure relates to a method and device for displaying a page. The method for displaying the page includes: receiving a page display request from a terminal device; in the case of detecting that the test mode is turned on, obtaining multiple test pages corresponding to the page display request; and splicing the multiple test pages into the first display page; Send the first display page to the terminal device. The page display method and device of the present disclosure can expand the number of users participating in the test, and determine which test page has a better user experience according to the user's usage data, thereby improving the application development efficiency and iteration cycle frequency, and saving application development cost.

Description

頁面的顯示方法及裝置Page display method and device

本公開涉及計算機技術領域,尤其涉及一種頁面的顯示方法及裝置。The present disclosure relates to the field of computer technology, and in particular to a method and device for displaying a page.

相關技術中,應用開發人員可以設計能夠實現同一個功能的多個方案,並對所設計的能夠實現同一個功能的多個方案進行公測。應用開發人員根據用戶反饋的使用情況,從而確定哪一種方案能夠給用戶提供更好的使用體驗。採用上述測試方法降低了應用的開發效率和迭代週期頻率,同時減少了應用給用戶呈現更多內容的機會。In related technologies, application developers can design multiple solutions that can achieve the same function, and conduct public testing on multiple solutions designed to achieve the same function. Application developers determine which solution can provide users with a better experience based on the usage feedback from users. Using the above-mentioned testing method reduces the application development efficiency and iteration cycle frequency, and at the same time reduces the opportunity for the application to present more content to the user.

舉例而言,前端頁面開發人員可以設計能夠實現同一個功能的兩個頁面,例如A頁面和B頁面,並對A頁面和B頁面進行公測。例如,讓一部分用戶使用A頁面,讓另一部分用戶使用B頁面。根據用戶反饋的使用情況,從而確定哪一種頁面能夠給用戶提供更好的使用體驗。For example, front-end page developers can design two pages that can implement the same function, such as page A and page B, and conduct public testing on page A and page B. For example, let some users use page A, and let other users use page B. According to the usage feedback of the user, it is determined which kind of page can provide the user with a better experience.

有鑑於此,本公開提出了一種頁面的顯示方法及裝置,以解決相關技術中測試方法造成的應用的開發效率和迭代週期頻率較低的問題。In view of this, the present disclosure proposes a page display method and device to solve the problems of low application development efficiency and iteration cycle frequency caused by testing methods in related technologies.

根據本公開的第一方面,提供了一種頁面的顯示方法,包括:接收來自於終端設備的頁面顯示請求;在檢測到測試模式開啟的情況下,獲取所述頁面顯示請求對應的多個測試頁面;將所述多個測試頁面拼接為第一顯示頁面;向所述終端設備發送所述第一顯示頁面。According to a first aspect of the present disclosure, a method for displaying a page is provided, which includes: receiving a page display request from a terminal device; in the case of detecting that the test mode is turned on, acquiring multiple test pages corresponding to the page display request Splicing the multiple test pages into a first display page; sending the first display page to the terminal device.

在一種可能的實現方式中,所述方法還包括:在檢測到測試模式未開啟的情況下,獲取所述頁面顯示請求對應的第二顯示頁面,並向所述終端設備發送所述第二顯示頁面。In a possible implementation manner, the method further includes: in a case where it is detected that the test mode is not turned on, acquiring a second display page corresponding to the page display request, and sending the second display page to the terminal device page.

在一種可能的實現方式中,所述方法還包括:獲取所述終端設備的顯示區域的尺寸;在所述顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,生成引導圖標;向所述終端設備發送所述引導圖標。In a possible implementation manner, the method further includes: acquiring the size of the display area of the terminal device; generating a guide icon when the size of the display area is smaller than the size of the first display page; The terminal device sends the guide icon.

根據本公開的第二方面,提供了一種頁面的顯示方法,包括:向伺服器發送頁面顯示請求;接收所述伺服器根據所述頁面顯示請求返回的第一顯示頁面,所述第一顯示頁面為由所述頁面顯示請求對應的多個測試頁面拼接生成的頁面;顯示所述第一顯示頁面。According to a second aspect of the present disclosure, there is provided a method for displaying a page, including: sending a page display request to a server; receiving a first display page returned by the server according to the page display request, the first display page Is a page generated by splicing multiple test pages corresponding to the page display request; displaying the first display page.

在一種可能的實現方式中,顯示所述第一顯示頁面,包括:在終端設備的顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,顯示所述第一顯示頁面和引導圖標。In a possible implementation manner, displaying the first display page includes: displaying the first display page and a guide icon when the size of the display area of the terminal device is smaller than the size of the first display page.

在一種可能的實現方式中,所述方法還包括:在所述引導圖標被觸發的情況下,顯示所述第一顯示頁面中的對應於當前未顯示在所述顯示區域中的測試頁面的部分。In a possible implementation manner, the method further includes: when the guide icon is triggered, displaying a portion of the first display page that corresponds to a test page that is not currently displayed in the display area .

根據本公開的第三方面,提供了一種頁面的顯示裝置,包括:頁面顯示請求接收模組,用於接收來自於終端設備的頁面顯示請求;測試頁面獲取模組,用於在檢測到測試模式開啟的情況下,獲取所述頁面顯示請求對應的多個測試頁面;測試頁面拼接模組,用於將所述多個測試頁面拼接為第一顯示頁面;第一顯示頁面發送模組,用於向所述終端設備發送所述第一顯示頁面。According to a third aspect of the present disclosure, there is provided a page display device, including: a page display request receiving module for receiving a page display request from a terminal device; a test page acquiring module for detecting a test mode In the case of opening, obtain a plurality of test pages corresponding to the page display request; a test page splicing module for splicing the plurality of test pages into a first display page; a first display page sending module for Sending the first display page to the terminal device.

在一種可能的實現方式中,所述裝置還包括:第二顯示頁面發送模組,用於在檢測到測試模式未開啟的情況下,獲取所述頁面顯示請求對應的第二顯示頁面,並向所述終端設備發送所述第二顯示頁面。In a possible implementation manner, the device further includes: a second display page sending module, configured to obtain a second display page corresponding to the page display request when it is detected that the test mode is not turned on, and send it to The terminal device sends the second display page.

在一種可能的實現方式中,所述裝置還包括:尺寸獲取模組,用於獲取所述終端設備的顯示區域的尺寸;引導圖標生成模組,用於在所述顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,生成引導圖標;引導圖標發送模組,用於向所述終端設備發送所述引導圖標。In a possible implementation manner, the device further includes: a size obtaining module for obtaining the size of the display area of the terminal device; a guide icon generating module for obtaining a size of the display area smaller than the size of the In the case of the size of the first display page, a guide icon is generated; a guide icon sending module is used to send the guide icon to the terminal device.

根據本公開的第四方面,提供了一種頁面的顯示裝置,包括:頁面顯示請求發送模組,用於向伺服器發送頁面顯示請求;顯示頁面接收模組,用於接收所述伺服器根據所述頁面顯示請求返回的第一顯示頁面,所述第一顯示頁面為由所述頁面顯示請求對應的多個測試頁面拼接生成的頁面;第一顯示模組,用於顯示所述第一顯示頁面。According to a fourth aspect of the present disclosure, there is provided a page display device, including: a page display request sending module for sending a page display request to a server; a display page receiving module for receiving the server according to what The first display page returned by the page display request, where the first display page is a page generated by splicing multiple test pages corresponding to the page display request; a first display module for displaying the first display page .

在一種可能的實現方式中,所述第一顯示模組用於:在終端設備的顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,顯示所述第一顯示頁面和引導圖標。In a possible implementation manner, the first display module is configured to display the first display page and the guide icon when the size of the display area of the terminal device is smaller than the size of the first display page.

在一種可能的實現方式中,所述裝置還包括:第二顯示模組,用於在所述引導圖標被觸發的情況下,顯示所述第一顯示頁面中的對應於當前未顯示在所述顯示區域中的測試頁面的部分。In a possible implementation manner, the device further includes: a second display module, configured to display the information in the first display page that is not currently displayed in the first display page when the guide icon is triggered The part of the test page in the display area.

根據本公開的第五方面,提供了一種頁面的顯示裝置,包括:處理器;用於存儲處理器可執行指令的記憶體;其中,所述處理器被配置為執行上述方法。According to a fifth aspect of the present disclosure, there is provided a page display device, including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above method.

根據本公開的第六方面,提供了一種非揮發性計算機可讀存儲介質,當所述存儲介質中的指令由終端和/或伺服器的處理器執行時,使得終端和/或伺服器能夠執行上述方法。According to a sixth aspect of the present disclosure, there is provided a non-volatile computer-readable storage medium. When instructions in the storage medium are executed by a processor of a terminal and/or server, the terminal and/or server can execute The above method.

本公開的頁面的顯示方法及裝置,通過接收來自於終端設備的頁面顯示請求,在檢測到測試模式開啟的情況下,獲取頁面顯示請求對應的多個測試頁面,將多個測試頁面拼接為第一顯示頁面,向終端設備發送第一顯示頁面,由此能夠擴大參與測試的用戶數量,並根據用戶的使用數據確定哪個測試頁面具有更好的使用體驗,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。The page display method and device of the present disclosure receive a page display request from a terminal device, and when it is detected that the test mode is turned on, obtain multiple test pages corresponding to the page display request, and splice the multiple test pages into the first A display page, sending the first display page to the terminal device, which can expand the number of users participating in the test, and determine which test page has a better experience based on the user's usage data, thereby improving the development efficiency and iteration cycle frequency of the application , To save application R&D costs.

根據下面參考附圖對示例性實施例的詳細說明,本公開的其它特徵及方面將變得清楚。According to the following detailed description of exemplary embodiments with reference to the accompanying drawings, other features and aspects of the present disclosure will become clear.

以下將參考附圖詳細說明本公開的各種示例性實施例、特徵和方面。附圖中相同的附圖標記表示功能相同或相似的元件。儘管在附圖中示出了實施例的各種方面,但是除非特別指出,不必按比例繪製附圖。Various exemplary embodiments, features, and aspects of the present disclosure will be described in detail below with reference to the drawings. The same reference numerals in the drawings indicate elements with the same or similar functions. Although various aspects of the embodiments are shown in the drawings, unless otherwise noted, the drawings are not necessarily drawn to scale.

在這裡專用的詞“示例性”意為“用作例子、實施例或說明性”。這裡作為“示例性”所說明的任何實施例不必解釋為優於或好於其它實施例。The dedicated word "exemplary" here means "serving as an example, embodiment, or illustration." Any embodiment described herein as "exemplary" need not be construed as being superior or better than other embodiments.

另外,為了更好的說明本公開,在下文的具體實施方式中給出了眾多的具體細節。本領域技術人員應當理解,沒有某些具體細節,本公開同樣可以實施。在一些實例中,對於本領域技術人員熟知的方法、手段、元件和電路未作詳細描述,以便於凸顯本公開的主旨。In addition, in order to better illustrate the present disclosure, numerous specific details are given in the following specific embodiments. Those skilled in the art should understand that the present disclosure can also be implemented without some specific details. In some instances, the methods, means, elements, and circuits well-known to those skilled in the art have not been described in detail in order to highlight the gist of the present disclosure.

實施例1Example 1

圖1示出根據本公開一實施例的頁面的顯示方法的流程圖。該頁面的顯示方法可用於伺服器中,在此不作限制。如圖1所示,該頁面的顯示方法包括:Fig. 1 shows a flowchart of a method for displaying a page according to an embodiment of the present disclosure. The display method of this page can be used in the server, and there is no restriction here. As shown in Figure 1, the display method of this page includes:

在步驟S101中,接收來自於終端設備的頁面顯示請求。In step S101, a page display request from a terminal device is received.

其中,終端設備可以為智慧型手機、平板電腦或計算機等,在此不作限制。在伺服器接收到來自於終端設備的頁面顯示請求的情況下,可對該頁面顯示請求進行解析,獲取該頁面顯示請求對應的JSON(JavaScript Object Notation,JavaScript 對象標記語言)數據和圖片資源等。Among them, the terminal device can be a smart phone, a tablet computer or a computer, etc., which is not limited here. When the server receives a page display request from a terminal device, it can parse the page display request to obtain JSON (JavaScript Object Notation, JavaScript Object Markup Language) data and image resources corresponding to the page display request.

在步驟S102中,在檢測到測試模式開啟的情況下,獲取該頁面顯示請求對應的多個測試頁面。In step S102, when it is detected that the test mode is turned on, multiple test pages corresponding to the page display request are acquired.

其中,測試模式可以指對多個測試頁面進行測試的工作模式。在測試模式開啟的情況下,可以根據測試模式的預設邏輯進行工作,在測試模式關閉的情況下,可以根據正常模式的預設邏輯進行工作。例如,可以在伺服器中設置測試模式。採用在伺服器中設置測試模式的方法,可以實現通過伺服器控制終端設備上的應用的工作邏輯,有助於應用的管理、測試和升級。Among them, the test mode may refer to a working mode for testing multiple test pages. When the test mode is turned on, it can work according to the preset logic of the test mode, and when the test mode is off, it can work according to the preset logic of the normal mode. For example, the test mode can be set in the server. By adopting the method of setting the test mode in the server, the working logic of the application on the terminal device can be controlled through the server, which is helpful for the management, testing and upgrading of the application.

其中,測試頁面可以指處於測試階段的頁面。例如,可以針對相同功能或相似功能設計多個測試頁面,並根據用戶反饋的使用情況確定哪一個或哪一些頁面能夠提供更好的使用體驗,從而將具有更好的使用體驗的頁面應用到正常模式中。Among them, the test page may refer to the page in the testing phase. For example, you can design multiple test pages for the same function or similar functions, and determine which page or pages provide a better user experience based on the usage feedback from users, so as to apply the page with better user experience to normal Mode.

在步驟S103中,將多個測試頁面拼接為第一顯示頁面。In step S103, a plurality of test pages are spliced into a first display page.

作為本實施例的一個示例,在檢測到測試模式開啟的情況下,獲取頁面顯示請求對應的兩個測試頁面,第一測試頁面和第二測試頁面。在第一測試頁面的下方拼接第二測試頁面,生成第一顯示頁面,或在第一測試頁面的上方拼接第二測試頁面,生成第一顯示頁面。As an example of this embodiment, when it is detected that the test mode is turned on, two test pages, the first test page and the second test page, corresponding to the page display request are acquired. The second test page is spliced below the first test page to generate the first display page, or the second test page is spliced above the first test page to generate the first display page.

作為本實施例的另一個示例,在檢測到測試模式開啟的情況下,獲取頁面顯示請求對應的兩個測試頁面,第一測試頁面和第二測試頁面。在第一測試頁面的右方拼接第二測試頁面,生成第一顯示頁面,或在第一測試頁面的左方拼接第二測試頁面,生成第一顯示頁面。As another example of this embodiment, when it is detected that the test mode is turned on, two test pages, the first test page and the second test page, corresponding to the page display request are acquired. The second test page is spliced to the right of the first test page to generate the first display page, or the second test page is spliced to the left of the first test page to generate the first display page.

需要說明的是,儘管以上下拼接和左右拼接作為示例介紹了將兩個測試頁面拼接為第一顯示頁面如上,但本領域技術人員應當能夠理解,本公開應不限於此。本領域技術人員可以根據實際應用場景靈活設置本實施例的將多個測試頁面拼接為第一顯示頁面的方法。本公開不限制測試頁面的數量。並且,本公開不限制拼接時測試頁面之間的位置關係,例如,可隨機安排哪個測試頁面在上,哪個測試頁面在下,也可將優選的測試頁面拼接在上部,以增加其被用戶使用的幾率。It should be noted that although the above-bottom splicing and the left-right splicing are examples of the splicing of two test pages into the first display page as described above, those skilled in the art should understand that the present disclosure should not be limited thereto. Those skilled in the art can flexibly set the method of splicing multiple test pages into the first display page of this embodiment according to actual application scenarios. This disclosure does not limit the number of test pages. In addition, the present disclosure does not limit the positional relationship between test pages during splicing. For example, which test page is on the top and which test page is on the bottom can be randomly arranged, or the preferred test page can be spliced on the top to increase its use by users. probability.

在步驟S104中,向終端設備發送第一顯示頁面。In step S104, the first display page is sent to the terminal device.

圖2a示出相關技術中的測試頁面進行測試的示意圖。如圖2a所示,針對一個入口,用戶可以通過該入口進入A頁面,也可能通過該入口進入B頁面。在該種測試方法下,若通過同一批用戶分別測試A頁面和測試B頁面,則需要用戶進行兩次測試,造成流量的浪費且操作不便捷。圖2b示出根據本公開一實施例的測試頁面進行測試的示意圖。如圖2b所示,針對一個入口,用戶可以通過該入口進入由A頁面和B頁面拼接成的頁面。在該種測試方法下,則只需要用戶進行一次測試,能夠節省流量。其中,入口可以為控件、圖標或鏈接等,A頁面和B頁面可以是兩個具有相同功能或相似功能頁面。Figure 2a shows a schematic diagram of a test page in the related art for testing. As shown in Figure 2a, for an entry, the user can enter page A through the entry, or enter page B through the entry. Under this test method, if the same batch of users test the A page and the test B page separately, the user needs to perform two tests, resulting in waste of traffic and inconvenient operation. Fig. 2b shows a schematic diagram of a test page for testing according to an embodiment of the present disclosure. As shown in Figure 2b, for an entry, the user can enter the page formed by the A page and the B page through the entry. Under this test method, the user only needs to perform one test, which can save traffic. Among them, the entry can be a control, an icon or a link, etc., and the A page and the B page can be two pages with the same or similar functions.

本實施例的頁面的顯示方法,通過將頁面顯示請求對應的多個測試頁面拼接為第一顯示頁面,向終端設備發送第一顯示頁面,由此能夠擴大參與測試的用戶數量,並根據用戶的使用數據確定哪個測試頁面具有更好的使用體驗,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。In the page display method of this embodiment, multiple test pages corresponding to the page display request are spliced into the first display page, and the first display page is sent to the terminal device, thereby expanding the number of users participating in the test, and according to the user’s Use data to determine which test page has a better user experience, thereby improving application development efficiency and iteration cycle frequency, and saving application development costs.

圖3示出根據本公開一實施例的頁面的顯示方法的一示例性的流程圖。如圖3所示,該頁面的顯示方法包括:Fig. 3 shows an exemplary flowchart of a page display method according to an embodiment of the present disclosure. As shown in Figure 3, the display method of this page includes:

在步驟S301中,接收來自於終端設備的頁面顯示請求。In step S301, a page display request from a terminal device is received.

對該步驟的描述可以參見步驟S101。For the description of this step, refer to step S101.

在步驟S302中,判斷測試模式是否開啟,在檢測到測試模式開啟的情況下,執行步驟S303,在檢測到測試模式未開啟的情況下,執行步驟S306。In step S302, it is determined whether the test mode is turned on, if it is detected that the test mode is turned on, step S303 is executed, and if it is detected that the test mode is not turned on, step S306 is executed.

在步驟S303中,獲取該頁面顯示請求對應的多個測試頁面。In step S303, multiple test pages corresponding to the page display request are acquired.

對該步驟的描述可以參見步驟S102。For the description of this step, refer to step S102.

在步驟S304中,將多個測試頁面拼接為第一顯示頁面。In step S304, a plurality of test pages are spliced into a first display page.

對該步驟的描述可以參見步驟S103。For the description of this step, refer to step S103.

在步驟S305中,向終端設備發送第一顯示頁面。In step S305, the first display page is sent to the terminal device.

對該步驟的描述可以參見步驟S104。For the description of this step, refer to step S104.

在步驟S306中,獲取該頁面顯示請求對應的第二顯示頁面。In step S306, a second display page corresponding to the page display request is obtained.

在步驟S307中,向終端設備發送第二顯示頁面。In step S307, the second display page is sent to the terminal device.

其中,第二顯示頁面可以為正常模式下,頁面顯示請求對應的頁面。作為本實施例的一個示例,用戶點擊智慧型手機上應用1中搜索圖標對應的鏈接,由此智慧型手機向應用1對應的伺服器發送搜索頁面的頁面顯示請求。伺服器接收來自於智慧型手機的搜索頁面的頁面顯示請求,在檢測到測試模式未開啟的情況下,獲取搜索頁面的頁面顯示請求對應的搜索頁面,並向智慧型手機發送該搜索頁面。Wherein, the second display page may be a page corresponding to the page display request in the normal mode. As an example of this embodiment, the user clicks the link corresponding to the search icon in Application 1 on the smartphone, and the smartphone sends a page display request of the search page to the server corresponding to Application 1. The server receives the page display request from the search page of the smart phone, and when it detects that the test mode is not turned on, obtains the search page corresponding to the page display request of the search page, and sends the search page to the smart phone.

本實施例的頁面的顯示方法,在測試模式開啟的情況下,通過將頁面顯示請求對應的多個測試頁面拼接為第一顯示頁面,並向終端設備發送第一顯示頁面。而在測試模式未開啟的情況下,直接獲取頁面顯示請求對應的第二顯示頁面,並向終端設備發送第二顯示頁面。由此能夠根據測試需求,靈活地設置測試模式的開啟或關閉,簡單便捷。在不影響用戶正常使用的情況下,容易實現頁面的測試,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。In the page display method of this embodiment, when the test mode is turned on, multiple test pages corresponding to the page display request are spliced into the first display page, and the first display page is sent to the terminal device. When the test mode is not turned on, the second display page corresponding to the page display request is directly obtained, and the second display page is sent to the terminal device. Therefore, it is possible to flexibly set the on or off of the test mode according to the test requirements, which is simple and convenient. Without affecting the normal use of users, it is easy to implement page testing, thereby improving application development efficiency and iteration cycle frequency, and saving application development costs.

圖4示出根據本公開一實施例的頁面的顯示方法的一示例性的流程圖。如圖4所示,該頁面的顯示方法包括:Fig. 4 shows an exemplary flowchart of a method for displaying a page according to an embodiment of the present disclosure. As shown in Figure 4, the display method of this page includes:

在步驟S401中,接收來自於終端設備的頁面顯示請求。In step S401, a page display request from a terminal device is received.

對該步驟的描述可以參見步驟S101。For the description of this step, refer to step S101.

在步驟S402中,在檢測到測試模式開啟的情況下,獲取該頁面顯示請求對應的多個測試頁面。In step S402, when it is detected that the test mode is turned on, multiple test pages corresponding to the page display request are acquired.

對該步驟的描述可以參見步驟S102。For the description of this step, refer to step S102.

在步驟S403中,將多個測試頁面拼接為第一顯示頁面。In step S403, a plurality of test pages are spliced into a first display page.

對該步驟的描述可以參見步驟S103。For the description of this step, refer to step S103.

在步驟S404中,獲取終端設備的顯示區域的尺寸。In step S404, the size of the display area of the terminal device is acquired.

在步驟S405中,在顯示區域的尺寸小於第一顯示頁面的尺寸的情況下,生成引導圖標。In step S405, in a case where the size of the display area is smaller than the size of the first display page, a guide icon is generated.

在步驟S406中,向終端設備發送第一顯示頁面和引導圖標。In step S406, the first display page and the guide icon are sent to the terminal device.

其中,顯示區域的尺寸可以指顯示區域的高度尺寸或寬度尺寸,第一顯示頁面的尺寸可以指第一顯示頁面的高度或寬度尺寸,在此不作限制。例如,在終端設備為直式顯示的情況下,獲取終端設備的高度尺寸,並獲取第一顯示頁面的第一高度尺寸或者第一寬度尺寸。再例如,在終端設備為橫式顯示的情況下,獲取終端設備的寬度尺寸,並獲取第一顯示頁面的第二高度尺寸或者第二寬度尺寸。Wherein, the size of the display area may refer to the height or width of the display area, and the size of the first display page may refer to the height or width of the first display page, which is not limited here. For example, in a case where the terminal device has a vertical display, the height dimension of the terminal device is acquired, and the first height dimension or the first width dimension of the first display page is acquired. For another example, when the terminal device is displayed in landscape format, the width dimension of the terminal device is acquired, and the second height dimension or the second width dimension of the first display page is acquired.

作為本實施例的一個示例,在終端設備為直式顯示的情況下,獲取終端設備的高度尺寸為127mm,並獲取第一顯示頁面的第一高度尺寸為160mm,顯示區域的尺寸小於第一顯示頁面的尺寸,則伺服器生成引導圖標,並向終端設備發送第一顯示頁面和引導圖標。其中,引導圖標可以指具有頁面引導作用的圖標。As an example of this embodiment, when the terminal device has a vertical display, the height size of the terminal device is obtained as 127mm, and the first height size of the first display page is obtained as 160mm, and the size of the display area is smaller than that of the first display. The size of the page, the server generates a guide icon, and sends the first display page and the guide icon to the terminal device. Wherein, the guide icon may refer to an icon with a page guide function.

終端設備的尺寸可以通過現有技術獲得,例如通過終端設備的型號獲得,本公開對此不做限制。The size of the terminal device can be obtained through the prior art, for example, through the model of the terminal device, which is not limited in the present disclosure.

實施例2Example 2

圖5示出根據本公開一實施例的頁面的顯示方法的流程圖。該頁面的顯示方法可用於智慧型手機、平板電腦或計算機等終端設備中,在此不作限制。如圖5所示,該頁面的顯示方法包括:Fig. 5 shows a flowchart of a method for displaying a page according to an embodiment of the present disclosure. The display method of this page can be used in terminal devices such as smart phones, tablets or computers, and is not limited here. As shown in Figure 5, the display method of this page includes:

在步驟S501中,向伺服器發送頁面顯示請求。In step S501, a page display request is sent to the server.

用戶可以通過終端設備上的預設按鈕或觸摸屏觸發終端設備向伺服器發送頁面顯示請求。例如,用戶點擊智慧型手機上應用1對應的圖標,應用1啟動並在前臺運行,由此智慧型手機向應用1對應的伺服器發送首頁的頁面顯示請求。再例如,用戶點擊智慧型手機上應用1中視頻1對應的鏈接,由此智慧型手機向應用1對應的伺服器發送視頻1播放頁面的頁面顯示請求。The user can trigger the terminal device to send a page display request to the server through a preset button or touch screen on the terminal device. For example, the user clicks on the icon corresponding to application 1 on the smartphone, and application 1 is started and running in the foreground, so the smartphone sends a page display request of the homepage to the server corresponding to application 1. For another example, the user clicks the link corresponding to video 1 in application 1 on the smart phone, and the smart phone sends a page display request of the video 1 playback page to the server corresponding to application 1.

在步驟S502中,接收伺服器根據該頁面顯示請求返回的第一顯示頁面,第一顯示頁面為由該頁面顯示請求對應的多個測試頁面拼接生成的頁面。In step S502, the first display page returned by the server according to the page display request is received, where the first display page is a page generated by splicing multiple test pages corresponding to the page display request.

在步驟S503中,顯示第一顯示頁面。In step S503, the first display page is displayed.

圖6示出根據本公開一實施例的第一顯示頁面的示意圖。作為本實施例的一個示例,如圖6所示,可以針對搜索功能設計兩個測試頁面,第一搜索測試頁面1和第二搜索測試頁面2。用戶點擊智慧型手機上應用1中搜索圖標對應的鏈接,由此智慧型手機向應用1對應的伺服器發送搜索頁面的頁面顯示請求。伺服器接收來自於智慧型手機的搜索頁面的頁面顯示請求,在檢測到測試模式開啟的情況下,獲取搜索頁面的頁面顯示請求對應的第一搜索測試頁面1和第二搜索測試頁面2。伺服器將第一搜索測試頁面1和第二搜索測試頁面2拼接為第一顯示頁面,並向智慧型手機發送第一顯示頁面。智慧型手機在接收到第一顯示頁面的情況下,顯示第一顯示頁面。Fig. 6 shows a schematic diagram of a first display page according to an embodiment of the present disclosure. As an example of this embodiment, as shown in FIG. 6, two test pages can be designed for the search function, the first search test page 1 and the second search test page 2. The user clicks the link corresponding to the search icon in Application 1 on the smartphone, and the smartphone sends a page display request for the search page to the server corresponding to Application 1. The server receives the page display request from the search page of the smart phone, and in the case of detecting that the test mode is turned on, obtains the first search test page 1 and the second search test page 2 corresponding to the page display request of the search page. The server splices the first search test page 1 and the second search test page 2 into a first display page, and sends the first display page to the smart phone. When receiving the first display page, the smart phone displays the first display page.

本實施例的頁面的顯示方法,通過將頁面顯示請求對應的多個測試頁面拼接為第一顯示頁面,在終端設備顯示第一顯示頁面,由此能夠擴大參與測試的用戶數量,並根據用戶的使用數據確定哪個測試頁面具有更好的使用體驗,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。In the page display method of this embodiment, multiple test pages corresponding to the page display request are spliced into the first display page, and the first display page is displayed on the terminal device, thereby expanding the number of users participating in the test, and according to the user’s Use data to determine which test page has a better user experience, thereby improving application development efficiency and iteration cycle frequency, and saving application development costs.

圖7示出根據本公開一實施例的頁面的顯示方法的一示例性的流程圖。如圖7所示,該頁面的顯示方法包括:Fig. 7 shows an exemplary flowchart of a page display method according to an embodiment of the present disclosure. As shown in Figure 7, the display method of this page includes:

在步驟S701中,向伺服器發送頁面顯示請求。In step S701, a page display request is sent to the server.

在步驟S702中,接收伺服器根據該頁面顯示請求返回的第一顯示頁面,第一顯示頁面為由該頁面顯示請求對應的多個測試頁面拼接生成的頁面。In step S702, the first display page returned by the server according to the page display request is received, where the first display page is a page generated by splicing multiple test pages corresponding to the page display request.

在步驟S703中,在終端設備的顯示區域的尺寸小於第一顯示頁面的尺寸的情況下,顯示第一顯示頁面和引導圖標。In step S703, when the size of the display area of the terminal device is smaller than the size of the first display page, the first display page and the guide icon are displayed.

在一種可能的實現方式中,該方法還包括:在引導圖標被觸發的情況下,顯示第一顯示頁面中的對應於當前未顯示在顯示區域中的測試頁面的部分。In a possible implementation manner, the method further includes: when the guide icon is triggered, displaying a part of the first display page that corresponds to a test page that is not currently displayed in the display area.

其中,引導圖標可以指具有頁面引導作用的圖標。例如,引導圖標可以為由文字構成的圖標,也可以為由圖片構成的圖標,還可以為由文字和圖片構成的圖標。本實施例不限制引導圖標的顯示位置,例如可以顯示在第一顯示頁面的左下角或右下角,也可以根據用戶的拖動而顯示在第一顯示頁面的任意位置。Wherein, the guide icon may refer to an icon with a page guide function. For example, the guide icon may be an icon composed of text, or may be an icon composed of pictures, or may be an icon composed of text and pictures. The present embodiment does not limit the display position of the guide icon. For example, it may be displayed in the lower left corner or the lower right corner of the first display page, or may be displayed in any position of the first display page according to the drag of the user.

引導圖標可以由伺服器生成並發送至終端設備,隨第一顯示頁面一起顯示,也可以在終端設備本地生成,例如終端設備在檢測到終端設備的顯示區域的尺寸小於第一顯示頁面的尺寸的情況下,可生成並顯示引導圖標。The guide icon can be generated by the server and sent to the terminal device and displayed along with the first display page, or it can be generated locally on the terminal device. For example, the terminal device detects that the size of the display area of the terminal device is smaller than the size of the first display page. In this case, a guide icon can be generated and displayed.

作為本實施例的一個示例,在終端設備為直式顯示的情況下,獲取終端設備的高度尺寸為127mm,並獲取第一顯示頁面的第一高度尺寸為160mm,顯示區域的尺寸小於第一顯示頁面的尺寸,則伺服器或終端設備生成引導圖標。如圖6所示,引導圖標可以為由文字“點我試試~”和卡通圖片構成的圖標,顯示在第一顯示頁面的右下角。As an example of this embodiment, when the terminal device has a vertical display, the height size of the terminal device is obtained as 127mm, and the first height size of the first display page is obtained as 160mm, and the size of the display area is smaller than that of the first display. The size of the page, the server or terminal device generates a guide icon. As shown in Figure 6, the guide icon may be an icon composed of the text "click me to try~" and a cartoon picture, which is displayed in the lower right corner of the first display page.

在用戶觸發引導圖標的情況下,終端設備的顯示區域可以顯示當前未顯示在顯示區域中的測試頁面的部分。例如,如圖6所示,第一顯示頁面包括第一搜索測試頁面1和第二搜索測試頁面2。智慧型手機的顯示區域當前顯示第一搜索測試頁面1的全部和第二搜索測試頁面2的部分。在用戶觸發引導圖標“點我試試”的情況下,智慧型手機的顯示區域可以顯示第二搜索測試頁面2的全部,例如可將第一顯示頁面上移,以露出第二搜索測試頁面2的全部。由此可以實現多個測試頁面的快速切換,提高各個測試頁面的曝光率,使得各個測試頁面均具有測試機會,提高測試的準確率。In the case where the user triggers the guide icon, the display area of the terminal device may display a part of the test page that is not currently displayed in the display area. For example, as shown in FIG. 6, the first display page includes a first search test page 1 and a second search test page 2. The display area of the smart phone currently displays all of the first search test page 1 and part of the second search test page 2. When the user triggers the guidance icon "click me to try", the display area of the smartphone can display all of the second search test page 2, for example, the first display page can be moved up to reveal the second search test page 2 All of it. As a result, rapid switching of multiple test pages can be realized, and the exposure rate of each test page can be improved, so that each test page has a test opportunity, and the accuracy of the test can be improved.

實施例3Example 3

圖8示出根據本公開一實施例的頁面的顯示裝置的方塊圖。如圖8所示,該頁面的顯示裝置包括:Fig. 8 shows a block diagram of a page display device according to an embodiment of the present disclosure. As shown in Figure 8, the page display device includes:

頁面顯示請求接收模組11,用於接收來自於終端設備的頁面顯示請求;測試頁面獲取模組12,用於在檢測到測試模式開啟的情況下,獲取所述頁面顯示請求對應的多個測試頁面;測試頁面拼接模組13,用於將所述多個測試頁面拼接為第一顯示頁面;第一顯示頁面發送模組14,用於向所述終端設備發送所述第一顯示頁面。The page display request receiving module 11 is used to receive a page display request from a terminal device; the test page obtaining module 12 is used to obtain multiple tests corresponding to the page display request when it is detected that the test mode is turned on Page; test page splicing module 13 for splicing the multiple test pages into a first display page; first display page sending module 14 for sending the first display page to the terminal device.

圖9示出根據本公開一實施例的頁面的顯示裝置的一示例性的方塊圖。如圖9所示:Fig. 9 shows an exemplary block diagram of a page display device according to an embodiment of the present disclosure. As shown in Figure 9:

在一種可能的實現方式中,所述裝置還包括:第二顯示頁面發送模組15,用於在檢測到測試模式未開啟的情況下,獲取所述頁面顯示請求對應的第二顯示頁面,並向所述終端設備發送所述第二顯示頁面。In a possible implementation, the device further includes: a second display page sending module 15 configured to obtain a second display page corresponding to the page display request when it is detected that the test mode is not turned on, and Sending the second display page to the terminal device.

在一種可能的實現方式中,所述裝置還包括:尺寸獲取模組16,用於獲取所述終端設備的顯示區域的尺寸;引導圖標生成模組17,用於在所述顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,生成引導圖標;引導圖標發送模組18,用於向所述終端設備發送所述引導圖標。In a possible implementation, the device further includes: a size obtaining module 16 for obtaining the size of the display area of the terminal device; and a guide icon generating module 17 for obtaining the size of the display area when the size is smaller than In the case of the size of the first display page, a guide icon is generated; the guide icon sending module 18 is configured to send the guide icon to the terminal device.

本實施例的頁面的顯示裝置,通過將頁面顯示請求對應的多個測試頁面拼接為第一顯示頁面,向終端設備發送第一顯示頁面,由此能夠擴大參與測試的用戶數量,並根據用戶的使用數據確定哪個測試頁面具有更好的使用體驗,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。In the page display device of this embodiment, multiple test pages corresponding to the page display request are spliced into the first display page, and the first display page is sent to the terminal device, thereby expanding the number of users participating in the test, and according to the user’s Use data to determine which test page has a better user experience, thereby improving application development efficiency and iteration cycle frequency, and saving application development costs.

實施例4Example 4

圖10示出根據本公開一實施例的頁面的顯示裝置的方塊圖。如圖10所示,該頁面的顯示裝置包括:Fig. 10 shows a block diagram of a page display device according to an embodiment of the present disclosure. As shown in Figure 10, the page display device includes:

頁面顯示請求發送模組21,用於向伺服器發送頁面顯示請求;顯示頁面接收模組22,用於接收所述伺服器根據所述頁面顯示請求返回的第一顯示頁面,所述第一顯示頁面為由所述頁面顯示請求對應的多個測試頁面拼接生成的頁面;第一顯示模組23,用於顯示所述第一顯示頁面。The page display request sending module 21 is used to send a page display request to the server; the display page receiving module 22 is used to receive the first display page returned by the server according to the page display request, the first display The page is a page generated by splicing multiple test pages corresponding to the page display request; the first display module 23 is configured to display the first display page.

圖11示出根據本公開一實施例的頁面的顯示裝置的一示例性的方塊圖。如圖11所示:FIG. 11 shows an exemplary block diagram of a page display device according to an embodiment of the present disclosure. As shown in Figure 11:

在一種可能的實現方式中,所述第一顯示模組23用於:在終端設備的顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,顯示所述第一顯示頁面和引導圖標。In a possible implementation manner, the first display module 23 is used to display the first display page and the guide icon when the size of the display area of the terminal device is smaller than the size of the first display page .

在一種可能的實現方式中,所述裝置還包括:第二顯示模組24,用於在所述引導圖標被觸發的情況下,顯示所述第一顯示頁面中的對應於當前未顯示在所述顯示區域中的測試頁面的部分。In a possible implementation, the device further includes: a second display module 24, configured to display the first display page corresponding to the one that is not currently displayed in the first display page when the guide icon is triggered. Describe the part of the test page in the display area.

本實施例的頁面的顯示裝置,通過將頁面顯示請求對應的多個測試頁面拼接為第一顯示頁面,在終端設備顯示第一顯示頁面,由此能夠擴大參與測試的用戶數量,並根據用戶的使用數據確定哪個測試頁面具有更好的使用體驗,從而提高應用的研發效率和迭代週期頻率,節省應用的研發成本。In the page display device of this embodiment, multiple test pages corresponding to the page display request are spliced into the first display page, and the first display page is displayed on the terminal device, thereby expanding the number of users participating in the test, and according to the user’s Use data to determine which test page has a better user experience, thereby improving application development efficiency and iteration cycle frequency, and saving application development costs.

實施例5Example 5

圖12是根據一示例性實施例示出的一種用於頁面的顯示裝置800的方塊圖。例如,裝置800可以是移動電話、計算機、數位廣播終端、消息收發設備、遊戲控制台、平板設備、醫療設備、健身設備、個人數位助理等。Fig. 12 is a block diagram showing a display device 800 for a page according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

參照圖12,裝置800可以包括以下一個或多個組件:處理組件802、記憶體804、電源組件806、多媒體組件808、音頻組件810、輸入/輸出(I/ O)的介面812、傳感器組件814,以及通信組件816。12, the device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, and a sensor component 814 , And communication component 816.

處理組件802通常控制裝置800的整體操作,諸如與顯示、電話呼叫、數據通信、相機操作和記錄操作相關聯的操作。處理組件802可以包括一個或多個處理器820來執行指令,以完成上述的方法的全部或部分步驟。此外,處理組件802可以包括一個或多個模組,便於處理組件802和其他組件之間的互動。例如,處理組件802可以包括多媒體模組,以方便多媒體組件808和處理組件802之間的互動。The processing component 802 generally controls the overall operations of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the foregoing method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

記憶體804被配置為存儲各種類型的數據以支持在裝置800的操作。這些數據的示例包括用於在裝置800上操作的任何應用程式或方法的指令、連絡人數據、電話簿數據、消息、圖片、視頻等。記憶體804可以由任何類型的揮發性或非揮發性存儲設備或者它們的組合實現,如靜態隨機存取記憶體(SRAM)、電可擦除可程式唯讀記憶體(EEPROM)、可擦除可程式唯讀記憶體(EPROM)、可程式唯讀記憶體(PROM)、唯讀記憶體(ROM)、磁記憶體、快閃記憶體、磁盤或光盤。The memory 804 is configured to store various types of data to support the operation of the device 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phone book data, messages, pictures, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

電源組件806為裝置800的各種組件提供電力。電源組件806可以包括電源管理系統,一個或多個電源,及其他與為裝置800生成、管理和分配電力相關聯的組件。The power supply component 806 provides power to various components of the device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 800.

多媒體組件808包括在所述裝置800和用戶之間的提供一個輸出介面的屏幕。在一些實施例中,屏幕可以包括液晶顯示器(LCD)和觸控面板(TP)。如果屏幕包括觸控面板,屏幕可以被實現為觸摸屏,以接收來自用戶的輸入信號。觸控面板包括一個或多個觸摸傳感器以感測觸摸、滑動和觸控面板上的手勢。所述觸摸傳感器可以不僅感測觸摸或滑動動作的邊界,而且還檢測與所述觸摸或滑動操作相關的持續時間和壓力。在一些實施例中,多媒體組件808包括一個前置攝像頭和/或後置攝像頭。當裝置800處於操作模式,如拍攝模式或視頻模式時,前置攝像頭和/或後置攝像頭可以接收外部的多媒體數據。每個前置攝像頭和後置攝像頭可以是一個固定的光學透鏡系統或具有焦距和光學變焦能力。The multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure related to the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. When the device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.

音頻組件810被配置為輸出和/或輸入音頻信號。例如,音頻組件810包括一個麥克風(MIC),當裝置800處於操作模式,如呼叫模式、記錄模式和語音識別模式時,麥克風被配置為接收外部音頻信號。所接收的音頻信號可以被進一步存儲在記憶體804或經由通信組件816發送。在一些實施例中,音頻組件810還包括一個揚聲器,用於輸出音頻信號。The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a microphone (MIC). When the device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive external audio signals. The received audio signal may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker for outputting audio signals.

I/ O介面812為處理組件802和外圍介面模組之間提供連接介面,上述外圍介面模組可以是鍵盤、滾輪、按鈕等。這些按鈕可包括但不限於:主頁按鈕、音量按鈕、啟動按鈕和鎖定按鈕。The I/O interface 812 provides a connection interface between the processing component 802 and a peripheral interface module. The peripheral interface module may be a keyboard, a scroll wheel, a button, and the like. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

傳感器組件814包括一個或多個傳感器,用於為裝置800提供各個方面的狀態評估。例如,傳感器組件814可以檢測到裝置800的打開/關閉狀態,組件的相對定位,例如所述組件為裝置800的顯示器和小鍵盤,傳感器組件814還可以檢測裝置800或裝置800一個組件的位置改變,用戶與裝置800接觸的存在或不存在,裝置800方位或加速/減速和裝置800的溫度變化。傳感器組件814可以包括接近傳感器,被配置用來在沒有任何的物理接觸時檢測附近物體的存在。傳感器組件814還可以包括光傳感器,如CMOS或CCD圖像傳感器,用於在成像應用中使用。在一些實施例中,該傳感器組件814還可以包括加速度傳感器,陀螺儀傳感器,磁傳感器,壓力傳感器或溫度傳感器。The sensor component 814 includes one or more sensors for providing the device 800 with various aspects of status assessment. For example, the sensor component 814 can detect the open/close state of the device 800 and the relative positioning of components. For example, the component is the display and the keypad of the device 800. The sensor component 814 can also detect the position change of the device 800 or a component of the device 800. , The presence or absence of contact between the user and the device 800, the orientation or acceleration/deceleration of the device 800, and the temperature change of the device 800. The sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact. The sensor component 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信組件816被配置為便於裝置800和其他設備之間有線或無線方式的通信。裝置800可以接入基於通信標準的無線網路,如WiFi、2G或3G,或它們的組合。在一個示例性實施例中,通信組件816經由廣播信道接收來自外部廣播管理系統的廣播信號或廣播相關信息。在一個示例性實施例中,所述通信組件816還包括近場通信(NFC)模組,以促進短程通信。例如,在NFC模組可基於射頻識別(RFID)技術、紅外數據協會(IrDA)技術,超寬帶(UWB)技術、藍牙(BT)技術和其他技術來實現。The communication component 816 is configured to facilitate wired or wireless communication between the device 800 and other devices. The device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性實施例中,裝置800可以被一個或多個應用專用集成電路(ASIC)、數位信號處理器(DSP)、數位信號處理設備(DSPD)、可程式邏輯器件(PLD)、現場可程式門陣列(FPGA)、控制器、微控制器、微處理器或其他電子元件實現,用於執行上述方法。In an exemplary embodiment, the apparatus 800 can be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPD), programmable logic devices (PLD), field programmable Implemented by a gate array (FPGA), controller, microcontroller, microprocessor, or other electronic components, used to perform the above methods.

在示例性實施例中,還提供了一種包括指令的非揮發性計算機可讀存儲介質,例如包括指令的記憶體804,上述指令可由裝置800的處理器820執行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium including instructions, such as the memory 804 including instructions, which can be executed by the processor 820 of the device 800 to complete the foregoing method.

圖13是根據一示例性實施例示出的一種用於頁面的顯示裝置1900的方塊圖。例如,裝置1900可以被提供為一伺服器。參照圖13,裝置1900包括處理組件1922,其進一步包括一個或多個處理器,以及由記憶體1932所代表的存儲器資源,用於存儲可由處理組件1922的執行的指令,例如應用程式。記憶體1932中存儲的應用程式可以包括一個或一個以上的每一個對應於一組指令的模組。此外,處理組件1922被配置為執行指令,以執行上述方法。Fig. 13 is a block diagram showing a display device 1900 for a page according to an exemplary embodiment. For example, the device 1900 may be provided as a server. 13, the device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions that can be executed by the processing component 1922, such as application programs. The application program stored in the memory 1932 may include one or more modules each corresponding to a set of commands. In addition, the processing component 1922 is configured to execute instructions to perform the above-described methods.

裝置1900還可以包括一個電源組件1926被配置為執行裝置1900的電源管理,一個有線或無線網路介面1950被配置為將裝置1900連接到網路,和一個輸入輸出(I/O)介面1958。裝置1900可以操作基於存儲在記憶體1932的操作系統,例如Windows ServerTM、Mac OS XTM、UnixTM, LinuxTM、FreeBSDTM或類似。The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input output (I/O) interface 1958. The device 1900 can operate based on an operating system stored in the memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

在示例性實施例中,還提供了一種包括指令的非揮發性計算機可讀存儲介質,例如包括指令的記憶體1932,上述指令可由裝置1900的處理組件1922執行以完成上述方法。In an exemplary embodiment, there is also provided a non-volatile computer-readable storage medium including instructions, such as a memory 1932 including instructions, which can be executed by the processing component 1922 of the device 1900 to complete the foregoing method.

本公開可以是系統、方法和/或計算機程式產品。計算機程式產品可以包括計算機可讀存儲介質,其上載有用於使處理器實現本公開的各個方面的計算機可讀程式指令。The present disclosure may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium loaded with computer-readable program instructions for enabling a processor to implement various aspects of the present disclosure.

計算機可讀存儲介質可以是可以保持和存儲由指令執行設備使用的指令的有形設備。計算機可讀存儲介質例如可以是但不限於電存儲設備、磁存儲設備、光存儲設備、電磁存儲設備、半導體存儲設備或者上述的任意合適的組合。計算機可讀存儲介質的更具體的例子(非窮舉的列表)包括:便攜式計算機盤、硬碟、隨機存取記憶體(RAM)、唯讀記憶體(ROM)、可擦式可程式唯讀記憶體(EPROM或閃存)、靜態隨機存取記憶體(SRAM)、便攜式壓縮盤唯讀記憶體(CD-ROM)、數位多功能盤(DVD)、隨身碟、軟碟、機械編碼設備、例如其上存儲有指令的打孔卡或凹槽內凸起結構、以及上述的任意合適的組合。這裡所使用的計算機可讀存儲介質不被解釋為瞬時信號本身,諸如無線電波或者其他自由傳播的電磁波、通過波導或其他傳輸媒介傳播的電磁波(例如,通過光纖電纜的光脈衝)、或者通過電線傳輸的電信號。The computer-readable storage medium may be a tangible device that can hold and store instructions used by the instruction execution device. The computer-readable storage medium may be, for example, but not limited to, an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable and programmable read-only Memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), pen drives, floppy disks, mechanical encoding devices, such as The punch card or the convex structure in the groove, and any suitable combination of the above are stored thereon. The computer-readable storage medium used here is not interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (for example, light pulses through fiber optic cables), or through wires Transmission of electrical signals.

這裡所描述的計算機可讀程式指令可以從計算機可讀存儲介質下載到各個計算/處理設備,或者通過網路、例如網際網路、局域網、廣域網和/或無線網下載到外部計算機或外部存儲設備。網路可以包括銅傳輸電纜、光纖傳輸、無線傳輸、路由器、防火牆、交換機、網關計算機(Gateway)和/或邊緣伺服器(Edge sever)。每個計算/處理設備中的網路適配卡或者網路介面從網路接收計算機可讀程式指令,並轉發該計算機可讀程式指令,以供存儲在各個計算/處理設備中的計算機可讀存儲介質中。The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to various computing/processing devices, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and/or a wireless network . The network may include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers (Gateway), and/or edge servers (Edge servers). The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network, and forwards the computer-readable program instructions to be readable by the computers stored in each computing/processing device Storage medium.

用於執行本公開操作的計算機程式指令可以是彙編指令、指令集架構(ISA)指令、機器指令、機器相關指令、微代碼、韌體指令、狀態設置數據、或者以一種或多種編程語言的任意組合編寫的源代碼或目標代碼,所述編程語言包括面向對象的編程語言—諸如Smalltalk、C++等,以及常規的過程式編程語言—諸如“C”語言或類似的編程語言。計算機可讀程式指令可以完全地在用戶計算機上執行、部分地在用戶計算機上執行、作為一個獨立的軟件包執行、部分在用戶計算機上部分在遠程計算機上執行、或者完全在遠程計算機或伺服器上執行。在涉及遠程計算機的情形中,遠程計算機可以通過任意種類的網路—包括局域網(LAN)或廣域網(WAN)—連接到用戶計算機,或者,可以連接到外部計算機(例如利用網際網路服務提供商來通過網際網路連接)。在一些實施例中,通過利用計算機可讀程式指令的狀態信息來個性化定製電子電路,例如可程式邏輯電路、現場可程式閘陣列(FPGA)或可程式邏輯陣列(PLA),該電子電路可以執行計算機可讀程式指令,從而實現本公開的各個方面。The computer program instructions used to perform the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or any of one or more programming languages. Source code or object code written in combination. The programming language includes object-oriented programming languages such as Smalltalk, C++, etc., and conventional procedural programming languages such as "C" language or similar programming languages. Computer-readable program instructions can be executed entirely on the user’s computer, partly on the user’s computer, as a stand-alone software package, partly on the user’s computer and partly on a remote computer, or entirely on the remote computer or server Executed on. In the case of a remote computer, the remote computer can be connected to the user's computer through any kind of network-including a local area network (LAN) or a wide area network (WAN)-or it can be connected to an external computer (for example, using an Internet service provider) To connect via the Internet). In some embodiments, the electronic circuit is personalized by using the state information of the computer-readable program instructions, such as programmable logic circuit, field programmable gate array (FPGA) or programmable logic array (PLA), the electronic circuit The computer-readable program instructions can be executed to realize various aspects of the present disclosure.

這裡參照根據本公開實施例的方法、裝置(系統)和計算機程式產品的流程圖和/或方塊圖描述了本公開的各個方面。應當理解,流程圖和/或方塊圖的每個方塊以及流程圖和/或方塊圖中各方塊的組合,都可以由計算機可讀程式指令實現。Here, various aspects of the present disclosure are described with reference to flowcharts and/or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each block of the flowchart and/or block diagram and the combination of each block in the flowchart and/or block diagram can be implemented by computer-readable program instructions.

這些計算機可讀程式指令可以提供給通用計算機、專用計算機或其它可程式數據處理裝置的處理器,從而生產出一種機器,使得這些指令在通過計算機或其它可程式數據處理裝置的處理器執行時,產生了實現流程圖和/或方塊圖中的一個或多個方塊中規定的功能/動作的裝置。也可以把這些計算機可讀程式指令存儲在計算機可讀存儲介質中,這些指令使得計算機、可程式數據處理裝置和/或其他設備以特定方式工作,從而,存儲有指令的計算機可讀介質則包括一個製造品,其包括實現流程圖和/或方塊圖中的一個或多個方塊中規定的功能/動作的各個方面的指令。These computer-readable program instructions can be provided to the processors of general-purpose computers, special-purpose computers, or other programmable data processing devices, so as to produce a machine such that when these instructions are executed by the processors of the computer or other programmable data processing devices, A device that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram is produced. It is also possible to store these computer-readable program instructions in a computer-readable storage medium. These instructions make the computer, the programmable data processing apparatus and/or other equipment work in a specific manner. Thus, the computer-readable medium storing the instructions includes An article of manufacture, which includes instructions for implementing various aspects of the functions/actions specified in one or more blocks in the flowchart and/or block diagram.

也可以把計算機可讀程式指令加載到計算機、其它可程式數據處理裝置、或其它設備上,使得在計算機、其它可程式數據處理裝置或其它設備上執行一系列操作步驟,以產生計算機實現的過程,從而使得在計算機、其它可程式數據處理裝置、或其它設備上執行的指令實現流程圖和/或方塊圖中的一個或多個方塊中規定的功能/動作。It is also possible to load computer-readable program instructions on a computer, other programmable data processing device, or other equipment, so that a series of operation steps are executed on the computer, other programmable data processing device, or other equipment to produce a computer-implemented process , So that the instructions executed on the computer, other programmable data processing device, or other equipment realize the functions/actions specified in one or more blocks in the flowchart and/or block diagram.

附圖中的流程圖和方塊圖顯示了根據本公開的多個實施例的系統、方法和計算機程式產品的可能實現的體系架構、功能和操作。在這點上,流程圖或方塊圖中的每個方塊可以代表一個模組、程式段或指令的一部分,所述模組、程式段或指令的一部分包含一個或多個用於實現規定的邏輯功能的可執行指令。在有些作為替換的實現中,方框中所標注的功能也可以以不同於附圖中所標注的順序發生。例如,兩個連續的方塊實際上可以基本並行地執行,它們有時也可以按相反的順序執行,這依所涉及的功能而定。也要注意的是,方塊圖和/或流程圖中的每個方塊、以及方塊圖和/或流程圖中的方塊的組合,可以用執行規定的功能或動作的專用的基於硬體的系統來實現,或者可以用專用硬體與計算機指令的組合來實現。The flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions, and operations of systems, methods, and computer program products according to multiple embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, program segment, or part of an instruction, and the module, program segment, or part of an instruction includes one or more logic for implementing the specified Function executable instructions. In some alternative implementations, the functions marked in the block may also occur in a different order from the order marked in the drawings. For example, two consecutive blocks can actually be executed in parallel, or they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and/or flowchart, as well as the combination of blocks in the block diagram and/or flowchart, can be implemented by a dedicated hardware-based system that performs the specified functions or actions. It can be realized, or it can be realized by a combination of dedicated hardware and computer instructions.

以上已經描述了本公開的各實施例,上述說明是示例性的,並非窮盡性的,並且也不限於所披露的各實施例。在不偏離所說明的各實施例的範圍和精神的情況下,對於本技術領域的普通技術人員來說許多修改和變更都是顯而易見的。本文中所用術語的選擇,旨在最好地解釋各實施例的原理、實際應用或對市場中的技術的技術改進,或者使本技術領域的其它普通技術人員能理解本文披露的各實施例。The embodiments of the present disclosure have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Without departing from the scope and spirit of the described embodiments, many modifications and changes are obvious to those of ordinary skill in the art. The choice of terms used herein is intended to best explain the principles, practical applications, or technical improvements of the technologies in the market, or to enable other ordinary skilled in the art to understand the embodiments disclosed herein.

1‧‧‧第一搜索測試頁面11‧‧‧頁面顯示請求接收模組12‧‧‧測試頁面獲取模組13‧‧‧測試頁面拼接模組14‧‧‧第一顯示頁面發送模組15‧‧‧第二顯示頁面發送模組16‧‧‧尺寸獲取模組17‧‧‧引導圖標生成模組18‧‧‧引導圖標發送模組2‧‧‧第二搜索測試頁面21‧‧‧頁面顯示請求發送模組22‧‧‧顯示頁面接收模組23‧‧‧第一顯示模組24‧‧‧第二顯示模組800‧‧‧裝置802‧‧‧處理組件804‧‧‧記憶體806‧‧‧電源組件808‧‧‧多媒體組件810‧‧‧音訊組件812‧‧‧輸入/輸出介面814‧‧‧傳感器組件816‧‧‧通訊組件1900‧‧‧顯示裝置1922‧‧‧處理組件1926‧‧‧電源組件1932‧‧‧記憶體1950‧‧‧網路介面1958‧‧‧輸入輸出介面1‧‧‧First search test page 11‧‧‧Page display request receiving module 12‧‧‧Test page acquisition module 13‧‧‧Test page splicing module 14‧‧‧First display page sending module 15‧ ‧‧Second display page sending module 16‧‧‧Size acquisition module 17‧‧‧Guide icon generation module 18‧‧‧Guide icon sending module 2‧‧‧Second search test page 21‧‧‧Page display Request sending module 22‧‧‧Display page receiving module 23‧‧‧First display module 24‧‧‧Second display module 800‧‧‧Device 802‧‧‧Processing component 804‧‧‧Memory 806‧ ‧‧Power component 808‧‧‧Multimedia component 810‧‧‧Audio component 812‧‧‧Input/output interface 814‧‧‧Sensor component 816‧‧‧Communication component 1900‧‧‧Display device 1922‧‧‧Processing component 1926‧ ‧‧Power assembly 1932‧‧‧Memory 1950‧‧‧Network interface 1958‧‧‧Input and output interface

包含在說明書中並且構成說明書的一部分的附圖與說明書一起示出了本公開的示例性實施例、特徵和方面,並且用於解釋本公開的原理。 圖1示出根據本公開一實施例的頁面的顯示方法的流程圖。 圖2a示出相關技術中的測試頁面進行測試的示意圖。 圖2b示出根據本公開一實施例的測試頁面進行測試的示意圖。 圖3示出根據本公開一實施例的頁面的顯示方法的一示例性的流程圖。 圖4示出根據本公開一實施例的頁面的顯示方法的一示例性的流程圖。 圖5示出根據本公開一實施例的頁面的顯示方法的流程圖。 圖6示出根據本公開一實施例的第一顯示頁面的示意圖。 圖7示出根據本公開一實施例的頁面的顯示方法的一示例性的流程圖。 圖8示出根據本公開一實施例的頁面的顯示裝置的方塊圖。 圖9示出根據本公開一實施例的頁面的顯示裝置的一示例性的方塊圖。 圖10示出根據本公開一實施例的頁面的顯示裝置的方塊圖。 圖11示出根據本公開一實施例的頁面的顯示裝置的一示例性的方塊圖。 圖12是根據一示例性實施例示出的一種用於頁面的顯示裝置800的方塊圖。 圖13是根據一示例性實施例示出的一種用於頁面的顯示裝置1900的方塊圖。The drawings included in the specification and constituting a part of the specification together with the specification illustrate exemplary embodiments, features, and aspects of the present disclosure, and are used to explain the principle of the present disclosure. Fig. 1 shows a flowchart of a method for displaying a page according to an embodiment of the present disclosure. Figure 2a shows a schematic diagram of a test page in the related art for testing. Fig. 2b shows a schematic diagram of a test page for testing according to an embodiment of the present disclosure. Fig. 3 shows an exemplary flowchart of a page display method according to an embodiment of the present disclosure. Fig. 4 shows an exemplary flowchart of a method for displaying a page according to an embodiment of the present disclosure. Fig. 5 shows a flowchart of a method for displaying a page according to an embodiment of the present disclosure. Fig. 6 shows a schematic diagram of a first display page according to an embodiment of the present disclosure. Fig. 7 shows an exemplary flowchart of a page display method according to an embodiment of the present disclosure. Fig. 8 shows a block diagram of a page display device according to an embodiment of the present disclosure. Fig. 9 shows an exemplary block diagram of a page display device according to an embodiment of the present disclosure. Fig. 10 shows a block diagram of a page display device according to an embodiment of the present disclosure. FIG. 11 shows an exemplary block diagram of a page display device according to an embodiment of the present disclosure. Fig. 12 is a block diagram showing a display device 800 for a page according to an exemplary embodiment. Fig. 13 is a block diagram showing a display device 1900 for a page according to an exemplary embodiment.

Claims (12)

一種頁面的顯示方法,其特徵在於,包括:接收來自於終端設備的頁面顯示請求;在檢測到測試模式開啟的情況下,獲取所述頁面顯示請求對應的多個測試頁面,其中,所述測試模式是對多個測試頁面進行測試的工作模式,所述測試頁面是處於測試階段的頁面;將所述多個測試頁面拼接為第一顯示頁面;向所述終端設備發送所述第一顯示頁面;以及在檢測到所述測試模式未開啟的情況下,獲取所述頁面顯示請求對應的第二顯示頁面,並向所述終端設備發送所述第二顯示頁面,其中,所述第二顯示頁面是正常模式下所述頁面顯示請求對應的頁面。 A method for displaying a page, comprising: receiving a page display request from a terminal device; in the case of detecting that the test mode is turned on, acquiring multiple test pages corresponding to the page display request, wherein the test The mode is a working mode for testing multiple test pages, the test page being a page in the testing phase; splicing the multiple test pages into a first display page; sending the first display page to the terminal device And when it is detected that the test mode is not turned on, acquiring the second display page corresponding to the page display request, and sending the second display page to the terminal device, wherein the second display page It is the page corresponding to the page display request in the normal mode. 如請求項1所述的方法,其特徵在於,所述方法還包括:獲取所述終端設備的顯示區域的尺寸;在所述顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,生成引導圖標;以及向所述終端設備發送所述引導圖標。 The method according to claim 1, wherein the method further comprises: acquiring the size of the display area of the terminal device; in the case that the size of the display area is smaller than the size of the first display page, Generating a guide icon; and sending the guide icon to the terminal device. 一種頁面的顯示方法,其特徵在於,包括:向伺服器發送頁面顯示請求;接收所述伺服器根據所述頁面顯示請求返回的第一顯示頁面或第二顯示頁面,所述第一顯示頁面為所述伺服器在檢測到測試模式開啟的情況下由所述頁面顯示請求對應的多個測試頁面拼接生成的頁面,其中,所述測 試模式是對多個測試頁面進行測試的工作模式,所述測試頁面是處於測試階段的頁面,所述第二顯示頁面為所述伺服器在檢測到所述測試模式未開啟的情況下向所述終端設備發送的正常模式下所述顯示請求對應的頁面;以及顯示所述第一顯示頁面或所述第二顯示頁面。 A method for displaying a page, comprising: sending a page display request to a server; receiving a first display page or a second display page returned by the server according to the page display request, the first display page being When the server detects that the test mode is turned on, a page generated by splicing multiple test pages corresponding to the page display request, wherein the test The test mode is a working mode for testing multiple test pages, the test page is a page in the test phase, and the second display page is the server in which the server detects that the test mode is not turned on. The page corresponding to the display request in the normal mode sent by the terminal device; and displaying the first display page or the second display page. 如請求項3所述的方法,其特徵在於,顯示所述第一顯示頁面,包括:在終端設備的顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,顯示所述第一顯示頁面和引導圖標。 The method according to claim 3, wherein displaying the first display page includes: displaying the first display page in a case where the size of the display area of the terminal device is smaller than the size of the first display page Page and guide icon. 如請求項4所述的方法,其特徵在於,所述方法還包括:在所述引導圖標被觸發的情況下,顯示所述第一顯示頁面中的對應於當前未顯示在所述顯示區域中的測試頁面的部分。 The method according to claim 4, wherein the method further comprises: in a case where the guide icon is triggered, displaying the first display page corresponding to the one that is not currently displayed in the display area Section of the test page. 一種頁面的顯示裝置,其特徵在於,包括:頁面顯示請求接收模組,用於接收來自於終端設備的頁面顯示請求;測試頁面獲取模組,用於在檢測到測試模式開啟的情況下,獲取所述頁面顯示請求對應的多個測試頁面,其中,所述測試模式是對多個測試頁面進行測試的工作模式,所述測試頁面是處於測試階段的頁面;測試頁面拼接模組,用於將所述多個測試頁面拼接為第一顯示頁面;第一顯示頁面發送模組,用於向所述終端設備發送 所述第一顯示頁面;以及第二顯示頁面發送模組,在檢測到所述測試模式未開啟的情況下,獲取所述頁面顯示請求對應的第二顯示頁面,並向所述終端設備發送所述第二顯示頁面,其中,所述第二顯示頁面是正常模式下所述頁面顯示請求對應的頁面。 A page display device, which is characterized by comprising: a page display request receiving module, used to receive a page display request from a terminal device; a test page obtaining module, used to obtain when it is detected that the test mode is turned on The page display request corresponds to multiple test pages, where the test mode is a working mode for testing multiple test pages, the test page is a page in the test phase; the test page splicing module is used to combine The multiple test pages are spliced into a first display page; the first display page sending module is used to send to the terminal device The first display page; and the second display page sending module, when it is detected that the test mode is not turned on, acquire the second display page corresponding to the page display request, and send all the pages to the terminal device The second display page, wherein the second display page is a page corresponding to the page display request in a normal mode. 如請求項6所述的裝置,其特徵在於,所述裝置還包括:尺寸獲取模組,用於獲取所述終端設備的顯示區域的尺寸;引導圖標生成模組,用於在所述顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,生成引導圖標;以及引導圖標發送模組,用於向所述終端設備發送所述引導圖標。 The device according to claim 6, characterized in that the device further comprises: a size obtaining module for obtaining the size of the display area of the terminal device; and a guide icon generating module for obtaining the size of the display area When the size of is smaller than the size of the first display page, a guide icon is generated; and a guide icon sending module is used to send the guide icon to the terminal device. 一種頁面的顯示裝置,其特徵在於,包括:頁面顯示請求發送模組,用於向伺服器發送頁面顯示請求;顯示頁面接收模組,用於接收所述伺服器根據所述頁面顯示請求返回的第一顯示頁面或第二顯示頁面,所述第一顯示頁面為所述伺服器在檢測到測試模式開啟的情況下由所述頁面顯示請求對應的多個測試頁面拼接生成的頁面,其中,所述測試模式是對多個測試頁面進行測試的工作模式,所述測試頁面是處於測試階段的頁面,所述第二顯示頁面為所述伺服器在檢測到所述測試 模式未開啟的情況下向所述終端設備發送的正常模式下所述顯示請求對應的頁面;以及第一顯示模組,用於顯示所述第一顯示頁面或所述第二顯示頁面。 A page display device, which is characterized by comprising: a page display request sending module, used to send a page display request to a server; a display page receiving module, used to receive information returned by the server according to the page display request The first display page or the second display page, where the first display page is a page generated by splicing multiple test pages corresponding to the page display request when the server detects that the test mode is turned on, where all The test mode is a working mode for testing multiple test pages, the test page is a page in the test phase, and the second display page is the server when the test page is detected. A page corresponding to the display request in the normal mode sent to the terminal device when the mode is not turned on; and a first display module configured to display the first display page or the second display page. 如請求項8所述的裝置,其特徵在於,所述第一顯示模組用於:在終端設備的顯示區域的尺寸小於所述第一顯示頁面的尺寸的情況下,顯示所述第一顯示頁面和引導圖標。 The apparatus according to claim 8, wherein the first display module is configured to display the first display when the size of the display area of the terminal device is smaller than the size of the first display page Page and guide icon. 如請求項9所述的裝置,其特徵在於,所述裝置還包括:第二顯示模組,用於在所述引導圖標被觸發的情況下,顯示所述第一顯示頁面中的對應於當前未顯示在所述顯示區域中的測試頁面的部分。 The device according to claim 9, characterized in that, the device further comprises: a second display module, configured to display the first display page corresponding to the current display module when the guide icon is triggered The part of the test page that is not displayed in the display area. 一種頁面的顯示裝置,其特徵在於,包括:處理器;用於存儲處理器可執行指令的記憶體;其中,所述處理器被配置為:接收來自於終端設備的頁面顯示請求;在檢測到測試模式開啟的情況下,獲取所述頁面顯示請求對應的多個測試頁面,其中,所述測試模式是對多個測試頁面進行測試的工作模式,所述測試頁面是處於測試階段的頁面;將所述多個測試頁面拼接為第一顯示頁面;向所述終端設備發送所述第一顯示頁面;以及在檢測到所述測試模式未開啟的情況下,獲取所述 頁面顯示請求對應的第二顯示頁面,並向所述終端設備發送所述第二顯示頁面,其中,所述第二顯示頁面是正常模式下所述頁面顯示請求對應的頁面。 A page display device, characterized by comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to: receive a page display request from a terminal device; When the test mode is turned on, obtain multiple test pages corresponding to the page display request, where the test mode is a working mode for testing multiple test pages, and the test page is a page in the testing phase; The multiple test pages are spliced into a first display page; the first display page is sent to the terminal device; and when it is detected that the test mode is not turned on, the A second display page corresponding to the page display request, and the second display page is sent to the terminal device, where the second display page is a page corresponding to the page display request in a normal mode. 一種頁面的顯示裝置,其特徵在於,包括:處理器;用於存儲處理器可執行指令的記憶體;其中,所述處理器被配置為:向伺服器發送頁面顯示請求;接收所述伺服器根據所述頁面顯示請求返回的第一顯示頁面或第二顯示頁面,所述第一顯示頁面為所述伺服器在檢測到測試模式開啟的情況下由所述頁面顯示請求對應的多個測試頁面拼接生成的頁面,其中,所述測試模式是對多個測試頁面進行測試的工作模式,所述測試頁面是處於測試階段的頁面,所述第二顯示頁面為所述伺服器在檢測到所述測試模式未開啟的情況下向所述終端設備發送的正常模式下所述顯示請求對應的頁面;以及顯示所述第一顯示頁面或所述第二顯示頁面。 A page display device, characterized by comprising: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to: send a page display request to a server; receive the server The first display page or the second display page returned according to the page display request, where the first display page is a plurality of test pages corresponding to the page display request when the server detects that the test mode is turned on Splicing generated pages, wherein the test mode is a working mode for testing multiple test pages, the test page is a page in the test phase, and the second display page is the server detecting the Sending the page corresponding to the display request in the normal mode to the terminal device when the test mode is not turned on; and displaying the first display page or the second display page.
TW107107594A 2017-04-12 2018-03-07 Page display method and device TWI708181B (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201710236786.0 2017-04-12
CN201710236786.0A CN107145441B (en) 2017-04-12 2017-04-12 Page display method and device
??201710236786.0 2017-04-12

Publications (2)

Publication Number Publication Date
TW201837697A TW201837697A (en) 2018-10-16
TWI708181B true TWI708181B (en) 2020-10-21

Family

ID=59774794

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107107594A TWI708181B (en) 2017-04-12 2018-03-07 Page display method and device

Country Status (3)

Country Link
CN (1) CN107145441B (en)
TW (1) TWI708181B (en)
WO (1) WO2018188415A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107145441B (en) * 2017-04-12 2020-12-29 阿里巴巴(中国)有限公司 Page display method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978349A (en) * 2014-04-10 2015-10-14 腾讯科技(深圳)有限公司 Display control method, display control device and terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003345697A (en) * 2002-05-27 2003-12-05 Hitachi Ltd Method, apparatus, and storage medium for providing integrated interface
CN102902677B (en) * 2011-07-26 2016-02-03 腾讯科技(深圳)有限公司 browser and browsing method thereof
CN103678307B (en) * 2012-08-31 2016-07-13 腾讯科技(深圳)有限公司 Page display method and client
CN103678393B (en) * 2012-09-20 2018-06-15 腾讯科技(深圳)有限公司 The method and apparatus for obtaining information
CN104978277B (en) * 2015-07-30 2018-12-11 北京百度网讯科技有限公司 For debugging the method, terminal and server of the page
CN107145441B (en) * 2017-04-12 2020-12-29 阿里巴巴(中国)有限公司 Page display method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978349A (en) * 2014-04-10 2015-10-14 腾讯科技(深圳)有限公司 Display control method, display control device and terminal

Also Published As

Publication number Publication date
CN107145441B (en) 2020-12-29
WO2018188415A1 (en) 2018-10-18
TW201837697A (en) 2018-10-16
CN107145441A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
US10891031B2 (en) Method and device for displaying task management interface
US10824333B2 (en) Keyboard display method and device, terminal and storage medium based on a split-screen window state
US10564945B2 (en) Method and device for supporting multi-framework syntax
TW202113680A (en) Method and apparatus for association detection for human face and human hand, electronic device and storage medium
US10489169B2 (en) Method and device for performing subset of functions of application
EP3147802B1 (en) Method and apparatus for processing information
WO2017193526A1 (en) Application interface display method and apparatus
US20180365200A1 (en) Method, device, electric device and computer-readable storage medium for updating page
EP2921969A1 (en) Method and apparatus for centering and zooming webpage and electronic device
TWI684104B (en) Feedback response method and device
US20170308397A1 (en) Method and apparatus for managing task of instant messaging application
CN110989905A (en) Information processing method and device, electronic equipment and storage medium
KR20160032713A (en) Method and apparatus for cursor positioning
US20220137763A1 (en) Small-screen window display method, device and storage medium
CN106790683B (en) Network data display method and device based on mobile terminal
TWI708181B (en) Page display method and device
WO2020020222A1 (en) Play framework, display method, apparatus and storage medium for media content
JP6082842B2 (en) Application list execution method, application list execution device, program, and recording medium
CN113535161A (en) User interface generation method and device
US10423706B2 (en) Method and device for selecting information
CN104111777A (en) Method and device for picture display
US11295505B2 (en) Animation generation using a target animation model and animation state parameters
CN110347394B (en) Software code analysis method and device
US20220228870A1 (en) Function control method, function control apparatus, and storage medium

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees