Message display method and device and electronic equipment

By dividing areas with different transparency in the message pop-up window, the problem of message prompt covering the application interaction area is solved, and the user experience is improved.

CN119996561APending Publication Date: 2025-05-13VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510261010.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-05
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

The existing message prompt method will cover the interaction area of ​​the application being used, interfere with the user's interaction with the application, and reduce the user experience.

Method used

By dividing into a first area and a second area in the message pop-up window, the first area covering the interactive area uses lower transparency and the second area uses higher transparency to avoid obstructing the interactive area.

Benefits of technology

It effectively avoids the notification pop-up blocking of the interaction area of ​​the front-end application, and improves the user's experience of the application.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996561A_ABST
    Figure CN119996561A_ABST
Patent Text Reader

Abstract

The invention discloses a message display method and device and electronic equipment, and belongs to the technical field of terminals. The method comprises the steps of displaying a first area of a message popup window at first transparency and displaying a second area of the message popup window at second transparency under the condition that the message popup window displayed in a suspension manner at least partially covers an interaction area in an application interface of a first application; wherein the first application is an application program running in the foreground of the electronic equipment, the first area is an area, covering an interaction area in the application interface, in a message popup window, the second area is an area, except the first area, in the message popup window, and the first transparency is smaller than the second transparency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of terminal technology, and specifically relates to a message display method, device and electronic device. Background Art

[0002] Nowadays, in electronic devices such as mobile phones and tablets, when an electronic device receives a notification message, the notification message is usually displayed at the top of the electronic device interface through a floating box to display the content of the notification message. However, if there is an application running, this floating box will cover the top area of ​​the application, blocking the user's line of sight, interfering with the user's interaction with the application, thereby reducing the user's experience of using the application. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a message display method, device and electronic device, which can solve the technical problem that the existing message prompt method affects the user's experience of the application being used.

[0004] In a first aspect, an embodiment of the present application provides a message display method, the method comprising:

[0005] In the case where a suspended message pop-up window at least partially covers an interactive area in an application interface of a first application, the first area of ​​the message pop-up window is displayed with a first transparency, and the second area of ​​the message pop-up window is displayed with a second transparency; wherein, the first application is an application running in the foreground of the electronic device, the first area is an area in the message pop-up window that covers the interactive area in the application interface, the second area is an area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

[0006] In a second aspect, an embodiment of the present application provides a message display device, the device comprising:

[0007] A display module is used to display a first area of ​​the message pop-up window with a first transparency and a second area of ​​the message pop-up window with a second transparency when a suspended message pop-up window at least partially covers an interactive area in an application interface of a first application; wherein the first application is an application running in the foreground of the electronic device, the first area is an area in the message pop-up window that covers the interactive area in the application interface, the second area is an area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

[0008] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method provided in the first aspect are implemented.

[0009] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method provided in the first aspect are implemented.

[0010] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method provided in the first aspect.

[0011] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method provided in the first aspect.

[0012] In the message display method, device and electronic device of the present application, the message pop-up window can be divided into a first area and a second area, wherein the first area in the message pop-up window covers the interactive area of ​​the application in use, and the second area covers the non-interactive area of ​​the application in use. Therefore, different transparencies can be set for the first area and the second area respectively to ensure that the first area covering the interactive area uses a lower transparency and the second area uses a higher transparency. In this way, the user can see the interactive area on the application interface of the underlying first application through the more transparent area. This avoids the notification pop-up window from blocking the interactive area of ​​the foreground application, and improves the user experience of the first application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 It is a flowchart of a message display method provided by an embodiment of the present application;

[0014] Figure 2 This is one of the display interface schematic diagrams of an electronic device provided by an embodiment of the present application;

[0015] Figure 3 This is a second schematic diagram of a display interface of an electronic device provided by an embodiment of the present application;

[0016] Figure 4 This is a third schematic diagram of a display interface of an electronic device provided by an embodiment of the present application;

[0017] Figure 5 This is a fourth schematic diagram of a display interface of an electronic device provided by an embodiment of the present application;

[0018] Figure 6 This is a fifth schematic diagram of a display interface of an electronic device provided by an embodiment of the present application;

[0019] Figure 7 It is a structural schematic diagram of a message display device provided by an embodiment of the present application;

[0020] Figure 8 is a structural schematic diagram of an electronic device provided by another embodiment of the present application;

[0021] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.

[0023] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0024] In order to solve the above technical problems, the present application provides a message display method. The message display method provided by the embodiment of the present application is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.

[0025] like Figure 1 As shown, Figure 1 : is a flow chart of a message display method provided by an embodiment of the present application. The embodiment of the present application provides a message display method, which may include:

[0026] S101, when a floating message pop-up window at least partially covers an interactive area in an application interface of a first application, display a first area of ​​the message pop-up window with a first transparency, and display a second area of ​​the message pop-up window with a second transparency; wherein, the first application is an application running in the foreground of the electronic device, the first area is an area in the message pop-up window that covers the interactive area in the application interface, and the second area is an area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

[0027] In this embodiment, after the electronic device receives the first message, the system will first parse the content of the first message, and generate a message pop-up window according to the parsing result and the preset display format. The message pop-up window will be displayed in a suspended state at a specific position.

[0028] The first application refers to an application currently running in the foreground of the electronic device and in an active state, that is, the user is using the first application, so the interface displayed on the electronic device is the application interface of the first application. Then, the suspended message pop-up window will cover a part of the application interface of the first application.

[0029] If the message pop-up window covers the interactive area in the application interface, then the first area in the message pop-up window that covers the interactive area needs to be filtered out. The interactive area refers to the area on the application interface where users can operate. The interactive area usually includes interactive buttons, input boxes, scroll bars, menus and other controls. Users need to interact in these interactive areas to control the behavior of the first application or input information.

[0030] After determining the first area in the message pop-up window that covers the interactive area, the area outside the first area that does not cover the interactive area in the message pop-up window can be set as the second area. The second area is displayed with a higher second transparency, and the first area is displayed with a lower first transparency. The second transparency can be the default transparency of the message pop-up window.

[0031] Since the second area does not cover the interactive area in the application interface, the default second transparency ensures that the user can clearly see the content of the message pop-up window without being disturbed by the underlying application interface. Since the first area covers the interactive area in the application interface, the first area can be set to a lower first transparency. The lower first transparency makes the first area look somewhat transparent, and the user can see the covered interactive area through the first area. This reduces interference during user operation and avoids completely blocking the interactive area. For example, the second transparency can be 0.8 and the first transparency can be 0.3; for another example, the second transparency can be 1 and the first transparency can be 0.4.

[0032] Specifically, in the first application currently running in the foreground, the system can use the application-defined event handling mechanism to detect the interactive area in the application interface of the first application. Before displaying the message pop-up window in the electronic device, the system can obtain the position of each interactive area on the current application interface through the system interface layout. Through the interface, the system can reversely read the starting coordinates and ending coordinates of each interactive area on the current application interface, and then calculate the width and height of each interactive area, which enables the system to accurately obtain the specific position and size parameters of these interactive areas.

[0033] Therefore, when the first message is received and a message pop-up window is generated, the system will use the specific position and size parameters of the interaction area obtained to determine the overlapping part of the message pop-up window and the interaction area. And set the overlapping part in the message pop-up window to semi-transparent. This allows the user to see the application interface below the message pop-up window, especially the interaction area covered by the message pop-up window.

[0034] For example, Figure 2 As shown, the first application is an image processing application, and there are editing controls 202 and deleting controls 203 in the application interface. The editing controls 202 and deleting controls 203 are interactive areas. Therefore, after the message pop-up window 201 is generated and displayed, the first area where the message pop-up window overlaps with the editing controls 202 and the deleting controls 203 will be displayed with a smaller first transparency to avoid blocking the editing controls 202 and the deleting controls 203, and the other second areas will be displayed with a larger second transparency.

[0035] In the present application, the message pop-up window can be divided into a first area and a second area, wherein the first area in the message pop-up window covers the interactive area of ​​the application being used, and the second area covers the non-interactive area of ​​the application being used. Therefore, different transparencies can be set for the first area and the second area respectively to ensure that the first area covering the interactive area uses a lower transparency and the second area uses a higher transparency. In this way, the user can see the interactive area on the application interface of the underlying first application through the more transparent area. This avoids the blocking of the interactive area of ​​the foreground application by the notification pop-up window, and improves the user experience of the first application.

[0036] In some embodiments, after displaying the first area of ​​the message pop-up window with the first transparency and displaying the second area of ​​the message pop-up window with the second transparency, the method further includes:

[0037] Receiving a first input to the message pop-up window;

[0038] In a case where the input position of the first input is located in the first area, generating an interaction instruction according to the input position in response to the first input, and sending the interaction instruction to the first application;

[0039] In a case where an input position of the first input is located in the second area, details of the first message are displayed in response to the first input.

[0040] In this embodiment, after the electronic device receives the first message, the system generates a message pop-up window based on the first message, and displays the message pop-up window on the screen to remind the user. As described above, the message pop-up window is a floating window that displays the first message, and the first area of ​​the message pop-up window is displayed with a lower first transparency, and the second area of ​​the message pop-up window is displayed with a higher second transparency.

[0041] Next, if the user inputs the first message pop-up window, the system can determine the input position of the first input on the message pop-up window. If the input position is in the first area, the system will not allow the message pop-up window to respond to the first input, that is, the first input will not trigger the display of the details of the first message.

[0042] In this case, the event of the first input will be sent to the first application. In other words, the system will pass the event of the first input to the application interface below. In this way, the user can still operate the first application without being disturbed by the pop-up window.

[0043] Specifically, the system can generate an interaction instruction according to the input position of the first input, and the interaction instruction can include the location information of the user's first input, the operation type, and the expected operation content. In other words, the interaction instruction can convert the user's first input into a specific operation command, and pass it to the first application currently running in the foreground through the system's event distribution mechanism. Then, the interaction instruction will be received by the event processing system of the first application. The event processing system can parse the interaction instruction and respond.

[0044] In addition, if the input position of the first input is located in the second area, and since the second area covers the non-interactive area in the application interface of the first application, it can be inferred that the input purpose of the user's first input is to interact with the message pop-up window, rather than interact with the application interface of the first application. Therefore, the system can respond to the user's first input in the second area and display the detailed content of the first message.

[0045] Through the above method, the system can ensure that when the message pop-up window blocks the application interface, the user's operation of the application interface will not be disturbed. Even if the user inputs the first area of ​​the message pop-up window, the input event will be passed to the underlying first application, allowing the user to continue to operate the application interface. This effectively avoids the interference of the message pop-up window on the interaction with the first application. In addition, the details of the first message can be quickly viewed and processed without interfering with the interaction of the original application interface.

[0046] In some embodiments, after displaying the first area of ​​the message pop-up window with the first transparency, the method further includes:

[0047] In a case where all areas in the message pop-up window are the first areas, displaying a first control associated with the message pop-up window;

[0048] receiving a second input to the first control;

[0049] In response to the second input, details of the first message are displayed.

[0050] In this embodiment, if it is detected that all areas in the message pop-up window cover the interactive area of ​​the application interface, the system will generate and display a first control, which can be displayed in the message pop-up window or in the display area around the message pop-up window. The first control is used to clarify the user's operation intention and avoid accidental touches.

[0051] Specifically, when the areas covered by the message pop-up window are all interactive areas, the details of the first message will be triggered only when the user makes a second input on the displayed first control; if the user inputs any area outside the first control in the message pop-up window, the system will not let the message pop-up window respond to the input, but will send the input event to the first application, so that the user can interact with the application interface of the first application.

[0052] For example, Figure 3 As shown, the first application is an image processing application, and there is an editable image 301 in the application interface. The editable image 301 is an interactive area. Since all areas in the message pop-up window 201 cover the interactive area of ​​the application interface. Therefore, the entire message pop-up window 201 will be displayed in a semi-transparent state, and the system will generate and display a first control 302. Only when the user makes a second input to the displayed first control will the details of the first message be triggered. If the user inputs any area in the message pop-up window other than the first control, the system will not let the message pop-up window respond to the input, but will send the input event to the first application, so that the user can interact with the application interface of the first application.

[0053] By adding the first control, it can be ensured that when the areas of all message pop-up windows cover the interactive area, the user can clearly proceed to the next operation, that is, to view the message details. The first control can avoid confusion about the user's input intention and improve the user's precise control over message processing.

[0054] In some embodiments, the second input includes a first sub-input and a second sub-input, and in response to the second input, displaying details of the first message further includes:

[0055] In response to the first sub-input to the first control, displaying a first display frame, wherein the first display frame includes icon images of application icons in the electronic device;

[0056] In response to the second sub-input to the first control and the first display frame, details of the first message are displayed.

[0057] In this embodiment, the first sub-input may be a click input or a long press input of the first control. The first sub-input is a sign that the user wants to start interacting with the message pop-up window, and is usually used to start a related interaction process.

[0058] Specifically, the first sub-input is used to trigger the display of the first display frame. When the system receives the first sub-input of the first control, it will display the first display frame on the display interface of the electronic device in response to the first sub-input. The first display frame covers the application interface of the first application. The icon images of the application icons of each application are displayed in the first display frame. Among them, the icon image can be an image of each application icon reduced at a fixed ratio, and each icon image can be displayed in the first display frame according to the layout of the desktop.

[0059] The second sub-input may be an input of dragging the first control to a specified position on the first display frame. After the first display frame is displayed, if a second sub-input of the user to the first control and the first display frame is received, the details of the first message may be displayed in response to the second sub-input.

[0060] For example, Figure 4 As shown, when the system receives the first sub-input to the first control 302, it will respond to the first sub-input and display the first display frame 401 on the display interface of the electronic device. The first display frame displays the icon images of the application icons of each application according to the layout of the desktop.

[0061] In this embodiment, the user needs to perform an accurate combination operation of the first sub-input and the second sub-input on the first control to trigger the display of the details of the first message, thereby avoiding accidental touches and improving operation accuracy.

[0062] In some embodiments, when the first application icon is located on the first page of the desktop of the electronic device, the second sub-input is an input for moving the first control to an associated area covering the first application icon in the first display frame;

[0063] In a case where the first application icon is located on a second page of the desktop of the electronic device, the second sub-input is an input for moving the first control to a target position in the first display frame;

[0064] Among them, the first application icon is the application icon of the application corresponding to the first message, the first page is the currently displayed desktop page, and the second page is a desktop page other than the first page.

[0065] In this embodiment, the desktop page refers to an independent page on the desktop of the electronic device, which is usually used to organize and display application icons, shortcuts and other widgets. The desktop of the device can contain multiple pages, and the user can switch between these pages by swiping left and right. The layout and content of each page can usually be customized according to the needs of the user, for example, different application icons or widgets are displayed on different pages.

[0066] The multiple pages include a first page and a second page. The first page is a desktop page displayed on the main screen of the electronic device or a currently displayed desktop page. The second page is a desktop page that is currently hidden and displayed, and the user needs to swipe left or right to switch to the desktop page. There are application icons displayed in both the first page and the second page.

[0067] When the icon of the first application is located on the first page of the currently displayed desktop, the second sub-input requires the user to drag the first control to the first display frame and accurately cover the application icon of the first application. At this time, in response to the second sub-input, the message details of the first message will be displayed. When the icon of the first application is located on the second page of the hidden displayed desktop, the first control cannot be dragged to cover the application icon of the first application. Therefore, the second sub-input can require the user to drag the first control to the target position set in advance in the first display frame, and at this time, in response to the second sub-input, the message details of the first message will be displayed.

[0068] For example, Figure 5 As shown, the first message in the message pop-up window belongs to the first application, and if the first application icon 402 of the first application is displayed on the first page, then the second sub-input can be an input of dragging the first control 301 into the first display frame 401 to cover the first application icon of the first application.

[0069] like Figure 6 As shown, if the first application icon of the first application is not displayed on the first page, a target position 601 is generated in the first display frame 401, and the second sub-input is an input for moving the first control 301 to the target position in the first display frame.

[0070] In this way, the user can flexibly adjust the input content of the second sub-input according to the desktop page where the application icon of the first application is located. Regardless of whether the icon is located on the currently displayed first page or the hidden displayed second page, the system can accurately determine the user's intention and trigger the display of message details. This method effectively avoids accidental touches.

[0071] Figure 7 is a structural diagram of a message display device provided by another embodiment of the present application, such as Figure 7 As shown, the message display device may include:

[0072] The first display module 701 is used to display the first area of ​​the message pop-up window with a first transparency and the second area of ​​the message pop-up window with a second transparency when the suspended message pop-up window at least partially covers the interactive area in the application interface of the first application; wherein the first application is an application running in the foreground of the electronic device, the first area is the area in the message pop-up window covering the interactive area in the application interface, the second area is the area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

[0073] In the present application, the message pop-up window can be divided into a first area and a second area, wherein the first area in the message pop-up window covers the interactive area of ​​the application being used, and the second area covers the non-interactive area of ​​the application being used. Therefore, different transparencies can be set for the first area and the second area respectively to ensure that the first area covering the interactive area uses a lower transparency and the second area uses a higher transparency. In this way, the user can see the interactive area on the application interface of the underlying first application through the more transparent area. This avoids the blocking of the interactive area of ​​the foreground application by the notification pop-up window, and improves the user experience of the first application.

[0074] In another optional example, the message display device includes:

[0075] A first receiving module, used to receive a first input to the message pop-up window;

[0076] a first generating module, configured to generate an interaction instruction according to the input position in response to the first input when the input position of the first input is located in the first area, and send the interaction instruction to the first application;

[0077] The second display module is used to display details of the first message in response to the first input when the input position of the first input is located in the second area.

[0078] In another optional example, the message display device includes:

[0079] A second generating module, configured to display a first control associated with the message pop-up window when all areas in the message pop-up window are the first areas;

[0080] A second receiving module, used for receiving a second input to the first control;

[0081] A third display module is used to display details of the first message in response to the second input.

[0082] In another optional example, the third display module further includes:

[0083] A first display unit, configured to display a first display frame in response to the first sub-input to the first control, wherein the first display frame includes icon images of application icons in the electronic device;

[0084] The second display unit is used to display details of the first message in response to the second sub-input to the first control and the first display frame.

[0085] The message display device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, 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., and can also be a server, 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., and the embodiment of the present application is not specifically limited.

[0086] The message display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0087] The message display device provided in the embodiment of the present application can achieve Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0088] Alternatively, if Figure 8As shown, an embodiment of the present application also provides an electronic device 100, including a processor 110, a memory 119, and a program or instruction stored in the memory 119 and executable on the processor 110. When the program or instruction is executed by the processor 110, each process of the above-mentioned message display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0089] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0090] Please refer to Fig. 9 , Fig. 9 The hardware structure diagram of an electronic device for implementing an embodiment of the present application is shown in FIG. The electronic device 100 includes, but is not limited to, a radio frequency unit 121, a network module 122, an audio output unit 123, an input unit 124, a sensor 125, a display unit 126, a user input unit 127, an interface unit 128, a memory 129, and a processor 120.

[0091] Those skilled in the art will appreciate that the electronic device 100 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 120 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0092] Among them, the display unit 126 is used to display the first area of ​​the message pop-up window with a first transparency and the second area of ​​the message pop-up window with a second transparency when the suspended message pop-up window at least partially covers the interactive area in the application interface of the first application; wherein the first application is an application running in the foreground of the electronic device, the first area is the area in the message pop-up window covering the interactive area in the application interface, the second area is the area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

[0093] In the present application, the message pop-up window can be divided into a first area and a second area, wherein the first area in the message pop-up window covers the interactive area of ​​the application being used, and the second area covers the non-interactive area of ​​the application being used. Therefore, different transparencies can be set for the first area and the second area respectively to ensure that the first area covering the interactive area uses a lower transparency and the second area uses a higher transparency. In this way, the user can see the interactive area on the application interface of the underlying first application through the more transparent area. This avoids the blocking of the interactive area of ​​the foreground application by the notification pop-up window, and improves the user experience of the first application.

[0094] In another optional example, the user input unit 127 is used to receive a first input to the message pop-up window;

[0095] The processor 120 is configured to generate an interaction instruction according to the input position in response to the first input when the input position of the first input is located in the first area, and send the interaction instruction to the first application;

[0096] The display unit 126 is configured to display details of the first message in response to the first input when the input position of the first input is located in the second area.

[0097] In another optional example, the display unit 126 is configured to display a first control associated with the message pop-up window when all areas in the message pop-up window are the first areas;

[0098] A user input unit 127, used for receiving a second input to the first control;

[0099] The display unit 126 is configured to display details of the first message in response to the second input.

[0100] In another optional example, the display unit 126 is further used for:

[0101] In response to the first sub-input to the first control, displaying a first display frame, wherein the first display frame displays application icons of various applications in the electronic device based on a desktop layout;

[0102] In response to the second sub-input to the first control and the first display frame, details of the first message are displayed.

[0103] It should be understood that in the embodiment of the present application, the input unit 124 may include a graphics processor (Graphics Processing Unit, GPU) 1241 and a microphone 1242, and the graphics processor 1241 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 126 may include a display panel 1261, and the display panel 1261 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 127 includes a touch panel 1271 and at least one of other input devices 1272. The touch panel 1271 is also called a touch screen. The touch panel 1271 may include two parts: a touch detection device and a touch controller. Other input devices 1272 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0104] The memory 129 can be used to store software programs and various data. The memory 129 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 129 may include a volatile memory or a non-volatile memory, or the memory 129 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 129 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0105] The processor 120 may include one or more processing units; optionally, the processor 120 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 120.

[0106] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned message display method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0107] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.

[0108] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned message display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0109] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0110] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned message display method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0111] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0112] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0113] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A message display method, characterized in that: include: In the case where a suspended message pop-up window at least partially covers an interactive area in an application interface of a first application, the first area of ​​the message pop-up window is displayed with a first transparency, and the second area of ​​the message pop-up window is displayed with a second transparency; wherein, the first application is an application running in the foreground of the electronic device, the first area is an area in the message pop-up window that covers the interactive area in the application interface, the second area is an area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

2. The method according to claim 1, characterized in that After displaying the first area of ​​the message pop-up window with the first transparency and displaying the second area of ​​the message pop-up window with the second transparency, the method further includes: Receiving a first input to the message pop-up window; In a case where the input position of the first input is located in the first area, generating an interaction instruction according to the input position in response to the first input, and sending the interaction instruction to the first application; In a case where an input position of the first input is located in the second area, details of the first message are displayed in response to the first input.

3. The method according to claim 1, characterized in that After displaying the first area of ​​the message pop-up window with the first transparency, the method further includes: In a case where all areas in the message pop-up window are the first areas, displaying a first control associated with the message pop-up window; receiving a second input to the first control; In response to the second input, details of the first message are displayed.

4. The method according to claim 3, characterized in that The second input includes a first sub-input and a second sub-input, and in response to the second input, displaying details of the first message includes: In response to the first sub-input to the first control, displaying a first display frame, wherein the first display frame includes icon images of application icons in the electronic device; In response to the second sub-input to the first control and the first display frame, details of the first message are displayed.

5. The method according to claim 4, characterized in that In a case where the first application icon is located on the first page of the desktop of the electronic device, the second sub-input is an input for moving the first control to an associated area of ​​the first application icon in the first display frame; In a case where the first application icon is located on a second page of the desktop of the electronic device, the second sub-input is an input for moving the first control to a target position in the first display frame; Among them, the first application icon is the application icon of the application corresponding to the first message, the first page is the currently displayed desktop page, and the second page is a desktop page other than the first page.

6. A message display device, characterized in that: include: A first display module is used to display a first area of ​​the message pop-up window with a first transparency and a second area of ​​the message pop-up window with a second transparency when a suspended message pop-up window at least partially covers an interactive area in an application interface of a first application; wherein the first application is an application running in the foreground of the electronic device, the first area is an area in the message pop-up window that covers the interactive area in the application interface, the second area is an area outside the first area in the message pop-up window, and the first transparency is less than the second transparency.

7. The device according to claim 6, characterized in that The message display device also includes: A first receiving module, used for receiving a first input to the message pop-up window; a first generating module, configured to generate an interaction instruction according to the input position in response to the first input, and send the interaction instruction to the first application when the input position of the first input is located in the first area; The second display module is used to display details of the first message in response to the first input when the input position of the first input is located in the second area.

8. The device according to claim 6, characterized in that The message display device also includes: A second generating module, configured to display a first control associated with the message pop-up window when all areas in the message pop-up window are the first areas; A second receiving module, used for receiving a second input to the first control; A third display module is used to display details of the first message in response to the second input.

9. The device according to claim 8, characterized in that The second input includes a first sub-input and a second sub-input, and the third display module further includes: A first display unit, configured to display a first display frame in response to the first sub-input to the first control, wherein the first display frame includes icon images of application icons in the electronic device; The second display unit is used to display details of the first message in response to the second sub-input to the first control and the first display frame.

10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the message display method according to any one of claims 1 to 5 are implemented.