Content display control method, device, electronic device and storage medium

By suspending the display in full-screen mode and automatically shrinking the content, the problem of floating content occupying a large area in immersive mode is solved, improving user experience and multi-tasking efficiency.

CN115348354BActive Publication Date: 2024-09-13GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110530340.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-14
Publication Date
2024-09-13
Estimated Expiration
2041-05-14

AI Technical Summary

Technical Problem

When other content is suspended on the interface displayed in full screen in immersive mode, the suspended content occupies a larger area and affects the user experience.

Method used

When a target event is detected in full-screen mode, the corresponding content is displayed in a floating manner, and its display area is reduced when the reduction conditions are met, such as automatically reducing the size of the content or switching display modes through time or touch operations.

Benefits of technology

It effectively reduces the interference of suspended content on full-screen display, improves users' experience with immersive mode content, and improves the efficiency of multi-task collaborative processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115348354B
    Figure CN115348354B
Patent Text Reader

Abstract

The embodiments of the present application disclose a content display control method, device, electronic device and storage medium. The method includes: if the first content is displayed in full-screen mode and a target event is triggered, the second content is displayed on the first content in a floating manner, and the second content is the display content corresponding to the target event; if the reduction condition is met, the display area of ​​the second content is reduced. Therefore, in the above manner, when the first content is displayed in full screen, the second content that is displayed in a floating manner in response to the target event triggering can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing the interference with the first content displayed in full screen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and more specifically, to a content display control method, device, electronic device and storage medium. Background Art

[0002] When an interface is displayed in the foreground in immersive mode, if other content other than the interface needs to be displayed, the other content can be displayed in a floating manner on the interface displayed in the immersive mode. For example, when the interface of a game program is displayed in the foreground in immersive mode, if the electronic device needs to display the interface content of the call program in response to an incoming call, the incoming call banner can be displayed in a floating manner on the interface of the game program.

[0003] However, other content displayed in suspension will still occupy a large area, affecting the user's experience of the content displayed in the immersive mode. Summary of the invention

[0004] In view of the above problems, the embodiments of the present application propose a content display control method, device, electronic device and storage medium to improve the above problems.

[0005] In a first aspect, an embodiment of the present application provides a content display control method, which is applied to an electronic device, and the method includes: if a first content is displayed in full-screen mode and a target event is triggered, a second content is displayed floating on the first content, and the second content is the display content corresponding to the target event; if a reduction condition is met, the display area of ​​the second content is reduced.

[0006] In a second aspect, an embodiment of the present application provides a content display control device that runs on an electronic device, the device comprising: a content display unit, for displaying a second content floating on the first content if a first content is displayed in full-screen mode and a target event is triggered, the second content being the display content corresponding to the target event; and a display control unit, for reducing the display area of ​​the second content if a reduction condition is met.

[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising one or more processors and a memory; one or more programs are stored in the memory and configured to be executed by the one or more processors to implement the above method.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which a program code is stored, wherein the above method is executed when the program code is executed by a processor.

[0009] The present application provides a content display control method, device, electronic device and storage medium. When a first content is displayed in full screen mode, if a target event is detected to be triggered, the second content corresponding to the target event will be displayed in a floating manner on the first content, and after the second content is displayed, if a reduction condition is met, the display area of ​​the second content will be reduced. In this way, when the first content is displayed in full screen, the second content that is displayed in a floating manner in response to the target event triggering can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing interference with the first content displayed in full screen. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A flow chart of a content display control method proposed in an embodiment of the present application is shown;

[0012] Figure 2 A schematic diagram showing a display in a normal mode in an embodiment of the present application is shown;

[0013] Figure 3 A schematic diagram showing a second content displayed in an embodiment of the present application is shown;

[0014] Figure 4 A schematic diagram showing another second content displayed in an embodiment of the present application is shown;

[0015] Figure 5 A schematic diagram showing a method of reducing the display area of ​​the second content in an embodiment of the present application is shown;

[0016] Figure 6 A schematic diagram showing another method of reducing the display area of ​​the second content in an embodiment of the present application is shown;

[0017] Figure 7 A flow chart of a content display control method proposed in another embodiment of the present application is shown;

[0018] Figure 8 A schematic diagram showing a second content of a second display mode displayed in an embodiment of the present application;

[0019] Fig. 9 A schematic diagram showing a second content of another second display mode displayed in an embodiment of the present application is shown;

[0020] Fig.10 A schematic diagram showing switching of second contents of multiple second display modes displayed in an embodiment of the present application;

[0021] Fig.11 A flowchart of a content display control method proposed in another embodiment of the present application is shown;

[0022] Fig.12 A schematic diagram showing a control included in a third content in an embodiment of the present application is shown;

[0023] Fig.13 A schematic diagram showing a method of reducing the display area of ​​a third content in an embodiment of the present application is shown;

[0024] Fig.14 A flowchart of a content display control method proposed in another embodiment of the present application is shown;

[0025] Fig.15 A flow chart for determining a reduction degree proposed in an embodiment of the present application is shown;

[0026] Fig.16 A flowchart of a content display control method proposed in another embodiment of the present application is shown;

[0027] Fig.17 A flowchart of a content display control method proposed in another embodiment of the present application is shown;

[0028] Fig.18 A flowchart of a content display control method proposed in another embodiment of the present application is shown;

[0029] Fig.19 A structural block diagram of a content display control device proposed in an embodiment of the present application is shown;

[0030] Fig. 20 A structural block diagram of a content display control device proposed in another embodiment of the present application is shown;

[0031] Fig.21 A structural block diagram of an electronic device for executing a content display control method according to an embodiment of the present application is shown in the present application in real time;

[0032] Fig. 22 The present invention shows a storage unit in real time for storing or carrying program codes for implementing the content display control method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0033] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of this application.

[0034] An immersive mode is usually configured in an electronic device so that the interface can be displayed in full screen when in immersive mode. In addition, when an interface is displayed in the foreground in immersive mode, if other content other than the interface needs to be displayed, the other content can be displayed in a floating manner on the interface displayed in the immersive mode. For example, when the interface of a game program is displayed in the foreground in immersive mode, if the electronic device needs to display the interface content of the call program in response to an incoming call, the incoming call banner can be displayed in a floating manner on the interface of the game program.

[0035] However, after studying related methods, the inventors found that when an interface is already displayed in full screen, other content displayed in suspension will still occupy a large area, affecting the user's experience of the content displayed in immersive mode.

[0036] Therefore, the inventors have proposed a content display control method, device, electronic device, and storage medium in the embodiments of the present application. When the first content is displayed in full-screen mode, if a target event is detected to be triggered, the second content corresponding to the target event will be displayed in a floating manner on the first content, and after the second content is displayed, if the reduction condition is met, the display area of ​​the second content will be reduced. Thus, in the above manner, when the first content is displayed in full screen, the second content that is displayed in a floating manner in response to the target event triggering can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing interference with the first content displayed in full screen.

[0037] The embodiments included in this application will be introduced below in conjunction with the accompanying drawings.

[0038] See also Figure 1 , Figure 1 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0039] S110: If the first content is displayed in full screen mode and a target event is triggered, a second content is displayed in a floating manner on the first content, where the second content is the display content corresponding to the target event.

[0040] Among them, the first content can be understood as the content corresponding to the application running in the foreground, and the first content is displayed in full-screen mode. Among them, the electronic device can be configured with normal mode, non-sticky immersive mode, and sticky immersive mode for the display of content. When in the normal mode, the electronic device will still display the status bar and the system bottom navigation while displaying the content corresponding to the application running in the foreground. When in the non-sticky immersive mode or the sticky immersive mode, the electronic device will display the content corresponding to the application running in the foreground in full screen while displaying the content corresponding to the application running in the foreground. Among them, during the full-screen display process, the status bar and the system bottom navigation no longer need to be displayed.

[0041] For example, Figure 2 As shown, the electronic device is currently running a game program in the foreground, wherein the game interface 20 is the content corresponding to the game program. Figure 2 In the upper image in the figure, the electronic device displays the game interface 20 in the normal mode. In this case, in addition to displaying the game interface 20, the electronic device also displays a status bar 10 above the game interface 20. The status bar 10 can display the current time, mobile communication signal strength, and the remaining power of the electronic device. If the electronic device displays the game program in the non-sticky immersion mode or the sticky immersion mode, it can be switched to the Figure 2 In the style shown in the figure in the lower middle part, the electronic device cancels the display status bar 10 so as to display the game interface 20 in full screen.

[0042] In the embodiment of the present application, the target event includes an event that needs to display content, and in the embodiment of the present application, the target event can be any event that needs to display content, or an event in the whitelist that needs to display content. The content that needs to be displayed can include interface content, and for different target events, the corresponding content can be different. In the case of a target event triggering, in response to the target event, a second content can be displayed floating on the first content, and the second content is the display content corresponding to the target event.

[0043] For example, taking the target event as an incoming call connection event, after the incoming call connection event is triggered, the electronic device can obtain and play the voice of the caller, and can transmit the sound collected by the microphone of the electronic device to the caller. Figure 3 As shown, when an incoming call connection event is triggered, the electronic device will display the display content corresponding to the incoming call connection event as the second content. Figure 3 As shown, the display content corresponding to the incoming call connected event is Figure 3In the content 21, the content 21 includes a first control 211 and a second control 212. The first control 211 is used to switch the call content playing mode, and the second control 212 is used to hang up the call.

[0044] Furthermore, the display content corresponding to the incoming call connected event can be Figure 3 In addition to the display styles shown in , other display styles are also possible. For example, Figure 4 As shown, the display content corresponding to the incoming call connected event can be Figure 4 The content 22 shown in the figure includes a second control 212 and a fourth control 221. Unlike the content 21, the first control 211 in the content 21 is replaced by the fourth control 221 in the content 22. The fourth control 211 is a control for triggering the display of virtual numeric keys. The virtual numeric keys are used for users to input numbers. For example, in some call scenarios, the electronic device needs to further input some numbers during the call. Then, before the numbers need to be input, the fourth control 211 can be triggered to display the virtual numeric keys for inputting numbers.

[0045] It should be noted that, when there are multiple display styles for the second content, as a method, the electronic device may first detect the currently determined display style, and then display the second content based on the currently determined display style.

[0046] It should be noted that the display area of ​​the second content displayed in suspension is smaller than the display area occupied by the first content. For example, the display area of ​​the second content is one fifth of the display area occupied by the first content.

[0047] S120: If the reduction condition is met, reduce the display area of ​​the second content.

[0048] In an embodiment of the present application, the reduction condition can be understood as a condition for reducing the displayed content in response to an event trigger. Optionally, in the case of displaying a second content, the reduction condition can be understood as a condition for the electronic device to automatically reduce the display area of ​​the second content. Among them, automatically reducing the display area of ​​the second content may include not requiring the user to perform a touch operation on the second content, but the electronic device can automatically control the reduction of the display area of ​​the second content according to some trigger conditions (such as the reduction condition). Among them, the display area is the area of ​​the display area occupied by the second content, so reducing the display area of ​​the second content can be understood as reducing the area of ​​the display area occupied by the second content.

[0049] In this embodiment, the narrowing down conditions may include various types of conditions.

[0050] As a way, it can be a time condition. For example, the reduction condition can include that the display time of the second content meets the specified duration, then the electronic device can count after the second content starts to be displayed, and after the timing meets the specified duration, it is determined that the reduction condition is met, and the display area of ​​the second content is reduced. As another way, the reduction condition can be a touch condition, for example, the reduction condition can include detecting a touch operation acting on the first content after the second content is displayed. It should be noted that if a touch operation acting on the first content is detected after the second content is displayed, it indicates that the user is currently paying attention to the first content, and in order to further reduce the interference of the second content on the user's attention to the first content, the display area of ​​the second content can be reduced. As another way, the reduction condition can include both the time condition and the touch condition. Optionally, the electronic device can start counting after detecting that the touch condition is met, and if it is detected that the timing duration meets the time condition, the second content can be reduced.

[0051] The electronic device can reduce the display area of ​​the second content in a variety of ways. As one way, the electronic device can reduce the display area of ​​the second content by reducing the size of the second content itself.

[0052] For example, Figure 5 As shown, in the second content Figure 5 In the case of content 21 in the Figure 5 Size shown in the upper center image, reduced to Figure 5 As another example, the display area of ​​the second content can be reduced by changing the type of controls included in the content 21. Figure 6 As shown, the caller name and call duration controls included in the content 21 as the second content can be cancelled to switch to Figure 6 The content 23 shown in the lower middle image is used to reduce the display area of ​​the second content.

[0053] It should be noted that the target event in the embodiment of the present application is not limited to the call connection event, and other events that trigger the interface display can also be used as the target event, such as an alarm event.

[0054] The present embodiment provides a content display control method. When the first content is displayed in full screen mode, if a target event is detected to be triggered, the second content corresponding to the target event will be displayed in a floating manner on the first content, and after the second content is displayed, if the reduction condition is met, the display area of ​​the second content will be reduced. Therefore, in the above manner, when the first content is displayed in full screen, the second content that is displayed in a floating manner in response to the target event triggering can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing the interference with the first content displayed in full screen. Moreover, the reduction condition can be characterized as an automatic condition for reducing the second content, so that the user does not need to operate the second content itself to trigger the reduction of the display area of ​​the second content, which is conducive to the user's higher collaborative processing of the tasks corresponding to the first content and the second content.

[0055] See also Figure 7 , Figure 7 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0056] S210: If the first content is displayed in full screen mode and a target event is triggered, a second content in a first display mode is displayed in a floating manner on the first content, where the second content is the display content corresponding to the target event.

[0057] S220: If the reduction condition is met, switch the second content to be displayed in a second display mode, wherein a display area of ​​the second content in the second display mode is smaller than a display area of ​​the second content in the first display mode.

[0058] Optionally, the multiple display modes of the display content corresponding to the target event can be pre-configured or configured by the user according to his or her own personalized needs. As a method, the second content includes a control corresponding to the target event, and the control included in the second content of the first display mode has a different function from the control included in the second content of the second display mode. The control included in the second content can be a control for controlling the target event, for example, a control that can control the target event to stop running.

[0059] For example, please refer to Figure 3 , Figure 3 The content 21 in the first display mode can be used as a second content in the first display mode. Figure 8 As shown, Figure 8The content 24 shown in the figure is a second content of the second display mode. An audio bar 241 is displayed in the content 24, and the audio bar 241 can reflect the call volume in real time by changing its shape. After being edited by the user, the second content of the second mode can be switched to Fig. 9 The content shown in 25, in Fig. 9 In the content 25 shown in FIG. 2 , the audio bar 241 is switched to a time control 251 , which can be used to display the duration of the incoming call.

[0060] As a method, after the second content is switched to the second display mode, the second content in the second display mode may be switched to the second content in the first display mode in response to a user operation.

[0061] Optionally, taking the second content of the second display mode as content 24 as an example, if a touch operation acting on the audio bar 241 is detected, the second content of the second display mode can be switched from content 24 to the second content of the first display mode (for example, Figure 3 Optionally, taking the second content of the second display mode as content 25 as an example, if a touch operation acting on the time control 251 is detected, the second content of the second display mode can be switched from content 25 to the second content of the first display mode (for example, Figure 3 The touch operation may include a click operation, a double-click operation, or a long-press operation.

[0062] Furthermore, when the second display mode can have the aforementioned multiple implementations, the controls included in the second content of different implementations can be different. Then, when the second content is displayed in the second display mode, the second content can be switched between the multiple implementations. Optionally, when the second content is displayed in the second display mode, if there is a switching operation acting on the second content, the controls included in the second content of the second display mode can be switched. Exemplarily, taking the switching operation as a sliding operation along a specified direction as an example, Fig.10 As shown, if there is Fig. 9 The sliding operation in the direction indicated by the dotted arrow shown in the upper middle image can switch the displayed content 24 to display Fig.10 Optionally, after displaying content 25, if the sliding operation along the direction indicated by the dotted arrow continues to be detected, the displayed content 25 may be switched to the displayed content 24.

[0063] It should be noted that the aforementioned second content in the first display mode and the second content in the second display mode are exemplary, and the controls included in the second content in the first display mode and the second display mode can be configured by the user.

[0064] As a way, when the second content is displayed in the second display mode, the target event can be ended by a touch operation acting on the control in the second content. For example, taking the second content in the second display mode as content 24, if a touch operation acting on the audio bar 241 in content 24 is detected, the incoming call connected event can be ended. It should be noted that in this embodiment, the touch operation that serves to switch the second content in the second display mode to the second content in the first display mode is different from the touch operation that triggers the end of the target event. In addition, the touch operation that switches the second content displayed in the second display mode to the second content displayed in the first display mode and the touch operation that triggers the end of the target event can both be configured by the user.

[0065] This embodiment provides a content display control method, so that in the above manner, when the first content is displayed in full screen, the second content that is displayed in suspension in response to the triggering of the target event can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing the interference with the first content displayed in full screen. In addition, in this embodiment, different controls can be configured to display the second content in accordance with different display modes, thereby improving the diversity of content display switching.

[0066] See also Fig.11 , Fig.11 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0067] S310: If the first content is displayed in full screen mode and a designated event is triggered, a third content is displayed in a floating manner on the first content, where the third content is the display content corresponding to the designated event.

[0068] It should be noted that, in this embodiment, the triggered event may include a designated event and a target event associated with the designated event. The target event associated with the designated event may include an event that is adjacent to the instruction event in terms of processing progress, so it can be understood that the designated event is usually triggered first, and then the target event is triggered. For example, the designated event may be an incoming call event, so the event corresponding to the incoming call event in terms of processing progress may include an incoming call connected event. Among them, when the designated event is triggered, the electronic device may also display the corresponding display content in a floating manner on the first content.

[0069] For example, Fig.12As shown, when an incoming call event is triggered, the third content 31 can be suspended and displayed on the game interface 20 as the first content. The third content 31 includes the name of the incoming caller, a control for answering the call, and a control for hanging up the call.

[0070] S320: If a target event associated with the designated event is triggered, the third content displayed in suspension is updated to the second content.

[0071] For example, if the target event is a call connected event, when the specified event is triggered, you can Fig. 9 The third content 31 corresponding to the specified event is shown. If a touch operation acting on the control for answering a call in the third content 31 is detected, it is determined that an incoming call connected event associated with the incoming call event is triggered, and the displayed third content 31 is switched to the second content 21 shown in the aforementioned content.

[0072] S330: If the reduction condition is met, reduce the display area of ​​the second content.

[0073] As an implementation manner, if a target event associated with the designated event is triggered, before updating the third content displayed in suspension to the second content, the method further includes: if a reduction condition corresponding to the third content is met, reducing the display area of ​​the third content. Fig.13 As shown, the third content 31 can be reduced in size to reduce the display area, so that the third content 31 is Fig.10 The display style shown in the upper image of the Fig.10 The display style is shown in the lower image of .

[0074] In the embodiment of the present application, the reduction condition corresponding to the third content can be understood as a condition for the electronic device to automatically reduce the display area of ​​the third content. Wherein, automatically reducing the display area of ​​the third content may include not requiring the user to perform a touch operation on the third content, but the electronic device can automatically control the reduction of the display area of ​​the third content according to some trigger conditions (such as the reduction condition).

[0075] It should be noted that different users may have different preferences for the same display mode. Then the user can edit a display mode of the third content according to his or her preferences, so that the third content can be displayed in a personalized manner according to the preferences of each user.

[0076] This embodiment provides a content display control method, so that in the above manner, when the first content is displayed in full screen, after the second content is displayed in suspension in response to the triggering of the target event, if the associated event corresponding to the target event is triggered, the second content originally displayed will be switched to the third content corresponding to the associated event, and the third content can be reduced if the reduction condition is met, so that the third content can play a prompting role while reducing the interference with the first content displayed in full screen. In addition, in this embodiment, different controls can be configured to display the third content in accordance with different display modes, which improves the diversity of content display switching.

[0077] See also Fig.14 , Fig.14 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0078] S410: If the first content is displayed in full screen mode and a target event is triggered, a second content is displayed in a floating manner on the first content, where the second content is the display content corresponding to the target event.

[0079] S420: If the reduction condition is met, reduce the display area of ​​the second content.

[0080] In the embodiment of the present application, the specific extent to which the display area of ​​the second content is reduced can be determined based on actual conditions.

[0081] As a way, in an embodiment of the present application, the electronic device can determine the degree of reduction of the second content based on the first content. It should be noted that the displayed second content can be content used to control the operation process of the target event. If the display area of ​​the second content is reduced, it may still have a certain impact on the user's viewing or operation of the second content. In order to reduce the impact with a greater probability, the electronic device can determine the specific degree to reduce the second content based on the current display content of the first content.

[0082] Optionally, the specific degree to which the second content is to be reduced can be determined based on the application to which the first content belongs. Among them, different reduction degrees can result in different display areas of the second content after reduction. In this way, the correspondence between the application and the reduction degree can be stored in the electronic device, so before the second content needs to be reduced, the application to which the first content belongs can be obtained, and then the reduction degree corresponding to the application to which it belongs can be further obtained as the target degree, and then in the process of reducing the second content, the second content is reduced to the target degree. Exemplarily, the electronic device pre-stores the reduction degree d1 corresponding to application A, the reduction degree d2 corresponding to application B, the reduction degree d3 corresponding to application C, and the reduction degree d4 corresponding to application D.

[0083] Then in the process of determining the reduction degree, it is determined that the application to which the currently displayed first content belongs is application C, then the reduction degree d3 corresponding to application C will be obtained, and the reduction degree d3 will be used as the target reduction degree, and then the second content will be reduced based on the reduction degree d3. Among them, reducing the second content based on the target reduction degree can be understood as that the ratio of the display area of ​​the second content after reduction to the display area of ​​the second content before reduction is the same as the value of the target reduction degree. Exemplarily, the aforementioned d1 can be 80%, d2 can be 60%, d3 can be 40%, and d4 can be 20%. Then, when the target reduction degree is determined to be d3, the ratio of the display area of ​​the second content after reduction to the area before the second content is reduced is 0.4. For example, when the target reduction degree is determined to be d4, the ratio of the display area of ​​the second content after reduction to the area before the second content is reduced is 0.2.

[0084] The first content is the content displayed in full screen. Then in the embodiment of the present application, the electronic device can detect the application running in the foreground to determine the application to which the first content belongs. Correspondingly, the electronic device can use the application running in the foreground as the application to which the first content belongs.

[0085] Optionally, the reduction degree of the second content can be determined based on the content represented by the first content itself. It should be noted that even in the same application, the degree of user attention required for different interface content may be different. For example, the game configuration interface, game character selection interface, etc. in the game program do not require the user to perform timely operations, while the real-time game battle interface requires the user to perform operations in a relatively timely manner. Therefore, before reducing the second content, it can be obtained whether the first content is an interface content that requires the user to perform timely operations. If it is determined that the first content is an interface content that requires the user to perform timely operations, then the second content can be reduced to the reduction degree corresponding to the interface content that requires the user to perform timely operations. If it is determined that the first content is an interface content that does not require the user to perform timely operations, then the second content can be reduced to the reduction degree corresponding to the interface content that does not require the user to perform timely operations.

[0086] Wherein, when the reduction degree represents the ratio of the display area of ​​the second content after reduction to the display area of ​​the second content before reduction, the reduction degree corresponding to the interface content that does not require timely operation by the user is greater than the reduction degree corresponding to the interface content that requires timely operation by the user. Exemplarily, if the first content is determined to be the interface content that requires timely operation by the user, the corresponding reduction degree may be 0.4, and if the first content is determined to be the interface content that does not require timely operation by the user, the corresponding reduction degree may be 0.8.

[0087] In this way, the application can be configured with an interface registration function, and correspondingly, the electronic device is also configured with an interface registration service. The application can register the interface that requires timely operation by the user into the interface registration service of the electronic device through the interface registration function, so that the electronic device can obtain the interface that requires timely operation by the user. Then, before the electronic device needs to reduce the second content, it can obtain whether the first content is an interface content that has been registered in the interface registration service. If it is detected that the first content is an interface content that has been registered in the interface registration service, it is determined that the first content is an interface that requires timely operation by the user, so that the reduction degree corresponding to the interface that requires timely operation by the user can be used as the target reduction degree. If it is detected that the first content is not an interface content that has been registered in the interface registration service, it is determined that the first content is an interface that does not require timely operation by the user, so that the reduction degree corresponding to the interface that does not require timely operation by the user can be used as the target reduction degree.

[0088] It should be noted that the reduction degree shown in the above content represents the ratio of the display area of ​​the second content after reduction to the display area before reduction. In the embodiment of the present application, there are at least two ways to reduce the second content. One way is as follows: Figure 4 Another way to reduce the size is as shown in Figure 5 The display area is reduced by switching the display mode as shown. However, in this way of switching the display mode, the mode switched to may not match the currently determined target reduction degree, and there may not be a display mode matching the determined target reduction degree.

[0089] For example, the second content corresponds to the first display mode and the second display mode, wherein the ratio of the display area corresponding to the first display mode to the display area corresponding to the second display mode is 0.5, and the currently determined target reduction degree is 0.4. If the second content is reduced in display area by switching the display mode, it may be impossible to adapt to the appropriate display mode. In order to improve this problem, Fig.15 As shown, the electronic device may perform the following steps between determining that the reduction condition is met and actually reducing the display area of ​​the second content:

[0090] S421: Detecting the current reduction mode of the second content;

[0091] S422: If it is determined that the current reduction method of the second content is to reduce the size, further determine whether to determine the reduction degree of the second content by detecting the application to which the first content belongs, or to determine the reduction degree by detecting whether the first content is an interface requiring timely operation by the user.

[0092] As one method, a reduction mode selection interface is configured in the electronic device, and multiple options are configured in the reduction mode selection interface, so the user can select the desired reduction mode through the multiple options. For example, the multiple options include option 1 and option 2, wherein option 1 corresponds to determining the reduction degree of the second content by detecting the application to which the first content belongs, and option 2 corresponds to determining the reduction degree by detecting whether the first content is an interface that requires the user to perform timely operations, then the electronic device detects the selected option in option 1 and option 2, and uses the reduction mode corresponding to the selected option as the determined reduction mode.

[0093] As another way, the electronic device may determine the specific reduction method according to a query of an application to which the first content belongs and a detection of whether the first content is an interface required for timely user operation.

[0094] It should be noted that the application itself may not be configured with a corresponding reduction degree, but the application may have interface content registered in the electronic device through the interface registration service of the electronic device. Correspondingly, some applications may not have interface content registered in the electronic device through the interface registration service of the electronic device, but the application itself may have a corresponding reduction degree. Optionally, if the electronic device detects that the application to which the first content belongs has a corresponding reduction degree, and the first content has not been registered in the electronic device through the interface registration service, then the electronic device can determine the reduction degree of the second content by detecting the application to which the first content belongs.

[0095] Correspondingly, if the electronic device detects that the application to which the first content belongs does not have a corresponding reduction degree, and the first content is registered in the electronic device through the interface registration service, then the electronic device can determine the reduction degree by detecting whether the first content is an interface that requires timely operation by the user. Furthermore, if the electronic device detects that the application to which the first content belongs has a corresponding reduction degree, and the first content is not registered in the electronic device through the interface registration service, then the electronic device can determine the specific reduction method by detecting the option determined by the user in the reduction method selection interface. Furthermore, when it is detected that the user has not made a specific selection, the electronic device specifically reduces the second content according to the default reduction method. In addition, if the electronic device detects that the application to which the first content belongs does not have a corresponding reduction degree, and the first content is not registered in the electronic device through the interface registration service, the electronic device specifically reduces the second content according to the default reduction method.

[0096] S423: If it is determined that the reduction degree of the second content is determined by detecting the application to which the first content belongs, the application to which the first content belongs is obtained, and the reduction degree corresponding to the application is obtained as the target reduction degree.

[0097] S424: If it is determined that the reduction degree is determined by detecting whether the first content is an interface requiring timely operation by the user, it is detected whether the first content is an interface content requiring timely operation by the user.

[0098] S425: If it is determined that the first content is an interface content that requires timely operation by the user, the shrinkage degree corresponding to the interface content that requires timely operation by the user will be used as the target shrinkage degree. Conversely, if it is determined that the first content is within an interface that does not require timely operation by the user, the shrinkage degree corresponding to the interface content that does not require timely operation by the user will be used as the target shrinkage degree.

[0099] S430: If the enlargement condition is met, enlarge the display area of ​​the second content.

[0100] It should be noted that, in some cases, the display area of ​​the reduced second content may be expanded so that the user can conveniently operate the second content. In addition, in the embodiment of the present application, the expansion condition may include multiple implementations.

[0101] As a method, the method provided in this embodiment further includes: if a touch operation acting on the second content is detected, determining that the expansion condition is met. Figure 5 , if content 21 is reduced to Figure 5 After the touch operation on the content 21 is detected, the display area of ​​the content 21 can be expanded to Figure 5 The style shown in the image above. Figure 6 , if content 21 switches to Figure 6 After the display content 23 shown in the lower middle image is detected, the content 23 is switched from Figure 6 Content shown in the upper center image 21.

[0102] As another way, the electronic device can determine whether the expansion condition is met based on the change frequency of the first content. Optionally, if it is detected that the change frequency of the first content is less than a specified frequency, it is determined that the expansion condition is met. It should be noted that after the second content is displayed and the reduction condition is met, the purpose of reducing the second content is to further reduce the interference of the second content on the first content. However, in some cases, after the second content is displayed, the user may pay more attention to the second content. In this case, in order to facilitate the user's operation, after reducing the second content, it can be determined based on the change frequency of the first content whether the user pays attention to the first content. If it is determined based on the change frequency of the first content that the user is not too concerned about the first content, it can be determined that the expansion condition is met.

[0103] Among them, the change frequency can be the number of changes of the first content within a specified time length. Among them, the electronic device displays the picture in frames. If the electronic device detects that the content of the current frame is inconsistent with the previous frame, it is determined that a content change is detected, and then the ratio of the number of changes that occur within the specified time length to the specified time length can be used as the change frequency. For example, if the first content is the interface content corresponding to the game program, if it is detected that the change frequency of the first content is greater than the specified frequency, it indicates that the change frequency of the first content is high, which may be a game battle interface that requires the user to provide timely operation feedback. In this case, the reduced second content will not be expanded. For another example, if it is detected that the change frequency of the first content is less than the specified frequency, it indicates that the change frequency of the first content is low, which may be a game configuration interface that does not require the user to provide timely operation feedback. In this case, the reduced second content will be expanded.

[0104] It should be noted that the third content in the embodiment of the present application is the display content corresponding to the associated event corresponding to the target event. How to determine the reduction method and reduction degree of the second content is still applicable in the process of reducing the third content. Therefore, the reduction method and reduction degree of the third content can be determined based on how to determine the reduction method and reduction degree of the second content. Correspondingly, it can also be determined when to enlarge the display area of ​​the third content with a reduced display area based on the determination of the enlargement method of the second content.

[0105] This embodiment provides a content display control method, so that in the above manner, when the first content is displayed in full screen, the second content that is displayed in suspension in response to the triggering of the target event can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing the interference with the first content displayed in full screen. In addition, in this embodiment, a magnification condition can also be configured, so that the user can flexibly operate the second content to reduce and enlarge the display area.

[0106] See also Fig.16 , Fig.16 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0107] S510: If the first content is displayed in full screen mode and a target event is triggered, a second content is displayed in a floating manner on the first content, where the second content is the display content corresponding to the target event;

[0108] S520: If the first content is displayed in full screen mode and a target event is triggered, start timing;

[0109] S530: If the timed duration satisfies a specified duration, it is determined that the reduction condition is met, and the display area of ​​the second content is reduced.

[0110] As a mode, the method further includes: determining the specified duration based on the type of the first content. It should be noted that in some scenarios, the second content may need to be able to reduce the display area more timely after the start of display, so as not to interfere with the display of the first content. For example, when the first content is the content of the game battle interface, the user's attention is more focused on the game battle process, and more timely reduction of the second content can help to increase the attention to the game battle interface. Then in this way, the electronic device can also obtain whether the first content is an interface content that requires the user to perform timely operation as in the aforementioned embodiment mode. If the first content is an interface content that requires the user to perform timely operation, the specified duration of the timing is determined by the specified duration corresponding to the interface content that requires the user to perform timely operation. If the first content is an interface content that does not require the user to perform timely operation, the specified duration of the timing is determined by the specified duration corresponding to the interface content that does not require the user to perform timely operation. Among them, the specified duration corresponding to the interface content that requires the user to perform timely operation is shorter than the specified duration corresponding to the interface content that does not require the user to perform timely operation.

[0111] The present embodiment provides a content display control method, so that when the first content is displayed in full screen, timing is performed for the second content that is displayed in suspension in response to a target event trigger, and after the timing duration meets the specified duration, the display area is reduced so that the second content can serve as a prompt while reducing the interference with the first content displayed in full screen.

[0112] See also Fig.17 , Fig.17 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0113] S610: If the first content is displayed in full screen mode and a target event is triggered, a second content in the first display mode is displayed in a floating manner on the first content, the second content being the display content corresponding to the target event, and timing is started.

[0114] S620: If the timed duration meets the specified duration, it is determined that the reduction condition is met, and the second content is switched to be displayed in a second display mode, wherein the display area of ​​the second content in the second display mode is smaller than the display area of ​​the second content in the first display mode.

[0115] The present embodiment provides a content display control method, so that when the first content is displayed in full screen, timing is performed for the second content of the first display mode that is displayed in suspension in response to a target event trigger, and after the timing duration meets the specified duration, the display mode of the second content is switched to the second display mode, so that the second content can serve as a prompt while reducing interference with the first content displayed in full screen.

[0116] See also Fig.18 , Fig.18 FIG. 1 is a flow chart of a content display control method proposed in an embodiment of the present application, the method comprising:

[0117] S710: If the first content is displayed in full screen mode and a target event is triggered, a second content in the first display mode is displayed in a floating manner on the first content, the second content being the display content corresponding to the target event, and timing is started.

[0118] S720: If the timed duration meets the specified duration, it is determined that the reduction condition is met, and the second content is switched to be displayed in a second display mode, wherein the display area of ​​the second content in the second display mode is smaller than the display area of ​​the second content in the first display mode.

[0119] S730: If a touch operation acting on the second content is detected, determine that an expansion condition is met.

[0120] See also Fig.19 , Fig.19 The figure shows a content display control device 500 proposed in an embodiment of the present application, which runs on an electronic device. The device 500 includes:

[0121] The content display unit 510 is used to display second content in a floating manner on the first content if the first content is displayed in full screen mode and a target event is triggered, where the second content is the display content corresponding to the target event.

[0122] The display control unit 520 is configured to reduce the display area of ​​the second content if a reduction condition is met.

[0123] As a method, the content display unit 510 is specifically used to suspend and display the second content of the first display mode on the first content. Correspondingly, in this method, the display control unit 520 is specifically used to switch the second content to be displayed in the second display mode, wherein the display area of ​​the second content in the second display mode is smaller than the display area of ​​the second content in the first display mode. Optionally, the second content includes a control corresponding to the target event, and the control included in the second content of the first display mode has a different function from the control included in the second content of the second display mode.

[0124] Optionally, the target event includes an incoming call event, and the second content of the first display mode includes a first control and a second control, the first control is used to switch the call content playback mode, the second control is used to hang up the call, and the second content of the second display mode includes a third control, and the third control is used to display the changes in call volume.

[0125] The display control unit 520 is further configured to: if the reduction condition is met, reduce the display area of ​​the second content, and further include: if the expansion condition is met, expand the display area of ​​the second content. The display control unit 520 is further configured to: if a touch operation acting on the second content is detected, determine that the expansion condition is met.

[0126] like Fig. 20 As shown, the device 500 further includes:

[0127] The timing unit 530 is configured to start timing if the first content is displayed in full screen mode and a target event is triggered, after the second content is displayed on the first content in a floating manner, if the first content is displayed in full screen mode and a target event is triggered; if the timing duration satisfies a specified duration, determine that the reduction condition is met. Optionally, the timing unit 530 is specifically configured to determine the specified duration based on the type of the first content.

[0128] The content display control device provided in this embodiment, when displaying the first content in full screen mode, if a target event is detected to be triggered, the second content corresponding to the target event will be displayed in a floating manner on the first content, and after the second content is displayed, if a reduction condition is met, the display area of ​​the second content will be reduced. Thus, in the above manner, when the first content is displayed in full screen, the second content that is displayed in a floating manner in response to the target event triggering can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing interference with the first content displayed in full screen.

[0129] It should be noted that the device embodiment in the present application corresponds to the aforementioned method embodiment. The specific principles in the device embodiment can be found in the contents of the aforementioned method embodiment and will not be repeated here.

[0130] The following will be combined Fig.21 An electronic device provided by the present application is described.

[0131] See also Fig.21 Based on the above content display control method and device, the embodiment of the present application also provides another electronic device 200 that can execute the above content display control method. The electronic device 200 includes one or more (only one is shown in the figure) processors 102, a memory 104, a network module 106, and a sensor module 108 that are coupled to each other. Among them, the memory 104 stores a program that can execute the content of the above embodiment, and the processor 102 can execute the program stored in the memory 104.

[0132] Among them, the processor 102 may include one or more processing cores. The processor 102 uses various interfaces and lines to connect various parts of the entire electronic device 200, and executes various functions and processes data of the electronic device 200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 104, and calling data stored in the memory 104. Optionally, the processor 102 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 102 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 102, but may be implemented separately through a communication chip.

[0133] The memory 104 may include a random access memory (RAM) or a read-only memory (ROM). The memory 104 may be used to store instructions, programs, codes, code sets or instruction sets. The memory 104 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the following various method embodiments, etc. The data storage area may also store data (such as a phone book, audio and video data, chat record data) created by the terminal 100 during use.

[0134] The network module 106 is used to receive and send electromagnetic waves, realize the mutual conversion between electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices, such as communicating with an audio playback device. The network module 106 may include various existing circuit elements for performing these functions, such as antennas, radio frequency transceivers, digital signal processors, encryption / decryption chips, user identity modules (SIM) cards, memories, etc. The network module 106 may communicate with various networks such as the Internet, corporate intranets, wireless networks, or communicate with other devices via wireless networks. The above-mentioned wireless networks may include cellular telephone networks, wireless local area networks, or metropolitan area networks. For example, the network module 106 may exchange information with a base station.

[0135] The sensor module 108 may include at least one sensor. Specifically, the sensor module 108 may include but is not limited to: a light sensor, a motion sensor, a pressure sensor, an infrared heat sensor, a distance sensor, an acceleration sensor, and other sensors.

[0136] Among them, the pressure sensor can be a sensor that detects the pressure generated by pressing on the electronic device 200. That is, the pressure sensor detects the pressure generated by the contact or pressing between the user and the electronic device, such as the pressure generated by the contact or pressing between the user's ear and the mobile terminal. Therefore, the pressure sensor can be used to determine whether contact or pressing occurs between the user and the electronic device 200, and the magnitude of the pressure.

[0137] Among them, the acceleration sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that identify the posture of the electronic device 200 (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc. In addition, the electronic device 200 can also be equipped with other sensors such as gyroscopes, barometers, hygrometers, thermometers, etc., which will not be repeated here.

[0138] Please refer to Fig. 22 , which shows a structural block diagram of a computer-readable storage medium provided in an embodiment of the present application. The computer-readable medium 800 stores program codes, which can be called by a processor to execute the method described in the above method embodiment.

[0139] The computer readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. Optionally, the computer readable storage medium 800 includes a non-transitory computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 that performs any method step in the above method. These program codes can be read from or written to one or more computer program products. The program code 810 can be compressed, for example, in an appropriate form.

[0140] The present application provides a content display control method, device, electronic device and storage medium. When a first content is displayed in full-screen mode, if a target event is detected to be triggered, the second content corresponding to the target event will be displayed in a floating manner on the first content, and if a reduction condition is met after the second content is displayed, the display area of ​​the second content will be reduced. Therefore, through the above-mentioned method, when the first content is displayed in full screen, the second content that is displayed in a floating manner in response to the target event trigger can be reduced in display area after the reduction condition is met, so that the second content can play a prompting role while reducing the interference with the first content displayed in full screen. In addition, users can better coordinate tasks corresponding to the first content and tasks corresponding to the second content or the third content, thereby improving the efficiency of multi-task collaborative processing.

[0141] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0142] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0143] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A content display control method, characterized in that: Applied to electronic equipment, the method comprises: If the first content is displayed in full screen mode and a target event is triggered, the second content is displayed in a floating manner on the first content, and the second content is the display content corresponding to the target event; If the reduction condition is met, the display area of ​​the second content is reduced, wherein the reduction condition includes detecting a touch operation on the first content after the second content is displayed, and the reduction degree of the second content is determined according to the first content.

2. The method according to claim 1, characterized in that The floating display of the second content on the first content includes: floating display of the second content in a first display mode on the first content; The reducing the display area of ​​the second content includes: The second content is switched to be displayed in a second display mode, wherein a display area of ​​the second content in the second display mode is smaller than a display area of ​​the second content in the first display mode.

3. The method according to claim 2, characterized in that The second content includes a control corresponding to the target event, and the control included in the second content in the first display mode has a different function from the control included in the second content in the second display mode.

4. The method according to claim 1, characterized in that: The reducing the display area of ​​the second content includes: Reduce the size of the second content.

5. The method according to claim 1, characterized in that If the first content is displayed in full screen mode and a target event is triggered, the second content is displayed floating on the first content, including: If the first content is displayed in full screen mode and a specified event is triggered, a third content is displayed in a floating manner on the first content, and the third content is the display content corresponding to the specified event; If a target event associated with the designated event is triggered, the third content displayed in suspension is updated to the second content.

6. The method according to claim 5, characterized in that If a target event associated with the designated event is triggered, before updating the third content displayed in suspension to the second content, the method further includes: If the reduction condition corresponding to the third content is met, the display area of ​​the third content is reduced.

7. The method according to any one of claims 1 to 6, characterized in that: If the reduction condition is met, reducing the display area of ​​the second content further includes: If the expansion condition is met, the display area of ​​the second content is expanded.

8. The method according to claim 7, characterized in that The method further comprises: If a touch operation acting on the second content is detected, it is determined that the enlargement condition is met.

9. The method according to any one of claims 1 to 6, characterized in that: The target event includes an incoming call answering event; if the first content is displayed in full screen mode and the target event is triggered, the second content is displayed on the first content in a floating manner, and the second content is the display content corresponding to the target event, including: If the first content is displayed in full screen mode and a call answering event is triggered, the second content is displayed in a floating manner on the first content, and the second content is the display content corresponding to the call answering event.

10. A content display control device, characterized in that: Running on an electronic device, the device comprises: a content display unit, configured to, if a first content is displayed in full screen mode and a target event is triggered, display a second content in a floating manner on the first content, wherein the second content is the display content corresponding to the target event; The display control unit is configured to reduce the display area of ​​the second content if a reduction condition is met, wherein the reduction condition includes detecting a touch operation on the first content after the second content is displayed, and the reduction degree of the second content is determined according to the first content.

11. An electronic device, characterized in that: The method comprises one or more processors and a memory; one or more programs are stored in the memory and are configured so that the one or more processors execute any one of the methods of claims 1-9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program code, wherein when the program code is executed by a processor, the method according to any one of claims 1 to 9 is executed.