WO2022166820A1 - Application interface processing method and apparatus, electronic device, and readable storage medium - Google Patents

Application interface processing method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2022166820A1
WO2022166820A1 PCT/CN2022/074653 CN2022074653W WO2022166820A1 WO 2022166820 A1 WO2022166820 A1 WO 2022166820A1 CN 2022074653 W CN2022074653 W CN 2022074653W WO 2022166820 A1 WO2022166820 A1 WO 2022166820A1
Authority
WO
WIPO (PCT)
Prior art keywords
page level
application
floating window
user interface
displayed
Prior art date
Application number
PCT/CN2022/074653
Other languages
French (fr)
Chinese (zh)
Inventor
彭保华
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022166820A1 publication Critical patent/WO2022166820A1/en

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
    • 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

Definitions

  • the present application belongs to the field of communication technologies, and in particular relates to an application interface processing method, apparatus, electronic device and readable storage medium.
  • the purpose of the embodiments of the present application is to provide an application interface processing method, device, electronic device, and readable storage medium, which can solve the cumbersome operation of switching page levels in the case of interacting with two or more page levels. question.
  • an embodiment of the present application provides an application interface processing method, including:
  • the first page level of the application is triggered and evoked, obtain the label information of the second page level of the application, where the second page level is the page level of the application currently displayed on the user interface;
  • a floating window is displayed in the first preset area of the user interface, and the floating window includes content corresponding to the first page level.
  • an application interface processing device including:
  • an acquisition module configured to acquire the label information of the second page level of the application when the first page level of the application is triggered and evoked, where the second page level is the page of the application currently displayed on the user interface level;
  • a display module configured to display a floating window in the first preset area of the user interface when the label information is preset label information, and the floating window includes content corresponding to the first page level .
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the steps of the method.
  • a computer program product is provided, the computer program product is stored in a non-volatile storage medium, the computer program product is executed by at least one processor to implement the method of the first aspect step.
  • a communication device configured to perform the method of the first aspect.
  • a floating window may be displayed in the first preset area of the user interface, so as to The content corresponding to the first page level is displayed in the floating window, and then the content corresponding to the first page level and the content corresponding to the second page level of the application are displayed on the user interface at the same time, that is, different windows of the same application can run at the same time.
  • the need to switch back and forth between different page levels simplifies the page switching operation.
  • FIG. 1 is a flowchart of an application interface processing method provided by an embodiment of the present application.
  • FIG. 2 is a schematic display diagram of an application interface provided by an embodiment of the present application.
  • FIG. 3 is a structural diagram of an application interface processing device provided by an embodiment of the present application.
  • FIG. 4 is one of the structural diagrams of the electronic device provided by the embodiment of the present application.
  • FIG. 5 is a second structural diagram of an electronic device provided by an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between “first”, “second”, etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • FIG. 1 is a flowchart of an application interface processing method provided by an embodiment of the present application, as shown in FIG. 1, including the following steps:
  • Step 101 When the first page level of the application is triggered and evoked, acquire label information of the second page level of the application, where the second page level is the page level of the application currently displayed on the user interface.
  • the label information can be the label set by the user; it can also be the label added after the page level is interrupted, whether the application actively requests to exit or is destroyed by the system.
  • tags can also be set for the chat interface of the target chat object; the target chat object may be the object the user often chats with, or the chat object whose chat duration exceeds the preset duration. , such as chat objects that last more than 1 hour per chat.
  • the first page level of the application is triggered and evoked, which can be understood as when the user interface displays the first page level of the application, the second page level of the application is also triggered and evoked.
  • Step 102 If the label information is preset label information, display a floating window in a first preset area of the user interface, and the floating window includes content corresponding to the first page level.
  • a floating window can be displayed in the first preset area of the user interface, so that the floating window can be displayed in the first preset area of the user interface.
  • the content corresponding to the first page level is displayed in the user interface, and the content corresponding to the first page level of the application and the content corresponding to the second page level are simultaneously displayed on the user interface, that is, different windows of the same application can run at the same time. Switching back and forth between the page levels of the page simplifies the page switching operation.
  • a video request suddenly comes; in the existing application scenario, if the video request is received, the chat interface will be switched to the video interface; and
  • a floating window will be generated to display the video interface in the floating window, and the current interface and the video interface can be displayed at the same time, so that the user can perform related operations.
  • the first preset area may be the upper right corner or the lower right corner of the current user interface, and its position may be set according to the user's preference, or the position of the first preset area may be determined by analyzing the display content of the current interface; for example, The first preset area can be set as a blank area of the content displayed on the current interface, so as to reduce the occlusion effect of the floating window on the content of the second page level.
  • the content corresponding to the first page level can be displayed on the first screen, and the content corresponding to the second page level can be displayed on the second screen.
  • the first content 21 corresponding to the first page level can be displayed on the user interface, and the second content 22 corresponding to the second page level can be displayed in the floating window.
  • the second preset area of the floating window also displays at least one of a minimize control, a full screen control, and a close control, so that the user can manage the floating window.
  • the floating window in the case of receiving the user's input operation on the minimized control, such as a click operation or pressing operation, the floating window can be minimized and displayed; when receiving the user's input operation on the full-screen control, such as a click operation or a pressing operation In the case of , the floating window can be displayed in full screen; when receiving the user's input operation to close the control, such as a click operation or a pressing operation, the floating window can be closed, that is, the floating window can be exited.
  • the second preset area of the floating window may be the top display area or the bottom display area of the floating window; it may also be the side display area of the floating window; by setting in this way, the content corresponding to the first page level of the control can be reduced. display effect.
  • controls include, but are not limited to, minimize controls, full screen controls, and close controls.
  • step 102 if the label information of other page levels such as the third page level and the fourth page level of the application all meet the preset label information, the same operations as those of the first page level can be performed, that is, Create new floating windows respectively to display the content of other page levels such as the third page level and the fourth page level, and multiple floating windows can be displayed on the screen at the same time.
  • the currently displayed small folding icon of the floating window may also be displayed in the folding area, so as to simplify the user operation.
  • the displaying a floating window in a preset area of the user interface includes:
  • a floating window corresponding to the first stack is displayed in the first preset area of the user interface.
  • the floating window in the process of displaying the floating window, may be displayed in the form of a new stack, so as to prevent the display content of the first page level from covering the display content of the second page level.
  • the method further includes:
  • the first input may be a user's click operation or pressing operation on the floating window, and by responding to the first input, the content displayed on the current interface can be replaced with the content displayed in the floating window, so as to achieve the first page level and The positions of the content corresponding to the second page level are interchanged so that the user can perform subsequent operations.
  • the traditional copying method needs to switch back and forth between the two page levels and compare; especially the first content includes In the case of scattered multiple sub-contents, it is even more necessary for the user to perform multiple switching operations.
  • page level 4 and page level 5 are respectively at the top positions of the two stacks, and
  • the application interface displayed by the user interface is page level 5; at this time, page level 6 needs to be evoked (actively or passively).
  • page level 6 Before starting page level 6, it will first detect whether page level 5 has tags that are not allowed to be interrupted.
  • the label can be set actively by the application, or the label can be added according to whether the application actively requests to exit or is destroyed by the system after being interrupted before.
  • page level 6 is started according to the conventional startup process; if page level 5 is set with a label that is not allowed to be interrupted, a new stack is created to manage page level 6. Specifically , a floating window can be displayed on the current interface, so that page level 6 is displayed in the floating window, so that both page level 5 and page level 6 are in an active state.
  • page level 6 needs to jump to the same interface as page level 5 after continuing the operation, it will prompt to exit the floating window, and you can directly choose to close the floating window to directly display page level 5. If you do not choose to close the floating window, the content of page level 5 is displayed in both the main interface (that is, the user interface used to display page level 5) and the floating window, and the page level 5 displayed on the main interface can be guaranteed through the synchronization mechanism of the system. Consistency with the data and program variables of page level 5 displayed in the floating window.
  • the label information of the second page level of the application is obtained, and the second page level is currently displayed on the user interface.
  • the page level of the application when the label information is preset label information, a floating window is displayed in the first preset area of the user interface, and the floating window includes the first page level corresponding content. This simplifies page switching operations.
  • the execution body may be an application interface processing apparatus, or a control module in the application interface processing apparatus for executing the application interface processing method.
  • the application interface processing apparatus provided by the embodiments of the present application is described by taking the application interface processing apparatus executing the application interface processing method as an example.
  • FIG. 3 is a structural diagram of an application interface processing apparatus provided by an embodiment of the present application.
  • the application interface processing apparatus 300 includes:
  • the obtaining module 301 is configured to obtain the label information of the second page level of the application when the first page level of the application is triggered and evoked, and the second page level is the label information of the application currently displayed on the user interface. page level;
  • the display module 302 is configured to display a floating window in the first preset area of the user interface in the case that the label information is preset label information, and the floating window includes the corresponding information of the first page level. content.
  • the display module 302 includes:
  • a new unit configured to create a first stack corresponding to the first page level, where the first stack and the second stack where the second page level is located are different stacks;
  • a display unit configured to display a floating window corresponding to the first stack in a first preset area of the user interface.
  • the application interface processing apparatus 300 further includes:
  • a receiving module configured to receive the first input to the floating window
  • an update module configured to, in response to the first input, update the second page level displayed on the user interface to the first page level, and update the first page level displayed in the floating window for the second page level.
  • the second preset area of the floating window displays at least one of a minimize control, a full screen control, and a close control.
  • the application interface processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., the embodiment of the present application There is no specific limitation.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine a self-service machine
  • the application interface processing device in the embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the application interface processing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 400, including a processor 402, a memory 401, and a program or instruction stored in the memory 401 and executable on the processor 402,
  • an electronic device 400 including a processor 402, a memory 401, and a program or instruction stored in the memory 401 and executable on the processor 402,
  • the program or instruction is executed by the processor 402
  • each process of the above-mentioned application interface processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 is a structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, and an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510 and other components.
  • the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions.
  • a power source such as a battery
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 510 is configured to acquire the label information of the second page level of the application when the first page level of the application is triggered and evoked, where the second page level is the currently displayed on the user interface.
  • the page level of the application
  • the display unit 506 is configured to display a floating window in the first preset area of the user interface in the case where the label information is preset label information, and the floating window includes a page corresponding to the first page level. content.
  • the processor 510 is used to create a first stack corresponding to the first page level, and the first stack and the second stack where the second page level is located are different stacks;
  • the display unit 506 is configured to display a floating window corresponding to the first stack in a first preset area of the user interface.
  • a user input unit 507 configured to receive a first input to the floating window
  • the processor 510 is configured to, in response to the first input, update the second page level displayed on the user interface to the first page level, and update the first page level displayed in the floating window Update to the second page level.
  • the second preset area of the floating window displays at least one of a minimize control, a full screen control, and a close control.
  • the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072 .
  • the touch panel 5071 is also called a touch screen.
  • the touch panel 5071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again.
  • Memory 509 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.
  • the embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned application interface processing method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the foregoing application interface processing method embodiments and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
  • An embodiment of the present application further provides a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement each process of the foregoing application interface processing method embodiments , and can achieve the same technical effect, in order to avoid repetition, it is not repeated here.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

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

Abstract

The present application relates to the technical field of communications, and discloses an application interface processing method and apparatus, an electronic device, and a readable storage medium. The application interface processing method comprises: when a first page level of an application is triggered and invoked, obtaining tag information of a second page level of the application, the second page level being a page level of the application currently displayed on a user interface; and when the tag information is preset tag information, displaying a floating window in a first preset region of the user interface, the floating window comprising content corresponding to the first page level.

Description

应用界面处理方法、装置、电子设备及可读存储介质Application interface processing method, apparatus, electronic device and readable storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2021年2月4日在中国提交的中国专利申请No.202110156329.7的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110156329.7 filed in China on Feb. 4, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种应用界面处理方法、装置、电子设备及可读存储介质。The present application belongs to the field of communication technologies, and in particular relates to an application interface processing method, apparatus, electronic device and readable storage medium.
背景技术Background technique
随着技术的发展,电子设备上安装的应用的功能越来越丰富,即应用所具有的页面层级越来越多,而当用户需要与其中两个或多个页面层级进行交互时,则需要用户来回切换页面层级。With the development of technology, the functions of applications installed on electronic devices are becoming more and more abundant, that is, the application has more and more page levels, and when users need to interact with two or more of these page levels, they need to The user switches page levels back and forth.
可见,在与两个或多个页面层级进行交互的情况下,页面层级的切换存在操作繁琐的问题。It can be seen that in the case of interacting with two or more page levels, the switching of the page levels has the problem of cumbersome operations.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种应用界面处理方法、装置、电子设备及可读存储介质,能够解决在与两个或多个页面层级进行交互的情况下,页面层级的切换存在操作繁琐的问题。The purpose of the embodiments of the present application is to provide an application interface processing method, device, electronic device, and readable storage medium, which can solve the cumbersome operation of switching page levels in the case of interacting with two or more page levels. question.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:
第一方面,本申请实施例提供了一种应用界面处理方法,包括:In a first aspect, an embodiment of the present application provides an application interface processing method, including:
在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;In the case that the first page level of the application is triggered and evoked, obtain the label information of the second page level of the application, where the second page level is the page level of the application currently displayed on the user interface;
在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。In the case that the label information is preset label information, a floating window is displayed in the first preset area of the user interface, and the floating window includes content corresponding to the first page level.
第二方面,本申请实施例提供了一种应用界面处理装置,包括:In a second aspect, an embodiment of the present application provides an application interface processing device, including:
获取模块,用于在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;an acquisition module, configured to acquire the label information of the second page level of the application when the first page level of the application is triggered and evoked, where the second page level is the page of the application currently displayed on the user interface level;
显示模块,用于在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。A display module, configured to display a floating window in the first preset area of the user interface when the label information is preset label information, and the floating window includes content corresponding to the first page level .
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the steps of the method.
第六方面,提供了一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,所述计算机程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In a sixth aspect, a computer program product is provided, the computer program product is stored in a non-volatile storage medium, the computer program product is executed by at least one processor to implement the method of the first aspect step.
第七方面,提供了一种通信设备,被配置为执行如第一方面所述的方法。In a seventh aspect, there is provided a communication device configured to perform the method of the first aspect.
在本申请实施例中,在标签信息为预设标签信息的情况下,即用户不想中断第二页面层级对应的内容的情况下,则可以在用户界面的第一预设区域显示悬浮窗口,以便在悬浮窗口内显示第一页面层级对应的内容,进而实现在用户界面同时显示应用的第一页面层级对应的内容以及第二页面层级对应的内容,即实现同一应用的不同窗口同时运行,以用户需要在不同的页面层级之间来回切换,进而简化了页面切换操作。In the embodiment of the present application, when the label information is preset label information, that is, when the user does not want to interrupt the content corresponding to the second page level, a floating window may be displayed in the first preset area of the user interface, so as to The content corresponding to the first page level is displayed in the floating window, and then the content corresponding to the first page level and the content corresponding to the second page level of the application are displayed on the user interface at the same time, that is, different windows of the same application can run at the same time. The need to switch back and forth between different page levels simplifies the page switching operation.
附图说明Description of drawings
图1是本申请实施例提供的应用界面处理方法的流程图;1 is a flowchart of an application interface processing method provided by an embodiment of the present application;
图2是本申请实施例提供的应用界面的显示示意图;FIG. 2 is a schematic display diagram of an application interface provided by an embodiment of the present application;
图3是本申请实施例提供的应用界面处理装置的结构图;3 is a structural diagram of an application interface processing device provided by an embodiment of the present application;
图4是本申请实施例提供的电子设备的结构图之一;FIG. 4 is one of the structural diagrams of the electronic device provided by the embodiment of the present application;
图5是本申请实施例提供的电子设备的结构图之二。FIG. 5 is a second structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and distinguish between "first", "second", etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的应用界面处理方法进行详细地说明。The application interface processing method provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参见图1,图1是本申请一实施例提供的应用界面处理方法的流程图,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of an application interface processing method provided by an embodiment of the present application, as shown in FIG. 1, including the following steps:
步骤101、在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级。Step 101: When the first page level of the application is triggered and evoked, acquire label information of the second page level of the application, where the second page level is the page level of the application currently displayed on the user interface.
该步骤中、标签信息可以是用户主动设置的标签;也可以是页面层级被 中断后,应用是否主动请求了退出或被系统销毁来添加的标签。In this step, the label information can be the label set by the user; it can also be the label added after the page level is interrupted, whether the application actively requests to exit or is destroyed by the system.
比如,对于在用户经常停留的页面层级设置标签,也可以对目标聊天对象的聊天界面设置标签;其中,目标聊天对象可以是用户经常聊天的对象,或者每次聊天时长超过预设时长的聊天对象,比如每次聊天时长超过1个小时的聊天对象。For example, for setting tags at the page level where the user often stays, tags can also be set for the chat interface of the target chat object; the target chat object may be the object the user often chats with, or the chat object whose chat duration exceeds the preset duration. , such as chat objects that last more than 1 hour per chat.
其中,应用的第一页面层级被触发唤起,可以理解为在用户界面显示有该应用的第一页面层级的情况下,该应用的第二页面层级也被触发唤起了。Wherein, the first page level of the application is triggered and evoked, which can be understood as when the user interface displays the first page level of the application, the second page level of the application is also triggered and evoked.
步骤102、在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。Step 102: If the label information is preset label information, display a floating window in a first preset area of the user interface, and the floating window includes content corresponding to the first page level.
该步骤中,在标签信息为预设标签信息的情况下,即用户不想中断第二页面层级对应的内容的情况下,则可以在用户界面的第一预设区域显示悬浮窗口,以便在悬浮窗口内显示第一页面层级对应的内容,进而实现在用户界面同时显示应用的第一页面层级对应的内容以及第二页面层级对应的内容,即实现同一应用的不同窗口同时运行,以用户需要在不同的页面层级之间来回切换,进而简化了页面切换操作。In this step, when the label information is preset label information, that is, when the user does not want to interrupt the content corresponding to the second page level, a floating window can be displayed in the first preset area of the user interface, so that the floating window can be displayed in the first preset area of the user interface. The content corresponding to the first page level is displayed in the user interface, and the content corresponding to the first page level of the application and the content corresponding to the second page level are simultaneously displayed on the user interface, that is, different windows of the same application can run at the same time. Switching back and forth between the page levels of the page simplifies the page switching operation.
比如,在用户与目标聊天对象在聊天界面进行会话聊天的过程中,突然来了一个视频请求;在现有的应用场景下,若接收该视频请求,则会从聊天界面切换至视频界面;而通过采用本申请提供的方案,若接收该视频请求,则会生成悬浮窗口,以在悬浮窗口中显示视频界面,并实现当前界面和视频界面同时显示,以便用户执行相关操作。For example, in the process of chatting with the target chat object on the chat interface, a video request suddenly comes; in the existing application scenario, if the video request is received, the chat interface will be switched to the video interface; and By adopting the solution provided by the present application, if the video request is received, a floating window will be generated to display the video interface in the floating window, and the current interface and the video interface can be displayed at the same time, so that the user can perform related operations.
其中,第一预设区域可以是当前用户界面的右上角或者右下角,其位置可以根据用户的喜好进行设定,也可以通过分析当前界面的显示内容确定第一预设区域的位置;比如,可以将第一预设区域设置为当前界面显示的内容的空白区域,以降低悬浮窗口对第二页面层级的内容的遮挡影响。Wherein, the first preset area may be the upper right corner or the lower right corner of the current user interface, and its position may be set according to the user's preference, or the position of the first preset area may be determined by analyzing the display content of the current interface; for example, The first preset area can be set as a blank area of the content displayed on the current interface, so as to reduce the occlusion effect of the floating window on the content of the second page level.
其中,针对包括第一屏幕和第二屏幕的双面屏电子设备,可以在第一屏幕显示第一页面层级对应的内容,以及在第二屏幕显示第二页面层级对应的 内容。Wherein, for a double-screen electronic device including a first screen and a second screen, the content corresponding to the first page level can be displayed on the first screen, and the content corresponding to the second page level can be displayed on the second screen.
如图2所示,可以在用户界面上显示第一页面层级的对应的第一内容21,以及在悬浮窗口内显示第二页面层级对应的第二内容22。As shown in FIG. 2 , the first content 21 corresponding to the first page level can be displayed on the user interface, and the second content 22 corresponding to the second page level can be displayed in the floating window.
另外,悬浮窗口的第二预设区域还显示有最小化控件、全屏控件、关闭控件中的至少一项,以便用户对悬浮窗口进行管理。In addition, the second preset area of the floating window also displays at least one of a minimize control, a full screen control, and a close control, so that the user can manage the floating window.
其中,在接收到用户对最小化控件的输入操作,比如点击操作或按压操作的情况下,则可以将悬浮窗口最小化显示;在接收到用户对全屏控件的输入操作,比如点击操作或按压操作的情况下,则可以将悬浮窗口全屏显示;在接收到用户对关闭控件的输入操作,比如点击操作或按压操作的情况下,则可以关闭悬浮窗口,即退出悬浮窗口。Among them, in the case of receiving the user's input operation on the minimized control, such as a click operation or pressing operation, the floating window can be minimized and displayed; when receiving the user's input operation on the full-screen control, such as a click operation or a pressing operation In the case of , the floating window can be displayed in full screen; when receiving the user's input operation to close the control, such as a click operation or a pressing operation, the floating window can be closed, that is, the floating window can be exited.
其中,悬浮窗口的第二预设区域,可以是悬浮窗口的顶部显示区域或者底部显示区域;也可以是悬浮窗口的侧边显示区域;通过这样设置,可以降低控件对第一页面层级对应的内容的显示效果的影响。而且,控件包括但不限于最小化控件、全屏控件、关闭控件。The second preset area of the floating window may be the top display area or the bottom display area of the floating window; it may also be the side display area of the floating window; by setting in this way, the content corresponding to the first page level of the control can be reduced. display effect. Also, controls include, but are not limited to, minimize controls, full screen controls, and close controls.
进一步的,在步骤102之后,应用的第三页面层级、第四页面层级等其他页面层级的标签信息均满足预设标签信息的情况下,则可以均执行与第一页面层级相同的操作,即分别创建新的悬浮窗口,以显示第三页面层级、第四页面层级等其他页面层级的内容,且多个悬浮窗口可以同时展示在屏幕上。Further, after step 102, if the label information of other page levels such as the third page level and the fourth page level of the application all meet the preset label information, the same operations as those of the first page level can be performed, that is, Create new floating windows respectively to display the content of other page levels such as the third page level and the fourth page level, and multiple floating windows can be displayed on the screen at the same time.
另外,在显示有多个悬浮窗口的情况下,可以通过悬浮窗口的管理控件,对多个悬浮窗口进行管理,比如对于当前时刻不用操作的页面层级,则可以将其最小化,并将其折叠成小图标显示在用户界面的折叠区,比如显示在用户界面的右下角的折叠区,以便用户对其进行管理。而且,在需要使用位于折叠区的页面层级的情况下,则可以通过点击该页面层级对应的折叠图标,并恢复到悬浮窗口的显示模式。In addition, in the case of displaying multiple floating windows, you can manage the multiple floating windows through the management controls of the floating windows. For example, for the page level that is not operated at the current moment, you can minimize it and fold it. Small icons are displayed in the folding area of the user interface, such as the folding area displayed in the lower right corner of the user interface, so that users can manage them. Moreover, when the page level located in the folding area needs to be used, the display mode of the floating window can be restored by clicking the folding icon corresponding to the page level.
其中,在有折叠图标恢复到悬浮窗口的显示模式的过程中,还可以将当前显示的悬浮窗口折叠小图标显示在折叠区,以简化用户操作。Wherein, in the process of restoring the display mode of the floating window with the folding icon, the currently displayed small folding icon of the floating window may also be displayed in the folding area, so as to simplify the user operation.
可选地,所述在所述用户界面的预设区域显示悬浮窗口,包括:Optionally, the displaying a floating window in a preset area of the user interface includes:
新建与所述第一页面层级对应的第一栈,所述第一栈与所述第二页面层级所在的第二栈为不同的栈;creating a new first stack corresponding to the first page level, where the first stack and the second stack where the second page level is located are different stacks;
在所述用户界面的第一预设区域显示与所述第一栈对应的悬浮窗口。A floating window corresponding to the first stack is displayed in the first preset area of the user interface.
本实施方式中,在显示悬浮窗口的过程中,可以通过新建栈的形式,显示悬浮窗口,以避免第一页面层级的显示内容覆盖第二页面层级的显示内容。In this embodiment, in the process of displaying the floating window, the floating window may be displayed in the form of a new stack, so as to prevent the display content of the first page level from covering the display content of the second page level.
这样通过新建与第一页面层级对应的第一栈,以使其区别于与第二页面层级所在的第二栈,即使该应用具有两个栈,进而实现该应用的两个不同的页面层级的同时显示。In this way, by creating a first stack corresponding to the first page level to make it different from the second stack where the second page level is located, even if the application has two stacks, the application's two different page levels can be implemented. displayed at the same time.
可选地,所述在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口之后,所述方法还包括:Optionally, when the label information is preset label information, after the floating window is displayed in the first preset area of the user interface, the method further includes:
接收对所述悬浮窗口的第一输入;receiving a first input to the floating window;
响应于所述第一输入,将所述用户界面显示的所述第二页面层级更新为所述第一页面层级,将所述悬浮窗口内显示的所述第一页面层级更新为所述第二页面层级。In response to the first input, updating the second page level displayed on the user interface to the first page level, and updating the first page level displayed in the floating window to the second page level page level.
本实施方式中,第一输入可以用户对悬浮窗口的点击操作或者按压操作,通过响应于第一输入,可以将当前界面显示的内容与悬浮窗口显示的内容进行替换,以实现第一页面层级和第二页面层级对应的内容的位置互换,以便用户执行后续操作。In this embodiment, the first input may be a user's click operation or pressing operation on the floating window, and by responding to the first input, the content displayed on the current interface can be replaced with the content displayed in the floating window, so as to achieve the first page level and The positions of the content corresponding to the second page level are interchanged so that the user can perform subsequent operations.
比如,需要将应用的第一页面层级的第一内容复制到第二页面层级上的情况下,传统的复制方式,需要在两个页面层级之间来回切换,比对;尤其是第一内容包括零散的多个子内容的情况下,更是需要用户执行多次切换操作。For example, in the case where the first content of the first page level of the application needs to be copied to the second page level, the traditional copying method needs to switch back and forth between the two page levels and compare; especially the first content includes In the case of scattered multiple sub-contents, it is even more necessary for the user to perform multiple switching operations.
采用本申请的方案,通过将应用的第一页面层级和第二页面层级同时显示在用户界面,可以避免用户在在页面之间来回切换,并有效的简化了用户的复制粘贴操作;而且在需要复制粘贴多个内容的情况下,还可以提高复杂粘贴的操作效率。By adopting the solution of the present application, by displaying the first page level and the second page level of the application on the user interface at the same time, the user can be prevented from switching back and forth between pages, and the user's copy and paste operation is effectively simplified; In the case of copying and pasting multiple contents, the operation efficiency of complex pasting can also be improved.
下面就本申请的一实施方式进行具体说明:An embodiment of the present application will be specifically described below:
比如,在应用A已经开启了5个页面层级的情况,并且使用了两个栈对这5个页面层级进行管理;其中,页面层级4、页面层级5分别处于两个栈的栈顶位置,且用户界面显示的应用界面为页面层级5;此时,需要(主动或被动)唤起页面层级6。For example, in the case where application A has opened 5 page levels, and uses two stacks to manage these 5 page levels; among them, page level 4 and page level 5 are respectively at the top positions of the two stacks, and The application interface displayed by the user interface is page level 5; at this time, page level 6 needs to be evoked (actively or passively).
在启动页面层级6之前,会先检测页面层级5是否有设置不允许被中断的标签。其中,可以由应用主动设置该标签,也可以根据之前被中断后是否由应用主动请求了退出或被系统销毁来添加标签。Before starting page level 6, it will first detect whether page level 5 has tags that are not allowed to be interrupted. Wherein, the label can be set actively by the application, or the label can be added according to whether the application actively requests to exit or is destroyed by the system after being interrupted before.
如果页面层级5未设置不允许被中断的标签,则页面层级6按照常规的启动流程启动;如果页面层级5设置有不允许被中断的标签,则新建一个栈对页面层级6进行管理,具体的,可以在当前界面显示悬浮窗口,以便在悬浮窗口内显示页面层级6,以实现页面层级5和页面层级6均处于活动状态。If page level 5 is not set with a label that is not allowed to be interrupted, then page level 6 is started according to the conventional startup process; if page level 5 is set with a label that is not allowed to be interrupted, a new stack is created to manage page level 6. Specifically , a floating window can be displayed on the current interface, so that page level 6 is displayed in the floating window, so that both page level 5 and page level 6 are in an active state.
另外,如果页面层级6在继续操作之后需要跳转到和页面层级5相同的界面,则提示退出悬浮窗口,并可以直接选择关闭悬浮窗口,以直接显示页面层级5。如果未选择关闭悬浮窗口,则在主界面(即用于显示页面层级5的用户界面)和悬浮窗口中均显示页面层级5的内容,并可以通过系统的同步机制保证主界面显示的页面层级5和悬浮窗口显示的页面层级5的数据及程序变量的一致性。In addition, if page level 6 needs to jump to the same interface as page level 5 after continuing the operation, it will prompt to exit the floating window, and you can directly choose to close the floating window to directly display page level 5. If you do not choose to close the floating window, the content of page level 5 is displayed in both the main interface (that is, the user interface used to display page level 5) and the floating window, and the page level 5 displayed on the main interface can be guaranteed through the synchronization mechanism of the system. Consistency with the data and program variables of page level 5 displayed in the floating window.
本申请实施例的应用界面处理方法,通过在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。这样可以简化页面切换操作。In the application interface processing method of the embodiment of the present application, when the first page level of the application is triggered and evoked, the label information of the second page level of the application is obtained, and the second page level is currently displayed on the user interface. the page level of the application; when the label information is preset label information, a floating window is displayed in the first preset area of the user interface, and the floating window includes the first page level corresponding content. This simplifies page switching operations.
需要说明的是,本申请实施例提供的应用界面处理方法,执行主体可以为应用界面处理装置,或者该应用界面处理装置中的用于执行应用界面处理方法的控制模块。本申请实施例中以应用界面处理装置执行应用界面处理方法为例,说明本申请实施例提供的应用界面处理装置。It should be noted that, in the application interface processing method provided by the embodiments of the present application, the execution body may be an application interface processing apparatus, or a control module in the application interface processing apparatus for executing the application interface processing method. In the embodiments of the present application, the application interface processing apparatus provided by the embodiments of the present application is described by taking the application interface processing apparatus executing the application interface processing method as an example.
参见图3,图3是本申请一实施例提供的应用界面处理装置的结构图, 如图3所示,该应用界面处理装置300包括:Referring to FIG. 3, FIG. 3 is a structural diagram of an application interface processing apparatus provided by an embodiment of the present application. As shown in FIG. 3, the application interface processing apparatus 300 includes:
获取模块301,用于在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;The obtaining module 301 is configured to obtain the label information of the second page level of the application when the first page level of the application is triggered and evoked, and the second page level is the label information of the application currently displayed on the user interface. page level;
显示模块302,用于在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。The display module 302 is configured to display a floating window in the first preset area of the user interface in the case that the label information is preset label information, and the floating window includes the corresponding information of the first page level. content.
可选地,所述显示模块302包括:Optionally, the display module 302 includes:
新建单元,用于新建与所述第一页面层级对应的第一栈,所述第一栈与所述第二页面层级所在的第二栈为不同的栈;a new unit, configured to create a first stack corresponding to the first page level, where the first stack and the second stack where the second page level is located are different stacks;
显示单元,用于在所述用户界面的第一预设区域显示与所述第一栈对应的悬浮窗口。A display unit, configured to display a floating window corresponding to the first stack in a first preset area of the user interface.
可选地,所述应用界面处理装置300还包括:Optionally, the application interface processing apparatus 300 further includes:
接收模块,用于接收对所述悬浮窗口的第一输入;a receiving module, configured to receive the first input to the floating window;
更新模块,用于响应于所述第一输入,将所述用户界面显示的所述第二页面层级更新为所述第一页面层级,将所述悬浮窗口内显示的所述第一页面层级更新为所述第二页面层级。an update module, configured to, in response to the first input, update the second page level displayed on the user interface to the first page level, and update the first page level displayed in the floating window for the second page level.
可选地,所述悬浮窗口的第二预设区域显示有最小化控件、全屏控件、关闭控件中的至少一项。Optionally, the second preset area of the floating window displays at least one of a minimize control, a full screen control, and a close control.
本申请实施例中的应用界面处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The application interface processing apparatus in this embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device may be a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., the embodiment of the present application There is no specific limitation.
本申请实施例中的应用界面处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The application interface processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的应用界面处理装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The application interface processing apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiment in FIG. 1 , and to avoid repetition, details are not described here.
可选的,如图4所示,本申请实施例还提供一种电子设备400,包括处理器402,存储器401,存储在存储器401上并可在所述处理器402上运行的程序或指令,该程序或指令被处理器402执行时实现上述应用界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4 , an embodiment of the present application further provides an electronic device 400, including a processor 402, a memory 401, and a program or instruction stored in the memory 401 and executable on the processor 402, When the program or instruction is executed by the processor 402, each process of the above-mentioned application interface processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, details are not described here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
参见图5,图5是本申请一实施例提供的电子设备的结构图,如图5所示,该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、以及处理器510等部件。Referring to FIG. 5, FIG. 5 is a structural diagram of an electronic device provided by an embodiment of the present application. As shown in FIG. 5, the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, and an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, and a processor 510 and other components.
本领域技术人员可以理解,电子设备500还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 500 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power management through the power management system. consumption management and other functions. The structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
其中,处理器510,用于在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;The processor 510 is configured to acquire the label information of the second page level of the application when the first page level of the application is triggered and evoked, where the second page level is the currently displayed on the user interface. The page level of the application;
显示单元506,用于在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。The display unit 506 is configured to display a floating window in the first preset area of the user interface in the case where the label information is preset label information, and the floating window includes a page corresponding to the first page level. content.
可选地,处理器510,用于新建与所述第一页面层级对应的第一栈,所 述第一栈与所述第二页面层级所在的第二栈为不同的栈;Optionally, the processor 510 is used to create a first stack corresponding to the first page level, and the first stack and the second stack where the second page level is located are different stacks;
显示单元506,用于在所述用户界面的第一预设区域显示与所述第一栈对应的悬浮窗口。The display unit 506 is configured to display a floating window corresponding to the first stack in a first preset area of the user interface.
可选地,用户输入单元507,用于接收对所述悬浮窗口的第一输入;Optionally, a user input unit 507, configured to receive a first input to the floating window;
处理器510,用于响应于所述第一输入,将所述用户界面显示的所述第二页面层级更新为所述第一页面层级,将所述悬浮窗口内显示的所述第一页面层级更新为所述第二页面层级。The processor 510 is configured to, in response to the first input, update the second page level displayed on the user interface to the first page level, and update the first page level displayed in the floating window Update to the second page level.
可选地,所述悬浮窗口的第二预设区域显示有最小化控件、全屏控件、关闭控件中的至少一项。Optionally, the second preset area of the floating window displays at least one of a minimize control, a full screen control, and a close control.
应理解的是,本申请实施例中,输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元506可包括显示面板5061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板5061。用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器509可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。It should be understood that, in this embodiment of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042. Such as camera) to obtain still pictures or video image data for processing. The display unit 506 may include a display panel 5061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072 . The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described herein again. Memory 509 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 510 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the like, and the modem processor mainly processes wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 510.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述应用界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above-mentioned application interface processing method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only  Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述应用界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the foregoing application interface processing method embodiments and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
本申请实施例另提供了一种计算机程序产品,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现上述应用界面处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a computer program product, the program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement each process of the foregoing application interface processing method embodiments , and can achieve the same technical effect, in order to avoid repetition, it is not repeated here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (13)

  1. 一种应用界面处理方法,包括:An application interface processing method, comprising:
    在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;In the case that the first page level of the application is triggered and evoked, obtain the label information of the second page level of the application, where the second page level is the page level of the application currently displayed on the user interface;
    在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。In the case that the label information is preset label information, a floating window is displayed in the first preset area of the user interface, and the floating window includes content corresponding to the first page level.
  2. 根据权利要求1所述的方法,其中,所述在所述用户界面的第一预设区域显示悬浮窗口,包括:The method according to claim 1, wherein the displaying the floating window in the first preset area of the user interface comprises:
    新建与所述第一页面层级对应的第一栈,所述第一栈与所述第二页面层级所在的第二栈为不同的栈;creating a new first stack corresponding to the first page level, where the first stack and the second stack where the second page level is located are different stacks;
    在所述用户界面的第一预设区域显示与所述第一栈对应的悬浮窗口。A floating window corresponding to the first stack is displayed in the first preset area of the user interface.
  3. 根据权利要求1或2所述的方法,其中,所述在所述标签信息为预设标签信息的情况下,在所述用户界面的第一预设区域显示悬浮窗口之后,所述方法还包括:The method according to claim 1 or 2, wherein, when the label information is preset label information, after the floating window is displayed in the first preset area of the user interface, the method further comprises: :
    接收对所述悬浮窗口的第一输入;receiving a first input to the floating window;
    响应于所述第一输入,将所述用户界面显示的所述第二页面层级更新为所述第一页面层级,将所述悬浮窗口内显示的所述第一页面层级更新为所述第二页面层级。In response to the first input, updating the second page level displayed on the user interface to the first page level, and updating the first page level displayed in the floating window to the second page level page level.
  4. 根据权利要求1或2所述的方法,其中,所述悬浮窗口的第二预设区域显示有最小化控件、全屏控件、关闭控件中的至少一项。The method according to claim 1 or 2, wherein the second preset area of the floating window displays at least one of a minimize control, a full screen control, and a close control.
  5. 一种应用界面处理装置,包括:An application interface processing device, comprising:
    获取模块,用于在应用的第一页面层级被触发唤起的情况下,获取所述应用的第二页面层级的标签信息,所述第二页面层级为当前在用户界面显示的所述应用的页面层级;an acquisition module, configured to acquire the label information of the second page level of the application when the first page level of the application is triggered and evoked, where the second page level is the page of the application currently displayed on the user interface level;
    显示模块,用于在所述标签信息为预设标签信息的情况下,在所述用户 界面的第一预设区域显示悬浮窗口,且所述悬浮窗口内包括所述第一页面层级对应的内容。A display module, configured to display a floating window in the first preset area of the user interface when the label information is preset label information, and the floating window includes content corresponding to the first page level .
  6. 根据权利要求5所述的装置,其中,所述显示模块包括:The apparatus of claim 5, wherein the display module comprises:
    新建单元,用于新建与所述第一页面层级对应的第一栈,所述第一栈与所述第二页面层级所在的第二栈为不同的栈;a new unit, configured to create a first stack corresponding to the first page level, where the first stack and the second stack where the second page level is located are different stacks;
    显示单元,用于在所述用户界面的第一预设区域显示与所述第一栈对应的悬浮窗口。A display unit, configured to display a floating window corresponding to the first stack in a first preset area of the user interface.
  7. 根据权利要求5或6所述的装置,其中,所述装置还包括:The apparatus of claim 5 or 6, wherein the apparatus further comprises:
    接收模块,用于接收对所述悬浮窗口的第一输入;a receiving module, configured to receive the first input to the floating window;
    更新模块,用于响应于所述第一输入,将所述用户界面显示的所述第二页面层级更新为所述第一页面层级,将所述悬浮窗口内显示的所述第一页面层级更新为所述第二页面层级。an update module, configured to, in response to the first input, update the second page level displayed on the user interface to the first page level, and update the first page level displayed in the floating window for the second page level.
  8. 根据权利要求5或6所述的装置,其中,所述悬浮窗口的第二预设区域显示有最小化控件、全屏控件、关闭控件中的至少一项。The apparatus according to claim 5 or 6, wherein the second preset area of the floating window displays at least one of a minimize control, a full screen control, and a close control.
  9. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1至4中任一项所述的应用界面处理方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, wherein the program or instruction is executed by the processor to achieve as claimed in claim 1 Steps of the application interface processing method described in any one of to 4.
  10. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1至4中任一项所述的应用界面处理方法的步骤。A readable storage medium on which a program or an instruction is stored, wherein, when the program or the instruction is executed by a processor, the application interface processing method according to any one of claims 1 to 4 is implemented. step.
  11. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至4中任一项所述的应用界面处理方法的步骤。A chip, comprising a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the application interface according to any one of claims 1 to 4 The steps of the processing method.
  12. 一种计算机程序产品,其中,所述程序产品被存储在非易失的存储介质中,所述程序产品被至少一个处理器执行以实现如权利要求1至4中任一项所述的应用界面处理方法的步骤。A computer program product, wherein the program product is stored in a non-volatile storage medium, the program product being executed by at least one processor to implement an application interface as claimed in any one of claims 1 to 4 The steps of the processing method.
  13. 一种通信设备,其中,被配置为执行如权利要求1至4中任一项所述的应用界面处理方法。A communication device, configured to execute the application interface processing method according to any one of claims 1 to 4.
PCT/CN2022/074653 2021-02-04 2022-01-28 Application interface processing method and apparatus, electronic device, and readable storage medium WO2022166820A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110156329.7 2021-02-04
CN202110156329.7A CN112835485A (en) 2021-02-04 2021-02-04 Application interface processing method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022166820A1 true WO2022166820A1 (en) 2022-08-11

Family

ID=75932045

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/074653 WO2022166820A1 (en) 2021-02-04 2022-01-28 Application interface processing method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN112835485A (en)
WO (1) WO2022166820A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835485A (en) * 2021-02-04 2021-05-25 维沃移动通信有限公司 Application interface processing method and device, electronic equipment and readable storage medium
CN115729425A (en) * 2021-08-26 2023-03-03 华为技术有限公司 Display method and electronic equipment
CN114416005A (en) * 2022-01-07 2022-04-29 深圳Tcl新技术有限公司 Interface display method and device and computer readable storage medium
CN115202555A (en) * 2022-06-23 2022-10-18 维沃移动通信有限公司 Information processing method and device
CN117793237A (en) * 2022-09-22 2024-03-29 荣耀终端有限公司 Window display method and related device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571872A (en) * 2015-01-27 2015-04-29 深圳市中兴移动通信有限公司 Mobile terminal split screen management method and device
CN105844470A (en) * 2016-03-31 2016-08-10 北京小米移动软件有限公司 Payment method and device
CN111488107A (en) * 2020-03-26 2020-08-04 北京小米移动软件有限公司 Multitask interaction control method, multitask interaction control device and storage medium
CN111813308A (en) * 2020-06-24 2020-10-23 维沃移动通信有限公司 Interface processing method and device, electronic equipment and storage medium
CN112130937A (en) * 2019-06-24 2020-12-25 北京京东尚科信息技术有限公司 Page display method and device, storage medium and electronic equipment
CN112241227A (en) * 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN112835485A (en) * 2021-02-04 2021-05-25 维沃移动通信有限公司 Application interface processing method and device, electronic equipment and readable storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595237A (en) * 2018-03-30 2018-09-28 维沃移动通信有限公司 A kind of method and terminal of display content
CN108776568B (en) * 2018-06-07 2023-04-14 腾讯科技(深圳)有限公司 Webpage display method, device, terminal and storage medium
CN109933401B (en) * 2019-03-22 2023-01-24 北京城市网邻信息技术有限公司 Display method and device of suspended window view
CN112148406A (en) * 2020-09-25 2020-12-29 维沃移动通信有限公司 Page switching method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571872A (en) * 2015-01-27 2015-04-29 深圳市中兴移动通信有限公司 Mobile terminal split screen management method and device
CN105844470A (en) * 2016-03-31 2016-08-10 北京小米移动软件有限公司 Payment method and device
CN112130937A (en) * 2019-06-24 2020-12-25 北京京东尚科信息技术有限公司 Page display method and device, storage medium and electronic equipment
CN112241227A (en) * 2019-07-19 2021-01-19 腾讯科技(深圳)有限公司 Interface display method, device, terminal and storage medium
CN111488107A (en) * 2020-03-26 2020-08-04 北京小米移动软件有限公司 Multitask interaction control method, multitask interaction control device and storage medium
CN111813308A (en) * 2020-06-24 2020-10-23 维沃移动通信有限公司 Interface processing method and device, electronic equipment and storage medium
CN112835485A (en) * 2021-02-04 2021-05-25 维沃移动通信有限公司 Application interface processing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN112835485A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
WO2022166820A1 (en) Application interface processing method and apparatus, electronic device, and readable storage medium
WO2022063022A1 (en) Video preview method and apparatus and electronic device
WO2022012656A1 (en) Split screen display method, apparatus, and electronic device
WO2022057881A1 (en) Operation method and apparatus
WO2022042701A1 (en) Permission setting method and apparatus, and electronic device
WO2023005920A1 (en) Screen splitting method and apparatus, and electronic device
WO2022068814A1 (en) Menu display method and apparatus, electronic device, and storage medium
CN112269508B (en) Display method and device and electronic equipment
WO2023025121A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2023030115A1 (en) Interface display method and apparatus
WO2022194003A1 (en) Screen capture method and apparatus, electronic device, and readable storage medium
WO2023005828A1 (en) Message display method and apparatus, and electronic device
WO2022206697A1 (en) Image sharing methods and apparatuses, and electronic device
WO2022242515A1 (en) Interface display method and apparatus
WO2022068726A1 (en) Method and apparatus for providing control, and electronic device
WO2022143524A1 (en) Information display method and apparatus, and electronic device
WO2023155776A1 (en) Interaction method, interaction apparatus, and electronic device
WO2023046101A1 (en) Icon display method and apparatus, and electronic device
WO2023056977A1 (en) Application program start method and apparatus, and electronic device
US20230104250A1 (en) Application icon display method and apparatus, and electronic device
WO2023030114A1 (en) Interface display method and apparatus
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
WO2022253182A1 (en) Communication method and apparatus, electronic device, and readable storage medium
WO2022143660A1 (en) Icon display method and apparatus, and electronic device
WO2022095885A1 (en) Application switching processing method and apparatus, and electronic device

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: 22749099

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17.01.2024)