WO2018188415A1 - 页面的显示方法及装置 - Google Patents
页面的显示方法及装置 Download PDFInfo
- Publication number
- WO2018188415A1 WO2018188415A1 PCT/CN2018/076558 CN2018076558W WO2018188415A1 WO 2018188415 A1 WO2018188415 A1 WO 2018188415A1 CN 2018076558 W CN2018076558 W CN 2018076558W WO 2018188415 A1 WO2018188415 A1 WO 2018188415A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- display
- test
- terminal device
- request
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3668—Software testing
- G06F11/3672—Test management
- G06F11/3688—Test management for test execution, e.g. scheduling of test suites
Definitions
- the present disclosure relates to the field of computer technologies, and in particular, to a method and an apparatus for displaying a page.
- an application developer can design multiple schemes that can implement the same function, and perform public beta on multiple schemes designed to achieve the same function.
- the application developer determines which solution can provide a better user experience based on the usage of the user feedback.
- the above test method reduces the application development efficiency and the iteration cycle frequency, and reduces the chance that the application presents more content to the user.
- a front-end page developer can design two pages that can implement the same function, such as A and B pages, and beta the A and B pages. For example, let some users use the A page and another user to use the B page. Based on the usage of the user feedback, to determine which kind of page can provide a better user experience.
- the present disclosure proposes a method and apparatus for displaying a page to solve the problem of low development efficiency and low iteration cycle frequency caused by the testing method in the related art.
- a method of displaying a page including:
- the method further includes:
- the second display page corresponding to the page display request is obtained, and the second display page is sent to the terminal device.
- the method further includes:
- a method for displaying a page including:
- the first display page is displayed.
- displaying the first display page includes:
- the first display page and the guide icon are displayed in a case where the size of the display area of the terminal device is smaller than the size of the first display page.
- the method further includes:
- a display device for a page including:
- the page display request receiving module is configured to receive a page display request from the terminal device
- test page obtaining module configured to acquire a plurality of test pages corresponding to the page display request when detecting that the test mode is enabled
- test page splicing module configured to splicing the plurality of test pages into a first display page
- the first display page sending module is configured to send the first display page to the terminal device.
- the device further includes:
- a second display page sending module configured to acquire a second display page corresponding to the page display request, and send the second display page to the terminal device, if the test mode is not enabled.
- the device further includes:
- a size obtaining module configured to acquire a size of a display area of the terminal device
- a guiding icon generating module configured to generate a guiding icon if a size of the display area is smaller than a size of the first display page
- a guiding icon sending module configured to send the guiding icon to the terminal device.
- a display device for a page including:
- the page displays a request sending module for sending a page display request to the server
- a display page receiving module configured to receive a first display page returned by the server according to the page display request, where the first display page is a page generated by splicing a plurality of test pages corresponding to the page display request;
- the first display module is configured to display the first display page.
- the first display module is configured to:
- the first display page and the guide icon are displayed in a case where the size of the display area of the terminal device is smaller than the size of the first display page.
- the device further includes:
- a second display module configured to display, in the case that the guiding icon is triggered, a portion of the first display page corresponding to a test page that is not currently displayed in the display area.
- a display device for a page comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
- a non-transitory computer readable storage medium which enables a terminal and/or a server to execute when instructions in the storage medium are executed by a processor of a terminal and/or a server The above method.
- the method and device for displaying a page of the present disclosure by receiving a page display request from the terminal device, acquiring a plurality of test pages corresponding to the page display request, and splicing the plurality of test pages into the first Displaying a page, sending a first display page to the terminal device, thereby expanding the number of users participating in the test, and determining which test page has a better use experience according to the user's usage data, thereby improving application development efficiency and iteration cycle frequency , saving application development costs.
- FIG. 1 illustrates a flow chart of a method of displaying a page according to an embodiment of the present disclosure.
- Fig. 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 in accordance with an embodiment of the present disclosure.
- FIG. 3 illustrates an exemplary flowchart of a method of displaying a page according to an embodiment of the present disclosure.
- FIG. 4 illustrates an exemplary flowchart of a method of displaying a page according to an embodiment of the present disclosure.
- FIG. 5 illustrates a flow chart of a method of displaying a page according to an embodiment of the present disclosure.
- FIG. 6 shows a schematic diagram of a first display page in accordance with an embodiment of the present disclosure.
- FIG. 7 illustrates an exemplary flowchart of a method of displaying a page according to an embodiment of the present disclosure.
- FIG. 8 illustrates a block diagram of a display device of a page in accordance with an embodiment of the present disclosure.
- FIG. 9 illustrates an exemplary block diagram of a display device of a page according to an embodiment of the present disclosure.
- FIG. 10 illustrates a block diagram of a display device of a page according to an embodiment of the present disclosure.
- FIG. 11 illustrates an exemplary block diagram of a display device of a page according to an embodiment of the present disclosure.
- FIG. 12 is a block diagram of a display device 800 for a page, according to an exemplary embodiment.
- FIG. 13 is a block diagram of a display device 1900 for a page, according to an exemplary embodiment.
- FIG. 1 illustrates a flow chart of a method of displaying a page according to an embodiment of the present disclosure.
- the display method of this page can be used in the server, and is not limited herein.
- the display method of the page includes:
- step S101 a page display request from the terminal device is received.
- the terminal device may be a smart phone, a tablet computer, or a computer, and is not limited herein.
- the server receives the page display request from the terminal device, the page display request may be analyzed, and JSON (JavaScript Object Notation, JavaScript Object Markup Language) data and a picture resource corresponding to the page display request may be acquired.
- JSON JavaScript Object Notation, JavaScript Object Markup Language
- step S102 when it is detected that the test mode is on, a plurality of test pages corresponding to the page display request are acquired.
- the test mode may refer to a working mode in which multiple test pages are tested. When the test mode is on, it can work according to the preset logic of the test mode. When the test mode is off, it can work according to the preset logic of the normal mode. For example, you can set the test mode in the server. By setting the test mode in the server, the working logic of the application on the terminal device can be controlled by the server, which is helpful for management, testing and upgrade of the application.
- test page can refer to the page in the test phase.
- multiple test pages can be designed for the same function or similar functions, and depending on the usage of the user feedback, which page or pages can provide a better experience, thereby applying a page with a better experience to normal In mode.
- step S103 a plurality of test pages are spliced into a first display page.
- the two test pages corresponding to the page display request, the first test page and the second test page are acquired.
- the second test page is spliced below the first test page to generate a first display page, or the second test page is spliced above the first test page to generate a first display page.
- the two test pages corresponding to the page display request, the first test page and the second test page are acquired.
- the second test page is spliced to the right of the first test page to generate a first display page, or the second test page is spliced to the left of the first test page to generate a first display page.
- test page can be randomly arranged and which test page is below
- preferred test page can be spliced at the upper portion to increase its use by the user. probability.
- step S104 the first display page is transmitted to the terminal device.
- Fig. 2a shows a schematic diagram of a test page in the related art for testing.
- the user can enter the A page through the portal, and may also enter the B page through the portal.
- the test method if the A page and the test B page are respectively tested by the same batch of users, the user needs to perform two tests, which causes waste of traffic and is inconvenient to operate.
- 2b shows a schematic diagram of a test page for testing in accordance with an embodiment of the present disclosure.
- the user can enter the page spliced by the A page and the B page through the portal. Under this kind of test method, only one test is required by the user, which can save traffic.
- the entry may be a control, an icon or a link, etc.
- the A page and the B page may be two pages having the same function or similar functions.
- the method for displaying the page in this embodiment is to splicing the plurality of test pages corresponding to the page display request into the first display page, and sending the first display page 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 experience, which improves application development efficiency and iteration cycle frequency, saving application development costs.
- FIG. 3 illustrates an exemplary flowchart of a method of displaying a page according to an embodiment of the present disclosure. As shown in FIG. 3, the display method of the page includes:
- step S301 a page display request from the terminal device is received.
- step S101 A description of this step can be found in step S101.
- step S302 it is determined whether the test mode is on. When it is detected that the test mode is on, step S303 is performed, and if it is detected that the test mode is not on, step S306 is performed.
- step S303 a plurality of test pages corresponding to the page display request are acquired.
- step S102 A description of this step can be found in step S102.
- step S304 a plurality of test pages are spliced into a first display page.
- step S103 A description of this step can be found in step S103.
- step S305 the first display page is transmitted to the terminal device.
- step S104 A description of this step can be found in step S104.
- step S306 a second display page corresponding to the page display request is obtained.
- step S307 the second display page is transmitted to the terminal device.
- the second display page may be in a normal mode, and the page displays a page corresponding to the request.
- the user clicks on the link corresponding to the search icon in the application 1 on the smartphone, whereby the smartphone transmits a page display request of the search page to the server corresponding to the application 1.
- the server receives the page display request from the search page of the smart phone, and if it detects that the test mode is not turned on, obtains a search page corresponding to the page display request of the search page, and sends the search page to the smart phone.
- the test mode In the case that the test mode is enabled, the plurality of 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. In the case that the test mode is not enabled, 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 simple and convenient to flexibly set the test mode to be turned on or off according to the test requirements. It can easily realize the test of the page without affecting the normal use of the user, thereby improving the research and development efficiency and the iteration cycle frequency of the application, and saving the research and development cost of the application.
- FIG. 4 illustrates an exemplary flowchart of a method of displaying a page according to an embodiment of the present disclosure. As shown in FIG. 4, the display method of the page includes:
- step S401 a page display request from the terminal device is received.
- step S101 A description of this step can be found in step S101.
- step S402 when it is detected that the test mode is on, a plurality of test pages corresponding to the page display request are acquired.
- step S102 A description of this step can be found in step S102.
- step S403 a plurality of test pages are spliced into a first display page.
- step S103 A description of this step can be found in step S103.
- step S404 the size of the display area of the terminal device is acquired.
- 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.
- step S406 the first display page and the guide icon are transmitted to the terminal device.
- the size of the display area may refer to the height dimension or the width dimension of the display area
- the size of the first display page may refer to the height or width dimension of the first display page, which is not limited herein.
- the terminal device is displayed in a vertical screen
- 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.
- 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.
- the height dimension of the acquiring terminal device is 127 mm
- the first height dimension of the first display page is 160 mm
- the size of the display region is smaller than the first display.
- the server generates a boot icon and sends the first display page and the boot icon to the terminal device.
- the guide icon may refer to an icon having a page guiding function.
- the size of the terminal device can be obtained by the prior art, for example, by the model of the terminal device, and the disclosure does not limit this.
- FIG. 5 illustrates a flow chart of a method of displaying a page according to an embodiment of the present disclosure.
- the display method of the page can be used in a terminal device such as a smart phone, a tablet computer or a computer, and is not limited herein.
- the display method of the page includes:
- step S501 a page display request is sent to the server.
- the user can trigger the terminal device to send a page display request to the server through a preset button or a touch screen on the terminal device.
- the user clicks on the icon corresponding to the application 1 on the smartphone, and the application 1 starts up and runs in the foreground, whereby the smart phone sends a page display request of the first page to the server corresponding to the application 1.
- step S502 the receiving server returns a first display page according to the page display request, and the first display page is a page generated by splicing a plurality of test pages corresponding to the page display request.
- step S503 the first display page is displayed.
- FIG. 6 shows a schematic diagram of a first display page in accordance with an embodiment of the present disclosure.
- two test pages a first search test page 1 and a second search test page 2
- the user clicks on the link corresponding to the search icon in the application 1 on the smartphone, whereby the smart phone sends a page display request of the search page to the server corresponding to the application 1.
- the server receives the page display request from the search page of the smart phone, and when detecting that the test mode is enabled, acquires 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.
- the smart phone displays the first display page when receiving the first display page.
- the method for displaying the page in this embodiment is to splicing the plurality of test pages corresponding to the page display request into the first display page, and displaying the first display page 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 experience, which improves application development efficiency and iteration cycle frequency, saving application development costs.
- FIG. 7 illustrates an exemplary flowchart of a method of displaying a page according to an embodiment of the present disclosure. As shown in FIG. 7, the display method of the page includes:
- step S701 a page display request is sent to the server.
- step S702 the receiving server returns a first display page according to the page display request, and the first display page is a page generated by splicing a plurality of test pages corresponding to the page display request.
- step S703 in a case where 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.
- the method further includes: displaying, in the case that the guiding icon is triggered, a portion of the first display page corresponding to the test page not currently displayed in the display area.
- the guide icon may refer to an icon having a page guiding function.
- the guide icon may be an icon composed of text, an icon composed of a picture, or an icon composed of a character and a picture.
- the embodiment does not limit the display position of the guide icon, for example, may be displayed at the lower left corner or the lower right corner of the first display page, or may be displayed at any position of the first display page according to the user's drag.
- the boot icon may be generated by the server and sent to the terminal device, and displayed together with the first display page, or may be generated locally at the terminal device, for example, when 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. Underneath, a boot icon can be generated and displayed.
- the height dimension of the acquiring terminal device is 127 mm
- the first height dimension of the first display page is 160 mm
- the size of the display region is smaller than the first display.
- the server or terminal device generates a boot icon.
- the guide icon may be an icon composed of the words "Try it ⁇ " and a cartoon picture, which is displayed in the lower right corner of the first display page.
- the display area of the terminal device may display a portion of the test page that is not currently displayed in the display area.
- the first display page includes a first search test page 1 and a second search test page 2.
- the display area of the smartphone currently displays all of the first search test page 1 and the second search test page 2.
- the display area of the smart phone can display all of the second search test page 2, for example, the first display page can be moved up to expose the second search test page 2. All. Thereby, the fast switching of multiple test pages can be realized, the exposure rate of each test page is improved, and each test page has a test opportunity, thereby improving the accuracy of the test.
- FIG. 8 illustrates a block diagram of a display device of a page in accordance with an embodiment of the present disclosure. As shown in FIG. 8, the display device of the page includes:
- the page display request receiving module 11 is configured to receive a page display request from the terminal device, and the test page obtaining module 12 is configured to acquire a plurality of test pages corresponding to the page display request when detecting that the test mode is enabled;
- the test page splicing module 13 is configured to splicing the plurality of test pages into a first display page.
- the first display page sending module 14 is configured to send the first display page to the terminal device.
- FIG. 9 illustrates an exemplary block diagram of a display device of a page according to an embodiment of the present disclosure. As shown in Figure 9:
- the device further includes: a second display page sending module 15 configured to acquire a second display page corresponding to the page display request, if the test mode is not turned on, and Sending the second display page to the terminal device.
- a second display page sending module 15 configured to acquire a second display page corresponding to the page display request, if the test mode is not turned on, and Sending the second display page to the terminal device.
- the device further includes: a size obtaining module 16 configured to acquire a size of a display area of the terminal device; and a guiding icon generating module 17 configured to use a size smaller than the size of the display area In the case of describing the size of the first display page, a guide icon is generated; the guide icon transmitting module 18 is configured to send the guide icon to the terminal device.
- the display device of the page of the embodiment can splicing the plurality of test pages corresponding to the page display request into the first display page, and send the first display page to the terminal device, thereby expanding the number of users participating in the test, and according to the user Use data to determine which test page has a better experience, which improves application development efficiency and iteration cycle frequency, saving application development costs.
- FIG. 10 illustrates a block diagram of a display device of a page according to an embodiment of the present disclosure. As shown in FIG. 10, the display device of the page includes:
- the page display request sending module 21 is configured to send a page display request to the server;
- the display page receiving module 22 is configured to receive the first display page returned by the server according to the page display request, where the first display page is The page displays the page generated by the splicing of the plurality of test pages corresponding to the request;
- the first display module 23 is configured to display the first display page.
- FIG. 11 illustrates an exemplary block diagram of a display device of a page according to an embodiment of the present disclosure. As shown in Figure 11:
- the first display module 23 is configured to display the first display page and the guiding icon if the size of the display area of the terminal device is smaller than the size of the first display page. .
- the device further includes: a second display module 24, configured to display, in the case that the guiding icon is triggered, that the first display page corresponds to the current not displayed The portion of the test page in the display area.
- the display device of the page of the embodiment can display the first display page on the terminal device by splicing the plurality of test pages corresponding to the page display request into the first display page, 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 experience, which improves application development efficiency and iteration cycle frequency, saving application development costs.
- FIG. 12 is a block diagram of a display device 800 for a page, according to an exemplary embodiment.
- device 800 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- apparatus 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, And a communication component 816.
- Processing component 802 typically controls the overall operation of device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 802 can include one or more processors 820 to execute instructions to perform all or part of the steps of the above described methods.
- processing component 802 can include one or more modules to facilitate interaction between component 802 and other components.
- processing component 802 can include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
- Memory 804 is configured to store various types of data to support operation at device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 804 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Electrically erasable programmable read only memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 806 provides power to various components of device 800.
- Power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 800.
- the multimedia component 808 includes a screen between the device 800 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- 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 and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 810 is configured to output and/or input an audio signal.
- the audio component 810 includes a microphone (MIC) that is configured to receive an external audio signal when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 804 or transmitted via communication component 816.
- the audio component 810 also includes a speaker for outputting an audio signal.
- the I/O interface 812 provides an interface between the processing component 802 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 814 includes one or more sensors for providing device 800 with a status assessment of various aspects.
- sensor assembly 814 can detect an open/closed state of device 800, relative positioning of components, such as the display and keypad of device 800, and sensor component 814 can also detect a change in position of one component of device 800 or device 800. The presence or absence of user contact with device 800, device 800 orientation or acceleration/deceleration, and temperature variation of device 800.
- Sensor assembly 814 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor assembly 814 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 816 is configured to facilitate wired or wireless communication between 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.
- communication component 816 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication.
- NFC near field communication
- 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.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), controller, microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing devices
- PLDs programmable logic devices
- FPGA field programmable A gate array
- controller microcontroller, microprocessor, or other electronic component implementation for performing the above methods.
- a non-transitory computer readable storage medium comprising instructions, such as a memory 804 comprising instructions executable by processor 820 of apparatus 800 to perform the above method.
- FIG. 13 is a block diagram of a display device 1900 for a page, according to an exemplary embodiment.
- device 1900 can be provided as a server.
- apparatus 1900 includes a processing component 1922 that further includes one or more processors, and memory resources represented by memory 1932 for storing instructions executable by processing component 1922, such as an application.
- An application stored in memory 1932 can include one or more modules each corresponding to a set of instructions.
- processing component 1922 is configured to execute instructions to perform the methods described above.
- Apparatus 1900 can also include a power supply component 1926 configured to perform power management of apparatus 1900, a wired or wireless network interface 1950 configured to connect apparatus 1900 to the network, and an input/output (I/O) interface 1958.
- Device 1900 can operate based on an operating system stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
- a non-transitory computer readable storage medium comprising instructions, such as a memory 1932 comprising instructions executable by processing component 1922 of apparatus 1900 to perform the above method.
- the present disclosure can be a system, method, and/or computer program product.
- the computer program product can comprise a computer readable storage medium having computer readable program instructions embodied thereon for causing a processor to implement various aspects of the present disclosure.
- the computer readable storage medium can be a tangible device that can hold and store the instructions used by the instruction execution device.
- the computer readable storage medium can 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.
- Non-exhaustive list of computer readable storage media include: portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable 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), memory stick, floppy disk, mechanical encoding device, for example, with instructions stored thereon A raised structure in the hole card or groove, and any suitable combination of the above.
- a computer readable storage medium as used herein is not to be interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (eg, a light pulse through a fiber optic cable), or through a wire The electrical signal transmitted.
- 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 over 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, fiber optic transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, and/or edge servers.
- a 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 for storage in a computer readable storage medium in each computing/processing device .
- Computer program instructions for performing 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 in one or more programming languages.
- Source code or object code written in any combination including object oriented programming languages such as Smalltalk, C++, etc., as well as conventional procedural programming languages such as the "C" language or similar programming languages.
- the computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer, partly on the remote computer, or entirely on the remote computer or server. carried out.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or wide area network (WAN), or can be connected to an external computer (eg, using an Internet service provider to access the Internet) connection).
- the customized electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), can be customized by utilizing state information of computer readable program instructions.
- Computer readable program instructions are executed to implement various aspects of the present disclosure.
- the computer readable program instructions can be provided to a general purpose computer, a special purpose computer, or a processor of other programmable data processing apparatus to produce a machine such that when executed by a processor of a computer or other programmable data processing apparatus Means for implementing the functions/acts specified in one or more of the blocks of the flowcharts and/or block diagrams.
- the computer readable program instructions can also be stored in a computer readable storage medium that causes the computer, programmable data processing device, and/or other device to operate in a particular manner, such that the computer readable medium storing the instructions includes An article of manufacture that includes instructions for implementing various aspects of the functions/acts recited in one or more of the flowcharts.
- the computer readable program instructions can also be loaded onto a computer, other programmable data processing device, or other device to perform a series of operational steps on a computer, other programmable data processing device or other device to produce a computer-implemented process.
- instructions executed on a computer, other programmable data processing apparatus, or other device implement the functions/acts recited in one or more of the flowcharts and/or block diagrams.
- each block in the flowchart or block diagram can represent a module, a program segment, or a portion of an instruction that includes one or more components for implementing the specified logical functions.
- Executable instructions can also occur in a different order than those illustrated in the drawings. For example, two consecutive blocks may be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts can be implemented in a dedicated hardware-based system that performs the specified function or function. Or it can be implemented by a combination of dedicated hardware and computer instructions.
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
一种页面的显示方法及装置。该页面的显示方法包括:接收来自于终端设备的页面显示请求(S101);在检测到测试模式开启的情况下,获取页面显示请求对应的多个测试页面(S102);将多个测试页面拼接为第一显示页面(S103);向终端设备发送第一显示页面(S104)。页面的显示方法及装置能够扩大参与测试的用户数量,并根据用户的使用数据确定哪个测试页面具有更好的使用体验,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
Description
交叉引用
本申请主张2017年4月12日提交的中国专利申请号为201710236786.0的优先权,其全部内容通过引用包含于此。
本公开涉及计算机技术领域,尤其涉及一种页面的显示方法及装置。
相关技术中,应用开发人员可以设计能够实现同一个功能的多个方案,并对所设计的能够实现同一个功能的多个方案进行公测。应用开发人员根据用户反馈的使用情况,从而确定哪一种方案能够给用户提供更好的使用体验。采用上述测试方法降低了应用的开发效率和迭代周期频率,同时减少了应用给用户呈现更多内容的机会。
举例而言,前端页面开发人员可以设计能够实现同一个功能的两个页面,例如A页面和B页面,并对A页面和B页面进行公测。例如,让一部分用户使用A页面,让另一部分用户使用B页面。根据用户反馈的使用情况,从而确定哪一种页面能够给用户提供更好的使用体验。
发明内容
有鉴于此,本公开提出了一种页面的显示方法及装置,以解决相关技术中测试方法造成的应用的开发效率和迭代周期频率较低的问题。
根据本公开的第一方面,提供了一种页面的显示方法,包括:
接收来自于终端设备的页面显示请求;
在检测到测试模式开启的情况下,获取所述页面显示请求对应的多个测试页面;
将所述多个测试页面拼接为第一显示页面;
向所述终端设备发送所述第一显示页面。
在一种可能的实现方式中,所述方法还包括:
在检测到测试模式未开启的情况下,获取所述页面显示请求对应的第二显示页面,并向所述终端设备发送所述第二显示页面。
在一种可能的实现方式中,所述方法还包括:
获取所述终端设备的显示区域的尺寸;
在所述显示区域的尺寸小于所述第一显示页面的尺寸的情况下,生成引导图标;
向所述终端设备发送所述引导图标。
根据本公开的第二方面,提供了一种页面的显示方法,包括:
向服务器发送页面显示请求;
接收所述服务器根据所述页面显示请求返回的第一显示页面,所述第一显示页面为 由所述页面显示请求对应的多个测试页面拼接生成的页面;
显示所述第一显示页面。
在一种可能的实现方式中,显示所述第一显示页面,包括:
在终端设备的显示区域的尺寸小于所述第一显示页面的尺寸的情况下,显示所述第一显示页面和引导图标。
在一种可能的实现方式中,所述方法还包括:
在所述引导图标被触发的情况下,显示所述第一显示页面中的对应于当前未显示在所述显示区域中的测试页面的部分。
根据本公开的第三方面,提供了一种页面的显示装置,包括:
页面显示请求接收模块,用于接收来自于终端设备的页面显示请求;
测试页面获取模块,用于在检测到测试模式开启的情况下,获取所述页面显示请求对应的多个测试页面;
测试页面拼接模块,用于将所述多个测试页面拼接为第一显示页面;
第一显示页面发送模块,用于向所述终端设备发送所述第一显示页面。
在一种可能的实现方式中,所述装置还包括:
第二显示页面发送模块,用于在检测到测试模式未开启的情况下,获取所述页面显示请求对应的第二显示页面,并向所述终端设备发送所述第二显示页面。
在一种可能的实现方式中,所述装置还包括:
尺寸获取模块,用于获取所述终端设备的显示区域的尺寸;
引导图标生成模块,用于在所述显示区域的尺寸小于所述第一显示页面的尺寸的情况下,生成引导图标;
引导图标发送模块,用于向所述终端设备发送所述引导图标。
根据本公开的第四方面,提供了一种页面的显示装置,包括:
页面显示请求发送模块,用于向服务器发送页面显示请求;
显示页面接收模块,用于接收所述服务器根据所述页面显示请求返回的第一显示页面,所述第一显示页面为由所述页面显示请求对应的多个测试页面拼接生成的页面;
第一显示模块,用于显示所述第一显示页面。
在一种可能的实现方式中,所述第一显示模块用于:
在终端设备的显示区域的尺寸小于所述第一显示页面的尺寸的情况下,显示所述第一显示页面和引导图标。
在一种可能的实现方式中,所述装置还包括:
第二显示模块,用于在所述引导图标被触发的情况下,显示所述第一显示页面中的对应于当前未显示在所述显示区域中的测试页面的部分。
根据本公开的第五方面,提供了一种页面的显示装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为执行上述方法。
根据本公开的第六方面,提供了一种非易失性计算机可读存储介质,当所述存储介质中的指令由终端和/或服务器的处理器执行时,使得终端和/或服务器能够执行上述方法。
本公开的页面的显示方法及装置,通过接收来自于终端设备的页面显示请求,在检测到测试模式开启的情况下,获取页面显示请求对应的多个测试页面,将多个测试页面拼接为第一显示页面,向终端设备发送第一显示页面,由此能够扩大参与测试的用户数量,并根据用户的使用数据确定哪个测试页面具有更好的使用体验,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。
包含在说明书中并且构成说明书的一部分的附图与说明书一起示出了本公开的示例性实施例、特征和方面,并且用于解释本公开的原理。
图1示出根据本公开一实施例的页面的显示方法的流程图。
图2a示出相关技术中的测试页面进行测试的示意图。
图2b示出根据本公开一实施例的测试页面进行测试的示意图。
图3示出根据本公开一实施例的页面的显示方法的一示例性的流程图。
图4示出根据本公开一实施例的页面的显示方法的一示例性的流程图。
图5示出根据本公开一实施例的页面的显示方法的流程图。
图6示出根据本公开一实施例的第一显示页面的示意图。
图7示出根据本公开一实施例的页面的显示方法的一示例性的流程图。
图8示出根据本公开一实施例的页面的显示装置的框图。
图9示出根据本公开一实施例的页面的显示装置的一示例性的框图。
图10示出根据本公开一实施例的页面的显示装置的框图。
图11示出根据本公开一实施例的页面的显示装置的一示例性的框图。
图12是根据一示例性实施例示出的一种用于页面的显示装置800的框图。
图13是根据一示例性实施例示出的一种用于页面的显示装置1900的框图。
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说明的任何实施例不必解释为优于或好于其它实施例。
另外,为了更好的说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。
图1示出根据本公开一实施例的页面的显示方法的流程图。该页面的显示方法可用于服务器中,在此不作限制。如图1所示,该页面的显示方法包括:
在步骤S101中,接收来自于终端设备的页面显示请求。
其中,终端设备可以为智能手机、平板电脑或计算机等,在此不作限制。在服务器接收到来自于终端设备的页面显示请求的情况下,可对该页面显示请求进行解析,获取该页面显示请求对应的JSON(JavaScript Object Notation,JavaScript对象标记语言)数据和图片资源等。
在步骤S102中,在检测到测试模式开启的情况下,获取该页面显示请求对应的多个测试页面。
其中,测试模式可以指对多个测试页面进行测试的工作模式。在测试模式开启的情况下,可以根据测试模式的预设逻辑进行工作,在测试模式关闭的情况下,可以根据正常模式的预设逻辑进行工作。例如,可以在服务器中设置测试模式。采用在服务器中设置测试模式的方法,可以实现通过服务器控制终端设备上的应用的工作逻辑,有助于应用的管理、测试和升级。
其中,测试页面可以指处于测试阶段的页面。例如,可以针对相同功能或相似功能设计多个测试页面,并根据用户反馈的使用情况确定哪一个或哪一些页面能够提供更好的使用体验,从而将具有更好的使用体验的页面应用到正常模式中。
在步骤S103中,将多个测试页面拼接为第一显示页面。
作为本实施例的一个示例,在检测到测试模式开启的情况下,获取页面显示请求对应的两个测试页面,第一测试页面和第二测试页面。在第一测试页面的下方拼接第二测试页面,生成第一显示页面,或在第一测试页面的上方拼接第二测试页面,生成第一显示页面。
作为本实施例的另一个示例,在检测到测试模式开启的情况下,获取页面显示请求对应的两个测试页面,第一测试页面和第二测试页面。在第一测试页面的右方拼接第二测试页面,生成第一显示页面,或在第一测试页面的左方拼接第二测试页面,生成第一显示页面。
需要说明的是,尽管以上下拼接和左右拼接作为示例介绍了将两个测试页面拼接为 第一显示页面如上,但本领域技术人员应当能够理解,本公开应不限于此。本领域技术人员可以根据实际应用场景灵活设置本实施例的将多个测试页面拼接为第一显示页面的方法。本公开不限制测试页面的数量。并且,本公开不限制拼接时测试页面之间的位置关系,例如,可随机安排哪个测试页面在上,哪个测试页面在下,也可将优选的测试页面拼接在上部,以增加其被用户使用的几率。
在步骤S104中,向终端设备发送第一显示页面。
图2a示出相关技术中的测试页面进行测试的示意图。如图2a所示,针对一个入口,用户可以通过该入口进入A页面,也可能通过该入口进入B页面。在该种测试方法下,若通过同一批用户分别测试A页面和测试B页面,则需要用户进行两次测试,造成流量的浪费且操作不便捷。图2b示出根据本公开一实施例的测试页面进行测试的示意图。如图2b所示,针对一个入口,用户可以通过该入口进入由A页面和B页面拼接成的页面。在该种测试方法下,则只需要用户进行一次测试,能够节省流量。其中,入口可以为控件、图标或链接等,A页面和B页面可以是两个具有相同功能或相似功能页面。
本实施例的页面的显示方法,通过将页面显示请求对应的多个测试页面拼接为第一显示页面,向终端设备发送第一显示页面,由此能够扩大参与测试的用户数量,并根据用户的使用数据确定哪个测试页面具有更好的使用体验,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
图3示出根据本公开一实施例的页面的显示方法的一示例性的流程图。如图3所示,该页面的显示方法包括:
在步骤S301中,接收来自于终端设备的页面显示请求。
对该步骤的描述可以参见步骤S101。
在步骤S302中,判断测试模式是否开启,在检测到测试模式开启的情况下,执行步骤S303,在检测到测试模式未开启的情况下,执行步骤S306。
在步骤S303中,获取该页面显示请求对应的多个测试页面。
对该步骤的描述可以参见步骤S102。
在步骤S304中,将多个测试页面拼接为第一显示页面。
对该步骤的描述可以参见步骤S103。
在步骤S305中,向终端设备发送第一显示页面。
对该步骤的描述可以参见步骤S104。
在步骤S306中,获取该页面显示请求对应的第二显示页面。
在步骤S307中,向终端设备发送第二显示页面。
其中,第二显示页面可以为正常模式下,页面显示请求对应的页面。作为本实施例的一个示例,用户点击智能手机上应用1中搜索图标对应的链接,由此智能手机向应用1 对应的服务器发送搜索页面的页面显示请求。服务器接收来自于智能手机的搜索页面的页面显示请求,在检测到测试模式未开启的情况下,获取搜索页面的页面显示请求对应的搜索页面,并向智能手机发送该搜索页面。
本实施例的页面的显示方法,在测试模式开启的情况下,通过将页面显示请求对应的多个测试页面拼接为第一显示页面,并向终端设备发送第一显示页面。而在测试模式未开启的情况下,直接获取页面显示请求对应的第二显示页面,并向终端设备发送第二显示页面。由此能够根据测试需求,灵活地设置测试模式的开启或关闭,简单便捷。在不影响用户正常使用的情况下,容易实现页面的测试,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
图4示出根据本公开一实施例的页面的显示方法的一示例性的流程图。如图4所示,该页面的显示方法包括:
在步骤S401中,接收来自于终端设备的页面显示请求。
对该步骤的描述可以参见步骤S101。
在步骤S402中,在检测到测试模式开启的情况下,获取该页面显示请求对应的多个测试页面。
对该步骤的描述可以参见步骤S102。
在步骤S403中,将多个测试页面拼接为第一显示页面。
对该步骤的描述可以参见步骤S103。
在步骤S404中,获取终端设备的显示区域的尺寸。
在步骤S405中,在显示区域的尺寸小于第一显示页面的尺寸的情况下,生成引导图标。
在步骤S406中,向终端设备发送第一显示页面和引导图标。
其中,显示区域的尺寸可以指显示区域的高度尺寸或宽度尺寸,第一显示页面的尺寸可以指第一显示页面的高度或宽度尺寸,在此不作限制。例如,在终端设备为竖屏显示的情况下,获取终端设备的高度尺寸,并获取第一显示页面的第一高度尺寸或者第一宽度尺寸。再例如,在终端设备为横屏显示的情况下,获取终端设备的宽度尺寸,并获取第一显示页面的第二高度尺寸或者第二宽度尺寸。
作为本实施例的一个示例,在终端设备为竖屏显示的情况下,获取终端设备的高度尺寸为127mm,并获取第一显示页面的第一高度尺寸为160mm,显示区域的尺寸小于第一显示页面的尺寸,则服务器生成引导图标,并向终端设备发送第一显示页面和引导图标。其中,引导图标可以指具有页面引导作用的图标。
终端设备的尺寸可以通过现有技术获得,例如通过终端设备的型号获得,本公开对此不做限制。
图5示出根据本公开一实施例的页面的显示方法的流程图。该页面的显示方法可用于智能手机、平板电脑或计算机等终端设备中,在此不作限制。如图5所示,该页面的显示方法包括:
在步骤S501中,向服务器发送页面显示请求。
用户可以通过终端设备上的预设按钮或触摸屏触发终端设备向服务器发送页面显示请求。例如,用户点击智能手机上应用1对应的图标,应用1启动并在前台运行,由此智能手机向应用1对应的服务器发送首页的页面显示请求。再例如,用户点击智能手机上应用1中视频1对应的链接,由此智能手机向应用1对应的服务器发送视频1播放页面的页面显示请求。
在步骤S502中,接收服务器根据该页面显示请求返回的第一显示页面,第一显示页面为由该页面显示请求对应的多个测试页面拼接生成的页面。
在步骤S503中,显示第一显示页面。
图6示出根据本公开一实施例的第一显示页面的示意图。作为本实施例的一个示例,如图6所示,可以针对搜索功能设计两个测试页面,第一搜索测试页面1和第二搜索测试页面2。用户点击智能手机上应用1中搜索图标对应的链接,由此智能手机向应用1对应的服务器发送搜索页面的页面显示请求。服务器接收来自于智能手机的搜索页面的页面显示请求,在检测到测试模式开启的情况下,获取搜索页面的页面显示请求对应的第一搜索测试页面1和第二搜索测试页面2。服务器将第一搜索测试页面1和第二搜索测试页面2拼接为第一显示页面,并向智能手机发送第一显示页面。智能手机在接收到第一显示页面的情况下,显示第一显示页面。
本实施例的页面的显示方法,通过将页面显示请求对应的多个测试页面拼接为第一显示页面,在终端设备显示第一显示页面,由此能够扩大参与测试的用户数量,并根据用户的使用数据确定哪个测试页面具有更好的使用体验,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
图7示出根据本公开一实施例的页面的显示方法的一示例性的流程图。如图7所示,该页面的显示方法包括:
在步骤S701中,向服务器发送页面显示请求。
在步骤S702中,接收服务器根据该页面显示请求返回的第一显示页面,第一显示页面为由该页面显示请求对应的多个测试页面拼接生成的页面。
在步骤S703中,在终端设备的显示区域的尺寸小于第一显示页面的尺寸的情况下,显示第一显示页面和引导图标。
在一种可能的实现方式中,该方法还包括:在引导图标被触发的情况下,显示第一显示页面中的对应于当前未显示在显示区域中的测试页面的部分。
其中,引导图标可以指具有页面引导作用的图标。例如,引导图标可以为由文字构成的图标,也可以为由图片构成的图标,还可以为由文字和图片构成的图标。本实施例不限制引导图标的显示位置,例如可以显示在第一显示页面的左下角或右下角,也可以根据用户的拖动而显示在第一显示页面的任意位置。
引导图标可以由服务器生成并发送至终端设备,随第一显示页面一起显示,也可以在终端设备本地生成,例如终端设备在检测到终端设备的显示区域的尺寸小于第一显示页面的尺寸的情况下,可生成并显示引导图标。
作为本实施例的一个示例,在终端设备为竖屏显示的情况下,获取终端设备的高度尺寸为127mm,并获取第一显示页面的第一高度尺寸为160mm,显示区域的尺寸小于第一显示页面的尺寸,则服务器或终端设备生成引导图标。如图6所示,引导图标可以为由文字“点我试试~”和卡通图片构成的图标,显示在第一显示页面的右下角。
在用户触发引导图标的情况下,终端设备的显示区域可以显示当前未显示在显示区域中的测试页面的部分。例如,如图6所示,第一显示页面包括第一搜索测试页面1和第二搜索测试页面2。智能手机的显示区域当前显示第一搜索测试页面1的全部和第二搜索测试页面2的部分。在用户触发引导图标“点我试试”的情况下,智能手机的显示区域可以显示第二搜索测试页面2的全部,例如可将第一显示页面上移,以露出第二搜索测试页面2的全部。由此可以实现多个测试页面的快速切换,提高各个测试页面的曝光率,使得各个测试页面均具有测试机会,提高测试的准确率。
图8示出根据本公开一实施例的页面的显示装置的框图。如图8所示,该页面的显示装置包括:
页面显示请求接收模块11,用于接收来自于终端设备的页面显示请求;测试页面获取模块12,用于在检测到测试模式开启的情况下,获取所述页面显示请求对应的多个测试页面;测试页面拼接模块13,用于将所述多个测试页面拼接为第一显示页面;第一显示页面发送模块14,用于向所述终端设备发送所述第一显示页面。
图9示出根据本公开一实施例的页面的显示装置的一示例性的框图。如图9所示:
在一种可能的实现方式中,所述装置还包括:第二显示页面发送模块15,用于在检测到测试模式未开启的情况下,获取所述页面显示请求对应的第二显示页面,并向所述终端设备发送所述第二显示页面。
在一种可能的实现方式中,所述装置还包括:尺寸获取模块16,用于获取所述终端设备的显示区域的尺寸;引导图标生成模块17,用于在所述显示区域的尺寸小于所述第一显示页面的尺寸的情况下,生成引导图标;引导图标发送模块18,用于向所述终端设备发送所述引导图标。
本实施例的页面的显示装置,通过将页面显示请求对应的多个测试页面拼接为第一 显示页面,向终端设备发送第一显示页面,由此能够扩大参与测试的用户数量,并根据用户的使用数据确定哪个测试页面具有更好的使用体验,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
图10示出根据本公开一实施例的页面的显示装置的框图。如图10所示,该页面的显示装置包括:
页面显示请求发送模块21,用于向服务器发送页面显示请求;显示页面接收模块22,用于接收所述服务器根据所述页面显示请求返回的第一显示页面,所述第一显示页面为由所述页面显示请求对应的多个测试页面拼接生成的页面;第一显示模块23,用于显示所述第一显示页面。
图11示出根据本公开一实施例的页面的显示装置的一示例性的框图。如图11所示:
在一种可能的实现方式中,所述第一显示模块23用于:在终端设备的显示区域的尺寸小于所述第一显示页面的尺寸的情况下,显示所述第一显示页面和引导图标。
在一种可能的实现方式中,所述装置还包括:第二显示模块24,用于在所述引导图标被触发的情况下,显示所述第一显示页面中的对应于当前未显示在所述显示区域中的测试页面的部分。
本实施例的页面的显示装置,通过将页面显示请求对应的多个测试页面拼接为第一显示页面,在终端设备显示第一显示页面,由此能够扩大参与测试的用户数量,并根据用户的使用数据确定哪个测试页面具有更好的使用体验,从而提高应用的研发效率和迭代周期频率,节省应用的研发成本。
图12是根据一示例性实施例示出的一种用于页面的显示装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图12,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的 组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短 程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非易失性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。
图13是根据一示例性实施例示出的一种用于页面的显示装置1900的框图。例如,装置1900可以被提供为一服务器。参照图13,装置1900包括处理组件1922,其进一步包括一个或多个处理器,以及由存储器1932所代表的存储器资源,用于存储可由处理组件1922的执行的指令,例如应用程序。存储器1932中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1922被配置为执行指令,以执行上述方法。
装置1900还可以包括一个电源组件1926被配置为执行装置1900的电源管理,一个有线或无线网络接口1950被配置为将装置1900连接到网络,和一个输入输出(I/O)接口1958。装置1900可以操作基于存储在存储器1932的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
在示例性实施例中,还提供了一种包括指令的非易失性计算机可读存储介质,例如包括指令的存储器1932,上述指令可由装置1900的处理组件1922执行以完成上述方法。
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是――但不限于――电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序 产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的技术改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。
Claims (15)
- 一种页面的显示方法,其特征在于,包括:接收来自于终端设备的页面显示请求;在检测到测试模式开启的情况下,获取所述页面显示请求对应的多个测试页面;将所述多个测试页面拼接为第一显示页面;向所述终端设备发送所述第一显示页面。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:在检测到测试模式未开启的情况下,获取所述页面显示请求对应的第二显示页面,并向所述终端设备发送所述第二显示页面。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:获取所述终端设备的显示区域的尺寸;在所述显示区域的尺寸小于所述第一显示页面的尺寸的情况下,生成引导图标;向所述终端设备发送所述引导图标。
- 一种页面的显示方法,其特征在于,包括:向服务器发送页面显示请求;接收所述服务器根据所述页面显示请求返回的第一显示页面,所述第一显示页面为由所述页面显示请求对应的多个测试页面拼接生成的页面;显示所述第一显示页面。
- 根据权利要求4所述的方法,其特征在于,显示所述第一显示页面,包括:在终端设备的显示区域的尺寸小于所述第一显示页面的尺寸的情况下,显示所述第一显示页面和引导图标。
- 根据权利要求5所述的方法,其特征在于,所述方法还包括:在所述引导图标被触发的情况下,显示所述第一显示页面中的对应于当前未显示在所述显示区域中的测试页面的部分。
- 一种页面的显示装置,其特征在于,包括:页面显示请求接收模块,用于接收来自于终端设备的页面显示请求;测试页面获取模块,用于在检测到测试模式开启的情况下,获取所述页面显示请求对应的多个测试页面;测试页面拼接模块,用于将所述多个测试页面拼接为第一显示页面;第一显示页面发送模块,用于向所述终端设备发送所述第一显示页面。
- 根据权利要求7所述的装置,其特征在于,所述装置还包括:第二显示页面发送模块,用于在检测到测试模式未开启的情况下,获取所述页面显示请求对应的第二显示页面,并向所述终端设备发送所述第二显示页面。
- 根据权利要求7所述的装置,其特征在于,所述装置还包括:尺寸获取模块,用于获取所述终端设备的显示区域的尺寸;引导图标生成模块,用于在所述显示区域的尺寸小于所述第一显示页面的尺寸的情况下,生成引导图标;引导图标发送模块,用于向所述终端设备发送所述引导图标。
- 一种页面的显示装置,其特征在于,包括:页面显示请求发送模块,用于向服务器发送页面显示请求;显示页面接收模块,用于接收所述服务器根据所述页面显示请求返回的第一显示页面,所述第一显示页面为由所述页面显示请求对应的多个测试页面拼接生成的页面;第一显示模块,用于显示所述第一显示页面。
- 根据权利要求10所述的装置,其特征在于,所述第一显示模块用于:在终端设备的显示区域的尺寸小于所述第一显示页面的尺寸的情况下,显示所述第一显示页面和引导图标。
- 根据权利要求11所述的装置,其特征在于,所述装置还包括:第二显示模块,用于在所述引导图标被触发的情况下,显示所述第一显示页面中的对应于当前未显示在所述显示区域中的测试页面的部分。
- 一种页面的显示装置,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:接收来自于终端设备的页面显示请求;在检测到测试模式开启的情况下,获取所述页面显示请求对应的多个测试页面;将所述多个测试页面拼接为第一显示页面;向所述终端设备发送所述第一显示页面。
- 一种页面的显示装置,其特征在于,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:向服务器发送页面显示请求;接收所述服务器根据所述页面显示请求返回的第一显示页面,所述第一显示页面为由所述页面显示请求对应的多个测试页面拼接生成的页面;显示所述第一显示页面。
- 一种非易失性计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至6中任意一项所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710236786.0A CN107145441B (zh) | 2017-04-12 | 2017-04-12 | 页面的显示方法及装置 |
CN201710236786.0 | 2017-04-12 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018188415A1 true WO2018188415A1 (zh) | 2018-10-18 |
Family
ID=59774794
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/076558 WO2018188415A1 (zh) | 2017-04-12 | 2018-02-12 | 页面的显示方法及装置 |
Country Status (3)
Country | Link |
---|---|
CN (1) | CN107145441B (zh) |
TW (1) | TWI708181B (zh) |
WO (1) | WO2018188415A1 (zh) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107145441B (zh) * | 2017-04-12 | 2020-12-29 | 阿里巴巴(中国)有限公司 | 页面的显示方法及装置 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902677A (zh) * | 2011-07-26 | 2013-01-30 | 腾讯科技(深圳)有限公司 | 浏览器及其浏览方法 |
CN103678393A (zh) * | 2012-09-20 | 2014-03-26 | 腾讯科技(深圳)有限公司 | 获取信息的方法和装置 |
CN107145441A (zh) * | 2017-04-12 | 2017-09-08 | 合信息技术(北京)有限公司 | 页面的显示方法及装置 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003345697A (ja) * | 2002-05-27 | 2003-12-05 | Hitachi Ltd | 統合インタフェース提供方法、装置及び記憶媒体 |
CN103678307B (zh) * | 2012-08-31 | 2016-07-13 | 腾讯科技(深圳)有限公司 | 页面显示方法及客户端 |
CN104978349B (zh) * | 2014-04-10 | 2019-03-15 | 腾讯科技(深圳)有限公司 | 一种显示控制方法、装置及终端 |
CN104978277B (zh) * | 2015-07-30 | 2018-12-11 | 北京百度网讯科技有限公司 | 用于调试页面的方法、终端及服务器 |
-
2017
- 2017-04-12 CN CN201710236786.0A patent/CN107145441B/zh active Active
-
2018
- 2018-02-12 WO PCT/CN2018/076558 patent/WO2018188415A1/zh active Application Filing
- 2018-03-07 TW TW107107594A patent/TWI708181B/zh not_active IP Right Cessation
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102902677A (zh) * | 2011-07-26 | 2013-01-30 | 腾讯科技(深圳)有限公司 | 浏览器及其浏览方法 |
CN103678393A (zh) * | 2012-09-20 | 2014-03-26 | 腾讯科技(深圳)有限公司 | 获取信息的方法和装置 |
CN107145441A (zh) * | 2017-04-12 | 2017-09-08 | 合信息技术(北京)有限公司 | 页面的显示方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
CN107145441A (zh) | 2017-09-08 |
CN107145441B (zh) | 2020-12-29 |
TW201837697A (zh) | 2018-10-16 |
TWI708181B (zh) | 2020-10-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2644130C2 (ru) | Способ и устройство ввода текста | |
US20190179503A1 (en) | Method and device for displaying task management interface | |
US11416112B2 (en) | Method and device for displaying an application interface | |
EP3460647A1 (en) | Method for controlling a screen and device, terminal and storage medium | |
US10489169B2 (en) | Method and device for performing subset of functions of application | |
US20200007944A1 (en) | Method and apparatus for displaying interactive attributes during multimedia playback | |
US10642456B2 (en) | Application distribution method and device | |
EP3147802B1 (en) | Method and apparatus for processing information | |
CN114240882A (zh) | 缺陷检测方法及装置、电子设备和存储介质 | |
EP2921969A1 (en) | Method and apparatus for centering and zooming webpage and electronic device | |
CN106547547B (zh) | 数据采集方法及装置 | |
CN108495168B (zh) | 弹幕信息的显示方法及装置 | |
WO2018188410A1 (zh) | 反馈的响应方法及装置 | |
JP2023520278A (ja) | 測位方法、装置、電子機器、記憶媒体、プログラム及び製品 | |
CN106998493B (zh) | 视频的预览方法及装置 | |
CN114741292A (zh) | 测试脚本管理方法及装置、电子设备和存储介质 | |
CN106790683B (zh) | 基于移动终端的网络数据显示方法及装置 | |
CN106020694B (zh) | 电子设备、选区动态调整方法及装置 | |
WO2020020222A1 (en) | Play framework, display method, apparatus and storage medium for media content | |
WO2018188415A1 (zh) | 页面的显示方法及装置 | |
CN112035691A (zh) | 切片图像的细胞标注数据的展示方法及装置、设备和介质 | |
CN111650554A (zh) | 定位方法及装置、电子设备和存储介质 | |
CN110620960B (zh) | 视频的字幕处理方法及装置 | |
CN113535161A (zh) | 一种用户界面生成方法及装置 | |
CN111131000A (zh) | 一种信息传输方法、装置、服务器、终端 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18784020 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.01.2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18784020 Country of ref document: EP Kind code of ref document: A1 |