CN109254811B - Interface display method and device, computer equipment and computer readable storage medium - Google Patents

Interface display method and device, computer equipment and computer readable storage medium Download PDF

Info

Publication number
CN109254811B
CN109254811B CN201810898690.5A CN201810898690A CN109254811B CN 109254811 B CN109254811 B CN 109254811B CN 201810898690 A CN201810898690 A CN 201810898690A CN 109254811 B CN109254811 B CN 109254811B
Authority
CN
China
Prior art keywords
interface
parent
display layer
display
setting
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201810898690.5A
Other languages
Chinese (zh)
Other versions
CN109254811A (en
Inventor
魏为
彭飞
吕庆春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuba Co Ltd
Original Assignee
Wuba Co Ltd
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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN201810898690.5A priority Critical patent/CN109254811B/en
Publication of CN109254811A publication Critical patent/CN109254811A/en
Application granted granted Critical
Publication of CN109254811B publication Critical patent/CN109254811B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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

Landscapes

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

Abstract

The invention provides an interface display method, which comprises the following steps: when a hiding instruction of any interface is received, moving the any interface to a display layer positioned at the lower part of a first parent interface at the upper stage of the any interface so as to shield the any interface through the first parent interface; and when a display instruction of any interface is received, moving the any interface to a top display layer to present the any interface. The invention also discloses an interface display device, computer equipment and a computer readable storage medium, and by implementing the scheme, the interface can be quickly hidden and/or displayed, the system resource overhead in the process of hiding and/or displaying the interface can be effectively reduced, and the fluency of hiding and/or displaying the interface can be improved.

Description

Interface display method and device, computer equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an interface display method and apparatus, a computer device, and a computer-readable storage medium.
Background
With the rapid development of computer devices (e.g., mobile terminals), applications (apps) installed in the computer devices are rapidly spreading. In the prior art, when an application program visually hides/displays an interface, the application program is mainly implemented in two ways: the method I comprises the steps of adjusting the transparency of an interface to realize the hiding/displaying of the interface (the transparency is full transparency, the interface is hidden; the transparency is opaque, the interface is displayed); in the second mode, the interface is removed from the parent interface of the interface, so that the hiding of the interface is realized; the interface is created to enable display of the interface. In the first mode, after the interface is transparent, the user cannot continue to accept operations such as clicking and the like, which means that the attached functions on the interface are completely lost (if some functions of the interface are continuously effective, code extraction and reorganization and encapsulation are required); the system needs larger performance overhead when rendering an interface with transparency, and the performance is influenced; in the second way, the interface needs to be destroyed/recreated frequently in the interface hiding/displaying process, and the creation process of the complex interface may require a certain time and resource consumption, which causes a jam or a certain waiting time, and affects the user experience.
Disclosure of Invention
The invention provides an interface display method, an interface display device, computer equipment and a computer readable storage medium, which are used for solving the problem that the process of hiding and/or displaying a control interface is too complicated in the prior art, so that the system resource overhead is too high.
The technical scheme adopted by the invention is to provide an interface display method, which comprises the following steps:
when a hiding instruction of any interface is received, moving the any interface to a display layer positioned at the lower part of a first parent interface at the upper stage of the any interface so as to shield the any interface through the first parent interface;
and when a display instruction of any interface is received, moving the any interface to a top display layer to present the any interface.
Optionally, the moving the interface to a display layer located below a first parent interface of the interface to shield the interface from the first parent interface includes:
determining a first parent interface of a previous level of any interface and a second parent interface of the previous level of the first parent interface; the first parent-level interface is presented on a display layer on the upper part of the second parent-level interface;
and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so that any interface is shielded by the first parent interface.
Optionally, the moving the any interface to the top display layer to present the any interface includes:
and setting any interface as a child view of the next level of the first parent interface, and setting any interface on a display layer where the first parent interface is located so as to present any interface.
Optionally, after the moving the any interface to a display layer located below a first parent interface at a previous stage of the any interface so as to shield the any interface by the first parent interface, the method further includes:
and transmitting the user operation data acquired by the first parent-level interface to a setting functional component in any interface, so that the setting functional component executes corresponding functional operation based on the user operation data.
Optionally, after the moving the any interface to the top display layer to present the any interface, the method further includes:
and stopping transmitting the user operation data acquired by the first parent-level interface to the setting functional component in any interface.
The invention also provides an interface display device, comprising:
the hiding module is used for moving any interface to a display layer positioned at the lower part of a first parent interface at the upper stage of the any interface when a hiding instruction of the any interface is received, so that the any interface is shielded through the first parent interface;
and the display module is used for moving any interface to the top display layer to present any interface when a display instruction of any interface is received.
Optionally, the hiding module is specifically configured to:
determining a first parent interface of a previous level of any interface and a second parent interface of the previous level of the first parent interface; the first parent-level interface is presented on a display layer on the upper part of the second parent-level interface;
and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so that any interface is shielded by the first parent interface.
Optionally, the display module is specifically configured to:
and setting any interface as a child view of the next level of the first parent interface, and setting any interface on a display layer where the first parent interface is located so as to present any interface.
Optionally, the apparatus further comprises:
and the transmission module is used for transmitting the user operation data acquired by the first parent interface to a setting functional component in any interface after the any interface is moved to a display layer at the lower part of the first parent interface at the upper stage of the any interface so as to shield the any interface through the first parent interface, so that the setting functional component executes corresponding functional operation based on the user operation data.
Optionally, the apparatus further comprises:
and the recovery module is used for stopping transmitting the user operation data collected by the first parent-level interface to the setting functional component in any interface after any interface is moved to the top display layer to present any interface.
The invention also provides a computer device comprising a processor and a memory; the processor is used for executing the interface display program stored in the memory so as to realize the steps of the interface display method.
The present invention also provides a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the interface presentation method described above.
By adopting the technical scheme, the invention at least has the following advantages:
the interface display method, the interface display device, the computer equipment and the computer readable storage medium realize the quick hiding and/or displaying of the interface, effectively reduce the system resource overhead in the hiding and/or displaying process of the interface and improve the fluency of the hiding and/or displaying of the interface.
Drawings
FIG. 1 is a flowchart of an interface display method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of an interface display method according to a second embodiment of the present invention;
FIG. 3 is a flowchart of an interface display method according to a third embodiment of the present invention;
FIG. 4 is a flowchart of an interface display method according to a fourth embodiment of the present invention;
FIG. 5 is a flowchart of an interface display method according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an interface display apparatus according to a sixth embodiment of the invention;
fig. 7 is a schematic structural diagram of an interface display apparatus according to a ninth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an interface display apparatus according to a tenth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a computer device according to an eleventh embodiment of the present invention.
Detailed Description
To further explain the technical means and effects of the present invention adopted to achieve the intended purpose, the present invention will be described in detail with reference to the accompanying drawings and preferred embodiments.
A first embodiment of the present invention provides an interface display method, as shown in fig. 1, including the following steps:
step S101, when a hiding instruction of any interface is received, the interface is moved to a display layer positioned at the lower part of a first parent interface at the upper stage of the interface, so that the interface is shielded by the first parent interface.
In this embodiment, a manner of receiving the hidden instruction of any interface is not specifically limited, and may be receiving the hidden instruction of any interface sent by the user, or receiving the hidden instruction of any interface preset in the application program (for example, after the application program presents the verification code information interface for 5 seconds, the hidden instruction of the verification code information interface is received).
In this embodiment, any of the interfaces includes, but is not limited to, the following: displaying an interface corresponding to a functional link or a functional key by triggering the functional link or the functional key in the first parent-level interface; and the interface is called by the setting function component in the first parent-level interface. It is to be understood that any interface is a child interface of the first parent program.
In this embodiment, the parent interface and the child interface thereof are respectively presented on different display layers, wherein the display layer of the child interface is located on the upper portion of the display layer of the parent interface; that is, when a child interface is presented, the child interface may fully or partially occlude the parent interface.
Wherein, moving any interface to a display layer located at the lower part of a first parent interface at the upper level of any interface specifically includes: and moving any interface to a display layer set at the lower part of a first parent interface positioned at the upper stage of any interface.
The display layer of any interface is moved, namely the display layer of any interface is adjusted, so that the hiding of any interface is realized, and the defects that the hiding of any interface is realized by adjusting the transparency of any interface for too long time and the system resource overhead is too large are effectively avoided.
Step S102, when the display instruction of any interface is received, the interface is moved to the top display layer to present the interface.
The hidden display of any interface is realized by moving the display layer of any interface, namely adjusting the display layer of any interface, and the defects that the hidden display of any interface is too long and the system resource overhead is too large by adjusting the transparency of any interface or creating a new any interface are effectively avoided.
The interface display method according to the first embodiment of the invention realizes the quick hiding and/or displaying of the interface, effectively reduces the system resource overhead in the hiding and/or displaying process of the interface, and improves the fluency of the hiding and/or displaying of the interface.
A second embodiment of the present invention provides an interface display method, as shown in fig. 2, including the following steps:
step S201, when a hidden instruction of any interface is received, determining a first parent interface of a previous level of the any interface and a second parent interface of the previous level of the first parent interface.
And the first parent interface is presented on a display layer at the upper part of the second parent interface.
In this embodiment, the first parent interface and the second parent interface are respectively presented on different display layers, wherein the display layer of the first parent interface is located on the upper portion of the display layer of the second parent interface; that is, when the first parent interface is presented, the first parent interface may fully or partially occlude the second parent interface.
Step S202, setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located so as to shield any interface through the first parent interface.
By setting any interface as a child view of the next level of the second parent interface, the first parent interface and any interface are set to be at the same level, namely, the first parent interface and any interface are child interfaces of the first parent interface.
By arranging any interface on the display layer where the second parent interface is located, the first parent interface is used for shielding any interface in the display layer where the second parent interface is located, namely, the hiding of any interface is realized by adjusting the display layer of any interface, and the defects that the time for hiding any interface is too long and the system resource cost is too large by adjusting the transparency of any interface are effectively avoided.
Step S203, when receiving the display instruction of any interface, moving the any interface to the top display layer to present the any interface.
The interface display method according to the second embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
A third embodiment of the present invention provides an interface display method, as shown in fig. 3, including the following steps:
step S301, when a hidden instruction of any interface is received, a first parent interface of a previous level of the any interface and a second parent interface of the previous level of the first parent interface are determined.
And the first parent interface is presented on a display layer at the upper part of the second parent interface.
Step S302, setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so as to shield any interface through the first parent interface.
Step S303, when a display instruction of any interface is received, setting the any interface as a child view of the next level of the first parent interface, and setting the any interface on a display layer where the first parent interface is located so as to present the any interface.
Any hidden interface is arranged on the display layer where the first parent-level interface is located, namely, any hidden interface is displayed by adjusting any interface display layer, so that the defects that any hidden interface is displayed for too long time and system resource cost is too large by adjusting the transparency of any interface or creating a new any interface are effectively overcome.
The interface display method according to the third embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
A fourth embodiment of the present invention provides an interface display method, as shown in fig. 4, including the following steps:
step S401, when a hidden instruction of any interface is received, determining a first parent interface of a previous level of the interface and a second parent interface of the previous level of the first parent interface.
And the first parent interface is presented on a display layer at the upper part of the second parent interface.
Step S402, setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so as to shield any interface through the first parent interface.
Step S403, transmitting the user operation data acquired by the first parent interface to a set function component in any interface, so that the set function component executes corresponding function operation based on the user operation data.
The user operation data acquired by the first parent interface is transmitted to the set function component in any interface, so that the set function component executes corresponding function operation based on the user operation data, and the user operation data is acquired through the first parent interface under the condition that any interface is hidden, and the corresponding function operation is executed on the user operation data through the set function component of any interface; the condition that the function of the set functional component in any interface is lost due to the fact that any interface is set to be transparent or any interface is deleted to be hidden is avoided.
Step S404, when a display instruction of any interface is received, setting the any interface as a child view of the next level of the first parent interface, and setting the any interface on a display layer where the first parent interface is located so as to present the any interface.
The interface display method according to the fourth embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
A fifth embodiment of the present invention provides an interface display method, as shown in fig. 5, including the following steps:
step S501, when a hiding instruction of any interface is received, a first parent interface of a previous stage of the any interface and a second parent interface of the previous stage of the first parent interface are determined.
And the first parent interface is presented on a display layer at the upper part of the second parent interface.
Step S502, setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so as to shield any interface through the first parent interface.
Step S503, transmitting the user operation data acquired by the first parent interface to a setting function component in any interface, so that the setting function component executes corresponding function operation based on the user operation data.
Step S504, when a display instruction of any interface is received, setting the any interface as a child view of the next level of the first parent interface, and setting the any interface on a display layer where the first parent interface is located so as to present the any interface.
Step S505, stopping transmitting the user operation data collected by the first parent-level interface to the setting function component in any interface.
By stopping transmitting the user operation data acquired by the first parent interface to the setting function component in any interface, the hidden display layer of any interface is effectively adjusted to recover to display any interface, and the situation that the user operation data acquired by the first parent interface is transmitted to the setting function group in any interface, so that the setting function component in any interface performs repeated data processing on the user operation data, and the processing error of the function data of the setting function component in any interface is caused is avoided.
The interface display method according to the fifth embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
In a sixth embodiment of the present invention, an interface display apparatus, as shown in fig. 6, includes the following components:
the hiding module 100 is configured to, when a hiding instruction of any interface is received, move the any interface to a display layer located at a lower portion of a first parent interface at a previous stage of the any interface, so as to shield the any interface through the first parent interface.
In this embodiment, a manner of receiving the hidden instruction of any interface is not specifically limited, and may be receiving the hidden instruction of any interface sent by the user, or receiving the hidden instruction of any interface preset in the application program (for example, after the application program presents the verification code information interface for 5 seconds, the hidden instruction of the verification code information interface is received).
In this embodiment, any of the interfaces includes, but is not limited to, the following: displaying an interface corresponding to a functional link or a functional key by triggering the functional link or the functional key in the first parent-level interface; and the interface is called by the setting function component in the first parent-level interface. It is to be understood that any interface is a child interface of the first parent program.
In this embodiment, the parent interface and the child interface thereof are respectively presented on different display layers, wherein the display layer of the child interface is located on the upper portion of the display layer of the parent interface; that is, when a child interface is presented, the child interface may fully or partially occlude the parent interface.
Wherein, moving any interface to a display layer located at the lower part of a first parent interface at the upper level of any interface specifically includes: and moving any interface to a display layer set at the lower part of a first parent interface positioned at the upper stage of any interface.
The display layer of any interface is moved, namely the display layer of any interface is adjusted, so that the hiding of any interface is realized, and the defects that the hiding of any interface is realized by adjusting the transparency of any interface for too long time and the system resource overhead is too large are effectively avoided.
The display module 200 is configured to, when receiving a display instruction of the any interface, move the any interface to the top display layer to present the any interface.
The hidden display of any interface is realized by moving the display layer of any interface, namely adjusting the display layer of any interface, and the defects that the hidden display of any interface is too long and the system resource overhead is too large by adjusting the transparency of any interface or creating a new any interface are effectively avoided.
The interface display device according to the sixth embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
In a seventh embodiment of the present invention, an interface display apparatus, as shown in fig. 6, includes the following components:
the hiding module 100 is configured to determine, when a hiding instruction of any interface is received, a first parent interface of a previous stage of the any interface and a second parent interface of the previous stage of the first parent interface; the first parent interface is presented on a display layer on the upper part of the second parent interface; and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located so as to shield any interface through the first parent interface.
In this embodiment, the first parent interface and the second parent interface are respectively presented on different display layers, wherein the display layer of the first parent interface is located on the upper portion of the display layer of the second parent interface; that is, when the first parent interface is presented, the first parent interface may fully or partially occlude the second parent interface.
By setting any interface as a child view of the next level of the second parent interface, the first parent interface and any interface are set to be at the same level, namely, the first parent interface and any interface are child interfaces of the first parent interface.
By arranging any interface on the display layer where the second parent interface is located, the first parent interface is used for shielding any interface in the display layer where the second parent interface is located, namely, the hiding of any interface is realized by adjusting the display layer of any interface, and the defects that the time for hiding any interface is too long and the system resource cost is too large by adjusting the transparency of any interface are effectively avoided.
The display module 200 is configured to, when receiving a display instruction of the any interface, move the any interface to the top display layer to present the any interface.
The interface display device according to the seventh embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
An eighth embodiment of the present invention is an interface display apparatus, as shown in fig. 6, including the following components:
the hiding module 100 is configured to determine, when a hiding instruction of any interface is received, a first parent interface of a previous stage of the any interface and a second parent interface of the previous stage of the first parent interface; the first parent interface is presented on a display layer on the upper part of the second parent interface; and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located so as to shield any interface through the first parent interface.
The display module 200 is configured to, when a display instruction of any interface is received, set the any interface as a child view of a next level of the first parent interface, and set the any interface on a display layer where the first parent interface is located, so as to present the any interface.
Any hidden interface is arranged on the display layer where the first parent-level interface is located, namely, any hidden interface is displayed by adjusting any interface display layer, so that the defects that any hidden interface is displayed for too long time and system resource cost is too large by adjusting the transparency of any interface or creating a new any interface are effectively overcome.
The interface display device according to the eighth embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
In a ninth embodiment of the present invention, an interface display apparatus, as shown in fig. 7, includes the following components:
the hiding module 100 is configured to determine, when a hiding instruction of any interface is received, a first parent interface of a previous stage of the any interface and a second parent interface of the previous stage of the first parent interface; the first parent interface is presented on a display layer on the upper part of the second parent interface; and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located so as to shield any interface through the first parent interface.
The transmission module 101 is configured to transmit the user operation data acquired by the first parent interface to a set function component in any interface, so that the set function component executes corresponding function operation based on the user operation data.
The user operation data acquired by the first parent interface is transmitted to the set function component in any interface, so that the set function component executes corresponding function operation based on the user operation data, and the user operation data is acquired through the first parent interface under the condition that any interface is hidden, and the corresponding function operation is executed on the user operation data through the set function component of any interface; the condition that the function of the set functional component in any interface is lost due to the fact that any interface is set to be transparent or any interface is deleted to be hidden is avoided.
The display module 200 is configured to, when a display instruction of any interface is received, set the any interface as a child view of a next level of the first parent interface, and set the any interface on a display layer where the first parent interface is located, so as to present the any interface.
The interface display device according to the ninth embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
In a tenth embodiment of the present invention, an interface display apparatus, as shown in fig. 8, includes the following components:
the hiding module 100 is configured to determine, when a hiding instruction of any interface is received, a first parent interface of a previous stage of the any interface and a second parent interface of the previous stage of the first parent interface; the first parent interface is presented on a display layer on the upper part of the second parent interface; and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located so as to shield any interface through the first parent interface.
The transmission module 101 is configured to transmit the user operation data acquired by the first parent interface to a set function component in any interface, so that the set function component executes corresponding function operation based on the user operation data.
The display module 200 is configured to, when a display instruction of any interface is received, set the any interface as a child view of a next level of the first parent interface, and set the any interface on a display layer where the first parent interface is located, so as to present the any interface.
And the recovery module 201 is configured to stop transmitting the user operation data acquired by the first parent-level interface to the setting functional component in any interface.
By stopping transmitting the user operation data acquired by the first parent interface to the setting function component in any interface, the hidden display layer of any interface is effectively adjusted to recover to display any interface, and the situation that the user operation data acquired by the first parent interface is transmitted to the setting function group in any interface, so that the setting function component in any interface performs repeated data processing on the user operation data, and the processing error of the function data of the setting function component in any interface is caused is avoided.
The interface display device according to the tenth embodiment of the present invention realizes quick hiding and/or displaying of an interface, effectively reduces system resource overhead in the hiding and/or displaying process of the interface, and improves fluency of hiding and/or displaying of the interface.
An eleventh embodiment of the present invention, a computer apparatus, as shown in fig. 9, includes the following components:
a processor 501 and a memory 502. In some embodiments of the invention, the processor 501 and the memory 502 may be connected by a bus or other means.
Processor 501 may be a general-purpose Processor, such as a Central Processing Unit (CPU), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement embodiments of the present invention. Wherein, the memory 502 is used for storing the executable instructions of the processor 501;
a memory 502 for storing program code and transferring the program code to the processor 501. Memory 502 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory 502 may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory 502 may also comprise a combination of memories of the kind described above.
The processor 501 is configured to call the program code management code stored in the memory 502, and perform some or all of the steps in any of the first embodiment to the fifth embodiment of the present invention.
The computer device according to the eleventh embodiment of the present invention realizes the quick hiding and/or displaying of the interface, effectively reduces the system resource overhead in the hiding and/or displaying process of the interface, and improves the fluency of the hiding and/or displaying of the interface.
A twelfth embodiment of the present invention is a computer-readable storage medium.
The computer storage media may be RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
The computer readable storage medium stores one or more programs which are executable by one or more processors to implement some or all of the steps in any of the first through fifth embodiments of the present invention.
The computer-readable storage medium according to the twelfth embodiment of the present invention stores one or more programs, and the one or more programs can be executed by one or more processors, so as to implement quick hiding and/or displaying of an interface, effectively reduce system resource overhead in the hiding and/or displaying process of the interface, and improve fluency of hiding and/or displaying of the interface.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An interface display method, comprising:
when a hiding instruction of any interface is received, moving the any interface to a display layer positioned at the lower part of a first parent interface at the upper stage of the any interface so as to shield the any interface through the first parent interface;
when a display instruction of any interface is received, moving the any interface to a top display layer to present the any interface;
the moving any interface to a display layer located below a first parent interface of the any interface so as to shield the any interface through the first parent interface includes:
determining a first parent interface of a previous level of any interface and a second parent interface of the previous level of the first parent interface; the first parent-level interface is presented on a display layer on the upper part of the second parent-level interface;
and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so that any interface is shielded by the first parent interface.
2. The method of claim 1, wherein said moving said arbitrary interface to a top display layer to present said arbitrary interface comprises:
and setting any interface as a child view of the next level of the first parent interface, and setting any interface on a display layer where the first parent interface is located so as to present any interface.
3. The method according to claim 1 or 2, wherein after the moving the any interface to a display layer below a first parent interface at a level above the any interface to shield the any interface by the first parent interface, the method further comprises:
and transmitting the user operation data acquired by the first parent-level interface to a setting functional component in any interface, so that the setting functional component executes corresponding functional operation based on the user operation data.
4. The method of claim 3, wherein after said moving said arbitrary interface to a top display layer to present said arbitrary interface, said method further comprises:
and stopping transmitting the user operation data acquired by the first parent-level interface to the setting functional component in any interface.
5. An interface display device, comprising:
the hiding module is used for moving any interface to a display layer positioned at the lower part of a first parent interface at the upper stage of the any interface when a hiding instruction of the any interface is received, so that the any interface is shielded through the first parent interface;
the display module is used for moving any interface to the top display layer to present any interface when a display instruction of any interface is received;
the hidden module is specifically configured to:
determining a first parent interface of a previous level of any interface and a second parent interface of the previous level of the first parent interface; the first parent-level interface is presented on a display layer on the upper part of the second parent-level interface;
and setting any interface as a child view of the next level of the second parent interface, and setting any interface on a display layer where the second parent interface is located, so that any interface is shielded by the first parent interface.
6. The apparatus of claim 5, wherein the display module is specifically configured to:
and setting any interface as a child view of the next level of the first parent interface, and setting any interface on a display layer where the first parent interface is located so as to present any interface.
7. The apparatus of claim 5 or 6, further comprising:
and the transmission module is used for transmitting the user operation data acquired by the first parent interface to a setting functional component in any interface after the any interface is moved to a display layer at the lower part of the first parent interface at the upper stage of the any interface so as to shield the any interface through the first parent interface, so that the setting functional component executes corresponding functional operation based on the user operation data.
8. The apparatus of claim 7, further comprising:
and the recovery module is used for stopping transmitting the user operation data collected by the first parent-level interface to the setting functional component in any interface after any interface is moved to the top display layer to present any interface.
9. A computer device, wherein the computer device comprises a processor and a memory; the processor is used for executing the interface display program stored in the memory so as to realize the steps of the interface display method according to any one of claims 1-4.
10. A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of the interface presentation method according to any one of claims 1 to 4.
CN201810898690.5A 2018-08-08 2018-08-08 Interface display method and device, computer equipment and computer readable storage medium Active CN109254811B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810898690.5A CN109254811B (en) 2018-08-08 2018-08-08 Interface display method and device, computer equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810898690.5A CN109254811B (en) 2018-08-08 2018-08-08 Interface display method and device, computer equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109254811A CN109254811A (en) 2019-01-22
CN109254811B true CN109254811B (en) 2021-12-17

Family

ID=65049818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810898690.5A Active CN109254811B (en) 2018-08-08 2018-08-08 Interface display method and device, computer equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109254811B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246430A (en) * 2013-04-24 2013-08-14 深圳市同洲电子股份有限公司 Terminal and method for managing multiple windows
CN104765522A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Chat window display control method and system
CN107508974A (en) * 2017-08-10 2017-12-22 努比亚技术有限公司 A kind of interface display method, mobile terminal and computer-readable recording medium
CN107818267A (en) * 2016-09-14 2018-03-20 中兴通讯股份有限公司 A kind of component processing method and device
CN108111791A (en) * 2017-12-25 2018-06-01 天津天地伟业电子工业制造有限公司 A kind of method that embedded NVR equipment EFR STK is fast shown

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6421065B1 (en) * 1998-02-09 2002-07-16 Microsoft Corporation Access of online information featuring automatic hide/show function
JP5008560B2 (en) * 2005-11-02 2012-08-22 パナソニック株式会社 Display object transparency device
US20160011731A1 (en) * 2014-07-11 2016-01-14 Blackberry Limited System and Method for Revealing Content on an Electronic Device Display
CN106095229B (en) * 2016-06-02 2020-06-09 网易(杭州)网络有限公司 Display method and device of mobile terminal
CN108287647B (en) * 2017-01-09 2021-06-18 斑马智行网络(香港)有限公司 Application running method and device
CN107562852B (en) * 2017-08-28 2020-12-25 网易乐得科技有限公司 Method, medium, device and computing equipment for displaying page in browser
CN107678654A (en) * 2017-09-30 2018-02-09 努比亚技术有限公司 A kind of Application Program Interface display methods, equipment and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246430A (en) * 2013-04-24 2013-08-14 深圳市同洲电子股份有限公司 Terminal and method for managing multiple windows
CN104765522A (en) * 2014-01-08 2015-07-08 腾讯科技(深圳)有限公司 Chat window display control method and system
CN107818267A (en) * 2016-09-14 2018-03-20 中兴通讯股份有限公司 A kind of component processing method and device
CN107508974A (en) * 2017-08-10 2017-12-22 努比亚技术有限公司 A kind of interface display method, mobile terminal and computer-readable recording medium
CN108111791A (en) * 2017-12-25 2018-06-01 天津天地伟业电子工业制造有限公司 A kind of method that embedded NVR equipment EFR STK is fast shown

Also Published As

Publication number Publication date
CN109254811A (en) 2019-01-22

Similar Documents

Publication Publication Date Title
CN110020323B (en) Page switching method and system for hybrid application, computer equipment and storage medium
CN104704468B (en) The cross-system installation of WEB application program
US20150262031A1 (en) Method And Apparatus For Identifying Picture
CN110032314B (en) Long screen capture method and device, storage medium and terminal equipment
CN105930467A (en) Information processing method and electronic device
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
US10592063B1 (en) Controlling actions for browser extensions
CN107045546B (en) Webpage processing method and device and intelligent terminal
US20150067664A1 (en) System, method and apparatus for transparently enabling software applications with adaptive user interfaces
CN109634641B (en) Application program updating method and device, electronic equipment and medium
US20220035491A1 (en) List display method and apparatus, computer device and computer-readable medium
CN110007831B (en) Page turning control method and device and terminal equipment
CN113591002B (en) Data processing method, data processing device, electronic device, and storage medium
CN111459581B (en) Page switching method, device, electronic equipment and computer readable medium
CN109254811B (en) Interface display method and device, computer equipment and computer readable storage medium
CN108804177A (en) Update method, apparatus, computer equipment and the storage medium of interface view
CN110347601B (en) Interrupt processing method and device for script process
US20170010805A1 (en) Character Input Method and Electronic Device
CN109857503B (en) Page interaction effect self-adaption method and device and electronic equipment
CN110083355B (en) APP page processing method and device
CN106919375B (en) Screen self-adaption method and system on mobile terminal equipment
CN111338628A (en) Component rendering method and device
CN110674050A (en) Memory out-of-range detection method and device, electronic equipment and computer storage medium
CN112905072B (en) Application processing method and device and electronic equipment
CN109086096B (en) Data input method of Edge browser, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant