WO2019219084A1 - 一种显示控制方法及终端 - Google Patents

一种显示控制方法及终端 Download PDF

Info

Publication number
WO2019219084A1
WO2019219084A1 PCT/CN2019/087462 CN2019087462W WO2019219084A1 WO 2019219084 A1 WO2019219084 A1 WO 2019219084A1 CN 2019087462 W CN2019087462 W CN 2019087462W WO 2019219084 A1 WO2019219084 A1 WO 2019219084A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
display content
interface
sub
record
Prior art date
Application number
PCT/CN2019/087462
Other languages
English (en)
French (fr)
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 华为技术有限公司
Priority to US17/056,568 priority Critical patent/US20210255765A1/en
Publication of WO2019219084A1 publication Critical patent/WO2019219084A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Definitions

  • the embodiments of the present invention relate to the field of terminal technologies, and in particular, to a display control method and a terminal.
  • the terminal may update the display content of the interface in response to the user refreshing the display content.
  • the above refresh operation is an operation of updating the display content of the interface.
  • the terminal may send a content request message, such as a get command, to the content provider, for example, a server, requesting the content provider to provide the content; and when the terminal receives the returned content, display the received content on the display device thereof.
  • the content displayed on the terminal after the refresh operation may or may not change depending on whether the content provided by the content provider changes.
  • the content provider may send the corresponding content to the terminal according to the browsing history or other policies (user preferences or current hotspots) of the terminal.
  • the interface of the terminal can be divided into a plurality of areas (sub-interfaces in the embodiment of the present application).
  • the terminal displays different types of information on different sub-interfaces, so that the user can browse various types of information in one interface.
  • the negative screen of the mobile phone may include an "application suggestion" sub-interface, a "weather” sub-interface, and a "schedule" sub-interface.
  • the terminal may refresh the display content of the sub-interface in response to the user refreshing a sub-interface.
  • the "application suggestion" sub-interface 101 of the mobile phone currently displays the application icons of WeChat, video, QQ, and China Merchants Bank.
  • the mobile phone may refresh the display content of the "application suggestion" sub-interface, and display the payment treasure in the "application suggestion” sub-interface 102.
  • the sub-interface cannot redisplay the historical content displayed before the sub-interface is refreshed.
  • the “application suggestion” sub-interface in the negative screen of the mobile phone refreshes the application icons of Alipay, stock, mobile Taobao and Bank of China shown in (b) of FIG. 1, it cannot return to display (a) in FIG. 1 .
  • the application icons of WeChat, Video, QQ and China Merchants Bank are shown.
  • the embodiment of the present application provides a display control method and a terminal, which can display the historical display content displayed before the display interface is refreshed in the display interface of the terminal.
  • the embodiment of the present application provides a display control method, where the display control method includes: displaying, by the terminal, a first interface, where the first display content is currently displayed; and receiving, by the user, the first operation of the first display content.
  • the terminal saves the first display record corresponding to the first display content, and updates the first display content displayed by the first interface to the second display content, where the first display content is different from the second display content; a second operation of the second display content by the user; in response to the second operation, the terminal displays the first display content on the first interface according to the first display record.
  • the terminal when the terminal displays the first interface that includes the first display content, the first operation of the first display content by the user may be received. In response to the first operation, the terminal saves the first display record corresponding to the first display content, and updates the first display content displayed by the first sub-interface to the second display content. In this way, when the terminal receives the second operation of the user to display the first sub-interface of the second display content, in response to the second operation, the first display content may be redisplayed according to the saved first display record. That is, the terminal can display the historical display content displayed before the display interface is refreshed in the display interface of the terminal by using the method in the embodiment of the present application. In this way, the intelligentization of the terminal can be improved, and the efficient interaction between the terminal and the user is realized.
  • the first interface includes one or more sub-interfaces, and the one or more sub-interfaces include a first sub-interface, and the first display content is displayed in the first sub-interface.
  • the second display content is displayed in the first sub-interface.
  • the first display record includes the first display content. That is, the first display record saved by the terminal is the first display content displayed by the terminal on the first sub-interface.
  • the first display record may be the plurality of application icons.
  • the terminal may directly display the first display record saved by the terminal (ie, the first display content) in the first sub-interface.
  • the first display record includes an identification of the first display content.
  • the identifier of the first display content may refer to address information or index information in which the terminal saves the first display content.
  • the first display record may include an identification of the first display content.
  • the identifier of the first display content may be the address information or the index information of the plurality of pictures saved by the terminal.
  • the terminal may acquire multiple pictures according to the address information or the index information in the first display record and display the multiple pictures in the first sub-interface.
  • the first display record may include not only the first display content or the identifier of the second display content.
  • the first display record may further include layout information of the first display content in the first interface (ie, the first sub-interface).
  • the terminal in response to the second operation, the terminal may first acquire the first display content corresponding to the first display record. Then, the obtained first display content is typeset according to the layout information included in the first display record. Finally, the first display content after the layout is displayed on the first sub-interface.
  • the above typesetting information is optional.
  • the above typesetting information may not be included in the first display record.
  • the terminal may redisplay the first display content in response to the second operation, the layout of the first display content in the first sub-interface may change. For example, when the first display content is redisplayed and the first display content is displayed for the first time, the layout of the first display content in the first sub-interface may be different.
  • the foregoing display control method further includes: in response to the second operation, the terminal saves the second display record corresponding to the second display content.
  • the terminal receives a second operation of the user on the first display content.
  • the terminal displays the second display content on the first interface according to the second display record.
  • the second display record includes: a first display content or an identifier of the first display content; or the second display record includes: a second display content or an identifier of the second display content, and a typesetting of the second display content in the first interface information.
  • the display record of the first sub-interface is saved in a preset record set.
  • the preset record set may save the display record in the order of time.
  • the display record of the first sub-interface includes the first display record and the second display record described above.
  • the terminal displays the first display content on the first interface according to the first display record, including: in response to the second operation, the terminal obtains the most recently saved preset record from the preset record set. a first display record in the collection, determining a first display content according to the first display record, and displaying the first display content on the first sub-interface.
  • the preset record set is a preset stack.
  • the terminal saves the first display record corresponding to the first display content, including: in response to the first operation, the terminal pushes the first display record into the preset stack.
  • the terminal in response to the first operation, the stack pointer of the preset stack points to the display record of the top of the stack of the preset stack.
  • the terminal in response to the second operation, displaying the first display content on the first interface according to the first display record, may include: in response to the second operation, the terminal acquiring the first display record pointed by the stack pointer, according to The first display record determines the first display content and displays the first display content on the first sub-interface. That is, in response to the second operation, the terminal may display the display content corresponding to the display record pointed to by the stack pointer. It can be understood that the stack saves the information pushed onto the stack in a advanced back-end manner.
  • the preset stack saves the display record pushed into the preset stack in a advanced back-end manner.
  • the stack pointer of the preset stack points to the newly pressed display record.
  • the terminal pushes the first display record into the preset stack in response to the first operation, at which time the first display record is on the top of the stack of the preset stack, and the stack pointer currently indicates the first display record at the top of the stack.
  • the terminal may display the first display content corresponding to the first display record of the stack top pointed to by the stack pointer, and push the second display record into the preset stack.
  • the stack pointer points to the second display record located at the top of the stack.
  • the second operation is a sliding operation
  • the stack pointer switches in the display record in the preset stack as the sliding position of the sliding operation changes.
  • the display content in the first sub-interface changes as the stack pointer is switched.
  • the terminal may further display a navigation bar in response to the second operation of the second display content by the user.
  • the navigation bar can guide the user operation terminal. In this way, the interaction performance between the terminal and the user can be improved.
  • the terminal may receive the first operation of the user on displaying the first sub-interface of the first display content (Refresh operation).
  • the terminal may update the first display content displayed by the first sub-interface to the third display content in response to the first operation.
  • the third display content is different from the first display content, and the third display content is different from the second display content. That is, even if the terminal responds to the second operation, the first display content is redisplayed at the first sub-interface.
  • the terminal also updates the display content of the first sub-interface in response to the refresh operation (ie, the first operation) to display the display content different from the previous display content (such as the first display content and the second display content) in the first sub-interface.
  • the third display content is updated.
  • the terminal may determine whether the terminal saves the first display record.
  • the terminal saves the first display record if the terminal does not save the first display record.
  • the terminal can determine whether the terminal saves the second display record in response to the second operation. In the case where the terminal does not save the second display record, the terminal saves the second display record.
  • the embodiment of the present application provides a display control method, where the display control method includes: displaying, by the terminal, a negative screen, where the first display content is currently displayed in the negative screen; and receiving, by the terminal, the first content of the first display content by the user
  • the first operation is an operation of updating the first display content
  • the terminal saves the first display record corresponding to the first display content, and updates the first display content displayed by the first interface to the second display Content, the first display content is different from the second display content
  • the terminal receives a second operation of the second display content by the user, the second operation is an operation of viewing the display content before the update; and in response to the second operation, the terminal is configured according to the first
  • the display record displays the first display content on the first interface.
  • the terminal when the terminal displays a negative screen including the first display content, the first operation of the first display content by the user may be received.
  • the terminal saves the first display record corresponding to the first display content, and updates the first display content displayed by the first sub-interface to the second display content.
  • the terminal receives the second operation of the user to display the first sub-interface of the second display content, in response to the second operation, the first display content may be redisplayed according to the saved first display record. That is, the terminal can display the historical display content displayed before the display interface is refreshed in the display interface of the terminal by using the method in the embodiment of the present application. In this way, the intelligence of the terminal can be improved, and an efficient interaction between the negative screen of the terminal and the user is realized.
  • an embodiment of the present application provides a terminal, where the terminal includes: a display unit, an input unit, and a storage unit.
  • the display unit is configured to display the first interface, and the first display content is currently displayed in the first interface.
  • an input unit configured to receive a first operation of the first display content by the user, where the first operation is an operation of updating the first display content.
  • a storage unit configured to save the first display record corresponding to the first display content in response to the first operation received by the input unit.
  • the display unit is further configured to update the first display content displayed by the first interface to the second display content, where the first display content is different from the second display content, in response to the first operation received by the input unit.
  • the input unit is further configured to receive a second operation of the second display content by the user, and the second operation is an operation of viewing the display content before the update.
  • the display unit is further configured to display the first display content on the first interface according to the first display record in response to the second operation received by the input unit.
  • the first interface displayed by the display unit includes one or more sub-interfaces, and the one or more sub-interfaces include a first sub-interface, and the display unit displays the first display content in the first a sub-interface; the display unit displays the second display content in the first sub-interface in response to the first operation.
  • the foregoing first display record includes: a first display content or an identifier of the first display content.
  • the first display record comprises: a first display content or an identifier of the first display content, and layout information of the first display content in the first interface.
  • the foregoing storage unit is further configured to save a second display record corresponding to the second display content in response to the second operation.
  • the second display record includes: a first display content or an identifier of the first display content; or the second display record includes: a second display content or an identifier of the second display content, and the second display content is in the first interface Typesetting information.
  • the foregoing storage unit stores a preset record set, and the display record of the first sub-interface is saved in the preset record set, and the preset record set is in time sequence.
  • the display record is saved, and the display record of the first sub-interface includes the first display record.
  • a display unit configured to display the first display content on the first interface according to the first display record, in particular: a display unit, configured to obtain the latest saved from the preset record set in response to the second operation
  • the first display record in the preset record set is determined, the first display content is determined according to the first display record, and the first display content is displayed on the first sub-interface.
  • the preset record set is a preset stack.
  • a storage unit configured to: in response to the first operation, save the first display record corresponding to the first display content, specifically: a storage unit, configured to press the first display record into the preset stack in response to the first operation.
  • the stack pointer of the preset stack points to the display record of the top of the stack of the preset stack.
  • the display unit is configured to: obtain, according to the second operation, the first display record recently saved in the preset record set from the preset record set, determine the first display content according to the first display record, and in the first sub-interface Displaying a first display content, specifically: a display unit, configured to acquire a first display record pointed by the stack pointer in response to the second operation; determine the first display content according to the first display record, and display the first content on the first sub-interface Display content. And a storage unit, configured to press the second display record into the preset stack in response to the second operation.
  • the second operation is a sliding operation
  • the stack pointer switches in the display record in the preset stack as the sliding position of the sliding operation changes.
  • the display content in the first sub-interface changes as the stack pointer is switched.
  • the input unit is further configured to: after the display unit displays the first display content according to the first display record, in response to the second operation, receiving the user pair The first operation of displaying the first content.
  • the display unit is further configured to update the first display content to the third display content in response to the first operation.
  • the third display content is different from the first display content, and the third display content is different from the second display content.
  • the foregoing storage unit is configured to save, according to the first operation, a first display record corresponding to the first display content, specifically: a storage unit, configured to respond to the first In one operation, in the case where the first display record is not saved in the storage unit, the first display record is saved.
  • an embodiment of the present application provides a terminal, where the terminal includes: a display unit, an input unit, and a storage unit.
  • the display unit is configured to display a negative screen, and the first display content is currently displayed in the negative screen.
  • an input unit configured to receive a first operation of the first display content by the user, where the first operation is an operation of updating the first display content.
  • a storage unit configured to save the first display record corresponding to the first display content in response to the first operation received by the input unit.
  • the display unit is further configured to update the first display content displayed by the first interface to the second display content, where the first display content is different from the second display content, in response to the first operation received by the input unit.
  • the input unit is further configured to receive a second operation of the second display content by the user, and the second operation is an operation of viewing the display content before the update.
  • the display unit is further configured to display the first display content on the first interface according to the first display record in response to the second operation received by the input unit.
  • an embodiment of the present application provides a terminal, where the terminal includes: one or more processors, a memory, and a display.
  • the memory and the display are coupled to the processor; the display is for displaying the interface and receiving the touch operation of the user.
  • the memory includes a non-volatile storage medium for storing computer program code.
  • Computer program code includes computer instructions that, when executed by a processor,
  • the display is configured to display the first interface, and the first display content is currently displayed in the first interface.
  • a processor configured to receive a first operation of the first display content by the user, where the first operation is an operation of updating the first display content; and in response to the first operation, saving the first display record corresponding to the first display content in the memory.
  • the processor is configured to update, according to the first operation, the first display content displayed by the display on the first interface to the second display content, where the first display content is different from the second display content.
  • the processor is further configured to receive a second operation of the second display content by the user, and the second operation is an operation of viewing the display content before the update.
  • the processor is further configured to control the display to display the first display content on the first interface according to the first display record in response to the second operation.
  • the first interface displayed by the display includes one or more sub-interfaces, and the one or more sub-interfaces include a first sub-interface, and the first display content is displayed in the first sub-interface.
  • the second display content is displayed in the first sub-interface.
  • the foregoing first display record includes: a first display content or an identifier of the first display content.
  • the first display record comprises: a first display content or an identifier of the first display content, and layout information of the first display content in the first interface.
  • the processor is further configured to save, in response to the second operation, a second display record corresponding to the second display content in the memory.
  • the second display record includes: a first display content or an identifier of the first display content; or the second display record includes: a second display content or an identifier of the second display content, and the second display content is in the first interface Typesetting information.
  • the preset memory set is stored in the memory.
  • the display record of the first sub-interface is saved in a preset record set, and the preset record set saves the display record in chronological order, and the display record of the first sub-interface includes the first display record.
  • a processor configured to display, according to the first display, the first display content on the first interface according to the first display record, specifically: a processor, configured to obtain the latest from the preset record set in response to the second operation And saving the first display record in the preset record set, determining the first display content according to the first display record, and controlling the display to display the first display content on the first sub-interface.
  • the preset record set saved by the memory is a preset stack.
  • a processor configured to save a first display record corresponding to the first display content in the memory, in particular, a processor, configured to press the first display record into the memory for saving in response to the first operation Preset stack.
  • the stack pointer of the memory-preserved preset stack points to the display record of the top of the stack of the preset stack.
  • the processor is configured to: in response to the second operation, the terminal acquires a first display record recently saved in the preset record set from the preset record set saved in the memory, determines the first display content according to the first display record, and controls The display displays the first display content on the first sub-interface, specifically: the processor, configured to: in response to the second operation, acquire, by the terminal, a first display record pointed by the stack pointer of the preset stack stored in the memory; Determining the first display content, and controlling the display to display the first display content on the first sub-interface; pressing the second display record into the preset stack saved in the memory.
  • the second operation is a sliding operation
  • the stack pointer switches in the display record in the preset stack as the sliding position of the sliding operation changes.
  • the display content in the first sub-interface changes as the stack pointer is switched.
  • the processor is configured to control the display to display the first display content on the first interface according to the first display record
  • the receiving the user displays the first display content according to the second operation.
  • the first operation in response to the first operation, controlling the display to update the first display content to the third display content.
  • the third display content is different from the first display content
  • the third display content is different from the second display content.
  • the processor is configured to save, in response to the first operation, a first display record corresponding to the first display content in the memory, specifically: a processor, configured to respond In the first operation, in the case where the first display record is not saved in the memory, the first display record is saved in the memory.
  • an embodiment of the present application provides a terminal, where the terminal includes: one or more processors, a memory, and a display.
  • the memory and the display are coupled to the processor; the display is for displaying the interface and receiving the touch operation of the user.
  • the memory includes a non-volatile storage medium for storing computer program code.
  • the computer program code includes computer instructions, when the processor executes computer instructions,
  • the display is used to display a negative screen, and the first display content is currently displayed in the negative screen.
  • a processor configured to receive a first operation of the first display content by the user, where the first operation is an operation of updating the first display content; and in response to the first operation, saving the first display record corresponding to the first display content in the memory, And updating, by the display, the first display content displayed on the first interface to the second display content, the first display content is different from the second display content; receiving the second operation of the second display content by the user, and the second operation is to check the update The operation of displaying the content; in response to the second operation, controlling the display to display the first display content on the first interface according to the first display record.
  • processor the memory, and other functional descriptions of the display of the sixth aspect may be referred to in detail in various possible design manners of the fifth aspect.
  • the embodiments of the present application are not described herein.
  • an embodiment of the present application provides a computer storage medium, including a computer instruction, when the computer instruction is run on a terminal, causing the terminal to perform the first aspect or the second aspect, and possible designs thereof The display control method described in the mode.
  • an embodiment of the present application provides a computer program product, when the computer program product is run on a computer, causing the computer to perform display control as described in the first aspect or the second aspect, and possible design manners thereof method.
  • the second aspect to the sixth aspect and any one of the design manners, and the technical effects brought by the seventh aspect and the eighth aspect can be referred to the first aspect and the second aspect, and different design methods thereof.
  • the technical effects of the present application are not described herein again.
  • FIG. 1 is a schematic diagram 1 of an example of a display interface according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of hardware of a mobile phone according to an embodiment of the present application.
  • FIG. 3 is a flowchart 1 of a display control method according to an embodiment of the present application.
  • FIG. 4 is a second schematic diagram of a display interface according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram 3 of an example of a display interface according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram 4 of an example of a display interface according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic diagram 5 of an example of a display interface according to an embodiment of the present disclosure.
  • FIG. 8A is a second flowchart of a display control method according to an embodiment of the present application.
  • FIG. 8B is a schematic diagram 6 of an example of a display interface according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram 1 of an example of storing a display record in a preset record set according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram 1 of an example of a preset stack save display record according to an embodiment of the present application.
  • FIG. 11 is a second schematic diagram of a preset stack save display record according to an embodiment of the present disclosure.
  • 12A is a flowchart 3 of a display control method according to an embodiment of the present application.
  • FIG. 12B is a third schematic diagram of a preset stack save display record according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram 4 of an example of a preset stack save display record according to an embodiment of the present application.
  • FIG. 14 is a schematic diagram 5 of an example of a preset stack save display record according to an embodiment of the present disclosure.
  • FIG. 15 is a schematic diagram 7 of an example of a display interface according to an embodiment of the present application.
  • 16 is a schematic diagram 1 showing an example of a preset stack save display record corresponding to the display interface shown in FIG. 15;
  • FIG. 17 is a schematic diagram 8 of an example of a display interface according to an embodiment of the present disclosure.
  • FIG. 18A is a schematic diagram showing an example of a preset stack save display record corresponding to the display interface shown in FIG. 17; FIG.
  • FIG. 18B is a schematic diagram nin of an example of a display interface according to an embodiment of the present application.
  • FIG. 19 is a schematic diagram 1 showing an example of a preset stack save display record corresponding to the display interface shown in FIG. 18B;
  • FIG. 20 is a second schematic diagram of an example of a preset stack save display record corresponding to the display interface shown in FIG. 18B;
  • FIG. 21 is a schematic diagram 10 of an example of a display interface according to an embodiment of the present disclosure.
  • FIG. 22 is a schematic diagram 1 showing an example of a preset stack save display record corresponding to the display interface shown in FIG. 21;
  • FIG. 23 is a schematic diagram 2 of an example of storing a display record in a preset record set according to an embodiment of the present disclosure
  • FIG. 24 is a schematic diagram 6 of an example of a preset stack save display record according to an embodiment of the present application.
  • 25 is a second schematic diagram of an example of a preset stack save display record corresponding to the display interface shown in FIG. 15;
  • 26 is a second schematic diagram showing an example of a preset stack save display record corresponding to the display interface shown in FIG. 21;
  • FIG. 27 is a first schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • FIG. 28 is a second schematic structural diagram of a terminal according to an embodiment of the present disclosure.
  • first and second are used for descriptive purposes only, and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, features defining “first” and “second” may include one or more of the features either explicitly or implicitly. In the description of the embodiments of the present application, “multiple” means two or more unless otherwise stated.
  • the embodiment of the present application provides a display control method and a terminal, and the method can be applied to a terminal.
  • the method can be applied to a process in which a terminal updates a first sub-interface in the first interface. After the display content of the first sub-interface is updated, the terminal may display the display content before the first sub-interface update in response to the user's operation. In this way, the intelligence of the terminal can be improved, and the efficient interaction between the terminal and the user is realized.
  • the first interface may be a display interface of the first application.
  • the first application may be any application installed in the terminal.
  • the first application may be an embedded application of the terminal (ie, a system application of the terminal) or a downloadable application.
  • An embedded application, a system application is an application that is provided as part of a terminal implementation.
  • the system application can include: a negative screen, an application store, and the like.
  • the downloadable application is an application that provides its own Internet Protocol Multimedia Subsystem (IMS) connection.
  • IMS Internet Protocol Multimedia Subsystem
  • the downloadable application can be pre-installed in an application in the terminal or a third party application that can be downloaded by the user and installed in the terminal.
  • the downloadable application can include: Taobao and Youku.
  • the first sub-interface in the embodiment of the present application may be the entire interface of the first interface.
  • the first sub-interface is a partial interface of the first interface.
  • one or more first sub-interfaces may be included in the first interface.
  • the terminal described in the embodiment of the present application may be a mobile phone, a tablet computer, a desktop type, a laptop type, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook. , cellular phones, and personal digital assistants (PDAs), wearable electronic devices (such as smart watches), tablets, augmented reality (AR), virtual reality (VR) devices, on-board computers
  • PDAs personal digital assistants
  • wearable electronic devices such as smart watches
  • tablets augmented reality (AR), virtual reality (VR) devices
  • VR virtual reality
  • the terminal provided by the embodiment of the present application is described by using the terminal as the mobile phone 200 as an example.
  • the mobile phone 200 shown in FIG. 2 is merely an example and does not constitute a limitation on the mobile phone 200, and the mobile phone 200 may have more or fewer components than those shown in the figure. Two or more components may be combined or may have different component configurations.
  • the various components shown in FIG. 2 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • the mobile phone 200 may specifically include: a processor 201, a radio frequency (RF) circuit 202, a memory 203, a touch screen 204, a Bluetooth device 205, one or more sensors 206, and a wireless fidelity (Wireless Fidelity, Wi-Fi) device 207, positioning device 208, audio circuit 209, peripheral interface 120, power system 211, and fingerprint recognizer 212. These components can communicate over one or more communication buses or signal lines (not shown in Figure 2).
  • RF radio frequency
  • the processor 201 is a control center of the mobile phone 200, and connects various parts of the mobile phone 200 using various interfaces and lines, by running or executing an application (Application, App) stored in the memory 203, and calling data stored in the memory 203. And instructions to perform various functions and processing data of the mobile phone 200.
  • processor 201 can include one or more processing units; processor 201 can also integrate an application processor and a modem processor.
  • the application processor mainly deals with operating systems, user interfaces, applications, and the like.
  • the modem processor primarily handles wireless communications. It can be understood that the above modem processor may not be integrated into the processor 201.
  • the processor 201 may be a Kirin 960 chip manufactured by Huawei Technologies Co., Ltd.
  • the radio frequency circuit 202 can be used to receive and transmit wireless signals during transmission or reception of information or calls. Specifically, the radio frequency circuit 202 can receive the downlink data of the base station and then process it to the processor 201. In addition, data related to the uplink is transmitted to the base station. Generally, radio frequency circuit 202 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency circuit 202 can also communicate with other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the memory 203 is used to store applications and data, and the processor 201 executes various functions and data processing of the mobile phone 200 by running applications and data stored in the memory 203.
  • the memory 203 mainly includes a storage program area and a storage data area.
  • the storage program area can store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.).
  • the storage data area can store data (such as audio data, phone book, etc.) created according to when the mobile phone 200 is used.
  • the memory 203 may include a high speed random access memory, and may also include a nonvolatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid state storage device.
  • the memory 203 can store various operating systems, such as those developed by Apple. Operating system, developed by Google Inc. Operating system, etc.
  • Touch screen 204 can include touch-sensitive surface 204-1 and display 204-2.
  • the touch-sensitive surface 204-1 eg, a touch panel
  • the touch-sensitive surface 204-1 can collect touch events on or near the user of the mobile phone 200 (eg, the user uses a finger, a stylus, or the like on the touch-sensitive surface 204-1. Or operation near the touch-sensitive surface 204-1) and transmitting the acquired touch information to other devices such as the processor 201.
  • the touch event of the user near the touch-sensitive surface 204-1 may be referred to as hovering touch.
  • Hovering touch can mean that the user does not need to directly touch the touchpad in order to select, move or drag a target (eg, an icon, etc.), but only the user is located near the terminal in order to perform the desired function.
  • the touch-sensitive surface 204-1 capable of floating touch can be realized by capacitive, infrared light, ultrasonic, and the like.
  • the touch sensitive surface 204-1 can include two portions of a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits a signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts the touch information into contact coordinates, and then Sended to the processor 201, the touch controller can also receive the instructions sent by the processor 201 and execute them.
  • the touch sensitive surface 204-1 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • a display (also referred to as display) 204-2 can be used to display information entered by the user or information provided to the user as well as various menus of the handset 200.
  • the display 204-2 can be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the touch-sensitive surface 204-1 can be overlaid on the display 204-2, and when the touch-sensitive surface 204-1 detects a touch event on or near it, is transmitted to the processor 201 to determine the type of touch event, followed by the processor 201 may provide a corresponding visual output on display 204-2 depending on the type of touch event.
  • touch-sensitive surface 204-1 and display screen 204-2 are implemented as two separate components to implement the input and output functions of handset 200, in some embodiments, touch-sensitive surface 204- 1 is integrated with the display 204-2 to implement the input and output functions of the handset 200. It can be understood that the touch screen 204 is formed by stacking a plurality of layers of materials.
  • the touch-sensitive surface 204-1 may overlie the display 204-2, and the size of the touch-sensitive surface 204-1 is greater than the size of the display 204-2 such that the display 204- 2 is completely covered under the touch-sensitive surface 204-1, or the touch-sensitive surface 204-1 may be disposed on the front side of the mobile phone 200 in a full-board form, that is, the touch of the user on the front of the mobile phone 200 can be perceived by the mobile phone 200. In this way, the full touch experience on the front of the mobile phone 200 can be achieved.
  • the touch-sensitive surface 204-1 is disposed on the front side of the mobile phone 200 in a full-board form
  • the display screen 204-2 may also be disposed on the front side of the mobile phone 200 in the form of a full-board, such that the front side of the mobile phone 200 It is possible to implement a frameless structure.
  • the mobile phone 200 can also include a Bluetooth device 205 for enabling data exchange between the handset 200 and other short-range terminals (eg, mobile phones, smart watches, etc.).
  • the Bluetooth device in the embodiment of the present application may be an integrated circuit or a Bluetooth chip or the like.
  • the handset 200 can also include at least one type of sensor 206, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display of the touch screen 204 according to the brightness of the ambient light, and the proximity sensor may turn off the power of the display when the mobile phone 200 moves to the ear. .
  • the accelerometer sensor can detect the acceleration of each direction (usually three axes), and the magnitude and direction of gravity can be detected at rest, which can be used to identify the gesture of the mobile phone 200 (such as horizontal and vertical screen switching, Related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for the mobile phone 200 can also be configured with gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors, here Do not repeat them.
  • the mobile phone 200 may also have a fingerprint recognition function.
  • the fingerprint identifier 212 can be configured on the back of the handset 200 (eg, below the rear camera) or on the front side of the handset 200 (eg, below the touch screen 204, such as on the home screen key of the handset 200).
  • the fingerprint recognition function can also be implemented by configuring the fingerprint recognizer 212 in the touch screen 204, that is, the fingerprint recognizer 212 can be integrated with the touch screen 204 to implement the fingerprint recognition function of the mobile phone 200.
  • the fingerprint identifier 212 can be configured in the touch screen 204, can be part of the touch screen 204, or can be otherwise configured in the touch screen 204.
  • the fingerprint identifier 212 can also be implemented as a full-board fingerprint reader, and thus the touch screen 204 can be viewed as a panel that can be fingerprinted at any location.
  • the fingerprint reader 212 can process the collected fingerprints.
  • the fingerprint recognizer 212 can perform fingerprint verification and the like on the collected fingerprint.
  • the fingerprint identifier 212 can also send the processing result of the fingerprint verification (such as whether the fingerprint verification is passed) to the processor 201, so that the processor 201 performs a corresponding response according to the result of the received fingerprint verification.
  • the fingerprint identifier 212 can also send the collected fingerprint to the processor 201, so that the processor 201 processes the fingerprint (eg, fingerprint verification, etc.).
  • the main component of the fingerprint identifier 212 in the embodiment of the present application is a fingerprint sensor, which can employ any type of sensing technology, including but not limited to optical, capacitive, piezoelectric or ultrasonic sensing technologies.
  • the Wi-Fi device 207 is configured to provide the mobile phone 200 with network access complying with the Wi-Fi related standard protocol, and the mobile phone 200 can access the Wi-Fi access point through the Wi-Fi device 207, thereby helping the user to send and receive emails, Browsing web pages and accessing streaming media, etc., it provides users with wireless broadband Internet access.
  • the Wi-Fi device 207 can also function as a Wi-Fi wireless access point, and can provide Wi-Fi network access to other terminals.
  • the positioning device 208 is configured to provide a geographic location for the mobile phone 200. It can be understood that the positioning device 208 can be specifically a receiver of a positioning system such as a Global Positioning System (GPS) or a Beidou satellite navigation system. After receiving the geographical location sent by the positioning system, the positioning device 208 sends the information to the processor 201 for processing, or sends it to the memory 203 for storage. In still other embodiments, the positioning device 208 can be a receiver that assists an Assisted Global Positioning System (AGPS). AGPS is a kind of operation mode for GPS positioning with certain auxiliary cooperation. It can use the signal of the base station and the GPS satellite signal to make the mobile phone 200 locate faster.
  • AGPS Assisted Global Positioning System
  • the positioning device 208 can pass The positioning assistance is obtained by assisting the communication of the positioning server (for example, the mobile phone 200 positioning server).
  • the AGPS system assists the positioning device 208 in performing the ranging and positioning services by acting as a secondary server, in which case the secondary positioning server provides positioning through communication over a wireless communication network with a positioning device 208 (i.e., GPS receiver) of the terminal, such as the handset 200. assist.
  • a positioning device 208 i.e., GPS receiver
  • the audio circuit 209, the speaker 213, and the microphone 214 can provide an audio interface between the user and the handset 200.
  • the audio circuit 209 can transmit the converted electrical data of the received audio data to the speaker 214 for conversion to the sound signal output by the speaker 213; on the other hand, the microphone 214 converts the collected sound signal into an electrical signal by the audio circuit 209. After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 202 for transmission to, for example, another mobile phone, or the audio data is output to the memory 203 for further processing.
  • Peripheral interface 120 for providing various interfaces to external input/output devices (eg, keyboard, mouse, external display, external memory, subscriber identity module card, etc.). For example, it is connected to the mouse through a universal serial bus interface, and is connected to a Subscriber Identity Module (SIM) card provided by a telecommunications carrier through a metal contact on the card slot of the subscriber identity module.
  • SIM Subscriber Identity Module
  • Peripheral interface 120 can be used to couple the external input/output peripherals described above to processor 201 and memory 203.
  • the mobile phone 200 may further include a power supply device 211 (such as a battery and a power management chip) that supplies power to the various components.
  • the battery may be logically connected to the processor 201 through the power management chip to manage charging, discharging, and power management through the power supply device 211. And other functions.
  • the mobile phone 200 may further include a camera (front camera and/or rear camera), a flash, a micro projection device, a near field communication (NFC) device, and the like, which are not described herein.
  • a camera front camera and/or rear camera
  • a flash a flash
  • micro projection device a micro projection device
  • NFC near field communication
  • the execution body of the display control method provided by the present application may be a display device, and the display device may be any one of the above terminals (for example, the display device may be the mobile phone 200 shown in FIG. 2); or the display device may also be It is a central processing unit (English: Central Processing Unit, CPU for short) of the terminal, or a control module for executing a display control method in the terminal.
  • the display control method provided by the embodiment of the present application is described by taking the display control method of the terminal as an example.
  • the embodiment of the present application provides a display control method. As shown in FIG. 3, the display control method includes S301-S305:
  • the terminal displays the first interface.
  • the first display content is currently displayed in the first interface.
  • the first interface in the embodiment of the present application may include one or more sub-interfaces, where the one or more sub-interfaces may include a first sub-interface and a second sub-interface.
  • the first sub-interface is different from the second sub-interface.
  • the plurality of sub-interfaces may further include a third sub-interface.
  • the third sub-interface is different from the second sub-interface.
  • the third sub-interface is different from the first sub-interface.
  • the first interface is a display interface of the first application.
  • the first application may be a negative screen, an application store, Taobao, and iQiyi.
  • the first application is a negative screen
  • the first interface is a negative one screen display interface.
  • the negative screen of the mobile phone includes three sub-interfaces 401, 402, and 403.
  • the first display content in the embodiment of the present application refers to the content displayed before the first sub-interface is refreshed.
  • the first display content displayed before the "application suggestion" sub-interface shown in (a) of FIG. 1 is refreshed includes WeChat, video, QQ, and the application icon of China Merchants Bank.
  • the first display content displayed before the "video recommendation" sub-interface 404 shown in (b) of FIG. 4 and the "video recommendation" sub-interface 402 shown in (a) of FIG. 4 is refreshed includes a piglet. Recommended for Page, Panda Kiki, Altman and Maruko.
  • the terminal receives a first operation of the first display content by the user.
  • the first operation is an operation of updating the first display content.
  • the terminal saves the first display record corresponding to the first display content, and updates the first display content displayed by the first sub-interface to the second display content.
  • the terminal may save the foregoing first display record in a cache or a memory of the terminal. This embodiment of the present application does not limit this. It should be noted that the first display content is different from the second display content.
  • the first operation is used to instruct the terminal to refresh the display content of the first sub-interface, that is, instruct the terminal to update the first display content.
  • the first display record in the embodiment of the present application includes: the first display content or the identifier of the first display content.
  • the first display record comprises: a first display content or an identifier of the first display content, and layout information of the first display content in the first interface.
  • the first sub-interface may include a refresh button, a refresh button, or a refresh option.
  • the refresh button, the refresh button or the refresh option is used to control the terminal to refresh the display content in the first sub-interface, that is, the control terminal updates the first display content.
  • the refresh button, the refresh button, or the refresh option may be “replaced”, “updated”, “looked at” or “changed”, and the like, which is not limited in this embodiment.
  • the first operation of the first display content by the user may be the user's operation of the refresh key in the first sub-interface.
  • the first operation may be any operation such as a user clicking a refresh key, a double-click operation, or a long-press operation.
  • the foregoing first operation may be a first preset gesture input by the user to the first sub-interface.
  • the first preset gesture may be used to instruct the terminal to refresh the display content of the first sub-interface.
  • the first preset gesture may be a pull-down gesture input by the user in the first interface or the first sub-interface, a swipe gesture from top to bottom, a swipe gesture from left to right, a swipe gesture from bottom to top, and a circular gesture ( Any gesture such as an approximately circular gesture), a semi-circular gesture, or an S-shaped gesture.
  • only one sub-interface such as the first sub-interface, may be included in the first interface.
  • the first operation described above may be an operation of the user for the first sub-interface.
  • the first operation is used to refresh the display content of the first sub-interface.
  • a plurality of sub-interfaces may be included in the first interface.
  • the first interface, the second sub-interface, and the third sub-interface may be included in the first interface.
  • the specific functions of the first operation include the following three implementation modes (1)-(3):
  • the first operation may be an operation of the user for any one of the first interfaces, such as the first sub-interface.
  • the first operation is used to refresh the display content of the first sub-interface.
  • the terminal only needs to refresh the display content of the first sub-interface for the first operation in response to the first operation. There is no need to refresh the display content of other sub-interfaces in the first interface.
  • the first operation is a user click operation on a refresh key of a sub-interface in a negative screen.
  • the first display content displayed before the "video recommendation" sub-interface is refreshed includes Piggy Page, Panda Kiki, Altman, and Maruko. Recommended item.
  • the mobile phone receives a click operation of the user to the refresh key "update" shown in (b) of FIG.
  • the mobile phone may refresh the display content of the “video recommendation” sub-interface, and display the second display content in the “video recommendation” sub-interface.
  • the second display content refers to the content displayed after the first sub-interface is refreshed.
  • the second display content displayed after the refresh of the "video recommendation" sub-interface 404 shown in (b) of FIG. 4 includes: in the "video recommendation" sub-interface 405 shown in (c) of FIG. The recommendation of the pony and the recommendation of the happy childhood, and the recommendation of the rise of the orb in the "video recommendation" sub-interface 406 shown in (d) of FIG. 4 and the recommendation of the Christmas hymn.
  • the above first operation is a click operation of the user to update the refresh key shown in (b) of FIG. 4 .
  • the mobile phone 200 refreshes only the display content in the “video recommendation” sub-interface in response to the click operation. .
  • the display content in the "App Suggestions" sub-interface and the "Music Recommendations” sub-interface has not changed.
  • the first operation described above may be an operation of the user for the first interface.
  • the first operation is used to refresh the display content of all the sub-interfaces in the first interface.
  • the terminal may refresh the display content of all the sub-interfaces in the first interface in response to the first operation.
  • the first operation is a first preset gesture input by the user in a negative screen, such as an S-shaped gesture.
  • the first display content displayed before the "application suggestion" sub-interface 501 is refreshed includes WeChat, video, QQ, and the application icon of China Merchants Bank, "video recommendation
  • the first display content displayed before the sub-interface 502 is refreshed includes the recommendation items of Altman and Maruko
  • the first display content displayed before the "Music Recommendation" sub-interface 503 is refreshed includes the recommendation items of the snail and the small snail.
  • the mobile phone 200 receives the S-shaped gesture input by the user on the negative one screen shown in (a) of FIG.
  • the mobile phone 200 may refresh the display content of each sub-interface in the negative screen, and display the corresponding second display content in each sub-interface.
  • the second display content refers to the content displayed after the sub-interface is refreshed. For example, please refer to (b) in Figure 5.
  • the second display content displayed after the "application suggestion" sub-interface 504 is refreshed includes application icons of Alipay, stock, mobile Taobao, and Bank of China.
  • the second display content displayed after the "video recommendation” sub-interface 505 is refreshed includes the recommendation items of the pony and the happy childhood
  • the second display content displayed after the "music recommendation” sub-interface 506 is refreshed includes the recommendation of the fairy tale and the ABC children's song. item.
  • the foregoing first operation is used to refresh the display content of all the sub-interfaces in the negative screen shown in (a) of FIG. 5, such as the “application suggestion” sub-interface 501, the “video recommendation” sub-interface 502, and “Music Recommendation” sub-interface 503.
  • the mobile phone 200 refreshes all sub-interfaces in the negative screen (including the “application suggestion” sub-interface 501, “video” in response to the above-described S-shaped gesture.
  • the display contents of the "sub-interface 502 and the "music recommendation” sub-interface 503) are recommended.
  • the first operation described above may be an operation of the user for the first interface.
  • the first operation user refreshes the display content of the selected sub-interface (such as the first sub-interface) in the first interface.
  • the terminal In the implementation manner (3), the terminal only needs to refresh the display content of the selected first sub-interface in response to the first operation. There is no need to refresh the display content of other sub-interfaces in the first interface.
  • the first operation is a first preset gesture input by the user in a negative screen, such as a pull-down gesture from top to bottom.
  • the negative screen of the mobile phone shown in (a) of FIG. 6 the user selects the "application suggestion" sub-interface 601 by clicking, double-clicking or long pressing.
  • (a) in Fig. 6 indicates the first sub-interface selected by the user in gray scale.
  • the display content before each sub-interface is refreshed may refer to the description of the negative screen of the mobile phone shown in (a) of FIG. 5, this application The embodiment will not be described again here.
  • the mobile phone 200 receives a top-down pull-down gesture input by the user on the negative one screen shown in (a) of FIG.
  • the mobile phone 200 may refresh the display content of the first sub-interface selected by the user in the negative screen, and display the corresponding second display content on the first sub-interface selected by the user.
  • the first sub-interface selected by the user is the "Application Suggestion" sub-interface 601. Therefore, the second display content displayed after the "application suggestion" sub-interface 602 is refreshed includes application icons of Alipay, stock, mobile Taobao, and Bank of China.
  • the display content of the "Video Recommendation" sub-interface and the display content of the "Music Recommendation" sub-interface in Figure 6 have not changed.
  • the terminal receives a second operation of the second display content by the user. This second operation is an operation of viewing the display content before the update.
  • the terminal displays the first display content on the first interface according to the first display record.
  • the second operation is an operation of viewing the display content before the update. That is, the second operation is used to instruct the terminal to display the historical display content before the update in the first sub-interface of the first interface.
  • the history display content includes content displayed by the first sub-interface before the display content of the first sub-interface is refreshed. For example, the history display content includes the first display content.
  • the second operation may be a second preset gesture of the user to the first display content.
  • the second preset gesture may be used to indicate that the terminal displays the historical display content on the first sub-interface.
  • the second preset gesture may be a slide gesture from top to bottom, a swipe gesture from left to right, a swipe gesture from bottom to top, a circular gesture (approximately circular gesture), a semi-circular gesture, or a S-shaped gesture. Wait for any gesture.
  • the second operation is different from the first operation. That is, the second preset gesture is different from the first preset gesture.
  • the second preset gesture is a swipe gesture from bottom to top; when the first preset gesture is a swipe gesture from left to right, the second pre- Let the gesture be a swipe gesture from right to left.
  • a return button, a return key, or a return option may be included in the first sub-interface.
  • the return button, the return button or the return option is used to control the display content of the terminal before the first sub-interface is refreshed.
  • the return button, the return key, or the return option may be “return”, “before refresh”, or “retract”, and the like, which is not limited in this embodiment of the present application.
  • the second operation of the user to display the first sub-interface of the second display content may be the user's operation of the return key.
  • the second operation may be any operation of the user's click operation, double-click operation, or long-press operation on the return key.
  • the first operation is a first preset gesture input by the user at the first sub-interface displaying the first display content.
  • the first operation is a swipe gesture from top to bottom.
  • the second operation is a second preset gesture input by the user at the first sub-interface displaying the second display content.
  • the second operation is a swipe gesture from bottom to top.
  • the first display content displayed before the "application suggestion” sub-interface 701 is refreshed includes WeChat, video, QQ, and the application icon of Merchants Bank.
  • the mobile phone 200 may refresh the first display content displayed in the “application suggestion” sub-interface 701 in response to the up-down swipe gesture input by the user in the “application suggestion” sub-interface 701 shown in (a) of FIG. 7 .
  • the "application suggestion" sub-interface 702 shown in (b) of FIG. 7 displays the second display content.
  • the second display content displayed by the "application suggestion" sub-interface 702 includes application icons of Alipay, stock, mobile Taobao, and Bank of China.
  • the mobile phone 200 may redisplay the first display content in the "application suggestion" sub-interface 703 in response to the downward-up sliding gesture input by the user in the "application suggestion” sub-interface 702 shown in (b) of FIG.
  • the first operation and the second operation are not page turning operations on the display content in the first sub-interface.
  • the first operation is different from the click operation of the "next page” button (or “next page” button, etc.) in the first sub-interface in the conventional scheme.
  • the event that the terminal performs the first operation indication is also different from the conventional solution, and the terminal performs an event indicated by clicking the "Next Page” button.
  • the second operation is different from the click operation of the "previous page” button (or "previous page” button, etc.) in the first sub-interface.
  • the event that the terminal performs the second operation indication is also different from the conventional solution, in which the terminal performs an event indicated by clicking the "previous page” button.
  • the terminal may display a display content different from the current content in the sub-interface in response to the user's click operation on the "previous page” button (or "previous page” button) in the sub-interface.
  • the reason why the terminal can display different display contents in the sub-interface in response to the user's clicking operation on the “previous page” button is because the area of the sub-interface is limited, and the terminal cannot display multiple displays that have been acquired and saved in the terminal. The content is displayed together in the sub-interface. Therefore, the terminal displays the plurality of display contents that have been acquired and saved in the terminal in the sub-interface.
  • the "video recommendation" sub-interface 402 shown in FIG. 4 is taken as an example. It is assumed that the videos recommended by the mobile phone 200 to the user in the "Video Recommendations" sub-interface 402 include “Ottoman”, “Small Maruko”, “Little Pig Pecs”, and “Panda Kiki”. Among them, the mobile phone 200 has acquired and recommended information of "Ottoman”, “Small Meatball”, “Little Pig Peggy” and “Panda Kiki" in the terminal.
  • the mobile phone 200 can display the recommended items of the above four videos in two pages. As shown in (a) of FIG. 4, the mobile phone 200 displays the recommended items of "Ottoman” and “Small Maruk” in the "Video Recommendation" sub-interface 402 of the negative screen. The mobile phone 200 can display the "video recommendation” shown in (b) of FIG.
  • the "Video Recommendation" sub-interface 404 shown in (b) of FIG. 4 includes the recommendations of "Pig Peggy” and "Panda Kiki".
  • the terminal updates the displayed second display content in the first sub-interface in response to the first operation, and then re-acquires and displays the new display content.
  • the display content that needs to be displayed in a page is required.
  • the mobile phone 100 receives the user's click operation on the "update" button shown in (b) of FIG. 4, and can update the display content in the "video recommendation" sub-interface 404, in (c) of FIG.
  • the recommended items in "Video Recommendations Sub-Interface" 405 are different from “Ottoman", “Small Maruk", “Piggy Page” and "Panda Kiki".
  • the mobile phone 200 obtains the updated display content as "Little Pony", “Happy Childhood”, “Rise of the Orb” and in response to the user's click operation on the "Update” button shown in (b) of FIG.
  • the recommendation item of "Christmas hymn” (ie the second display content).
  • the "video recommendation” sub-interface 405 displays the recommended items of "Little Pony” and "Happy Childhood”.
  • the mobile phone 200 can display the "video recommendation" sub-interface shown in (d) of FIG. 4 in response to the user's clicking operation of the "next page” button shown in (c) of FIG. 406.
  • the "video recommendation” sub-interface 406 includes the recommendation items of "Rise of the Orbs" and "Christmas Songs".
  • the terminal displays the displayed content after the page turning in response to the user's click operation on the “Next Page” button. Then, in response to the user's click operation on the “previous page” button, the terminal can also redisplay the display content before the page turning.
  • the terminal when the terminal responds to the user's click operation on the "update” button and refreshes the display content of the sub-interface, the terminal cannot redisplay the display content before the refresh in the sub-interface.
  • the mobile phone 200 displays the "video recommendation" sub-interface 405 shown in (c) of FIG. 4 in response to the user's click operation on the "update” button shown in (b) of FIG.
  • the terminal may display the historical content displayed before the sub-interface is refreshed in the sub-interface of the terminal. In this way, the intelligence of the terminal can be improved, and the efficient interaction between the terminal and the user is realized.
  • the embodiment of the present application provides a display control method, and the terminal may display a first interface including a first display content.
  • the terminal may receive a first operation of the first display content by the user.
  • the terminal saves the first display record corresponding to the first display content, and updates the first display content displayed by the first sub-interface to the second display content.
  • the terminal receives a second operation of the user to display the first sub-interface of the second display content.
  • the terminal redisplays the first display content according to the first display record. That is, the method in the embodiment of the present application can display the historical content displayed before the sub-interface is refreshed in the sub-interface of the terminal. In this way, the intelligence of the terminal can be improved, and the efficient interaction between the terminal and the user is realized.
  • the first display content may be redisplayed in the first sub-interface in response to the second operation.
  • the second display content may also be displayed.
  • the method in the embodiment of the present application may further include S801:
  • the terminal saves the second display record corresponding to the second display content.
  • the terminal may further receive a second operation of the user for the redisplayed first display content, and display the second display content.
  • the method in this embodiment may further include S802-S803:
  • the terminal receives a second operation of the first display content by the user.
  • the terminal displays the second display content on the first interface according to the second display record.
  • the second display record in the embodiment of the present application includes: a second display content or an identifier of the second display content.
  • the second display record comprises: a second display content or an identifier of the second display content, and layout information of the second display content in the first interface.
  • the first display record can be the first display content. That is, the first display record saved by the terminal is the first display content displayed by the terminal on the first sub-interface.
  • the first display record may be the plurality of application icons.
  • the terminal may directly display the first display record saved by the terminal (ie, the first display content) in the first sub-interface.
  • the first display record may be an identification of the first display content.
  • the identifier of the first display content may be the address information or the index information that the terminal saves the first display content.
  • the first display record may include an identification of the first display content.
  • the identifier of the first display content may be the address information or the index information of the plurality of pictures saved by the terminal.
  • the terminal may acquire multiple pictures according to the address information or the index information in the first display record and display the multiple pictures in the first sub-interface.
  • the first display record may include an identification of the first display content.
  • the identifier of the first display content may be an identifier of a plurality of objects in the second application.
  • the second application may be a video application, a music application, a shopping application, or a travel application.
  • the plurality of objects may be multiple videos provided by the video application.
  • the video application can be iQiyi, Youku or Tencent video.
  • the plurality of objects may be a plurality of songs provided by the music application.
  • the music application can be QQ music, Baidu music or Netease cloud music.
  • the plurality of objects may be a plurality of products provided by the shopping application.
  • the shopping application can be Taobao or Jingdong.
  • the plurality of objects may be a plurality of travel items provided by the travel application.
  • the first display content displayed by the terminal in the first sub-interface includes the recommended items of video 1, video 2 and video 3.
  • the first display record may include the identification of the video 1, video 2, and video 3.
  • the identification of the plurality of objects may be the names of the plurality of objects.
  • the identifier of the plurality of objects may be link information of the plurality of objects. The terminal can find the object from the second application according to the name of the object or the link information.
  • the first display record may include not only the first display content or the identifier of the second display content.
  • the first display record may further include layout information of the first display content in the first interface (ie, the first sub-interface).
  • the terminal in response to the second operation, the terminal may first acquire the first display content corresponding to the first display record. Then, the obtained first display content is typeset according to the layout information included in the first display record. Finally, the first display content after the layout is displayed on the first sub-interface.
  • the above typesetting information is optional.
  • the above typesetting information may not be included in the first display record.
  • the terminal may redisplay the first display content in response to the second operation, the layout of the first display content in the first sub-interface may change. For example, when the first display content is redisplayed and the first display content is displayed for the first time, the layout of the first display content in the first sub-interface may be different.
  • the first display content displayed before the "application suggestion" sub-interface 801 is refreshed includes WeChat, video, QQ, and the application icon of China Merchants Bank.
  • the mobile phone 200 may refresh the first display content displayed in the "application suggestion" sub-interface 801 in response to the up-down swipe gesture input by the user in the "application suggestion" sub-interface 801 shown in (a) of FIG. 8B.
  • the "application suggestion" sub-interface 802 shown in (b) of FIG. 8B displays the second display content.
  • the second display content displayed by the "application suggestion" sub-interface 702 includes application icons of Alipay, stock, mobile Taobao, and Bank of China.
  • the mobile phone 200 may redisplay the first display content in the "application suggestion" sub-interface 803 in response to the downward-up sliding gesture input by the user in the "application suggestion” sub-interface 802 shown in (b) of FIG. 8B.
  • the "application suggestion" sub-interface 801 shown in the "application suggestion” sub-interface 801 shown in (a) of FIG. 8B and the "application suggestion” sub-interface 803 shown in (c) of FIG. 8B it is known.
  • the "application suggestion" sub-interface 801 and the “application suggestion” sub-interface 803 both include the first display content, that is, the application icons of WeChat, video, QQ, and China Merchants Bank; however, the application of WeChat, video, QQ, and China Merchants Bank
  • the icon is different in the layout of the "Application Suggestion" sub-interface 801 and the "Application Suggestion” sub-interface 803.
  • the terminal may save a plurality of display records of the first sub-interface, such as the first display record and the second display record, as described above (eg, in a preset record set).
  • the preset record set may save the display record in the order of time.
  • the foregoing 305 may specifically include: in response to the second operation, the terminal acquires, from the preset record set, the first display record that is recently saved in the preset record set, determines the first display content according to the first display record, and determines the first display content, and is in the first sub- The interface displays the first display content. Wherein, when the first display record is the first display content, the terminal may directly save the first display content in the preset record set.
  • the terminal may save the first display content, and save the identifier of the first display content in the preset record set. In this way, the terminal can obtain and display the first display content on the first sub-interface according to the identifier of the first display content saved in the preset record set.
  • the terminal may maintain a preset record set for each sub-interface in each application.
  • the display control method provided by the embodiment of the present application is described as an example in which the sub-interface S shown in FIG. 9 is the first sub-interface displayed by the terminal.
  • the display content B shown in (b) of FIG. 9 is the first display content.
  • the display record A is stored in the preset record set shown in (a) of FIG. Among them, the display record A corresponds to the display content A.
  • the terminal updates the display content B displayed by the sub-interface S to the display content shown in (d) of FIG. C.
  • the display content C shown in (d) of FIG. 9 is the second display content.
  • the terminal can save the display record B of the display content B in the preset recording set shown in (a) of FIG. Among them, the display record B corresponds to the display content B.
  • the second operation is for instructing the terminal to display the display content displayed before the sub-interface S was last refreshed.
  • the display content of the sub-interface after the last refresh is C.
  • the display content of the sub-interface before the most recent refresh is B.
  • the terminal may display the display content B (ie, the first display content) shown in (f) of FIG. 9 at the sub-interface S. ).
  • the terminal can save the display record C of the display content C in the preset recording set shown in (c) of FIG. Among them, the display record C corresponds to the display content C.
  • the terminal can display the display content A (not shown in FIG. 9) at the sub-interface S. It can be understood that the display record B corresponding to the current display content B has been saved in the preset record set shown in (d) of FIG. 9; therefore, in response to the user's sub-interface shown in (f) of FIG. In the second operation of S, the terminal does not save the above display record B (not shown in FIG. 9) in the preset record set.
  • the first operation may be received by the user for displaying the first sub-interface of the first display content (refresh operation).
  • the terminal may update the first display content displayed by the first sub-interface to the third display content in response to the first operation.
  • the terminal receives the user's first operation on the sub-interface S shown in (f) of FIG.
  • the terminal may update the display content B displayed by the sub-interface S to the display content D. That is, the terminal displays the display content D shown in (h) of FIG. 9 on the sub-interface S.
  • the display record C corresponding to the current display content C has been saved in the preset record set shown in (e) of FIG. 9; therefore, in response to the user's sub-interface shown in (f) of FIG.
  • the terminal does not save the above display record C in the preset record set. That is, the preset recording set shown in (e) of FIG. 9 is not changed compared to the preset recording set shown in (g) of FIG.
  • the terminal can display the display content C shown in (j) of FIG. 9 at the sub-interface S. And, in response to the second operation, the terminal can save the display record D of the display content D in the preset record set shown in (g) of FIG. 9 to obtain the preset record shown in (i) of FIG. set. A new display record D is added to the preset recording set shown in (i) of FIG. 9 as compared with the preset recording set shown in (g) of FIG.
  • the preset set of records may be a preset stack.
  • the storing, by the terminal, the specificity of the first display record corresponding to the first display content may include: in response to the first operation, the terminal pressing the first display record into the preset stack.
  • the stack pointer of the preset stack points to the display record of the top of the stack of the preset stack.
  • the foregoing S305 may include: in response to the second operation, the terminal acquires the first display record pointed by the stack pointer, determines the first display content according to the first display record, and displays the first display content on the first sub-interface . And, the terminal can push the second display record onto the preset stack.
  • the terminal may display the display content corresponding to the display record pointed to by the stack pointer.
  • the stack saves the information pushed onto the stack in a advanced back-end manner.
  • the preset stack saves the display record pushed into the preset stack in a advanced back-end manner.
  • the stack pointer of the preset stack points to the newly pressed display record.
  • the terminal pushes the first display record into the preset stack in response to the first operation, at which time the first display record is on the top of the stack of the preset stack, and the stack pointer currently indicates the first display record at the top of the stack.
  • the terminal may display the first display content corresponding to the first display record of the stack top pointed to by the stack pointer, and push the second display record into the preset stack.
  • the stack pointer points to the second display record located at the top of the stack.
  • the display content B shown in (b-1) of FIG. 10 is the first display content.
  • the display record A is pushed into the preset stack P shown in (a-1) of FIG. Among them, the display record A corresponds to the display content A.
  • the terminal receives the user's first operation of the display content B shown in (b-1) of FIG. 10 (such as a user's click operation on the refresh button in the sub-interface S). In response to the first operation, the terminal can push the display record B to the preset stack P shown in (a-1) of FIG. 10 to obtain the preset stack P shown in (a-2) of FIG.
  • the display record B corresponds to the display content B.
  • the stack pointer points to the display record B at the top of the stack.
  • the terminal can update the display content B displayed by the sub-interface S to the display content C shown in (b-2) of FIG.
  • the second operation when the second operation is a different user operation, the second operation indicates that the historical display content displayed by the terminal is different.
  • the second operation may be used to instruct the terminal to display the display content displayed before the sub-interface S was last refreshed.
  • the second operation may be used to instruct the terminal to display the display content displayed before the sub-interface S is last refreshed.
  • the display content of the sub-interface after the last refresh is C.
  • the display content of the sub-interface before the most recent refresh is B. That is, the second operation corresponds to the display content B.
  • the stack pointer of the preset stack P shown in (a-2) of FIG. 10 points to the display record B. Therefore, as shown in (b-3) of FIG. 10, the terminal can redisplay the display content B pointed to by the stack pointer shown in (a-2) in FIG. 10 on the sub-interface S.
  • the terminal in response to the second operation, the terminal can press the display record C into the preset stack P shown in (a-2) in FIG. 10 to obtain the preset shown in (a-3) in FIG. Stack P.
  • the second operation may be used to instruct the terminal to display the display content displayed before the N-th times of the sub-interface S is refreshed.
  • n is a natural number greater than or equal to 1.
  • the sub-interface S is refreshed the Nth time and is the most recently refreshed.
  • N is a natural number greater than n.
  • the second operation may be used to instruct the terminal to display the display content displayed before the N-th times of the sub-interface S being refreshed.
  • the terminal may receive the first sub-interface of the user displaying the first display content.
  • the first operation fresh operation.
  • the terminal may update the display content of the first sub-interface and display the third display content on the first sub-interface in response to the first operation.
  • the third display content is different from the first display content
  • the third display content is different from the second display content.
  • the method in the embodiment of the present application may further include S1201-S1203.
  • S1201 The terminal receives a first operation of the first display content by the user.
  • the terminal updates the first display content to the third display content.
  • the terminal In response to the first operation, if the terminal does not save the first display record, the terminal saves the first display record, and if the terminal has saved the first display record, the terminal does not save the first display record.
  • the terminal may save a display record (such as a first display record) corresponding to the display content before the first interface (such as the first sub-interface) is refreshed in response to the first operation.
  • a display record such as a first display record
  • the terminal responds to the first The operation may not save the first display record. That is to say, in the above S303, the specific manner of the terminal storing the first display record corresponding to the first display content in response to the first operation may refer to S1203.
  • the display record A, the display record B, and the display record C are sequentially pressed in the preset stack P.
  • the record C is displayed on the top of the stack of the preset stack P.
  • the sub-interface S shown in (b-1) in FIG. 12B displays the display content B (ie, the first display content).
  • the terminal may update the display content B displayed by the sub-interface to the display content D (ie, the third display content).
  • the terminal since the first display record (ie, display record B) has been saved in the preset stack P shown in (a-1) in FIG. 12B; therefore, the terminal does not need to push the display into the preset stack P again.
  • the preset stack P shown in (a-2) of 12B does not change from the preset stack P shown by (a-1) in 12B.
  • the terminal saves the second display record corresponding to the second display content may specifically include: if the terminal does not save the second display record, the terminal saves the second display record, where the terminal In the case where the second display record has been saved, the terminal does not save the second display record.
  • the second operation described above may be a sliding operation input by the user on the first sub-interface.
  • the stack pointer of the preset stack switches in the display record in the preset stack.
  • the display content in the first sub-interface changes as the stack pointer is switched.
  • the display record A, the display record B, and the display record C are sequentially pressed in the preset stack P.
  • the stack pointer shown in (a-1) of Fig. 13 points to the display record C.
  • the sub-interface S shown in (b-1) of FIG. 13 displays the display content D.
  • the terminal receives the downward sliding operation (i.e., the second operation) of the sub-interface S shown by the user in (b-1) in FIG.
  • the terminal can push the display record D to the preset stack P shown in (a-1) of FIG. 13 to obtain the preset stack P shown in (a-2) of 13.
  • the stack pointer of the preset stack P is pointed.
  • the display record is switched from the display record B shown in (a-3) in FIG. 13 to the display record D shown in (a-4) in FIG. 13, and the sub-interface shown in (b-4) in FIG. S displays the display content D.
  • the terminal may also display a navigation bar in response to the sliding operation (second operation) of the user on the sub-interface S.
  • the navigation bar can guide the user operation terminal. In this way, the interaction performance between the terminal and the user can be improved.
  • the terminal receives the downward sliding operation of the sub-interface S shown by (b-1) of the user in FIG. 14 (or may be an upward sliding operation).
  • the navigation bar Q shown in (b-2) of Fig. 14 can be displayed.
  • the navigation bar Q includes a navigation key.
  • the navigation keys are the black dots in Figure 14.
  • the stack pointer switches in the display record in the preset stack. E.g. When the user's finger drags the navigation key in the navigation bar Q from the position shown by (b-2) in FIG. 14 to the position shown in (b-3) in FIG. 14, the stack pointer of the preset stack P is preset.
  • the navigation bar in the embodiment of the present application includes but is not limited to the navigation bar shown in FIG.
  • a horizontal navigation bar can also be displayed in the first sub-interface. It can be understood that when the terminal detects that the user's finger leaves the touch screen of the terminal, the navigation bar disappears.
  • the terminal can periodically delete the display records with the earlier storage time in the preset record set.
  • the terminal may delete the first M display records in the K display records according to the order of the save time when the number of display records saved in the preset record set is higher than a preset threshold (such as K). M is less than K, and both M and K are natural numbers greater than zero.
  • the terminal may delete the display record saved in the preset record set in response to the user's operation of closing the first application.
  • the terminal can periodically clear (ie, delete) the display record in the preset stack.
  • the terminal can clear the display record in the preset stack at the first preset time of the day.
  • the first preset time may be a time when the terminal learns the user portrait to learn that the user does not use the terminal for a long time.
  • the first preset time may be 0:00 am, or the first preset time may be any time between 0:00 and 6:00, which is not limited by the embodiment of the present application.
  • the terminal can empty (ie, delete) the display record in the preset stack every X days.
  • X is a natural number greater than or equal to 2.
  • the terminal may delete the display record saved in the preset stack in response to the user's operation of closing the first application.
  • the terminal closing the first application may be: the terminal does not display the interface of the first application on the current interface, but the terminal runs the first application in the background.
  • the terminal closing the first application may be: the terminal does not display the interface of the first application on the current interface, and the terminal also closes the first application in the background. After the terminal closes the first application in the background, the terminal does not run the first application in the background.
  • the preset record set in the embodiment of the present application includes but is not limited to the foregoing preset stack.
  • the preset record set can also be implemented by means of a queue.
  • the application scenario of the display control method provided by the embodiment of the present application includes, but is not limited to, the foregoing application scenario (1), and the display control method can also be applied to the following multiple application scenarios:
  • the first interface can be the home page of the app store.
  • the first interface is a display interface of an application store of the mobile phone 200 shown in (a) of FIG.
  • One or more sub-interfaces can be included in the app store's home page.
  • the "application recommendation" sub-interface 1501 is included in the home page of the application store.
  • the first display content 1502 is displayed in the "App Recommendation" sub-interface 1501.
  • the first display content 1502 includes application icons for WeChat, Alipay, stock, and QQ.
  • the first display record is the first display content 1502 and the second display record is the second display content 1504.
  • the first operation is an example in which the user clicks on the refresh button 1503 in the "application recommendation" sub-interface 1501.
  • the mobile phone 200 may refresh the display content of the "application recommendation” sub-interface 1501 in response to the user's click operation on the refresh button 1503. It is assumed that the refreshed second display content 1504 includes Wi-Fi keys, shared bicycles, weather, and application icons of the Bank of China.
  • the mobile phone 200 can press the first display content 1502 into the preset stack P shown in (a) of FIG. 16 to obtain the preset stack P shown in (b) of FIG.
  • the second operation is an example of the left and right sliding operation of the user in the "application recommendation" sub-interface 1501.
  • the mobile phone 200 can display the navigation bar 1505 in the "Apply Recommendations” sub-interface 1501.
  • a navigation key black dot
  • the handset 200 switches in the display record in the preset stack in response to the user dragging the navigation keys in the navigation bar 1505.
  • the user's finger drags the navigation key in the navigation bar 1505 from the position shown in (c) of FIG.
  • the mobile phone 200 can display The first display content 1502 indicated by the stack pointer of the preset stack P shown in (b) of FIG. 16 , that is, the mobile phone can redisplay the first in the “application recommendation” sub-interface 1501 shown in (d) of FIG. 15 .
  • Content 1502 is displayed.
  • the mobile phone 200 can press the second display content 1504 into the preset stack P shown in (b) of FIG. 16 to obtain the preset stack P shown in (c) of FIG.
  • the navigation bar 1505 disappears.
  • the terminal can save the display record of the first sub-interface in a preset record set (such as a preset stack).
  • the terminal may separately save display records of different types of display content displayed on the first sub-interface in a plurality of preset record sets (such as a preset stack).
  • a plurality of preset record sets (such as a preset stack) are in one-to-one correspondence with various types.
  • Each preset record set (such as a preset stack) holds a display record of one type of display content.
  • the first interface may be a sorting interface of the application store.
  • the first interface is a video classification interface of the application store of the mobile phone 200 shown in (a) of FIG.
  • the movie and television classification interface includes a "video" sub-interface 1701.
  • the recommendation information of different types of video application can be displayed in the “video” sub-interface 1701.
  • the "video" sub-interface 1701 shown in (a) of FIG. 17 displays recommendation information of a video-type movie application.
  • the recommendation information of the live video application is displayed in the "video" sub-interface 1701 shown in (c) of FIG.
  • the "video" sub-interface 1701 can also display the recommendation information of the player-type movie application.
  • the first display content currently displayed in the "video" sub-interface 1701 is: application recommendation information of video 1, video 2, and video 3.
  • the video 1 in the embodiment of the present application refers to the video 1 application
  • the video 2 refers to the video 2 application
  • the video 3 refers to the video 3 application.
  • the mobile phone 200 receives a first operation (e.g., an S-shape gesture) of the user's "video" sub-interface 1701 shown in (a) of FIG.
  • the mobile phone 200 can refresh the display content of the "video" sub-interface 1701 in response to the S-shaped gesture. It is assumed that the refreshed second display content includes application recommendation information of video 4, video 5, and video 6.
  • the mobile phone 200 displays "application recommendation information of video 4, video 5, and video 6" in the "video" sub-interface 1701.
  • the mobile phone 200 can press “identification of video 1, video 2, and video 3" in the preset stack Pa shown in (a) of FIG. 18A to obtain the preset stack shown in (b) of FIG. 18A. Pa.
  • the first operation in the embodiment of the present application may also be an operation for switching the type of display content of the first sub-interface.
  • the terminal switches the type of the display content of the first sub-interface in response to the first operation, the display content of the first sub-interface changes. Therefore, the terminal can implement refreshing of the display content of the first sub-interface in response to the first operation.
  • the first operation may be a user's click operation on the "live" option shown in (b) of FIG.
  • the mobile phone 200 In response to the user's clicking operation of the "live” option shown in (b) of FIG. 17, as shown in (c) of FIG. 17, the mobile phone 200 displays "live 1" in the "video" sub-interface 1701. Application recommendation information for Live 2 and Live 3". Also, the mobile phone 200 can press "identification of video 4, video 5, and video 6" in the preset stack Pa shown in (b) of FIG. 18A to obtain the preset stack shown in (c) of FIG. 18A. Pa.
  • the display content in the first sub-interface changes.
  • the display content before the change ie, the second display content
  • the changed display content ie, the first display content
  • the second operation is a semi-circular gesture as an example.
  • the first sub-interface 1801 of the mobile phone 200 currently displays "application recommendation information of live 1, live 2, and live 3".
  • the mobile phone 200 receives the user inputting a semi-circular gesture at the first sub-interface 1801 shown in (a) of FIG. 18B.
  • the mobile phone 200 displays "Video 4, Video 5, and Video pointed to by the stack pointer shown in (c) of FIG. 18A in the first sub-interface 1802 shown in (b) of FIG. 18B.
  • "Identification of 6" corresponds to "Application recommendation information of Video 4, Video 5, and Video 6.”
  • a plurality of preset stacks are in one-to-one correspondence with various types of display content.
  • Each preset stack holds a display record of one type of display content.
  • the display content shown in FIG. 17 or FIG. 18B can be classified into three types: a video class, a live broadcast class, and a player class.
  • the terminal can save the display record of the video class display content in a preset stack.
  • the preset stack P-a shown in FIG. 18A is a preset stack of video types for holding display records of video type display contents.
  • the terminal saves the display record of the live class display content in another preset stack.
  • the preset stack P-b shown in FIG. 19 is a preset stack of a live broadcast type for storing a display record of the live type display content.
  • the handset 200 can input a semi-circular gesture in response to the user entering the first sub-interface 1801 shown in (a) of FIG. 18B, which may be the preset stack shown in (a) of FIG.
  • the identifier of the second display content that is, the "live 1, live 2 and live 3 logos” is pressed into the Pb, and the preset stack Pb shown in (b) of FIG. 19 is obtained.
  • the stack pointer points to the "live 1, live 2 and live 3 logos" at the top of the stack.
  • the display records of the plurality of types of display contents displayed in the first sub-interface are saved in a preset stack.
  • the display content shown in FIG. 17 or FIG. 18B can be classified into three types: a video class, a live broadcast class, and a player class.
  • the terminal can save the display record of the video class display content, the display record of the live class display content, and the display record of the player class display content in a preset stack.
  • the handset 200 can input a semi-circular gesture in response to the user entering the first sub-interface 1801 shown in (a) of FIG. 18B, which may be the preset stack shown in (a) of FIG. Pa, that is, the preset stack Pa shown in (c) of FIG. 18A, the identifier of the second display content is pressed, that is, the "live 1, live 2 and live 3 logos", and (b) in FIG. 20 is obtained.
  • the preset stack Pa shown in (b) of FIG. 20 includes not only display records of video type display contents, such as "identification of video 1, video 2, and video 3" and "identification of video 4, video 5, and video 6. ".
  • the preset stack P-a shown in (b) of FIG. 20 may further include display records of the live type display content, such as "live 1, live 2 and live 3 logos".
  • the display content in the first sub-interface changes.
  • the display content before the change ie, the second display content
  • the changed display content ie, the first display content
  • the second operation is a semi-circular gesture as an example.
  • “App recommendation information of live 1, live 2, and live 3” live type display content) shown in (a) of FIG. 18B and "video 4, video 5, and video 6 shown in (b) of FIG. 18B
  • the application recommendation information (video class display content) is a different type of display content.
  • the mobile phone 200 receives the user inputting a semi-circular gesture at the first sub-interface 1802 shown in (b) of FIG. 18B.
  • the mobile phone 200 displays "application recommendation information of video 1, video 2, and video 3" shown in (c) of FIG. 18B in response to the semicircular gesture.
  • "application recommendation information of video 4, video 5, and video 6" (video type display content) shown in (b) of FIG. 18B is the same as "video 1, video 2, and (c) shown in FIG. 18B.
  • the application recommendation information of the video 3 (the video type display content) is the same type of display content.
  • the first interface may be a display interface of Taobao.
  • the first interface is the display interface shown in (a) of FIG.
  • the first sub-interface 2101 is included in the display interface shown in (a) of FIG.
  • the first display content in the first sub-interface 2101 shown in (a) of FIG. 21 includes recommendation information of a plurality of products, such as "recommendation information of skirts, pants, hats, and glasses.”
  • the first operation is an example of a pull-down gesture input by the user to the first sub-interface 2101.
  • the mobile phone 200 may refresh the display content of the first sub-interface 2101 in response to a pull-down gesture input by the user to the first sub-interface 2101 shown in (a) of FIG. It is assumed that the refreshed second display includes "recommendation information for rings, windbreakers, scooters, and pineapples.” As shown in (b) of FIG. 21, the mobile phone 200 displays the second display content, that is, "recommendation information of a ring, a windbreaker, a scooter, and a pineapple" in the first sub-interface 2102.
  • the mobile phone 200 can press the first display content "link of skirt, pants, hat, and glasses" into the preset stack P shown in (a) of FIG. 22, and obtain the image in FIG. (b) The preset stack P shown.
  • the link in the application scenario (4) of the embodiment of the present application refers to the product link in the first application.
  • the second operation is an example of a tick gesture input by the user to the first sub-interface 2102.
  • the mobile phone 200 may redisplay the first display content in the first sub-interface 2103 shown in (c) of FIG. 21 in response to the user's check gesture input to the first sub-interface 2102 shown in (b) of FIG. 21, That is, "recommendation information for skirts, pants, hats, and glasses.”
  • the mobile phone 200 can also press the "link of the ring, the windbreaker, the scooter, and the pineapple" in the preset stack shown in (b) of FIG. 22 in response to the above-described hooking gesture, and obtain the (c) in FIG.
  • the preset stack P shown.
  • the embodiment of the present application further provides a display control method. Different from the above display control method, in response to the first operation, the terminal saves the updated display content (such as the second display content).
  • the display control method may include the following contents:
  • the terminal displays a first interface, and the first display content is currently displayed in the first interface. While the terminal displays the first display content, the first display record of the first display content is saved in the terminal.
  • the terminal receives a first operation of the first display content by the user, and the first operation is an operation of updating the first display content.
  • the terminal updates the first display content displayed by the first interface to the second display content, and saves the second display record corresponding to the second display content.
  • the first display content is different from the second display content.
  • the terminal receives the second operation of the second display content by the user, and the second operation is an operation of viewing the display content before the update.
  • the terminal displays the first display content on the first interface according to the first display record.
  • the first display content and the second display content may be displayed in the first sub-interface of the first interface.
  • the display control method provided by the embodiment of the present application is described by using the sub-interface S shown in FIG. 23 as the first sub-interface displayed by the terminal as an example.
  • the display content B shown in (b) of FIG. 23 is the first display content.
  • the display record A and the display record B are stored in the preset record set shown in (a) of FIG.
  • the display record A corresponds to the display content A
  • the display record B corresponds to the display content B.
  • the terminal updates the display content B displayed by the sub-interface S to the display content C shown in (d) of 23.
  • the display content C shown in (d) of 23 is the second display content.
  • the terminal can save the display record C of the display content C in the preset recording set.
  • the second operation is for instructing the terminal to display the display content displayed before the sub-interface S was last refreshed.
  • the display content of the sub-interface after the last refresh is C.
  • the display content of the sub-interface before the most recent refresh is B.
  • the terminal in response to the second operation of the sub-interface S shown by (d) in the user pair 23, the terminal can display the display content B (i.e., the first display content) shown in (f) of 23 in the sub-interface S.
  • the preset recording set shown by (e) in 23 is compared with the preset recording set shown in (c) of 23 No new display records have been added.
  • the terminal may display the display content A (not shown in the sub-interface S).
  • the terminal may receive a first operation (refresh operation) of the user for displaying the first sub-interface of the first display content.
  • the terminal may update the first display content displayed by the first sub-interface to the third display content in response to the first operation.
  • the terminal receives the first operation of the sub-interface S shown in (f) of the user pair 23.
  • the terminal may update the display content B displayed by the sub-interface S to the display content D. That is, the terminal displays the display content D shown in (h) of 23 in the sub-interface S.
  • the terminal may save the display record D of the display content D in the preset record set shown in (e) of 23, and obtain the preset record set indicated by (g) in 23.
  • a new display record D is added to the preset record set shown by (g) in 23 compared to the preset record set shown in (e) of 23.
  • the preset record set may be a preset stack.
  • the terminal may display the display content corresponding to the display record pointed to by the stack pointer of the preset stack in the first sub-interface.
  • the specific process of the display control method provided by the embodiment of the present application is described by using the preset sub-interface as the first sub-interface of the terminal shown in FIG.
  • the display content B is currently displayed in the sub-interface S. That is, the display content B shown in (b-1) of FIG. 10 is the first display content.
  • the display record A and the display record B are pressed into the preset stack P shown in (a-1) of Fig. 24.
  • the display record A corresponds to the display content A
  • the display record B corresponds to the display content B.
  • the terminal receives the user's first operation of the sub-interface S shown in (b-1) of FIG. 24 (such as a user's click operation on the refresh button in the sub-interface S). In response to the first operation, the terminal can push the display record C to the preset stack P shown in (a-1) of FIG.
  • the terminal can update the display content B displayed by the sub-interface D to the display content C pointed to by the stack pointer shown in (a-2) of FIG. That is, the display content C shown in (b-2) of FIG. 24 is displayed in the sub-interface S.
  • the display content C shown in (b-2) of FIG. 24 is the second display content.
  • the second operation can be used to instruct the terminal to display the display content displayed before the sub-interface S is last refreshed.
  • the second operation may be used to indicate that the terminal displays the display content displayed before the sub-interface S is last refreshed.
  • the display content of the sub-interface after the last refresh is C.
  • the display content of the sub-interface before the most recent refresh is B. That is, the second operation corresponds to the display content B.
  • the terminal can control the stack pointer to point to the display record B.
  • the terminal can redisplay the display content B pointed to by the stack pointer shown in (a-3) in FIG. 24 at the sub-interface S.
  • the first sub-interface "application recommendation" sub-interface 1501 is included in the home page of the application store.
  • the first display content 1502 is displayed in the "App Recommendation" sub-interface 1501.
  • the first display content 1502 includes application icons for WeChat, Alipay, stock, and QQ.
  • the first display content 1502 is pressed in the preset stack P.
  • the first operation is an example in which the user clicks on the refresh button 1503 in the "application recommendation" sub-interface 1501.
  • the mobile phone 200 may refresh the display content of the "application recommendation" sub-interface 1501 in response to the user's click operation on the refresh button 1503.
  • the refreshed second display content 1504 includes a WiFi key, a shared bicycle, a weather, and an application icon of the Bank of China.
  • the mobile phone 200 can press the second display content 1504 into the preset stack P shown in (a) of FIG. At this point, the stack pointer points to the second display content 1504 at the top of the stack.
  • the mobile phone 200 displays the second display content 1504 pointed to by the stack pointer in the "application recommendation" sub-interface 1501.
  • the second operation is an example of the left and right sliding operation of the user in the "application recommendation" sub-interface 1501.
  • the mobile phone 200 can display the navigation bar 1505 in the "Apply Recommendations” sub-interface 1501.
  • the handset 200 switches in the display record in the preset stack in response to the user dragging the navigation keys in the navigation bar 1505.
  • the stack pointer of the preset stack P points to FIG.
  • the first display content 1502 shown in (c), the "application recommendation" sub-interface 1501 shown in (d) of FIG. 15 redisplays the first display content 1502.
  • the first display content in the first sub-interface 2101 shown in (a) of FIG. 21 includes recommendation information of a plurality of items such as "recommendation information of skirts, pants, hats, and glasses".
  • the preset stack P holds a link in which the first display content "skirt, pants, hat, and glasses” is pressed.
  • the first operation is an example of a pull-down gesture input by the user to the first sub-interface 2101.
  • the mobile phone 200 may refresh the display content of the first sub-interface 2101 in response to a pull-down gesture input by the user to the first sub-interface 2101 shown in (a) of FIG. It is assumed that the refreshed second display includes "recommendation information for rings, windbreakers, scooters, and pineapples.”
  • the mobile phone 200 may press a webpage link of the second display content, that is, a "link of a ring, a windbreaker, a scooter, and a pineapple" in the preset stack P shown in (a) of FIG.
  • the stack pointer points to the "link of the ring, trench coat, scooter, and pineapple" at the top of the stack.
  • the mobile phone 200 displays the “rings, windbreakers, scooters, and pineapples” corresponding to the "links of rings, windbreakers, scooters, and pineapples” pointed by the stack pointer in the first sub-interface 2102. information".
  • the second operation is an example of a tick gesture input by the user to the first sub-interface 2101.
  • the mobile phone 200 controls the stack pointer to execute the link of "skirt, pants, hat, and glasses shown in (c) of FIG. 26 in response to the user's hooking gesture input to the first sub-interface 2101 shown in (b) of FIG. ".
  • the first sub-interface 2103 displays "skirts, pants, hats” corresponding to “links of skirts, pants, hats, and glasses” pointed by the stack pointer shown in (c) of FIG. And recommended information for glasses.”
  • the above terminal includes a hardware structure and/or a software module corresponding to each function.
  • the embodiments of the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the embodiments of the present application.
  • the embodiment of the present application may perform the division of the function modules on the foregoing terminal according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • the embodiment of the present application provides a terminal 2700.
  • the terminal 2700 includes a display unit 2701, an input unit 2702, and a storage unit 2703.
  • the display unit 2701 is configured to support the terminal 2700 to perform the operation of “displaying the second display content” in S301, S305, S803, and S303 in the foregoing method embodiment, S1202, and/or other processes for the techniques described herein.
  • the input unit 2702 is configured to support the terminal 2700 to perform S302, S304, S802, S1201 in the above method embodiments, and/or other processes for the techniques described herein.
  • the storage unit 2703 is configured to support the terminal 2700 to perform the operation of "save the first display record" in S303 in the above method embodiment, S801, S1203, and/or other processes for the techniques described herein.
  • the functions of the display unit 2701, the input unit 2702, and the storage unit 2703 include, but are not limited to, functions for performing the above method steps.
  • the display unit 2701, the input unit 2702, and the storage unit 2703 can be used to support the terminal 2700 to perform all of the functions described in the above method embodiments.
  • the display unit 2701 can also be configured to display a navigation bar on the first sub-interface in response to the second operation.
  • the foregoing terminal 2700 may further include a receiving unit and a sending unit.
  • the receiving unit is configured to receive information sent by other devices.
  • the sending unit is used to send information to other devices.
  • the above input unit 2702 can be implemented in one processing module.
  • the above receiving unit and transmitting unit can be implemented by being integrated in one communication module.
  • the above display unit 2701 may be a display module.
  • the above storage unit 2703 may be a storage module.
  • FIG. 28 is a schematic diagram showing a possible structure of the terminal involved in the above embodiment.
  • the terminal 2800 includes a processing module 2801, a storage module 2802, and a display module 2803.
  • the processing module 2801 is configured to perform control management on the terminal 2800.
  • the display module 2803 is configured to display an interface and receive a touch operation of the user.
  • the storage module 2802 is configured to save the program code and data of the terminal 2800.
  • the terminal 2800 may further include a communication module, and the communication module is configured to communicate with other devices. For example, the communication module is used to receive or send information to other devices.
  • the processing module 2801 may be a processor or a controller, and may include, for example, a central processing unit (CPU) and a graphics processing unit (GPU), a general-purpose processor, and a digital signal processor (Digital Signal Processor). , DSP), Application-Specific Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication module can be a transceiver, a transceiver circuit, or a communication interface.
  • the storage module 2802 can be a memory.
  • the processing module 2801 is a processor (such as the processor 201 shown in FIG. 2, the communication module is a radio frequency circuit (such as the radio frequency circuit 202 shown in FIG. 2)
  • the storage module 2802 is a memory (such as the memory 203 shown in FIG. 2).
  • the display module 2803 is a display (including the display 204 including the touch panel 204-1 and the display panel 204-5 shown in FIG. 2)
  • the device provided by the present application may be the mobile phone 200 shown in FIG.
  • the communication module may include not only a radio frequency circuit but also a WiFi module and a Bluetooth module.
  • the communication modules such as the radio frequency circuit, the WiFi module, and the Bluetooth module may be collectively referred to as a communication interface, wherein the processor, the communication interface, the touch screen, and the memory may pass through the bus. Coupled together.
  • the embodiment of the present application further provides a computer storage medium, where the computer program code is stored, and when the processor executes the computer program code, the terminal executes any one of FIG. 3, FIG. 8A and FIG. 12A.
  • the related method steps implement the method in the above embodiment.
  • the embodiment of the present application further provides a computer program product, when the computer program product is run on a computer, causing the computer to perform the related method steps in any one of FIG. 3, FIG. 8A and FIG. 12A to implement the above embodiment. Methods.
  • the terminal 2700 and the terminal 2800, the computer storage medium or the computer program product provided by the application are all used to perform the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the corresponding ones provided above. The beneficial effects in the method are not described here.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • a computer readable storage medium A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present application.
  • the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种显示控制方法及终端,涉及终端技术领域,可以在终端的显示界面中显示该显示界面被刷新前所显示的历史显示内容。具体方案包括:终端显示第一界面,该第一界面中当前显示第一显示内容;接收用户对第一显示内容的第一操作;响应于第一操作,终端保存第一显示内容对应的第一显示记录,并将第一界面显示的第一显示内容更新为第二显示内容,第一显示内容与第二显示内容不同;接收用户对第二显示内容的第二操作;响应于第二操作,终端根据第一显示记录在第一界面显示第一显示内容。

Description

一种显示控制方法及终端 技术领域
本申请实施例涉及终端技术领域,尤其涉及一种显示控制方法及终端。
背景技术
随着信息技术的发展,终端的页面上可以显示的信息的数量和类型越来越多。终端可以响应于用户对显示内容的刷新操作,更新界面的显示内容。其中,上述刷新操作是更新界面的显示内容的操作。具体的,终端可以向内容提供方,例如服务器,发送获取内容请求消息,例如get指令,请求内容提供方提供内容;在终端接收到返回的内容时,在其显示装置上对接收的内容进行显示。刷新操作后终端上显示的内容可能变化也可能不变化,取决于内容提供方提供的内容是否变化。内容提供方在接收到终端的内容请求后,可以根据终端之前的浏览记录或者其他策略(用户偏好或当前热点等),发送对应的内容给终端。
甚至,终端的界面可以被分隔为多个区域(本申请实施例中的子界面)。终端在不同子界面显示不同类型的信息,以方便用户在一个界面中浏览到多种类型的信息。例如,如图1中的(a)所示,手机的负一屏中可以包括“应用建议”子界面、“天气”子界面和“日程”子界面等。同样的,终端响应于用户对一个子界面的刷新操作,可以刷新该子界面的显示内容。例如,如图1中的(a)所示,手机的“应用建议”子界面101当前显示微信、视频、QQ和招商银行的应用图标。响应于用户对刷新按钮“换一换”的点击操作,如图1中的(b)所示,手机可以刷新“应用建议”子界面的显示内容,在“应用建议”子界面102显示支付宝、股票、手机淘宝和中国银行的应用图标。
但是,当子界面被刷新,终端在该子界面显示刷新的显示内容后,该子界面中则无法重新显示该子界面被刷新前所显示的历史内容。例如,手机负一屏中的“应用建议”子界面刷新显示图1中的(b)所示的支付宝、股票、手机淘宝和中国银行的应用图标后,无法返回显示图1中的(a)所示的微信、视频、QQ和招商银行的应用图标。
发明内容
本申请实施例提供一种显示控制方法及终端,可以在终端的显示界面中显示该显示界面被刷新前所显示的历史显示内容。
第一方面,本申请实施例提供一种显示控制方法,该显示控制方法包括:终端显示第一界面,该第一界面中当前显示第一显示内容;接收用户对第一显示内容的第一操作;响应于第一操作,终端保存第一显示内容对应的第一显示记录,并将第一界面显示的第一显示内容更新为第二显示内容,第一显示内容与第二显示内容不同;接收用户对第二显示内容的第二操作;响应于第二操作,终端根据第一显示记录在第一界面显示第一显示内容。
其中,本申请实施例中,终端显示包括第一显示内容的第一界面的情况下,可以接收用户对第一显示内容的第一操作。响应于第一操作,终端保存第一显示内容对应的第一显示记录,并将第一子界面所显示的第一显示内容更新为第二显示内容。这样,在终端接收到用户对显示第二显示内容的第一子界面的第二操作时,响应于第二操作,便可以根据保存的第一显示记录重新显示第一显示内容。即通过本申请实施例的方法,终端可以在终端的显示界面中显示该显示界面被刷新前所显示的历史显示内容。这样,可以提高终端的智 能化,实现了终端与用户之间的高效互动。
结合第一方面,在一种可能的设计方式中,上述第一界面包括一个或多个子界面,一个或多个子界面包括第一子界面,第一显示内容显示在第一子界面中。响应于第一操作,第二显示内容显示在第一子界面中。
结合第一方面,在另一种可能的设计方式中,上述第一显示记录包括第一显示内容。即终端保存的第一显示记录是终端在第一子界面显示的第一显示内容。例如,在第一显示内容包括多个应用图标的情况下,第一显示记录可以是该多个应用图标。在第一显示内容包括终端向用户推荐的多张图片的情况下,第一显示记录可以是该多张图片。终端响应于第二操作,可以直接将终端保存的第一显示记录(即第一显示内容)显示在第一子界面中。
结合第一方面,在另一种可能的设计方式中,上述第一显示记录包括第一显示内容的标识。第一显示内容的标识可以是指终端保存第一显示内容的地址信息或者索引信息。例如,在第一显示内容包括终端向用户推荐的多张图片的情况下,第一显示记录可以包括第一显示内容的标识。第一显示内容的标识可以是指终端保存上述多张图片的地址信息或者索引信息。终端响应于第二操作,可以根据第一显示记录中的地址信息或者索引信息,获取多张图片并在第一子界面显示该多张图片。
结合第一方面,在另一种可能的设计方式中,上述第一显示记录中不仅可以包括第一显示内容或者第二显示内容的标识。该第一显示记录中还可以包括第一显示内容在第一界面(即第一子界面)的排版信息。在这种实现方式中,响应于第二操作,终端可以先获取第一显示记录对应的第一显示内容。然后,根据第一显示记录中包括的排版信息,对获取到的第一显示内容进行排版。最后,将排版后的第一显示内容显示在第一子界面。
需要说明的是,上述排版信息是可选的。第一显示记录中可以不包括上述排版信息。在这种情况下,虽然终端可以响应于第二操作重新显示第一显示内容,但是第一显示内容在第一子界面中的排版可能会发生变化。例如,重新显示第一显示内容时与第一次显示第一显示内容时,第一显示内容在第一子界面中的排版可能不同。
结合第一方面,在另一种可能的设计方式中,可以理解,为了使终端在刷新第一子界面的显示内容后,可以响应于第二操作在第一子界面重新显示第一显示内容。为了使得终端重新显示第一显示内容后,还可以显示第二显示内容。具体的,上述显示控制方法还包括:响应于第二操作,终端保存第二显示内容对应的第二显示记录。终端接收用户对第一显示内容的第二操作。响应于第二操作,终端根据第二显示记录在第一界面显示第二显示内容。上述第二显示记录包括:第一显示内容或者第一显示内容的标识;或者,第二显示记录包括:第二显示内容或者第二显示内容的标识,以及第二显示内容在第一界面的排版信息。
其中,第二显示记录的详细介绍可以参考对第一显示记录的详细介绍,本申请实施例这里不予赘述。
结合第一方面,在另一种可能的设计方式中,上述第一子界面的显示记录保存在预设记录集合中。其中,预设记录集合可以按照时间的先后顺序保存显示记录。第一子界面的显示记录包括上述第一显示记录和第二显示记录。相应的,上述响应于第二操作,终端根据第一显示记录在第一界面显示所述第一显示内容,包括:响应于第二操作,终端从预设 记录集合中获取最近保存在预设记录集合中的第一显示记录,根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容。
结合第一方面,在另一种可能的设计方式中,上述预设记录集合是预设堆栈。上述响应于第一操作,终端保存第一显示内容对应的第一显示记录,包括:响应于第一操作,终端将第一显示记录压入预设堆栈。
结合第一方面,在另一种可能的设计方式中,响应于第一操作,预设堆栈的栈指针指向预设堆栈的栈顶的显示记录。本申请实施例中,上述响应于第二操作,终端根据第一显示记录在第一界面显示第一显示内容,可以包括:响应于第二操作,终端获取栈指针指向的第一显示记录,根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容。也就是说,响应于第二操作,终端可以显示栈指针指向的显示记录对应的显示内容。可以理解,堆栈是以先进后出的方式保存压入堆栈的信息的。例如,上述预设堆栈以先进后出的方式保存压入该预设堆栈的显示记录。并且,当预设堆栈中压入新的显示记录时,该预设堆栈的栈指针指向新压入的显示记录。例如,终端响应于第一操作将第一显示记录压入了预设堆栈,此时第一显示记录位于预设堆栈的栈顶,栈指针当前指示位于栈顶的第一显示记录。随后,终端响应于第二操作,便可以显示栈指针指向的位于栈顶的第一显示记录对应的第一显示内容,并将第二显示记录压入预设堆栈。其中,终端将第二显示记录压入堆栈后,栈指针指向位于栈顶的第二显示记录。
结合第一方面,在另一种可能的设计方式中,上述第二操作是滑动操作,随着滑动操作的滑动位置的变化,栈指针在所述预设堆栈中的显示记录中切换。其中,第一子界面中的显示内容随着栈指针的切换而发生变化。可选的,终端响应于用户对第二显示内容的第二操作,还可以显示一个导航条。导航条对用户操作终端可以起到引导作用。这样,可以提高终端与用户的交互性能。
结合第一方面,在另一种可能的设计方式中,终端在第一子界面重新显示第一显示内容后,可能会接收到用户对显示第一显示内容的第一子界面的第一操作(刷新操作)。在这种情况下,终端响应于该第一操作,可以将第一子界面显示的第一显示内容更新为第三显示内容。该第三显示内容与第一显示内容不同,且第三显示内容与第二显示内容不同。也就是说,即使终端响应于第二操作,在第一子界面重新显示第一显示内容。终端响应于刷新操作(即第一操作),也会更新第一子界面的显示内容,以在第一子界面显示不同于以往曾经显示过的显示内容(如第一显示内容和第二显示内容)的第三显示内容。
结合第一方面,在另一种可能的设计方式中,为了避免终端重复保存同一显示内容的显示记录。终端响应于第一操作,可以判断终端是否保存了第一显示记录。在终端未保存第一显示记录的情况下,终端才会保存第一显示记录。相应的,终端响应于第二操作,可以判断终端是否保存了第二显示记录。在终端未保存第二显示记录的情况下,终端才会保存第二显示记录。
第二方面,本申请实施例提供一种显示控制方法,该显示控制方法包括:终端显示负一屏,该负一屏中当前显示第一显示内容;终端接收用户对第一显示内容的第一操作,该第一操作是更新第一显示内容的操作;响应于第一操作,终端保存第一显示内容对应的第一显示记录,并将第一界面显示的第一显示内容更新为第二显示内容,该第一显示内容与 第二显示内容不同;终端接收用户对第二显示内容的第二操作,第二操作是查看更新前的显示内容的操作;响应于第二操作,终端根据第一显示记录在第一界面显示第一显示内容。
其中,本申请实施例中,终端显示包括第一显示内容的负一屏的情况下,可以接收用户对第一显示内容的第一操作。响应于第一操作,终端保存第一显示内容对应的第一显示记录,并将第一子界面所显示的第一显示内容更新为第二显示内容。这样,在终端接收到用户对显示第二显示内容的第一子界面的第二操作时,响应于第二操作,便可以根据保存的第一显示记录重新显示第一显示内容。即通过本申请实施例的方法,终端可以在终端的显示界面中显示该显示界面被刷新前所显示的历史显示内容。这样,可以提高终端的智能化,实现了终端的负一屏与用户之间的高效互动。
需要说明的是,第二方面的其他可能的设计方式的具体描述,可以参考第一方面的各种可能的设计方式中的详细介绍。本申请实施例这里不予赘述。
第三方面,本申请实施例提供一种终端,该终端包括:显示单元、输入单元和存储单元。其中,显示单元,用于显示第一界面,第一界面中当前显示第一显示内容。输入单元,用于接收用户对第一显示内容的第一操作,第一操作是更新第一显示内容的操作。存储单元,用于响应于输入单元接收的第一操作,保存第一显示内容对应的第一显示记录。显示单元,还用于响应于输入单元接收的第一操作,将第一界面显示的第一显示内容更新为第二显示内容,第一显示内容与第二显示内容不同。输入单元,还用于接收用户对第二显示内容的第二操作,第二操作是查看更新前的显示内容的操作。显示单元,还用于响应于输入单元接收的第二操作,根据第一显示记录在第一界面显示第一显示内容。
结合第三方面,在一种可能的设计方式中,上述显示单元显示的第一界面包括一个或多个子界面,一个或多个子界面包括第一子界面,显示单元将第一显示内容显示在第一子界面中;显示单元响应于第一操作,将第二显示内容显示在第一子界面中。
结合第三方面,在另一种可能的设计方式中,上述第一显示记录包括:第一显示内容或者第一显示内容的标识。或者,第一显示记录包括:第一显示内容或者第一显示内容的标识,以及第一显示内容在第一界面的排版信息。
结合第三方面,在另一种可能的设计方式中,上述存储单元,还用于响应于第二操作,保存第二显示内容对应的第二显示记录。其中,第二显示记录包括:第一显示内容或者第一显示内容的标识;或者,第二显示记录包括:第二显示内容或者第二显示内容的标识,以及第二显示内容在第一界面的排版信息。
结合第三方面,在另一种可能的设计方式中,上述存储单元中保存有预设记录集合,第一子界面的显示记录保存在预设记录集合中,预设记录集合按照时间的先后顺序保存显示记录,第一子界面的显示记录包括第一显示记录。显示单元,用于响应于第二操作,根据第一显示记录在第一界面显示第一显示内容,具体为:显示单元,用于响应于第二操作,从预设记录集合中获取最近保存在预设记录集合中的第一显示记录,根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容。
结合第三方面,在另一种可能的设计方式中,上述预设记录集合是预设堆栈。存储单元,用于响应于第一操作,保存第一显示内容对应的第一显示记录,具体为:存储单元,用于响应于第一操作,将第一显示记录压入预设堆栈。
结合第三方面,在另一种可能的设计方式中,响应于第一操作,预设堆栈的栈指针指向预设堆栈的栈顶的显示记录。上述显示单元,用于响应于第二操作,从预设记录集合中获取最近保存在预设记录集合中的第一显示记录,根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容,具体为:显示单元,用于响应于第二操作,获取栈指针指向的第一显示记录;根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容。存储单元,用于响应于第二操作,将第二显示记录压入预设堆栈。
结合第三方面,在另一种可能的设计方式中,上述第二操作是滑动操作,随着滑动操作的滑动位置的变化,栈指针在预设堆栈中的显示记录中切换。其中,第一子界面中的显示内容随着栈指针的切换而发生变化。
结合第三方面,在另一种可能的设计方式中,上述输入单元,还用于在显示单元响应于第二操作,根据第一显示记录在第一界面显示第一显示内容之后,接收用户对第一显示内容的第一操作。显示单元,还用于响应于第一操作,将第一显示内容更新为第三显示内容。其中,第三显示内容与第一显示内容不同,且第三显示内容与第二显示内容不同。
结合第三方面,在另一种可能的设计方式中,上述存储单元,用于响应于第一操作,保存第一显示内容对应的第一显示记录,具体为:存储单元,用于响应于第一操作,在存储单元中未保存第一显示记录的情况下,保存第一显示记录。
第四方面,本申请实施例提供一种终端,该终端包括:显示单元、输入单元和存储单元。其中,显示单元,用于显示负一屏,负一屏中当前显示第一显示内容。输入单元,用于接收用户对第一显示内容的第一操作,第一操作是更新第一显示内容的操作。存储单元,用于响应于输入单元接收的第一操作,保存第一显示内容对应的第一显示记录。显示单元,还用于响应于输入单元接收的第一操作,将第一界面显示的第一显示内容更新为第二显示内容,第一显示内容与第二显示内容不同。输入单元,还用于接收用户对第二显示内容的第二操作,第二操作是查看更新前的显示内容的操作。显示单元,还用于响应于输入单元接收的第二操作,根据第一显示记录在第一界面显示第一显示内容。
需要说明的是,第四方面的显示单元、输入单元和存储单元的其他功能描述,可以参考第三方面的各种可能的设计方式中的详细介绍。本申请实施例这里不予赘述。
第五方面,本申请实施例提供一种终端,该终端包括:一个或多个处理器、存储器和显示器。存储器、显示器与处理器耦合;显示器用于显示界面以及接收用户的触控操作。存储器包括非易失性存储介质,存储器用于存储计算机程序代码。计算机程序代码包括计算机指令,当处理器执行计算机指令时,
显示器,用于显示第一界面,第一界面中当前显示第一显示内容。处理器,用于接收用户对第一显示内容的第一操作,第一操作是更新第一显示内容的操作;响应于第一操作,在存储器中保存第一显示内容对应的第一显示记录。处理器,用于响应于第一操作,将显示器在第一界面显示的第一显示内容更新为第二显示内容,第一显示内容与第二显示内容不同。处理器,还用于接收用户对第二显示内容的第二操作,第二操作是查看更新前的显示内容的操作。处理器,还用于响应于第二操作,根据第一显示记录控制显示器在第一界面显示第一显示内容。
结合第五方面,在一种可能的设计方式中,上述显示器显示的第一界面包括一个或多 个子界面,一个或多个子界面包括第一子界面,第一显示内容显示在第一子界面中;响应于第一操作,第二显示内容显示在第一子界面中。
结合第五方面,在另一种可能的设计方式中,上述第一显示记录包括:第一显示内容或者第一显示内容的标识。或者,第一显示记录包括:第一显示内容或者第一显示内容的标识,以及第一显示内容在第一界面的排版信息。
结合第五方面,在另一种可能的设计方式中,上述处理器,还用于响应于第二操作,在存储器中保存第二显示内容对应的第二显示记录。其中,第二显示记录包括:第一显示内容或者第一显示内容的标识;或者,第二显示记录包括:第二显示内容或者第二显示内容的标识,以及第二显示内容在第一界面的排版信息。
结合第五方面,在另一种可能的设计方式中,上述存储器中保存有预设记录集合。上述第一子界面的显示记录保存在预设记录集合中,预设记录集合按照时间的先后顺序保存显示记录,第一子界面的显示记录包括第一显示记录。处理器,用于响应于第二操作,根据第一显示记录控制显示器在第一界面显示第一显示内容,具体为:处理器,用于响应于第二操作,从预设记录集合中获取最近保存在预设记录集合中的第一显示记录,根据第一显示记录确定第一显示内容,并控制显示器在第一子界面显示第一显示内容。
结合第五方面,在另一种可能的设计方式中,上述存储器保存的预设记录集合是预设堆栈。处理器,用于响应于第一操作,在存储器中保存第一显示内容对应的第一显示记录,具体为:处理器,用于响应于第一操作,将第一显示记录压入存储器保存的预设堆栈。
结合第五方面,在另一种可能的设计方式中,响应于第一操作,存储器保存的预设堆栈的栈指针指向预设堆栈的栈顶的显示记录。上述处理器,用于响应于第二操作,终端从存储器保存的预设记录集合中获取最近保存在预设记录集合中的第一显示记录,根据第一显示记录确定第一显示内容,并控制显示器在第一子界面显示第一显示内容,具体为:上述处理器,用于响应于第二操作,终端获取存储器保存的预设堆栈的栈指针指向的第一显示记录;根据第一显示记录确定第一显示内容,并控制显示器在第一子界面显示第一显示内容;将第二显示记录压入存储器保存的预设堆栈。
结合第五方面,在另一种可能的设计方式中,上述第二操作是滑动操作,随着滑动操作的滑动位置的变化,栈指针在预设堆栈中的显示记录中切换。其中,第一子界面中的显示内容随着栈指针的切换而发生变化。
结合第五方面,在另一种可能的设计方式中,在上述处理器响应于第二操作,根据第一显示记录控制显示器在第一界面显示第一显示内容之后,接收用户对第一显示内容的第一操作;响应于第一操作,控制显示器将第一显示内容更新为第三显示内容。其中,第三显示内容与第一显示内容不同,且第三显示内容与第二显示内容不同。
结合第五方面,在另一种可能的设计方式中,上述处理器,用于响应于第一操作,在存储器保存第一显示内容对应的第一显示记录,具体为:处理器,用于响应于第一操作,在存储器中未保存第一显示记录的情况下,在存储器中保存第一显示记录。
第六方面,本申请实施例提供一种终端,该终端包括:一个或多个处理器、存储器和显示器。存储器、显示器与处理器耦合;显示器用于显示界面以及接收用户的触控操作。存储器包括非易失性存储介质,存储器用于存储计算机程序代码。计算机程序代码包括计 算机指令,当处理器执行计算机指令时,
显示器,用于显示负一屏,负一屏中当前显示第一显示内容。处理器,用于接收用户对第一显示内容的第一操作,第一操作是更新第一显示内容的操作;响应于第一操作,在存储器中保存第一显示内容对应的第一显示记录,并将显示器在第一界面显示的第一显示内容更新为第二显示内容,第一显示内容与第二显示内容不同;接收用户对第二显示内容的第二操作,第二操作是查看更新前的显示内容的操作;响应于第二操作,根据第一显示记录控制显示器在第一界面显示第一显示内容。
需要说明的是,第六方面的处理器、存储器和显示器的其他功能描述,可以参考第五方面的各种可能的设计方式中的详细介绍。本申请实施例这里不予赘述。
第七方面,本申请实施例提供一种计算机存储介质,该计算机存储介质包括计算机指令,当该计算机指令在终端上运行时,使得终端执行如第一方面或者第二方面,及其可能的设计方式所述的显示控制方法。
第八方面,本申请实施例提供一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得该计算机执行如第一方面或者第二方面,及其可能的设计方式所述的显示控制方法。
另外,第二方面至第六方面及其任一种设计方式,以及第七方面和第八方面所带来的技术效果可参见上述第一方面和第二方面,及其不同设计方式所带来的技术效果,本申请实施例这里不再赘述。
附图说明
图1为本申请实施例提供的一种显示界面实例示意图一;
图2为本申请实施例提供的一种手机的硬件结构示意图;
图3为本申请实施例提供的一种显示控制方法的流程图一;
图4为本申请实施例提供的一种显示界面实例示意图二;
图5为本申请实施例提供的一种显示界面实例示意图三;
图6为本申请实施例提供的一种显示界面实例示意图四;
图7为本申请实施例提供的一种显示界面实例示意图五;
图8A为本申请实施例提供的一种显示控制方法的流程图二;
图8B为本申请实施例提供的一种显示界面实例示意图六;
图9为本申请实施例提供的一种预设记录集合保存显示记录的实例示意图一;
图10为本申请实施例提供的一种预设堆栈保存显示记录的实例示意图一;
图11为本申请实施例提供的一种预设堆栈保存显示记录的实例示意图二;
图12A为本申请实施例提供的一种显示控制方法的流程图三;
图12B为本申请实施例提供的一种预设堆栈保存显示记录的实例示意图三;
图13为本申请实施例提供的一种预设堆栈保存显示记录的实例示意图四;
图14为本申请实施例提供的一种预设堆栈保存显示记录的实例示意图五;
图15为本申请实施例提供的一种显示界面实例示意图七;
图16为图15所示的显示界面对应的预设堆栈保存显示记录的实例示意图一;
图17为本申请实施例提供的一种显示界面实例示意图八;
图18A为图17所示的显示界面对应的预设堆栈保存显示记录的实例示意图;
图18B为本申请实施例提供的一种显示界面实例示意图九;
图19为图18B所示的显示界面对应的预设堆栈保存显示记录的实例示意图一;
图20为图18B所示的显示界面对应的预设堆栈保存显示记录的实例示意图二;
图21为本申请实施例提供的一种显示界面实例示意图十;
图22为图21所示的显示界面对应的预设堆栈保存显示记录的实例示意图一;
图23为本申请实施例提供的一种预设记录集合保存显示记录的实例示意图二;
图24为本申请实施例提供的一种预设堆栈保存显示记录的实例示意图六;
图25为图15所示的显示界面对应的预设堆栈保存显示记录的实例示意图二;
图26为图21所示的显示界面对应的预设堆栈保存显示记录的实例示意图二;
图27为本申请实施例提供的一种终端的结构组成示意图一;
图28为本申请实施例提供的一种终端的结构组成示意图二。
具体实施方式
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本申请实施例的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例提供一种显示控制方法及终端,该方法可以应用于终端。该方法可以应用于终端更新第一界面中的第一子界面的过程中。采用本申请实施例提供的方法,在更新第一子界面的显示内容之后,终端可以响应于用户的操作,显示该第一子界面更新前的显示内容。这样,可以提高终端的智能化,实现了终端与用户之间的高效互动。
上述第一界面可以是第一应用的显示界面。第一应用可以是安装在终端中的任一应用。其中,第一应用可以为终端的嵌入式应用程序(即终端的系统应用)或者可下载应用程序。嵌入式应用程序,即系统应用,是作为终端实现的一部分提供的应用程序。例如,系统应用可以包括:负一屏和应用商店等。可下载应用程序是一个可以提供自己的因特网协议多媒体子系统(Internet Protocol Multimedia Subsystem,IMS)连接的应用程序。该可下载应用程序可以预先安装在终端中的应用或可以由用户下载并安装在终端中的第三方应用。例如,该可下载应用程序可以包括:淘宝和优酷等。
其中,本申请实施例中的第一子界面可以是第一界面的整个界面。或者,第一子界面是第一界面的局部界面。当第一子界面是第一界面的局部界面的情况下,第一界面中可以包括一个或多个第一子界面。
需要说明的是,本申请实施例中所述的终端,可以为手机、平板电脑、桌面型、膝上型、手持计算机、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、上网本、蜂窝电话、以及个人数字助理(Personal Digital Assistant,PDA)、可穿戴电子设备(如智能手表)、平板电脑、增强现实(augmented reality,AR)\虚拟现实(virtual reality,VR)设备、车载电脑等设备,本申请实施例对该设备的具体形式不做特殊限制。
请参考图2,本申请实施例这里以终端为手机200为例,对本申请实施例提供的终端进行介绍。其中,本领域技术人员可以理解,图2所示的手机200仅仅是一个范例,并不构成对手机200的限定,并且手机200可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图2中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
如图2所示,手机200具体可以包括:处理器201、射频(Radio Frequency,RF)电路202、存储器203、触摸屏204、蓝牙装置205、一个或多个传感器206、无线保真(Wireless Fidelity,Wi-Fi)装置207、定位装置208、音频电路209、外设接口120、电源系统211以及指纹识别器212等部件。这些部件可通过一根或多根通信总线或信号线(图2中未示出)进行通信。
下面结合图2对手机200的各个部件进行具体的介绍:
处理器201是手机200的控制中心,利用各种接口和线路连接手机200的各个部分,通过运行或执行存储在存储器203内的应用程序(Application,App),以及调用存储在存储器203内的数据和指令,执行手机200的各种功能和处理数据。在一些实施例中,处理器201可包括一个或多个处理单元;处理器201还可以集成应用处理器和调制解调处理器。其中,应用处理器主要处理操作系统、用户界面和应用程序等。调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器201中。举例来说,处理器201可以是华为技术有限公司制造的麒麟960芯片。
射频电路202可用于在收发信息或通话过程中,无线信号的接收和发送。具体地,射频电路202可以将基站的下行数据接收后,给处理器201处理。另外,将涉及上行的数据发送给基站。通常,射频电路202包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频电路202还可以通过无线通信和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
存储器203用于存储应用程序以及数据,处理器201通过运行存储在存储器203的应用程序以及数据,执行手机200的各种功能以及数据处理。存储器203主要包括存储程序区以及存储数据区。其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)。存储数据区可以存储根据使用手机200时所创建的数据(比如音频数据、电话本等)。此外,存储器203可以包括高速随机存取存储器,还可以包括非易失存储器,例如磁盘存储器件、闪存器件或其他易失性固态存储器件等。存储器203可以存储各种操作系统,例如苹果公司所开发的
Figure PCTCN2019087462-appb-000001
操作系统,谷歌公司所开发的
Figure PCTCN2019087462-appb-000002
操作系统等。
触摸屏204可以包括触敏表面204-1和显示器204-2。其中,触敏表面204-1(例如触控面板)可采集手机200的用户在其上或附近的触摸事件(比如用户使用手指、触控笔等任何适合的物体在触敏表面204-1上或在触敏表面204-1附近的操作),并将采集到的触摸信息发送给其他器件例如处理器201。其中,用户在触敏表面204-1附近的触摸事件可以称之为悬浮触控。悬浮触控可以是指,用户无需为了选择、移动或拖动目标(例如图标等) 而直接接触触控板,而只需用户位于终端附近以便执行所想要的功能。在悬浮触控的应用场景下,术语“触摸”、“接触”等不会暗示用于直接接触触摸屏,而是在其附近或接近的接触。能够进行悬浮触控的触敏表面204-1可以采用电容式、红外光感以及超声波等实现。触敏表面204-1可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再发送给处理器201,触摸控制器还可以接收处理器201发送的指令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型来实现触敏表面204-1。显示器(也称为显示屏)204-2可用于显示由用户输入的信息或提供给用户的信息以及手机200的各种菜单。可以采用液晶显示器、有机发光二极管等形式来配置显示器204-2。触敏表面204-1可以覆盖在显示器204-2之上,当触敏表面204-1检测到在其上或附近的触摸事件后,传送给处理器201以确定触摸事件的类型,随后处理器201可以根据触摸事件的类型在显示器204-2上提供相应的视觉输出。虽然在图2中,触敏表面204-1与显示屏204-2是作为两个独立的部件来实现手机200的输入和输出功能,但是在某些实施例中,可以将触敏表面204-1与显示屏204-2集成而实现手机200的输入和输出功能。可以理解的是,触摸屏204是由多层材料堆叠而成,本申请实施例中只展示出了触敏表面(层)和显示屏(层),其他层在本申请实施例中不予记载。另外,在本申请其他一些实施例中,触敏表面204-1可以覆盖在显示器204-2之上,并且触敏表面204-1的尺寸大于显示屏204-2的尺寸,使得显示屏204-2全部覆盖在触敏表面204-1下面,或者,上述触敏表面204-1可以以全面板的形式配置在手机200的正面,也即用户在手机200正面的触摸均能被手机200感知,这样就可以实现手机200正面的全触控体验。在其他一些实施例中,触敏表面204-1以全面板的形式配置在手机200的正面,显示屏204-2也可以以全面板的形式配置在手机200的正面,这样在手机200的正面就能够实现无边框的结构。
手机200还可以包括蓝牙装置205,用于实现手机200与其他短距离的终端(例如手机、智能手表等)之间的数据交换。本申请实施例中的蓝牙装置可以是集成电路或者蓝牙芯片等。
手机200还可以包括至少一种传感器206,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节触摸屏204的显示器的亮度,接近传感器可在手机200移动到耳边时,关闭显示器的电源。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机200姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不予赘述。
在本申请各个实施例中,手机200还可以具有指纹识别功能。例如,可以在手机200的背面(例如后置摄像头的下方)配置指纹识别器212,或者在手机200的正面(例如触摸屏204的下方,再例如手机200的主屏幕键上)配置指纹识别器212。另外,也可以通过在触摸屏204中配置指纹识别器212来实现指纹识别功能,即指纹识别器212可以与触 摸屏204集成在一起来实现手机200的指纹识别功能。在这种情况下,该指纹识别器212可以配置在触摸屏204中,可以是触摸屏204的一部分,也可以以其他方式配置在触摸屏204中。另外,该指纹识别器212还可以被实现为全面板指纹识别器,因此,可以把触摸屏204看成是任何位置都可以进行指纹采集的一个面板。在一些实施例中,该指纹识别器212可以对采集到的指纹进行处理。例如,指纹识别器212可以对采集到的指纹进行指纹验证等处理。指纹识别器212还可以将指纹验证的处理结果(如指纹验证是否通过)发送给处理器201,以便处理器201根据接收到的指纹验证的结果进行相应的响应。在其他一些实施例中,该指纹识别器212也可以将采集到的指纹发送给处理器201,以便处理器201对该指纹进行处理(例如指纹验证等)。本申请实施例中的指纹识别器212的主要部件是指纹传感器,该指纹传感器可以采用任何类型的感测技术,包括但不限于光学式、电容式、压电式或超声波传感技术等。
Wi-Fi装置207,用于为手机200提供遵循Wi-Fi相关标准协议的网络接入,手机200可以通过Wi-Fi装置207接入到Wi-Fi接入点,进而帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。在其他一些实施例中,该Wi-Fi装置207也可以作为Wi-Fi无线接入点,可以为其他终端提供Wi-Fi网络接入。
定位装置208,用于为手机200提供地理位置。可以理解的是,该定位装置208具体可以是全球定位系统(Global Positioning System,GPS)、北斗卫星导航系统等定位系统的接收器。定位装置208在接收到上述定位系统发送的地理位置后,将该信息发送给处理器201处理,或者发送给存储器203保存。在另外的一些实施例中,该定位装置208可以是辅助全球卫星定位系统(Assisted Global Positioning System,AGPS)的接收器。AGPS是一种在一定辅助配合下进行GPS定位的运行方式,它可以利用基站的信号,配合GPS卫星信号,可以让手机200定位的速度更快;在AGPS系统中,该定位装置208可通过与辅助定位服务器(例如手机200定位服务器)的通信而获得定位辅助。AGPS系统通过作为辅助服务器来协助定位装置208完成测距和定位服务,在这种情况下,辅助定位服务器通过无线通信网络与终端例如手机200的定位装置208(即GPS接收器)通信而提供定位协助。
音频电路209、扬声器213、麦克风214可提供用户与手机200之间的音频接口。音频电路209可将接收到的音频数据转换后的电信号,传输到扬声器214,由扬声器213转换为声音信号输出;另一方面,麦克风214将收集的声音信号转换为电信号,由音频电路209接收后转换为音频数据,再将音频数据输出至RF电路202以发送给比如另一手机,或者将音频数据输出至存储器203以便进一步处理。
外设接口120,用于为外部的输入/输出设备(例如键盘、鼠标、外接显示器、外部存储器、用户识别模块卡等)提供各种接口。例如通过通用串行总线接口与鼠标连接,通过用户识别模块卡卡槽上的金属触点与电信运营商提供的用户识别模块(Subscriber Identity Module,SIM)卡连接。外设接口120可以被用来将上述外部的输入/输出外围设备耦接到处理器201和存储器203。
手机200还可以包括给各个部件供电的电源装置211(比如电池和电源管理芯片),电池可以通过电源管理芯片与处理器201逻辑相连,从而通过电源装置211实现管理充电、放电、以及功耗管理等功能。
尽管图2未示出,手机200还可以包括摄像头(前置摄像头和/或后置摄像头)、闪光灯、微型投影装置、近场通信(Near Field Communication,NFC)装置等,在此不予赘述。
以下实施例中的方法均可以在具有上述硬件结构的手机200中实现。
本申请提供的显示控制方法的执行主体可以为显示装置,该显示装置可以为上述终端中的任一种(例如,显示装置可以为图2所示的手机200);或者,该显示装置还可以为该终端的中央处理器(英文:Central Processing Unit,简称:CPU),或者该终端中的用于执行显示控制方法的控制模块。本申请实施例中以终端执行显示控制方法为例,说明本申请实施例提供的显示控制方法。
本申请实施例提供一种显示控制方法,如图3所示,该显示控制方法包括S301-S305:
S301、终端显示第一界面。该第一界面中当前显示第一显示内容。
其中,本申请实施例中的第一界面中可以包括一个或多个子界面,该一个或多个子界面可以包括第一子界面和第二子界面。第一子界面与第二子界面不同。或者,上述多个子界面还可以包括第三子界面。第三子界面与第二子界面不同。第三子界面与第一子界面不同。本申请实施例后续以第一显示内容显示在第一子界面为例,对本申请实施例的方法进行说明:
上述第一界面是第一应用的显示界面。举例来说,第一应用可以是负一屏、应用商店、淘宝和爱奇艺等。
示例性的,在应用场景(1)中,以第一应用是负一屏,第一界面是负一屏的显示界面为例。例如,如图4中的(a)所示,手机的负一屏中包括三个子界面401、402和403。如图4中的(a)所示的“应用建议”子界面401。如图4中的(a)所示的“视频推荐”子界面402。如图4中的(a)所示的“音乐推荐”子界面403。
本申请实施例中的第一显示内容是指第一子界面被刷新前显示的内容。例如,以应用场景(1)为例。如图1中的(a)所示的“应用建议”子界面被刷新前显示的第一显示内容包括微信、视频、QQ和招商银行的应用图标。又例如,图4中的(b)所示的“视频推荐”子界面404和图4中的(a)所示的“视频推荐”子界面402被刷新前显示的第一显示内容包括小猪佩奇、熊猫琪琪、奥特曼和小丸子的推荐项。
S302、终端接收用户对第一显示内容的第一操作。该第一操作是更新第一显示内容的操作。
S303、响应于第一操作,终端保存第一显示内容对应的第一显示记录,将第一子界面所显示的第一显示内容更新为第二显示内容。
其中,终端可以将上述第一显示记录保存在终端的缓存或者内存中。本申请实施例对此不作限制。需要说明的是,上述第一显示内容与第二显示内容不同。
在本申请实施例中,第一操作用于指示终端刷新第一子界面的显示内容,即指示终端更新第一显示内容。
本申请实施例中的第一显示记录包括:第一显示内容或者第一显示内容的标识。或者,第一显示记录包括:第一显示内容或者第一显示内容的标识,以及第一显示内容在第一界面的排版信息。
在一种实现方式中,以第一界面中的第一子界面为例,第一子界面中可以包括刷新按 钮、刷新键或者刷新选项。该刷新按钮、刷新键或者刷新选项用于控制终端刷新第一子界面中的显示内容,即控制终端更新第一显示内容。举例来说,该刷新按钮、刷新键或者刷新选项可以为“换一换”、“更新”、“看别的”或者“换一批”等,本申请实施例对此不作限制。以第一子界面中包括刷新键为例。用户对第一显示内容的第一操作可以是用户对第一子界面中的刷新键的操作。例如,该第一操作可以是用户对刷新键的单击操作、双击操作或者长按操作等任一操作。
在另一种实现方式中,上述第一操作可以是用户对第一子界面输入的第一预设手势。该第一预设手势可以用于指示终端刷新第一子界面的显示内容。例如。该第一预设手势可以是用户在第一界面或者第一子界面输入的下拉手势、由上向下的滑动手势、由左向右的滑动手势、由下向上的滑动手势、圆形手势(近似圆形的手势)、半圆形手势或者S形手势等任意一个手势。
在一些实施例中,第一界面中可以仅包括一个子界面,如第一子界面。上述第一操作可以是用户针对该第一子界面的操作。第一操作用于刷新该第一子界面的显示内容。
在另一些实施例中,第一界面中可以包括多个子界面。例如,第一界面中可以包括第一子界面、第二子界面和第三子界面。在第一界面中包括多个子界面的情况下,上述第一操作的具体功能包括以下三种实现方式(1)-(3):
实现方式(1):
上述第一操作可以是用户针对第一界面中的任一子界面(如第一子界面)的操作。第一操作用于刷新该第一子界面的显示内容。在实现方式(1)中,终端响应于第一操作,只需要刷新该第一操作所针对的第一子界面的显示内容即可。而不需要刷新第一界面中其他子界面的显示内容。
例如,以应用场景(1)为例。假设第一操作是用户对负一屏中的一个子界面的刷新键的单击操作。在图4中的(b)所示的手机的负一屏中,“视频推荐”子界面被刷新前显示的第一显示内容包括小猪佩奇、熊猫琪琪、奥特曼和小丸子的推荐项。手机接收用户对图4中的(b)所示的刷新键“更新”的单击操作。响应于该单击操作,手机可以刷新“视频推荐”子界面的显示内容,在“视频推荐”子界面显示第二显示内容。其中,第二显示内容是指第一子界面被刷新后显示的内容。例如,图4中的(b)所示的“视频推荐”子界面404的被刷新后显示的第二显示内容包括:图4中的(c)所示的“视频推荐”子界面405中的小马驹的推荐项和快乐童年的推荐项,以及图4中的(d)所示的“视频推荐”子界面406中的猩球崛起的推荐项和圣诞赞歌的推荐项。
需要说明的是,上述第一操作是用户针对图4中的(b)所示的刷新键“更新”的单击操作。将图4中的(b)与图4中的(c)和图4中的(d)进行对比可知:手机200响应于该单击操作,仅刷新了“视频推荐”子界面中的显示内容。而“应用建议”子界面和“音乐推荐”子界面中的显示内容并没有发生变化。
实现方式(2):
上述第一操作可以是用户针对第一界面的操作。第一操作用于刷新第一界面中所有子界面的显示内容。在实现方式(2)中,终端响应于第一操作,可以刷新第一界面中所有子界面的显示内容。
例如,以应用场景(1)为例。假设第一操作是用户在负一屏中输入的第一预设手势,如S形手势。在图5中的(a)所示的手机的负一屏中,“应用建议”子界面501被刷新前显示的第一显示内容包括微信、视频、QQ和招商银行的应用图标,“视频推荐”子界面502被刷新前显示的第一显示内容包括奥特曼和小丸子的推荐项,“音乐推荐”子界面503被刷新前显示的第一显示内容包括蜗牛和小螺号的推荐项。手机200接收用户在图5中的(a)所示负一屏输入的S形手势。响应于该S形手势,手机200可以刷新负一屏中各个子界面的显示内容,在各个子界面显示对应的第二显示内容。其中,第二显示内容是指子界面被刷新后显示的内容。例如,请参考图5中的(b)。“应用建议”子界面504被刷新后显示的第二显示内容包括支付宝、股票、手机淘宝和中国银行的应用图标。“视频推荐”子界面505被刷新后显示的第二显示内容包括小马驹和快乐童年的推荐项,“音乐推荐”子界面506被刷新后显示的第二显示内容包括童话和ABC儿歌的推荐项。
需要说明的是,上述第一操作用于刷新图5中的(a)所示的负一屏中所有子界面的显示内容,如“应用建议”子界面501、“视频推荐”子界面502和“音乐推荐”子界面503。将图5中的(a)与图5中的(b)进行对比可知:手机200响应于上述S形手势,刷新了负一屏中所有子界面(包括“应用建议”子界面501、“视频推荐”子界面502和“音乐推荐”子界面503)的显示内容。
实现方式(3):
上述第一操作可以是用户针对第一界面的操作。第一操作用户刷新第一界面中被选中的子界面(如第一子界面)的显示内容。在实现方式(3)中,终端响应于第一操作,只需要刷新被选择的第一子界面的显示内容即可。而不需要刷新第一界面中其他子界面的显示内容。
例如,以应用场景(1)为例。假设第一操作是用户在负一屏中输入的第一预设手势,如由上向下的下拉手势。在图6中的(a)所示的手机的负一屏中,用户通过单击、双击或者长按的操作选择了“应用建议”子界面601。图6中的(a)以灰度表示被用户选择的第一子界面。图6中的(a)所示的手机的负一屏中,各个子界面被刷新前的显示内容,可以参考对图5中的(a)所示的手机的负一屏的描述,本申请实施例这里不再赘述。
手机200接收用户在图6中的(a)所示负一屏输入的由上向下的下拉手势。响应于该由上向下的下拉手势,手机200可以刷新负一屏中被用户选择的第一子界面的显示内容,在被用户选择的第一子界面显示对应的第二显示内容。例如,请参考图6中的(b)。由于被用户选择的第一子界面是“应用建议”子界面601。因此,“应用建议”子界面602被刷新后显示的第二显示内容包括支付宝、股票、手机淘宝和中国银行的应用图标。而图6中“视频推荐”子界面的显示内容和“音乐推荐”子界面的显示内容并未发生变化。
S304、终端接收用户对第二显示内容的第二操作。该第二操作是查看更新前的显示内容的操作。
S305、响应于第二操作,终端根据第一显示记录在第一界面显示第一显示内容。
其中,第二操作是查看更新前的显示内容的操作。即第二操作用于指示终端在第一界面的第一子界面显示更新前的历史显示内容。该历史显示内容包括第一子界面的显示内容被刷新前,第一子界面所显示的内容。如,历史显示内容包括第一显示内容。
在一些实施例中,第二操作可以是用户对第一显示内容的第二预设手势。该第二预设手势可以用于指示终端显示在第一子界面显示历史显示内容。例如。该第二预设手势可以是由上向下的滑动手势、由左向右的滑动手势、由下向上的滑动手势、圆形手势(近似圆形的手势)、半圆形手势或者S形手势等任意一个手势。其中,第二操作与第一操作不同。即第二预设手势与第一预设手势不同。例如,当第一预设手势是由上向下的滑动手势时,第二预设手势是由下向上的滑动手势;当第一预设手势是由左向右的滑动手势时,第二预设手势是由右向左的滑动手势。
在另一些实施例中,第一子界面中可以包括返回按钮、返回键或者返回选项。该返回按钮、返回键或者返回选项用于控制终端显示第一子界面被刷新前的显示内容。举例来说,该返回按钮、返回键或者返回选项可以为“返回”、“刷新前”或者“撤回”等,本申请实施例对此不作限制。以第一子界面中包括返回键为例。用户对显示第二显示内容的第一子界面的第二操作可以是用户对该返回键的操作。例如,该第二操作可以是用户对返回键的单击操作、双击操作或者长按操作等任一操作。
例如,以应用场景(1)为例。假设第一操作是用户在显示第一显示内容的第一子界面输入的第一预设手势。例如,第一操作是由上向下的滑动手势。第二操作是用户在显示第二显示内容的第一子界面输入的第二预设手势。例如,第二操作是由下向上的滑动手势。
在图7中的(a)所示的手机的负一屏中,“应用建议”子界面701被刷新前显示的第一显示内容包括微信、视频、QQ和招商银行的应用图标。手机200响应于用户在图7中的(a)所示的“应用建议”子界面701输入的由上向下的滑动手势,可以刷新“应用建议”子界面701中显示的第一显示内容,在图7中的(b)所示的“应用建议”子界面702显示第二显示内容。“应用建议”子界面702显示的第二显示内容包括支付宝、股票、手机淘宝和中国银行的应用图标。手机200响应于用户在图7中的(b)所示的“应用建议”子界面702输入的由下向上的滑动手势,可以在“应用建议”子界面703重新显示上述第一显示内容。
需要强调的是,在本申请实施例中,第一操作和第二操作不是对第一子界面中的显示内容的翻页操作。第一操作不同于传统方案中对第一子界面中的“下一页”按钮(或者“后一页”按钮等)的点击操作。并且,终端执行第一操作指示的事件也不同于传统方案中,终端执行点击“下一页”按钮指示的事件。第二操作不同于对第一子界面中的“上一页”按钮(或者“前一页”按钮等)的点击操作。并且,终端执行第二操作指示的事件也不同于传统方案中,终端执行点击“上一页”按钮指示的事件。
虽然传统方案中,终端可以响应于用户对子界面中的“上一页”按钮(或者“前一页”按钮)的点击操作,显示与子界面中当前内容不同的显示内容。但是,终端之所以可以响应于用户对“上一页”按钮的点击操作在子界面显示不同的显示内容,是因为子界面的面积有限,终端不能将多个已获取并保存在终端中的显示内容一起显示在子界面中。因此,终端在子界面中分页显示上述多个已获取并保存在终端中的显示内容。
例如,以图4所示的”视频推荐”子界面402为例。假设手机200在”视频推荐”子界面402向用户推荐的视频包括“奥特曼”、“小丸子”、“小猪佩奇”和“熊猫琪琪”。其中,手机200已获取并将“奥特曼”、“小丸子”、“小猪佩奇”和“熊猫琪琪”的推荐信息保存在终端中。由于” 视频推荐”子界面402的面积有限,不足以同时显示“奥特曼”、“小丸子”、“小猪佩奇”和“熊猫琪琪”的推荐项(即第一显示内容);因此,手机200可以将上述四个视频的推荐项分两页显示。如图4中的(a)所示,手机200在负一屏的”视频推荐”子界面402显示“奥特曼”和“小丸子”的推荐项。手机200响应于用户对图4中的(a)所示的”视频推荐”子界面402中的“上一页”按钮的点击操作,可以显示图4中的(b)所示的”视频推荐”子界面404。图4中的(b)所示的”视频推荐”子界面404中包括“小猪佩奇”和“熊猫琪琪”的推荐项。
而本申请实施例中,终端响应于上述第一操作,在第一子界面中更新显示的第二显示内容,则是重新获取并显示新的显示内容。而不是在第一子界面显示因为子界面的面积有限,而需要分页显示的显示内容。例如,手机100接收用户对图4中的(b)所示的“更新”按钮的点击操作,可以更新““视频推荐”子界面”404中的显示内容,在图4中的(c)所示的““视频推荐”子界面”405中显示不同于“奥特曼”、“小丸子”、“小猪佩奇”和“熊猫琪琪”的推荐项。假设手机200响应于用户对图4中的(b)所示的“更新”按钮的点击操作,获取到更新后的显示内容为“小马驹”、“快乐童年”、“猩球崛起”和“圣诞赞歌”的推荐项(即第二显示内容)。例如,如图4中的(c)所示,““视频推荐”子界面”405中显示“小马驹”和“快乐童年”的推荐项。参考传统方案,手机200响应于用户对图4中的(c)所示的“下一页”按钮的点击操作,可以显示图4中的(d)所示的““视频推荐”子界面”406。其中,““视频推荐”子界面”406中包括“猩球崛起”和“圣诞赞歌”的推荐项。
需要注意的是,终端响应于用户对“下一页”按钮的点击操作,显示翻页后的显示内容。随后,响应于用户对“上一页”按钮的点击操作,终端还可以重新显示翻页前的显示内容。但是,采用传统方案,当终端响应于用户对“更新”按钮的点击操作,刷新子界面的显示内容后,终端是无法在子界面重新显示刷新前的显示内容的。例如,手机200响应于用户对图4中的(b)所示的“更新”按钮的点击操作,显示图4中的(c)所示的“视频推荐”子界面405。此时,用户无法控制手机200重新显示图4中的(a)所示的“视频推荐”子界面402或者图4中的(b)所示的“视频推荐”子界面404。而通过本申请实施例提示的显示控制方法,终端可以在终端的子界面中显示该子界面被刷新前所显示的历史内容。这样,可以提高终端的智能化,实现了终端与用户之间的高效互动。
本申请实施例提供一种显示控制方法,终端可以显示包括第一显示内容的第一界面。终端可以接收用户对第一显示内容的第一操作。响应于第一操作,终端保存第一显示内容对应的第一显示记录,并将第一子界面所显示的第一显示内容更新为第二显示内容。终端接收用户对显示第二显示内容的第一子界面的第二操作。响应于第二操作,终端根据第一显示记录重新显示第一显示内容。即通过本申请实施例的方法,终端可以在终端的子界面中显示该子界面被刷新前所显示的历史内容。这样,可以提高终端的智能化,实现了终端与用户之间的高效互动。
可以理解,为了使终端在刷新第一子界面的显示内容后,可以响应于第二操作在第一子界面重新显示第一显示内容。为了使得终端重新显示第一显示内容后,还可以显示第二显示内容,如图8A所示,在上述S304之后,本申请实施例的方法还可以包括S801:
S801、响应于第二操作,终端保存第二显示内容对应的第二显示记录。
在S305(终端重新显示第一显示内容)之后,终端还可以接收用户对重新显示的第一 显示内容的第二操作,显示第二显示内容。如图8A所示,在S801和S305之后,本申请实施例的方法还可以包括S802-S803:
S802、终端接收用户对第一显示内容的第二操作。
S803、响应于第二操作,终端根据第二显示记录在第一界面显示第二显示内容。
本申请实施例中的第二显示记录包括:第二显示内容或者第二显示内容的标识。或者,第二显示记录包括:第二显示内容或者第二显示内容的标识,以及第二显示内容在第一界面的排版信息。
本申请实施例这里以第一显示记录为例,对本申请实施例中的显示记录进行说明:
在一种实现方式中,第一显示记录可以是第一显示内容。即终端保存的第一显示记录是终端在第一子界面显示的第一显示内容。例如,在第一显示内容包括多个应用图标的情况下,第一显示记录可以是该多个应用图标。在第一显示内容包括终端向用户推荐的多张图片的情况下,第一显示记录可以是该多张图片。终端响应于第二操作,可以直接将终端保存的第一显示记录(即第一显示内容)显示在第一子界面中。
在另一种实现方式中,第一显示记录可以是第一显示内容的标识。本申请实施例中,第一显示内容的标识可以是指终端保存第一显示内容的地址信息或者索引信息。例如,在第一显示内容包括终端向用户推荐的多张图片的情况下,第一显示记录可以包括第一显示内容的标识。第一显示内容的标识可以是指终端保存上述多张图片的地址信息或者索引信息。终端响应于第二操作,可以根据第一显示记录中的地址信息或者索引信息,获取多张图片并在第一子界面显示该多张图片。
在第一显示内容包括第二应用中多个对象的推荐项的情况下,第一显示记录可以包括第一显示内容的标识。该第一显示内容的标识可以是第二应用中多个对象的标识。第二应用可以是视频类应用、音乐类应用、购物类应用或者旅行类应用等。举例来说,当第二应用是视频类应用时,上述多个对象可以是该视频类应用提供的多个视频。该视频类应用可以是爱奇艺、优酷或者腾讯视频等。当第二应用是音乐类应用时,上述多个对象可以是该音乐类应用提供的多首歌曲。该音乐类应用可以QQ音乐、百度音乐或者网易云音乐等。当第二应用是购物类应用时,上述多个对象可以是该购物类应用提供的多个商品。该购物类应用可以是淘宝或者京东等。当第二应用是旅行类应用时,上述多个对象可以是该旅行类应用提供的多个旅行项目。
以第二应用是视频类应用为例。假设终端在第一子界面中显示的第一显示内容包括视频1、视频2和视频3的推荐项。那么,第一显示记录可以包括该视频1、视频2和视频3的标识。在这种情况下,上述多个对象的标识可以是该多个对象的名称。或者,上述多个对象的标识可以是该多个对象的链接信息。其中,终端根据对象的名称或者链接信息可以从第二应用中查找到该对象。
在另一种实现方式中,上述第一显示记录中不仅可以包括第一显示内容或者第二显示内容的标识。该第一显示记录中还可以包括第一显示内容在第一界面(即第一子界面)的排版信息。在这种实现方式中,响应于第二操作,终端可以先获取第一显示记录对应的第一显示内容。然后,根据第一显示记录中包括的排版信息,对获取到的第一显示内容进行排版。最后,将排版后的第一显示内容显示在第一子界面。
需要说明的是,上述排版信息是可选的。第一显示记录中可以不包括上述排版信息。在这种情况下,虽然终端可以响应于第二操作重新显示第一显示内容,但是第一显示内容在第一子界面中的排版可能会发生变化。例如,重新显示第一显示内容时与第一次显示第一显示内容时,第一显示内容在第一子界面中的排版可能不同。
例如,图8B中的(a)所示的手机的负一屏中,“应用建议”子界面801被刷新前显示的第一显示内容包括微信、视频、QQ和招商银行的应用图标。手机200响应于用户在图8B中的(a)所示的“应用建议”子界面801输入的由上向下的滑动手势,可以刷新“应用建议”子界面801中显示的第一显示内容,在图8B中的(b)所示的“应用建议”子界面802显示第二显示内容。“应用建议”子界面702显示的第二显示内容包括支付宝、股票、手机淘宝和中国银行的应用图标。手机200响应于用户在图8B中的(b)所示的“应用建议”子界面802输入的由下向上的滑动手势,可以在“应用建议”子界面803重新显示上述第一显示内容。但是,对比图8B中的(a)所示的“应用建议”子界面801所示的“应用建议”子界面801和图8B中的(c)所示的“应用建议”子界面803,可知:虽然“应用建议”子界面801和“应用建议”子界面803中均包括第一显示内容,即微信、视频、QQ和招商银行的应用图标;但是,微信、视频、QQ和招商银行的应用图标在“应用建议”子界面801和“应用建议”子界面803的排版不同。
在一些实施例中,终端可以(例如,在预设记录集合中)保存第一子界面的多项显示记录,如上述第一显示记录和第二显示记录。其中,预设记录集合可以按照时间的先后顺序保存显示记录。上述305具体可以包括:响应于第二操作,终端从预设记录集合中获取最近保存在预设记录集合中的第一显示记录,根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容。其中,当上述第一显示记录是第一显示内容时,终端可以直接在预设记录集合中保存第一显示内容。当第一显示记录是第一显示内容的标识时,终端可以保存上述第一显示内容,并在预设记录集合中保存第一显示内容的标识。这样,终端便可以根据预设记录集合中保存的第一显示内容的标识,获取并在第一子界面显示第一显示内容。
需要说明的是,本申请实施例中,终端可以为每一个应用中的每一个子界面维护一个预设记录集合。
本申请实施例这里以图9所示的子界面S是终端显示的第一子界面为例,对本申请实施例提供的显示控制方法进行说明:
如图9中的(b)所示,假设子界面S中当前显示显示内容B。即图9中的(b)所示的显示内容B是第一显示内容。图9中的(a)所示的预设记录集合中保存了显示记录A。其中,显示记录A对应于显示内容A。响应于用户对图9中的(b)所示的子界面S的刷新操作(第一操作),终端将子界面S显示的显示内容B更新为图9中的(d)所示的显示内容C。图9中的(d)所示的显示内容C是第二显示内容。并且,响应于第一操作,如图9中的(c)所示,终端可以在图9中的(a)所示的预设记录集合中保存显示内容B的显示记录B。其中,显示记录B对应于显示内容B。
假设第二操作用于指示终端显示子界面S最近一次被刷新前显示的显示内容。例如,如图9中的(b)所示,最近一次刷新后子界面的显示内容为C。如图9中的(d)所示, 最近一次刷新前子界面的显示内容为B。那么,响应于用户对图9中的(d)所示的子界面S的第二操作,终端可以在子界面S显示图9中的(f)所示的显示内容B(即第一显示内容)。并且,响应于第二操作,如图9中的(e)所示,终端可以在图9中的(c)所示的预设记录集合中保存显示内容C的显示记录C。其中,显示记录C对应于显示内容C。
相应的,如果终端接收到用户对图9中的(f)所示的子界面S的第二操作,终端可以在子界面S显示显示内容A(图9中未示出)。可以理解,由于图9中的(d)所示的预设记录集合中已经保存了当前显示内容B对应的显示记录B;因此,响应于用户对图9中的(f)所示的子界面S的第二操作,终端不会在预设记录集合中保存上述显示记录B(图9中未示出)。
在一些实施例中,终端执行S305在第一子界面重新显示第一显示内容后,可能会接收到用户对显示第一显示内容的第一子界面的第一操作(刷新操作)。在这种情况下,终端响应于该第一操作,可以将第一子界面显示的第一显示内容更新为第三显示内容。
例如,终端接收到用户对图9中的(f)所示的子界面S的第一操作。响应于该第一操作,终端可以将子界面S显示的显示内容B更新为显示内容D。即终端在子界面S显示图9中的(h)所示的显示内容D。可以理解,由于图9中的(e)所示的预设记录集合中已经保存了当前显示内容C对应的显示记录C;因此,响应于用户对图9中的(f)所示的子界面S的第一操作,终端不会在预设记录集合中保存上述显示记录C。即图9中的(e)所示的预设记录集合相比于图9中的(g)所示的预设记录集合,并未发生变化。
响应于用户对图9中的(h)所示的显示内容D的第二操作,终端可以在子界面S显示图9中的(j)所示的显示内容C。并且,响应于该第二操作,终端可以在图9中的(g)所示的预设记录集合中保存显示内容D的显示记录D,得到图9中的(i)所示的预设记录集合。相比于图9中的(g)所示的预设记录集合,图9中的(i)所示的预设记录集合中增加了新的显示记录D。
在一些实施例中,上述预设记录集合可以是预设堆栈。响应于第一操作,终端保存第一显示内容对应的第一显示记录的具体可以包括:响应于第一操作,终端将第一显示记录压入预设堆栈。其中,响应于第一操作,预设堆栈的栈指针指向预设堆栈的栈顶的显示记录。本申请实施例中,上述S305可以包括:响应于第二操作,终端获取栈指针指向的第一显示记录,根据第一显示记录确定第一显示内容,并在第一子界面显示第一显示内容。并且,终端可以将第二显示记录压入预设堆栈。
也就是说,响应于第二操作,终端可以显示栈指针指向的显示记录对应的显示内容。可以理解,堆栈是以先进后出的方式保存压入堆栈的信息的。例如,上述预设堆栈以先进后出的方式保存压入该预设堆栈的显示记录。并且,当预设堆栈中压入新的显示记录时,该预设堆栈的栈指针指向新压入的显示记录。例如,终端响应于第一操作将第一显示记录压入了预设堆栈,此时第一显示记录位于预设堆栈的栈顶,栈指针当前指示位于栈顶的第一显示记录。随后,终端响应于第二操作,便可以显示栈指针指向的位于栈顶的第一显示记录对应的第一显示内容,并将第二显示记录压入预设堆栈。其中,终端将第二显示记录压入堆栈后,栈指针指向位于栈顶的第二显示记录。
本申请实施例这里以图10的子界面S是终端显示的第一子界面为例,对通过预设堆栈 实现本申请实施例提供的显示控制方法的具体过程进行说明:
如图10中的(b-1)所示,假设子界面S中当前显示显示内容B。即图10中的(b-1)所示的显示内容B是第一显示内容。图10中的(a-1)所示的预设堆栈P中压入了显示记录A。其中,显示记录A对应于显示内容A。终端接收用户对图10中的(b-1)所示的显示内容B的第一操作(如用户对子界面S中的刷新按钮的点击操作)。响应于该第一操作,终端可以向图10中的(a-1)所示的预设堆栈P压入显示记录B,得到图10中的(a-2)所示的预设堆栈P。显示记录B对应于显示内容B。在图10中的(a-2)所示的预设堆栈P中,栈指针指向栈顶的显示记录B。响应于该第一操作,终端可以将子界面S显示的显示内容B更新为图10中的(b-2)所示的显示内容C。
本申请实施例中,当第二操作是不同的用户操作时,第二操作指示终端所显示的历史显示内容不同。
在一种情况下,第二操作可以用于指示终端显示子界面S最近一次被刷新前显示的显示内容。例如,当第二操作是用户对第二显示内容的双击操作(如在子界面S中的双击操作)时,第二操作可以用于指示终端显示子界面S最近一次被刷新前显示的显示内容。
举例来说,如图10中的(b-2)所示,最近一次刷新后子界面的显示内容为C。如图10中的(b-1)所示,最近一次刷新前子界面的显示内容为B。即第二操作对应于显示内容B。那么,响应于用户在图10中的(b-2)所示的子界面S的第二操作,由于图10中的(a-2)所示的预设堆栈P的栈指针指向显示记录B;因此,如图10中的(b-3)所示,终端可以重新在子界面S显示图10中的(a-2)所示的栈指针指向的显示内容B。并且,响应于该第二操作,终端可以在图10中的(a-2)所示的预设堆栈P中压入显示记录C,得到图10中的(a-3)所示的预设堆栈P。
在另一种情况下,第二操作可以用于指示终端显示子界面S第N-n次被刷新前显示的显示内容。n是大于等于1的自然数。子界面S第N次被刷新是最近一次被刷新。N是大于n的自然数。例如,当第二操作是用户对子界面S的长按操作时,第二操作可以用于指示终端显示子界面S第N-n次被刷新前显示的显示内容。
举例来说,结合图10和图11,假设N=2,n=1。如图11中的(a-1)所示,最近一次(即第2次)刷新后子界面的显示内容为C。如图11中的(a-1)所示,最近一次的前一次(即第1次)刷新前子界面的显示内容为A。即第二操作对应于显示内容A。那么,响应于用户对图11中的(b-1)所示的子界面S的第二操作,终端可以在图11中的(a-1)所示的预设堆栈P中压入显示记录C,得到图11中的(a-2)所示的预设堆栈P。并且,响应于该第二操作,如图11中的(b-2)所示,终端可以重新在子界面S显示显示内容A。
在一些实施例中,终端执行S305在第一界面(如第一界面中的第一子界面)重新显示第一显示内容后,可能会接收到用户对显示第一显示内容的第一子界面的第一操作(刷新操作)。在这种情况下,终端响应于该第一操作,可以更新第一子界面的显示内容,在第一子界面显示第三显示内容。其中,第三显示内容与第一显示内容不同,且第三显示内容与第二显示内容不同。具体的,如图12A所示,在图3所示的S305之后,本申请实施例的方法还可以包括S1201-S1203。
S1201、终端接收用户对第一显示内容的第一操作。
S1202、响应于第一操作,终端将第一显示内容更新为第三显示内容。
S1203、响应于第一操作,在终端未保存第一显示记录的情况下,终端保存第一显示记录,在终端已保存第一显示记录的情况下,终端不保存第一显示记录。
参考S303可知,终端响应于第一操作,可以保存第一界面(如第一子界面)被刷新前的显示内容对应的显示记录(如第一显示记录)。但是,在S305之后,终端如果接收到用户对第一显示内容的第一操作,因为终端执行S303已保存了第一显示记录,为了避免终端保存多个第一显示记录,终端响应于该第一操作可以不保存该第一显示记录。也就是说,上述S303中“响应于第一操作,终端保存第一显示内容对应的第一显示记录”的具体方式可以参考S1203。
例如,请参考图12B中的(a-1)。预设堆栈P中依次压入了显示记录A、显示记录B和显示记录C。显示记录C在预设堆栈P的栈顶。假设图12B中的(b-1)所示的子界面S显示显示内容B(即第一显示内容)。响应于用户对图12B中的(b-1)所示的子界面S的第一操作,终端可以将子界面显示的显示内容B更新为显示内容D(即第三显示内容)。此时,由于图12B中的(a-1)所示的预设堆栈P中已经保存了第一显示记录(即显示记录B);因此,终端不需要再向预设堆栈P中压入显示记录B。12B中的(a-2)所示的预设堆栈P与12B中的(a-1)所示的预设堆栈P相比,并未发生变化。
相应的,上述S801“响应于第二操作,终端保存第二显示内容对应的第二显示记录”具体可以包括:在终端未保存第二显示记录的情况下,终端保存第二显示记录,在终端已保存第二显示记录的情况下,终端不保存第二显示记录。
在一些实施例中,上述第二操作可以是用户在第一子界面上输入的滑动操作。随着所述滑动操作的滑动位置的变化,预设堆栈的栈指针在该预设堆栈中的显示记录中切换。第一子界面中的显示内容随着栈指针的切换而发生变化。
示例性的,如图13中的(a-1)所示,假设预设堆栈P中依次压入了显示记录A、显示记录B和显示记录C。图13中的(a-1)所示的栈指针指向显示记录C。图13中的(b-1)所示的子界面S显示显示内容D。终端接收用户在图13中的(b-1)所示的子界面S的向下滑动操作(即第二操作)。响应于该向下滑动操作,终端可以向图13中的(a-1)所示的预设堆栈P压入显示记录D,得到13中的(a-2)所示的预设堆栈P。当用户手指在子界面S中的位置由图13中的(b-1)所示的位置变换为图13中的(b-2)所示的位置时,预设堆栈P的栈指针所指向的显示记录由图13中的(a-2)所示的显示记录D切换为图13中的(a-3)所示的显示记录B,图13中的(b-2)所示的子界面S显示显示内容B。终端接收用户在图13中的(b-3)所示的子界面S的向上滑动操作。当用户手指在子界面S中的位置由图13中的(b-3)所示的位置变换为图13中的(b-4)所示的位置时,预设堆栈P的栈指针指向的显示记录由图13中的(a-3)所示的显示记录B切换为图13中的(a-4)所示的显示记录D,图13中的(b-4)所示的子界面S显示显示内容D。
可选的,终端响应于用户对子界面S的滑动操作(第二操作),还可以显示一个导航条。导航条对用户操作终端可以起到引导作用。这样,可以提高终端与用户的交互性能。
示例性的,如图14中的(a-1)所示,假设预设堆栈P中依次压入了显示记录A、显示记录B、显示记录C、显示记录D和显示记录E。图14中的(a-1)所示的栈指针指向显 示记录C。图14中的(b-1)所示的子界面S显示显示内容C。
终端接收用户在图14中的(b-1)所示的子界面S的向下滑动操作(或者可以为向上滑动操作)。响应于该滑动操作,可以显示图14中的(b-2)所示的导航条Q。导航条Q中包括导航键。导航键为图14中的黑色圆点。响应于用户在导航条Q中对导航键的拖动操作,栈指针在预设堆栈中的显示记录中切换。例如。当用户手指将导航条Q中的导航键由图14中的(b-2)所示的位置拖动至图14中的(b-3)所示的位置时,预设堆栈P的栈指针指向图13中的(a-2)所示的显示内容B,图14中的(b-3)所示的子界面S显示显示内容B。当用户手指将导航条Q中的导航键由图14中的(b-3)所示的位置拖动至图14中的(b-4)所示的位置时,预设堆栈P的栈指针指向图13中的(a-3)所示的显示内容E,图14中的(b-4)所示的子界面S显示显示内容E。
本申请实施例中的导航条包括但不限于图14所示的导航条。例如,第一子界面中还可以显示横向的导航条。可以理解,终端检测到用户手指离开终端的触摸屏时,导航条消失。
进一步的,考虑到用户可能只会查看第一子界面最近一段时间的历史显示内容。。终端可以周期性的删除预设记录集合中保存时间较早的显示记录。或者,终端可以在预设记录集合保存的显示记录的个数高于预设阈值(如K个)时,按照保存时间的先后顺序,删除该K个显示记录中前M个显示记录。M小于K,M和K都是大于零的自然数。或者,终端可以响应于用户关闭第一应用的操作,删除预设记录集合中保存的显示记录。
由于预设堆栈采用先进后出的原则保存显示记录;因此,在上述预设记录集合是预设堆栈的情况下,终端可以周期性清空(即删除)预设堆栈中的显示记录。例如,终端可以在每天的第一预设时间清空预设堆栈中的显示记录。该第一预设时间可以是终端进行用户画像学习到的用户较长时间不使用终端的时间。例如,第一预设时间可以为凌晨0:00,或者第一预设时间可以为0:00-6:00之间的任一时间,本申请实施例对此不作限制。或者,终端可以每隔X天清空(即删除)预设堆栈中的显示记录。X是大于或者等于2的自然数。
或者,终端可以响应于用户关闭第一应用的操作,删除预设堆栈中保存的显示记录。本申请实施例中,终端关闭第一应用可以为:终端在当前界面不显示第一应用的界面,但是终端在后台运行第一应用。或者,终端关闭第一应用可以为:终端在当前界面不显示第一应用的界面,并且终端在后台也关闭第一应用。其中,终端在后台关闭第一应用后,终端在后台不运行第一应用。
可以理解,本申请实施例中的预设记录集合包括但不限于上述预设堆栈。例如,预设记录集合还可以通过队列的方式实现。
本申请实施例提供的显示控制方法的应用场景包括但不限于上述应用场景(1),该显示控制方法还可以应用于以下多个应用场景中:
应用场景(2):
以第一应用是应用商店为例。第一界面可以是应用商店的首页。例如,第一界面是图15中的(a)所示的手机200的应用商店的显示界面。应用商店的首页中可以包括一个或多个子界面。例如,如图15中的(a)所示,应用商店的首页中包括“应用推荐”子界面1501。“应用推荐”子界面1501中显示第一显示内容1502。第一显示内容1502包括微信、支付宝、股票和QQ的应用图标。在这种应用场景中第一显示记录是第一显示内容1502,第二显示 记录是第二显示内容1504。
以第一操作是用户对“应用推荐”子界面1501中的刷新按钮1503的单击操作为例。手机200响应于用户对刷新按钮1503的单击操作,可以刷新“应用推荐”子界面1501的显示内容。假设刷新后的第二显示内容1504包括Wi-Fi钥匙、共享单车、天气和中国银行的应用图标。响应于第一操作,手机200可以在图16中的(a)所示的预设堆栈P中压入第一显示内容1502,得到图16中的(b)所示的预设堆栈P。
以第二操作是用户在“应用推荐”子界面1501的左右滑动操作为例。如图15中的(b)所示,当用户手指在“应用推荐”子界面1501的滑动时,手机200可以在“应用推荐”子界面1501显示导航条1505。导航条1505中包括导航键(黑色圆点)。手机200响应于用户在导航条1505中对导航键的拖动操作,栈指针在预设堆栈中的显示记录中切换。例如。响应于上述左右滑动操作,当用户手指将导航条1505中的导航键由图15中的(c)所示的位置拖动至图15中的(d)所示的位置时,手机200可以显示图16中的(b)所示的预设堆栈P的栈指针指示的第一显示内容1502,即手机可以在图15中的(d)所示的“应用推荐”子界面1501重新显示第一显示内容1502。并且,手机200可以在图16中的(b)所示的预设堆栈P中压入第二显示内容1504,得到图16中的(c)所示的预设堆栈P。其中,手机200检测到用户手指离开手机200的触摸屏时,导航条1505消失。
本申请实施例中的第一子界面中可以显示多种类型的显示内容。在这种情况下,终端可以在一个预设记录集合(如预设堆栈)中保存该第一子界面的显示记录。或者,终端可以在多个预设记录集合(如预设堆栈)中分别保存第一子界面上显示的不同类型的显示内容的显示记录。其中,多个预设记录集合(如预设堆栈)与多种类型一一对应。每个预设记录集合(如预设堆栈)保存一种类型的显示内容的显示记录。具体的,请参考下述应用场景(3)中的详细介绍。
应用场景(3):
以第一应用是应用商店为例。第一界面可以是应用商店的分类界面。例如,第一界面是图17中的(a)所示的手机200的应用商店的影视分类界面。该影视分类界面中包括“影视”子界面1701。其中,该“影视”子界面1701中可以显示不同类型的影视应用的推荐信息。例如,图17中的(a)所示的“影视”子界面1701中显示视频类影视应用的推荐信息。图17中的(c)所示的“影视”子界面1701中显示直播类影视应用的推荐信息。当然,“影视”子界面1701中还可以显示播放器类影视应用的推荐信息。
如图17中的(a)所示,“影视”子界面1701中当前显示的第一显示内容为:视频1、视频2和视频3的应用推荐信息。本申请实施例中的视频1是指视频1应用,视频2是指视频2应用,视频3是指视频3应用。
手机200接收用户对图17中的(a)所示的“影视”子界面1701的第一操作(例如,S形状手势)。手机200响应于该S形状手势,可以刷新“影视”子界面1701的显示内容。假设刷新后的第二显示内容包括视频4、视频5和视频6的应用推荐信息。如图17中的(b)所示,手机200在“影视”子界面1701中显示“视频4、视频5和视频6的应用推荐信息”。并且,手机200可以在图18A中的(a)所示的预设堆栈P-a中压入“视频1、视频2和视频3的标识”,得到图18A中的(b)所示的预设堆栈P-a。
本申请实施例中的第一操作还可以是用于切换第一子界面的显示内容的类型的操作。由于终端响应于该第一操作,切换第一子界面的显示内容的类型后,第一子界面的显示内容会发生变化。因此,终端响应于第一操作可以实现对第一子界面的显示内容的刷新。例如,第一操作可以是用户对图17中的(b)所示的“直播”选项的点击操作。
其中,响应于用户对图17中的(b)所示的“直播”选项的点击操作,如图17中的(c)所示,手机200在“影视”子界面1701中显示“直播1、直播2和直播3的应用推荐信息”。并且,手机200可以在图18A中的(b)所示的预设堆栈P-a中压入“视频4、视频5和视频6的标识”,得到图18A中的(c)所示的预设堆栈P-a。
在应用场景(3)中,响应于第二操作,第一子界面中的显示内容会发生变化。并且变化前的显示内容(即第二显示内容)与变化后的显示内容(即第一显示内容)可能是同一类型的显示内容,也可能是不同类型的显示类型。
例如,以第二操作是半圆形手势为例。如图18B中的(a)所示,手机200的第一子界面1801当前显示“直播1、直播2和直播3的应用推荐信息”。手机200接收用户在图18B中的(a)所示的第一子界面1801输入半圆形手势。手机200响应于该半圆形手势,在图18B中的(b)所示的第一子界面1802,显示图18A中的(c)所示的栈指针指向的“视频4、视频5和视频6的标识”对应的“视频4、视频5和视频6的应用推荐信息”。
在实现方式(一)中,多个预设堆栈与显示内容的多种类型一一对应。每个预设堆栈保存一种类型的显示内容的显示记录。例如,图17或者图18B所示的显示内容可以分为三种类型:视频类、直播类和播放器类。终端可以将视频类显示内容的显示记录保存在一个预设堆栈中。例如,图18A所示的预设堆栈P-a是视频类的预设堆栈,用于保存视频类显示内容的显示记录。终端将直播类显示内容的显示记录保存在另一个预设堆栈中。例如,图19所示的预设堆栈P-b是直播类的预设堆栈,用于保存直播类显示内容的显示记录。
在实现方式(一)中,手机200响应于用户在图18B中的(a)所示的第一子界面1801输入半圆形手势,可以在图19中的(a)所示的预设堆栈P-b中压入第二显示内容的标识,即“直播1、直播2和直播3的标识”,得到图19中的(b)所示的预设堆栈P-b。而不是将“直播1、直播2和直播3的标识”压入图18A中的(c)所示的预设堆栈P-a。此时,栈指针指向栈顶的“直播1、直播2和直播3的标识”。
在实现方式(二)中,第一子界面中显示的多种类型的显示内容的显示记录保存在一个预设堆栈中。例如,图17或图18B所示的显示内容可以分为三种类型:视频类、直播类和播放器类。终端可以将视频类显示内容的显示记录、直播类显示内容的显示记录和播放器类显示内容的显示记录,保存在一个预设堆栈中。
在实现方式(二)中,手机200响应于用户在图18B中的(a)所示的第一子界面1801输入半圆形手势,可以在图20中的(a)所示的预设堆栈P-a,即图18A中的(c)所示的预设堆栈P-a,中压入第二显示内容的标识,即“直播1、直播2和直播3的标识”,得到图20中的(b)所示的预设堆栈P-a。图20中的(b)所示的预设堆栈P-a中不仅包括视频类显示内容的显示记录,如“视频1、视频2和视频3的标识”和“视频4、视频5和视频6的标识”。图20中的(b)所示的预设堆栈P-a中还可以包括直播类显示内容的显示记录,如“直播1、直播2和直播3的标识”。
在实现方式(二)中,响应于第二操作,第一子界面中的显示内容会发生变化。并且变化前的显示内容(即第二显示内容)与变化后的显示内容(即第一显示内容)可能是同一类型的显示内容,也可能是不同类型的显示类型。
例如,以第二操作是半圆形手势为例。图18B中的(a)所示的“直播1、直播2和直播3的应用推荐信息”(直播类显示内容)与图18B中的(b)所示的“视频4、视频5和视频6的应用推荐信息”(视频类显示内容)是不同类型的显示内容。
手机200接收用户在图18B中的(b)所示的第一子界面1802输入半圆形手势。手机200响应于该半圆形手势,显示图18B中的(c)所示的“视频1、视频2和视频3的应用推荐信息”。其中,图18B中的(b)所示的“视频4、视频5和视频6的应用推荐信息”(视频类显示内容)与图18B中的(c)所示的“视频1、视频2和视频3的应用推荐信息”(视频类显示内容)是同一类型的显示内容。
应用场景(4):
以第一应用是淘宝为例。第一界面可以是淘宝的显示界面。例如,第一界面是图21中的(a)所示的显示界面。图21中的(a)所示的显示界面中包括第一子界面2101。其中,图21中的(a)所示的第一子界面2101中的第一显示内容包括多款商品的推荐信息,如“裙子、裤子、帽子和眼镜的推荐信息”。
以第一操作是用户对第一子界面2101输入的下拉手势为例。手机200响应于用户对图21中的(a)所示的第一子界面2101输入的下拉手势,可以刷新第一子界面2101的显示内容。假设刷新后的第二显示内容包括“戒指、风衣、滑板车和菠萝的推荐信息”。如图21中的(b)所示,手机200在第一子界面2102中显示第二显示内容,即“戒指、风衣、滑板车和菠萝的推荐信息”。并且,手机200响应于上述下拉手机,可以在图22中的(a)所示的预设堆栈P中压入第一显示内容“裙子、裤子、帽子和眼镜的链接”,得到图22中的(b)所示的预设堆栈P。本申请实施例应用场景(4)中的链接是指第一应用中的商品链接。
以第二操作是用户对第一子界面2102输入的打钩手势为例。手机200响应于用户对图21中的(b)所示的第一子界面2102输入的打钩手势,可以在图21中的(c)所示的第一子界面2103重新显示第一显示内容,即“裙子、裤子、帽子和眼镜的推荐信息”。并且,手机200响应于上述打钩手势,还可以在图22中的(b)所示的预设堆栈压入“戒指、风衣、滑板车和菠萝的链接”,得到图22中的(c)所示的预设堆栈P。
本申请实施例还提供一种显示控制方法。与上述显示控制方法不同的是:响应于第一操作,终端保存的是更新后的显示内容(如第二显示内容)。具体的,该显示控制方法可以包括以下内容:
终端显示第一界面,该第一界面中当前显示第一显示内容。终端显示第一显示内容的同时,第一显示内容的第一显示记录被保存在终端中。终端接收用户对第一显示内容的第一操作,第一操作是更新第一显示内容的操作。响应于第一操作,终端将第一界面显示的第一显示内容更新为第二显示内容,并保存第二显示内容对应的第二显示记录。其中,第一显示内容与第二显示内容不同。终端接收用户对第二显示内容的第二操作,第二操作是 查看更新前的显示内容的操作。响应于第二操作,终端根据第一显示记录在第一界面显示第一显示内容。可选的,上述第一显示内容和第二显示内容可以显示在第一界面的第一子界面中。
本申请实施例这里以图23所示的子界面S是终端显示的第一子界面为例,对本申请实施例提供的显示控制方法进行说明:
如图23中的(b)所示,假设子界面S中当前显示显示内容B。即图23中的(b)所示的显示内容B是第一显示内容。图23中的(a)所示的预设记录集合中保存了显示记录A和显示记录B。其中,显示记录A对应于显示内容A,显示记录B对应于显示内容B。响应于用户对23中的(b)所示的子界面S的刷新操作(第一操作),终端将子界面S显示的显示内容B更新为23中的(d)所示的显示内容C。23中的(d)所示的显示内容C是第二显示内容。并且,响应于第一操作,如23中的(c)所示,终端可以在预设记录集合中保存显示内容C的显示记录C。
假设第二操作用于指示终端显示子界面S最近一次被刷新前显示的显示内容。例如,如23中的(b)所示,最近一次刷新后子界面的显示内容为C。如23中的(d)所示,最近一次刷新前子界面的显示内容为B。那么,响应于用户对23中的(d)所示的子界面S的第二操作,终端可以在子界面S显示23中的(f)所示的显示内容B(即第一显示内容)。需要注意的是,由于第二操作不是用于刷新子界面S的操作,因此相比于23中的(c)所示的预设记录集合,23中的(e)所示的预设记录集合中并未增加新的显示记录。相应的,如果终端接收到用户对23中的(f)所示的子界面S的第二操作,终端可以在子界面S显示显示内容A(23中未示出)。
在一些实施例中,终端在第一子界面重新显示第一显示内容后,可能会接收到用户对显示第一显示内容的第一子界面的第一操作(刷新操作)。在这种情况下,终端响应于该第一操作,可以将第一子界面显示的第一显示内容更新为第三显示内容。
例如,终端接收到用户对23中的(f)所示的子界面S的第一操作。响应于该第一操作,终端可以将子界面S显示的显示内容B更新为显示内容D。即终端在子界面S显示23中的(h)所示的显示内容D。并且,响应于该第一操作,终端可以在23中的(e)所示的预设记录集合中保存显示内容D的显示记录D,得到23中的(g)所示的预设记录集合。相比于23中的(e)所示的预设记录集合,23中的(g)所示的预设记录集合中增加了新的显示记录D。
可选的,上述预设记录集合可以是预设堆栈。终端可以在第一子界面显示预设堆栈的栈指针指向的显示记录对应的显示内容。本申请实施例这里以图24的子界面S是终端显示的第一子界面为例,对通过预设堆栈实现本申请实施例提供的显示控制方法的具体过程进行说明:
如图24中的(b-1)所示,假设子界面S中当前显示显示内容B。即图10中的(b-1)所示的显示内容B是第一显示内容。图24中的(a-1)所示的预设堆栈P中压入了显示记录A和显示记录B。其中,显示记录A对应于显示内容A,显示记录B对应于显示内容B。终端接收用户对图24中的(b-1)所示的子界面S的第一操作(如用户对子界面S中的刷新按钮的点击操作)。响应于该第一操作,终端可以向图24中的(a-1)所示的预设堆栈P 压入显示记录C,得到图24中的(a-2)所示的预设堆栈P。显示记录C对应于显示内容C。在图24中的(a-2)所示的预设堆栈P中,栈指针指向栈顶的显示记录C。响应于该第一操作,终端可以将子界面D显示的显示内容B更新为图24中的(a-2)所示的栈指针指向的显示内容C。即子界面S中显示图24中的(b-2)所示的显示内容C。图24中的(b-2)所示的显示内容C是第二显示内容。
假设第二操作可以用于指示终端显示子界面S最近一次被刷新前显示的显示内容。例如,当第二操作是用户对子界面S的双击操作时,第二操作可以用于指示终端显示子界面S最近一次被刷新前显示的显示内容。举例来说,如图24中的(b-2)所示,最近一次刷新后子界面的显示内容为C。如图24中的(b-1)所示,最近一次刷新前子界面的显示内容为B。即第二操作对应于显示内容B。那么,响应于用户对图24中的(b-2)所示的子界面S的第二操作,如图24中的(a-3)所示,终端可以控制栈指针指向显示记录B。响应于该第二操作,如图24中的(b-3)所示,终端可以重新在子界面S显示图24中的(a-3)所示的栈指针指向的显示内容B。
结合上述应用场景(2)。如图15中的(a)所示,应用商店的首页中包括第一子界面“应用推荐”子界面1501。“应用推荐”子界面1501中显示第一显示内容1502。第一显示内容1502包括微信、支付宝、股票和QQ的应用图标。此时,如图25中的(a)所示,预设堆栈P中保存了压入了第一显示内容1502。
以第一操作是用户对“应用推荐”子界面1501中的刷新按钮1503的单击操作为例。手机200响应于用户对刷新按钮1503的单击操作,可以刷新“应用推荐”子界面1501的显示内容。假设刷新后的第二显示内容1504包括WiFi钥匙、共享单车、天气和中国银行的应用图标。那么,如图25中的(b)所示,手机200可以在图25中的(a)所示的预设堆栈P中压入第二显示内容1504。此时,栈指针指向栈顶的第二显示内容1504。如图15中的(b)所示,手机200在“应用推荐”子界面1501中显示栈指针指向的第二显示内容1504。
以第二操作是用户在“应用推荐”子界面1501的左右滑动操作为例。如图15中的(b)所示,当用户手指在“应用推荐”子界面1501的滑动时,手机200可以在“应用推荐”子界面1501显示导航条1505。手机200响应于用户在导航条1505中对导航键的拖动操作,栈指针在预设堆栈中的显示记录中切换。例如。当用户手指将导航条1505中的导航键由图15中的(c)所示的位置拖动至图15中的(d)所示的位置时,预设堆栈P的栈指针指向图25中的(c)所示的第一显示内容1502,图15中的(d)所示的“应用推荐”子界面1501重新显示第一显示内容1502。
结合上述应用场景(4)。图21中的(a)所示的第一子界面2101中的第一显示内容包括多款商品的推荐信息,如“裙子、裤子、帽子和眼镜的推荐信息”。此时,如图26中的(a)所示,预设堆栈P中保存了压入了第一显示内容“裙子、裤子、帽子和眼镜的链接”。
以第一操作是用户对第一子界面2101输入的下拉手势为例。手机200响应于用户对图21中的(a)所示的第一子界面2101输入的下拉手势,可以刷新第一子界面2101的显示内容。假设刷新后的第二显示内容包括“戒指、风衣、滑板车和菠萝的推荐信息”。手机200响应于上述下拉手势,可以在图26中的(a)所示的预设堆栈P中压入第二显示内容的网页链接,即“戒指、风衣、滑板车和菠萝的链接”,得到图26中的(b)所示的预设堆栈P。 此时,栈指针指向栈顶的“戒指、风衣、滑板车和菠萝的链接”。如图21中的(b)所示,手机200在第一子界面2102中显示栈指针指向的“戒指、风衣、滑板车和菠萝的链接”对应的“戒指、风衣、滑板车和菠萝的推荐信息”。以第二操作是用户对第一子界面2101输入的打钩手势为例。手机200响应于用户对图21中的(b)所示的第一子界面2101输入的打钩手势,控制栈指针执行图26中的(c)所示的“裙子、裤子、帽子和眼镜的链接”。如图21中的(c)所示,第一子界面2103显示图26中的(c)所示的栈指针指向的“裙子、裤子、帽子和眼镜的链接”对应的“裙子、裤子、帽子和眼镜的推荐信息”。
可以理解的是,上述终端为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请实施例能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请实施例的范围。
本申请实施例可以根据上述方法示例对上述终端进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,如图27所示,本申请实施例提供一种终端2700,该终端2700包括:显示单元2701、输入单元2702和存储单元2703。
其中,显示单元2701用于支持终端2700执行上述方法实施例中的S301,S305,S803、S303中“显示第二显示内容”的操作、S1202,/或用于本文所描述的技术的其它过程。输入单元2702用于支持终端2700执行上述方法实施例中的S302、S304、S802、S1201,/或用于本文所描述的技术的其它过程。存储单元2703用于支持终端2700执行上述方法实施例中的S303中“保存第一显示记录”的操作、S801、S1203,和/或用于本文所描述的技术的其它过程。
需要说明的是,显示单元2701、输入单元2702和存储单元2703的功能包括但不限于执行上述方法步骤的功能。显示单元2701、输入单元2702和存储单元2703可以用于支持终端2700执行上述方法实施例中描述的所有功能。例如,显示单元2701,还可以用于响应于第二操作,在第一子界面显示导航条。
进一步的,上述终端2700还可以包括接收单元和发送单元。接收单元用于接收其他设备发送的信息。发送单元用于向其他设备发送信息。
在采用集成单元的情况下,上述输入单元2702可以在一个处理模块中实现。上述接收单元和发送单元可以集成在一个通信模块中实现。上述显示单元2701可以为显示模块。上述存储单元2703可以是存储模块。图28示出了上述实施例中所涉及的终端的一种可能的结构示意图。该终端2800包括:处理模块2801、存储模块2802和 显示模块2803。
其中,处理模块2801用于对终端2800进行控制管理。显示模块2803用于显示界面以及接收用户的触控操作。存储模块2802,用于保存终端2800的程序代码和数据。进一步的,上述终端2800还可以包括通信模块,该通信模块用于与其他设备通信。如通信模块用于接收或者向其他设备发送的信息。
其中,处理模块2801可以是处理器或控制器,例如可以包括中央处理器(Central Processing Unit,CPU)和图形处理器(Graphics Processing Unit,GPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块可以是收发器、收发电路或通信接口等。存储模块2802可以是存储器。
当处理模块2801为处理器(如图2所示的处理器201,通信模块为射频电路(如图2所示的射频电路202),存储模块2802为存储器(如图2所示的存储器203),显示模块2803为显示器(包括图2所示的包括触控板204-1和显示板204-5的显示器204)时,本申请所提供的设备可以为图2所示的手机200。其中,上述通信模块不仅可以包括射频电路,还可以包括WiFi模块和蓝牙模块。射频电路、WiFi模块和蓝牙模块等通信模块可以统称为通信接口。其中,上述处理器、通信接口、触摸屏和存储器可以通过总线耦合在一起。
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序代码,当上述处理器执行该计算机程序代码时,终端执行图3、图8A和图12A中任一附图中的相关方法步骤实现上述实施例中的方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行图3、图8A和图12A中任一附图中的相关方法步骤实现上述实施例中的方法。
其中,本申请提供的终端2700和终端2800、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分 方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (24)

  1. 一种显示控制方法,其特征在于,所述方法包括:
    终端显示第一界面,所述第一界面中当前显示第一显示内容;
    所述终端接收用户对所述第一显示内容的第一操作,所述第一操作是更新所述第一显示内容的操作;
    响应于所述第一操作,所述终端保存所述第一显示内容对应的第一显示记录,并将所述第一界面显示的所述第一显示内容更新为第二显示内容,所述第一显示内容与所述第二显示内容不同;
    所述终端接收用户对所述第二显示内容的第二操作,所述第二操作是查看更新前的显示内容的操作;
    响应于所述第二操作,所述终端根据所述第一显示记录在所述第一界面显示所述第一显示内容。
  2. 根据权利要求1所述的方法,其特征在于,所述第一界面包括一个或多个子界面,所述一个或多个子界面包括第一子界面,所述第一显示内容显示在所述第一子界面中;响应于所述第一操作,所述第二显示内容显示在所述第一子界面中。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识;
    或者,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识,以及所述第一显示内容在所述第一界面的排版信息。
  4. 根据权利要求1-3中任意一项所述的方法,其特征在于,所述方法还包括:
    响应于所述第二操作,所述终端保存所述第二显示内容对应的第二显示记录;
    其中,所述第二显示记录包括:所述第二显示内容或者所述第二显示内容的标识;或者,所述第二显示记录包括:所述第二显示内容或者所述第二显示内容的标识,以及所述第二显示内容在所述第一界面的排版信息。
  5. 根据权利要求2-4中任意一项所述的方法,其特征在于,所述第一子界面的显示记录保存在预设记录集合中,所述预设记录集合按照时间的先后顺序保存显示记录,所述第一子界面的显示记录包括所述第一显示记录;
    所述响应于所述第二操作,所述终端根据所述第一显示记录在所述第一界面显示所述第一显示内容,包括:
    响应于所述第二操作,所述终端从所述预设记录集合中获取最近保存在所述预设记录集合中的所述第一显示记录,根据所述第一显示记录确定所述第一显示内容,并在所述第一子界面显示所述第一显示内容。
  6. 根据权利要求5所述的方法,其特征在于,所述预设记录集合是预设堆栈;
    所述响应于所述第一操作,所述终端保存所述第一显示内容对应的第一显示记录,包括:
    响应于所述第一操作,所述终端将所述第一显示记录压入所述预设堆栈。
  7. 根据权利要求6所述的方法,其特征在于,响应于所述第一操作,所述预设堆栈的 栈指针指向所述预设堆栈的栈顶的显示记录;
    所述响应于所述第二操作,所述终端从所述预设记录集合中获取最近保存在所述预设记录集合中的所述第一显示记录,根据所述第一显示记录确定所述第一显示内容,并在所述第一子界面显示所述第一显示内容,包括:
    响应于所述第二操作,所述终端获取所述栈指针指向的所述第一显示记录;
    所述终端根据所述第一显示记录确定所述第一显示内容,并在所述第一子界面显示所述第一显示内容;
    所述终端将第二显示记录压入所述预设堆栈。
  8. 根据权利要求7所述的方法,其特征在于,所述第二操作是滑动操作,随着所述滑动操作的滑动位置的变化,所述栈指针在所述预设堆栈中的显示记录中切换;
    其中,所述第一子界面中的显示内容随着所述栈指针的切换而发生变化。
  9. 一种显示控制方法,其特征在于,所述方法包括:
    终端显示负一屏,所述负一屏中显示第一显示内容;
    所述终端接收用户对所述第一显示内容的第一操作,所述第一操作是更新所述第一显示内容的操作;
    响应于所述第一操作,所述终端保存所述第一显示内容对应的第一显示记录,并将所述负一屏显示的所述第一显示内容更新为第二显示内容,所述第一显示内容与所述第二显示内容不同;
    所述终端接收用户对所述第二显示内容的第二操作,所述第二操作是查看更新前的显示内容的操作;
    响应于所述第二操作,所述终端根据所述第一显示记录在所述负一屏显示所述第一显示内容。
  10. 根据权利要求9所述的方法,其特征在于,所述负一屏包括一个或多个子界面,所述一个或多个子界面包括第一子界面,所述第一子界面包括应用推荐子界面、视频推荐子界面和音乐推荐子界面中的任一个;
    所述第一显示内容显示在所述第一子界面中;响应于所述第一操作,所述第二显示内容显示在所述第一子界面中。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识;
    或者,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识,以及所述第一显示内容在所述第一界面的排版信息。
  12. 根据权利要求9-11中任意一项所述的方法,其特征在于,所述方法还包括:
    响应于所述第二操作,所述终端保存所述第二显示内容对应的第二显示记录;
    其中,所述第二显示记录包括:所述第二显示内容或者所述第二显示内容的标识;或者,所述第二显示记录包括:所述第二显示内容或者所述第二显示内容的标识,以及所述第二显示内容在所述第一界面的排版信息。
  13. 一种终端,其特征在于,所述终端包括:
    显示单元,用于显示第一界面,所述第一界面中当前显示第一显示内容;
    输入单元,用于接收用户对所述第一显示内容的第一操作,所述第一操作是更新所述第一显示内容的操作,接收用户对所述第二显示内容的第二操作,所述第二操作是查看更新前的显示内容的操作;
    处理单元,用于响应于所述输入单元接收的所述第一操作,指示存储单元保存所述第一显示内容对应的第一显示记录,并指示显示单元更新显示内容,将所述第一界面显示的所述第一显示内容更新为第二显示内容,所述第一显示内容与所述第二显示内容不同;响应于所述输入单元接收的第二操作,根据所述第一显示记录确定所述第一显示内容,并指示所述显示单元在所述第一界面显示所述第一显示内容;
    存储单元,用于根据所述处理单元的指示,保存所述第一显示内容对应的第一显示记录;
    所述显示单元,还用于根据所述处理单元的指示,将所述第一界面显示的所述第一显示内容更新为第二显示内容;根据所述处理单元的指示,在所述第一界面显示所述第一显示内容。
  14. 根据权利要求13所述的终端,其特征在于,所述显示单元显示的所述第一界面包括一个或多个子界面,所述一个或多个子界面包括第一子界面,所述显示单元将所述第一显示内容显示在所述第一子界面中;所述显示单元响应于所述第一操作,将所述第二显示内容显示在所述第一子界面中。
  15. 根据权利要求13或14所述的终端,其特征在于,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识;
    或者,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识,以及所述第一显示内容在所述第一界面的排版信息。
  16. 根据权利要求13-15中任意一项所述的终端,其特征在于,所述处理单元,还用于响应于所述第二操作,指示所述存储单元保存所述第二显示内容对应的第二显示记录
    存储单元,还用于根据所述处理单元的指示,保存所述第二显示内容对应的第二显示记录;
    其中,所述第二显示记录包括:所述第一显示内容或者所述第一显示内容的标识;或者,所述第二显示记录包括:所述第二显示内容或者所述第二显示内容的标识,以及所述第二显示内容在所述第一界面的排版信息。
  17. 根据权利要求13-16中任意一项所述的终端,其特征在于,所述存储单元中保存有预设记录集合,所述第一子界面的显示记录保存在预设记录集合中,所述预设记录集合按照时间的先后顺序保存显示记录,所述第一子界面的显示记录包括所述第一显示记录;
    所述处理单元,用于响应于所述第二操作,根据所述第一显示记录确定所述第一显示内容,具体为:
    所述处理单元,用于响应于所述第二操作,从所述预设记录集合中获取最近保存在所述预设记录集合中的所述第一显示记录,根据所述第一显示记录确定所述第一显示内容。
  18. 根据权利要求17所述的终端,其特征在于,所述预设记录集合是预设堆栈;
    所述存储单元,用于根据所述处理单元的指示,保存所述第一显示内容对应的第一显示记录,具体为:
    所述存储单元,用于根据所述处理单元的指示,将所述第一显示记录压入所述预设堆栈。
  19. 一种终端,其特征在于,所述终端包括:
    显示单元,用于显示负一屏,所述负一屏中显示第一显示内容;
    输入单元,用于接收用户对所述第一显示内容的第一操作,所述第一操作是更新所述第一显示内容的操作;接收用户对所述第二显示内容的第二操作,所述第二操作是查看更新前的显示内容的操作;
    处理单元,用于响应于所述输入单元接收的所述第一操作,指示存储单元保存所述第一显示内容对应的第一显示记录,并指示显示单元将所述负一屏显示的所述第一显示内容更新为第二显示内容,所述第一显示内容与所述第二显示内容不同;还用于响应于所述输入单元接收的所述第二操作,根据所述第一显示记录确定在所述负一屏显示所述第一显示内容,并指示所述显示单元在所述负一屏显示所述第一显示内容;
    存储单元,用于根据所述处理单元的指示,保存所述第一显示内容对应的第一显示记录;
    所述显示单元,还用于根据所述处理单元的指示,,将所述负一屏显示的所述第一显示内容更新为第二显示内容,所述第一显示内容与所述第二显示内容不同;还用于根据所述处理单元的指示,在所述负一屏显示所述第一显示内容。
  20. 根据权利要求19所述的终端,其特征在于,所述显示单元显示的所述负一屏包括一个或多个子界面,所述一个或多个子界面包括第一子界面,所述第一子界面包括应用推荐子界面、视频推荐子界面和音乐推荐子界面中的任一个;
    所述显示单元用于根据所述处理单元的指示,将所述第一显示内容显示在所述第一子界面中;以及根据所述处理单元的指示,将所述第二显示内容显示在所述第一子界面中。
  21. 根据权利要求19或20所述的终端,其特征在于,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识;
    或者,所述第一显示记录包括:所述第一显示内容或者所述第一显示内容的标识,以及所述第一显示内容在所述第一界面的排版信息。
  22. 一种终端,其特征在于,包括:一个或多个处理器、存储器和显示器;
    所述存储器、所述显示器与所述一个或多个处理器耦合,所述存储器用于存储计算机程序代码,所述计算机程序代码包括计算机指令,当所述一个或多个处理器执行所述计算机指令时,所述移动终端执行如权利要求1-12中任意一项所述的显示控制方法;所述显示器,用于根据所述处理器的指示进行显示。
  23. 一种计算机存储介质,其特征在于,所述计算机存储介质包括计算机指令,当所述计算机指令在终端上运行时,使得所述终端执行如权利要求1-12中任意一项所述的显示控制方法。
  24. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得所述计算机执行如权利要求1-12中任意一项所述的显示控制方法。
PCT/CN2019/087462 2018-05-18 2019-05-17 一种显示控制方法及终端 WO2019219084A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/056,568 US20210255765A1 (en) 2018-05-18 2019-05-17 Display Control Method and Terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810483419.5 2018-05-18
CN201810483419.5A CN110502169B (zh) 2018-05-18 2018-05-18 一种显示控制方法及终端

Publications (1)

Publication Number Publication Date
WO2019219084A1 true WO2019219084A1 (zh) 2019-11-21

Family

ID=68539505

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/087462 WO2019219084A1 (zh) 2018-05-18 2019-05-17 一种显示控制方法及终端

Country Status (3)

Country Link
US (1) US20210255765A1 (zh)
CN (1) CN110502169B (zh)
WO (1) WO2019219084A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111045589A (zh) * 2019-11-29 2020-04-21 青岛海尔科技有限公司 用于触摸屏切换的控制方法及装置、移动终端
CN112379824A (zh) * 2020-11-30 2021-02-19 支付宝(杭州)信息技术有限公司 页面处理方法、装置及设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110185369A1 (en) * 2010-01-25 2011-07-28 Canon Kabushiki Kaisha Refresh of auxiliary display
CN102446070A (zh) * 2011-12-29 2012-05-09 Tcl集团股份有限公司 一种在各级目录间进行快捷跳转的方法和装置
CN106021549A (zh) * 2016-05-27 2016-10-12 青岛海信传媒网络技术有限公司 Web应用程序的页面控制方法、装置及终端设备
CN106775836A (zh) * 2016-11-29 2017-05-31 腾讯科技(深圳)有限公司 界面显示方法及界面显示装置
CN107241492A (zh) * 2017-05-24 2017-10-10 努比亚技术有限公司 一种动态信息显示方法及设备
CN107870784A (zh) * 2017-11-24 2018-04-03 维沃移动通信有限公司 一种显示控制方法、移动终端及计算机可读存储介质

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5591450B2 (ja) * 2008-02-12 2014-09-17 シャープ株式会社 コンテンツ表示処理装置、コンテンツ表示処理方法、コンテンツ表示処理プログラム、およびコンテンツ表示処理プログラムを記録したコンピュータ読み取り可能な記録媒体
US8607152B2 (en) * 2009-06-11 2013-12-10 International Business Machines Corporation Management of test artifacts using cascading snapshot mechanism
CN103049177A (zh) * 2011-10-14 2013-04-17 浪潮乐金数字移动通信有限公司 移动终端及其浏览器分屏浏览方法
CN102629231B (zh) * 2012-04-24 2016-04-13 迈普通信技术股份有限公司 一种检测任务堆栈的方法
JP5891931B2 (ja) * 2012-04-27 2016-03-23 ソニー株式会社 表示制御装置、表示制御方法、表示制御プログラムおよび携帯端末
CN104182252A (zh) * 2014-08-13 2014-12-03 墨仕(厦门)电子商务有限公司 一种app版本增量更新方法
US10268491B2 (en) * 2015-09-04 2019-04-23 Vishal Vadodaria Intelli-voyage travel
CN106055252B (zh) * 2016-05-30 2019-04-30 努比亚技术有限公司 移动终端及其分屏显示处理方法
CN106897347B (zh) * 2016-08-15 2021-12-24 创新先进技术有限公司 一种网页展示方法、操作事件记录方法及装置
US10409440B2 (en) * 2016-10-14 2019-09-10 Sap Se Flexible-page layout
CN106534075A (zh) * 2016-10-14 2017-03-22 天脉聚源(北京)科技有限公司 更新内容的处理方法及装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110185369A1 (en) * 2010-01-25 2011-07-28 Canon Kabushiki Kaisha Refresh of auxiliary display
CN102446070A (zh) * 2011-12-29 2012-05-09 Tcl集团股份有限公司 一种在各级目录间进行快捷跳转的方法和装置
CN106021549A (zh) * 2016-05-27 2016-10-12 青岛海信传媒网络技术有限公司 Web应用程序的页面控制方法、装置及终端设备
CN106775836A (zh) * 2016-11-29 2017-05-31 腾讯科技(深圳)有限公司 界面显示方法及界面显示装置
CN107241492A (zh) * 2017-05-24 2017-10-10 努比亚技术有限公司 一种动态信息显示方法及设备
CN107870784A (zh) * 2017-11-24 2018-04-03 维沃移动通信有限公司 一种显示控制方法、移动终端及计算机可读存储介质

Also Published As

Publication number Publication date
CN110502169A (zh) 2019-11-26
US20210255765A1 (en) 2021-08-19
CN110502169B (zh) 2021-10-19

Similar Documents

Publication Publication Date Title
EP3097704B1 (en) Determing data associated with proximate computing devices
KR102083209B1 (ko) 데이터 제공 방법 및 휴대 단말
US20170205894A1 (en) Method and device for switching tasks
WO2020258929A1 (zh) 文件夹界面切换方法及终端设备
WO2019183788A1 (zh) 一种基于场景推荐应用的方法及装置
WO2017219292A1 (zh) 一种显示候选词的方法、装置及图形用户界面
US20150213127A1 (en) Method for providing search result and electronic device using the same
WO2018223558A1 (zh) 数据处理方法及电子设备
US11886495B2 (en) Predictively presenting search capabilities
WO2019104677A1 (zh) 不同屏显示不同的应用快捷菜单
KR102511247B1 (ko) 다면 디스플레이 장치와 그의 운영 방법
WO2017193496A1 (zh) 应用数据的处理方法、装置和终端设备
AU2018414730B2 (en) Application window display method and terminal
WO2021129536A1 (zh) 图标移动方法及电子设备
US11481357B2 (en) Album display method, electronic device, and storage medium
CN110678842A (zh) 动态生成针对与操作系统用户界面元素的用户交互的任务快捷方式
US20150128073A1 (en) Method for sharing contents and electronic device thereof
US20160350136A1 (en) Assist layer with automated extraction
US10685029B2 (en) Information ranking based on properties of a computing device
WO2018209635A1 (zh) 一种搜索方法及装置
CN111316618B (zh) 一种网络页面保存方法及终端
WO2021169954A1 (zh) 搜索方法及电子设备
WO2019061512A1 (zh) 一种任务切换方法及终端
CN108780400B (zh) 数据处理方法及电子设备
WO2019219084A1 (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: 19803153

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19803153

Country of ref document: EP

Kind code of ref document: A1