CN115348354B - Content display control method and device, electronic equipment and storage medium - Google Patents
Content display control method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115348354B CN115348354B CN202110530340.5A CN202110530340A CN115348354B CN 115348354 B CN115348354 B CN 115348354B CN 202110530340 A CN202110530340 A CN 202110530340A CN 115348354 B CN115348354 B CN 115348354B
- Authority
- CN
- China
- Prior art keywords
- content
- display
- displayed
- mode
- event
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 78
- 230000009467 reduction Effects 0.000 claims abstract description 101
- 230000001960 triggered effect Effects 0.000 claims abstract description 22
- 230000006870 function Effects 0.000 claims description 12
- 239000000725 suspension Substances 0.000 claims description 6
- 238000007667 floating Methods 0.000 claims description 5
- 230000004044 response Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 15
- 238000007654 immersion Methods 0.000 description 14
- 230000008569 process Effects 0.000 description 12
- 238000012545 processing Methods 0.000 description 9
- 230000008859 change Effects 0.000 description 7
- 230000009466 transformation Effects 0.000 description 7
- 230000001133 acceleration Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000006243 chemical reaction Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/25—Output arrangements for video game devices
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
- A63F13/42—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
- A63F13/424—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle involving acoustic input signals, e.g. by using the results of pitch or rhythm extraction or voice recognition
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/52—Controlling the output signals based on the game progress involving aspects of the displayed game scene
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72427—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72466—User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Theoretical Computer Science (AREA)
- Acoustics & Sound (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application discloses a content display control method, a content display control device, electronic equipment and a storage medium. The method comprises the following steps: if the first content is displayed in a full-screen mode and a target event is triggered, suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event; and if the reduction condition is met, reducing the display area of the second content. Therefore, under the condition that the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce the interference on the first content displayed in the full screen mode.
Description
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a content display control method, a device, an electronic apparatus, and a storage medium.
Background
When the interface is displayed in the immersion mode in the foreground, if other contents besides the interface need to be displayed, other contents can be displayed in a floating mode on the interface displayed in the immersion mode. For example, when the interface of the game program is presented in the foreground in the immersive mode, if the electronic device needs to present the interface content of the conversation program in response to an incoming call, the incoming call banner may be hover-displayed over the interface of the game program.
However, other content displayed in suspension still occupies a larger area, and affects the user experience of the content displayed in the immersion mode.
Disclosure of Invention
In view of the above problems, embodiments of the present application provide a content display control method, apparatus, electronic device, and storage medium, so as to improve the above problems.
In a first aspect, an embodiment of the present application provides a content display control method, applied to an electronic device, where the method includes: if the first content is displayed in a full-screen mode and a target event is triggered, suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event; and if the reduction condition is met, reducing the display area of the second content.
In a second aspect, an embodiment of the present application provides a content display control apparatus, which operates in an electronic device, including: the content display unit is used for displaying first content in a full-screen mode and triggering a target event, and suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event; and the display control unit is used for reducing the display area of the second content if the reduction condition is met.
In a third aspect, an embodiment of the present application provides an electronic device, including 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 methods described above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having program code stored therein, wherein the program code, when executed by a processor, performs the method described above.
According to the content display control method, the device, the electronic equipment and the storage medium, when the first content is displayed in the full-screen mode, if the target event trigger is detected, the second content corresponding to the target event is suspended and displayed on the first content, and when the second content is displayed, the display area of the second content is reduced if the reduction condition is met. Therefore, under the condition that the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce the interference on the first content displayed in the full screen mode.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart showing a content display control method according to an embodiment of the present application;
FIG. 2 shows a schematic diagram of a display in a normal mode in an embodiment of the application;
FIG. 3 shows a schematic diagram of a second content displayed in an embodiment of the application;
FIG. 4 shows a schematic diagram of another second content shown in an embodiment of the application;
FIG. 5 is a schematic diagram showing a display area of a second content being reduced according to an embodiment of the present application;
FIG. 6 is a schematic diagram of another embodiment of the present application for reducing the display area of the second content;
Fig. 7 is a flowchart showing a content display control method according to another embodiment of the present application;
FIG. 8 is a schematic diagram of second content in a second display mode, shown in an embodiment of the application;
FIG. 9 is a schematic diagram of second content of another second display mode shown in an embodiment of the present application;
FIG. 10 is a schematic diagram showing switching of second contents of a plurality of second display modes shown in an embodiment of the present application;
fig. 11 is a flowchart showing a content display control method according to still another embodiment of the present application;
FIG. 12 is a schematic diagram of a control included in a third content in accordance with an embodiment of the present application;
FIG. 13 is a schematic diagram showing a display area of a third content reduced in accordance with an embodiment of the present application;
fig. 14 is a flowchart showing a content display control method according to still another embodiment of the present application;
FIG. 15 is a flow chart illustrating a method for determining a zoom out level according to an embodiment of the present application;
Fig. 16 is a flowchart showing a content display control method according to still another embodiment of the present application;
fig. 17 is a flowchart showing a content display control method according to still another embodiment of the present application;
fig. 18 is a flowchart showing a content display control method according to still another embodiment of the present application;
fig. 19 is a block diagram showing a structure of a content display control apparatus according to an embodiment of the present application;
Fig. 20 is a block diagram showing a structure of a content display control apparatus according to another embodiment of the present application;
fig. 21 shows a block diagram of an electronic device for executing a content display control method according to an embodiment of the present application in real time;
Fig. 22 shows a storage unit for storing or carrying program codes for implementing a content display control method according to an embodiment of the present application in real time.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
An immersion mode is typically configured in an electronic device so that the interface can be displayed full screen in the screen with the immersion mode. When the interface is displayed in the immersion mode in the foreground, if other contents outside the interface need to be displayed, the other contents can be displayed in a floating mode on the interface displayed in the immersion mode. For example, when the interface of the game program is presented in the foreground in the immersive mode, if the electronic device needs to present the interface content of the conversation program in response to an incoming call, the incoming call banner may be hover-displayed over the interface of the game program.
However, after research on the related mode, the inventor finds that other contents displayed in a floating manner still occupy a larger area under the condition that the interface is displayed in a full screen mode, so that the experience of the user on the contents displayed in the immersion mode is affected.
Therefore, the inventor proposes a content display control method, a device, an electronic apparatus, and a storage medium according to embodiments of the present application, when a first content is displayed in a full-screen mode, if a target event trigger is detected, a second content corresponding to the target event is suspended and displayed on the first content, and when a reduction condition is satisfied after the second content is displayed, a display area of the second content is reduced. Therefore, under the condition that the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce the interference on the first content displayed in the full screen mode.
Embodiments encompassed by the present application will be described below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
S110: and if the first content is displayed in a full-screen mode and the target event is triggered, suspending and displaying the second content on the first content, wherein the second content is the display content corresponding to the target event.
The first content may be understood as content corresponding to an application running in the foreground, and is displayed in full screen mode. Wherein the display of the content by the electronic device may be configured with a normal mode, a non-sticky immersion mode, a sticky immersion mode. When the electronic device is in the normal mode, the status bar and the system bottom navigation are still displayed in the process of displaying the content corresponding to the application program running in the foreground. When the electronic device is in the non-sticky immersion mode or the sticky immersion mode, in the process of displaying the content corresponding to the application program running in the foreground, the content corresponding to the application program running in the foreground is displayed in a full screen mode. In the full screen display process, the status bar and the system bottom navigation can be not displayed any more.
Illustratively, as shown in fig. 2, the electronic device is currently running a game program in the foreground, where the game interface 20 is the content corresponding to the game program. In the upper image in fig. 2, the electronic device displays the game interface 20 in a normal mode, in which case, the electronic device displays a status bar 10 above the game interface 20 in addition to the game interface 20, and the status bar 10 may display the current time, the mobile communication signal strength, the remaining power of the electronic device, and the like. If the electronic device is displaying a game program in a non-viscous immersion mode or a viscous immersion mode, then the mode shown in the lower diagram of FIG. 2 may be switched to where the electronic device may cancel the display status bar 10 in order to display the game interface 20 full screen.
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 may be any event that needs to display content, or may be an event that needs to display content in a white list. The content to be displayed may include interface content and the corresponding content may be different for different target events. And under the condition that a target event is triggered, responding to the target event, and suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event.
For example, taking a target event as an incoming call event as an example, after the incoming call event is triggered, the electronic device may acquire the sound of the incoming call counterpart and play the sound, and may transmit the sound acquired by the microphone of the electronic device to the incoming call counterpart. As shown in fig. 3, when the incoming call event is triggered, the electronic device displays the display content corresponding to the incoming call event as the second content. As shown in fig. 3, the display content corresponding to the incoming call connection event is content 21 in fig. 3, where the content 21 includes a first control 211 and a second control 212, where the first control 211 is used to switch the playing mode of the call content, and the second control 212 is used to hang up the call.
In addition, the display content corresponding to the incoming call event may be in a display style other than the display style shown in fig. 3. For example, as shown in fig. 4, the display content corresponding to the incoming call event may be the content 22 shown in fig. 4, and the content 22 includes the second control 212 and the fourth control 221. Wherein, unlike content 21, the first control 211 in content 21 is replaced with a fourth control 221 in content 22. The fourth control 211 is a control for triggering display of virtual numeric buttons. The virtual number key is used for inputting numbers by users. For example, in some call scenarios, the electronic device needs to further input some digits during the call, and then the virtual number buttons may be displayed by triggering the fourth control 211 before the digits need to be input, so as to perform the input of the digits.
In addition, in the case where there are a plurality of display styles of the second content, the electronic device may detect the currently determined display style first and then display the second content based on the currently determined display style as one way.
The second content displayed in a floating state has a smaller display area than the first content. For example, the display area of the second content is one fifth of the display area occupied by the first content.
S120: and if the reduction condition is met, reducing the display area of the second content.
In the embodiment of the present application, the zoom-out condition may be understood as a condition for zooming out the display content in response to the event trigger. Alternatively, in the case of displaying the second content, the reduction condition may be understood as a condition that the electronic device automatically reduces the display area of the second content. Wherein automatically reducing the display area of the second content may include automatically controlling to reduce the display area of the second content by the electronic device according to some trigger conditions (e.g., a reduction condition) without requiring the user to perform a touch operation on the second content. If the display area is the area of the display area occupied by the second content, reducing the display area of the second content can be understood as reducing the area of the display area occupied by the second content.
The reduction condition in the present embodiment may include various types of conditions.
As one way, a time condition may be used. For example, the zoom-out condition may include that the display time of the second content satisfies a specified duration, then the electronic device may count time after the second content starts to be displayed, determine that the zoom-out condition is satisfied after the count time satisfies the specified duration, and start zooming out the display area of the second content. Alternatively, the zoom-out condition may be a touch condition, for example, the zoom-out condition may include detecting a touch operation on the first content after the second content is displayed. It should be noted that, if after the second content is displayed, the touch operation acting on the first content is detected, it is characterized that the user is focusing on the first content, and in order to further reduce the interference caused by the second content on focusing on the first content by the user, the display area of the second content may be reduced. Alternatively, the zoom-out condition may include both a time condition and a touch condition. Optionally, the electronic device may start timing after detecting that the touch condition is met, and if detecting that the timing duration meets the time condition, may start to shrink the second content.
Wherein, the electronic device can reduce the display area of the second content in various ways. As one way, the electronic device can realize downsizing of the display area of the second content by downsizing of the second content itself.
For example, as shown in fig. 5, in the case where the second content is the content 21 in fig. 5, the size of the content 21 may be reduced from the size shown in the upper image in fig. 5 to the size shown in the lower image in fig. 5, thereby realizing a reduction in the display area of the second content. Alternatively, the reduction of the display area of the second content may be achieved by changing the type of control included in the content 21. For example, as shown in fig. 6, the display area of the second content may be reduced by switching to the content 23 shown in the lower image in fig. 6 in such a manner that two controls, that is, the name of the incoming call object and the call duration, included in the content 21 as the second content are canceled from being displayed.
It should be noted that, the target event in the embodiment of the present application may not be limited to an incoming call event, and other events that trigger interface display may also be used as the target event therein, for example, an alarm clock event.
In the content display control method provided in this embodiment, when a first content is displayed in full screen mode, if a target event trigger is detected, a second content corresponding to the target event is suspended and displayed on the first content, and when a reduction condition is met after the second content is displayed, the display area of the second content is reduced. Therefore, under the condition that the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce the interference on the first content displayed in the full screen mode. Moreover, the reducing condition can be characterized as an automatic condition for reducing the second content, so that the user can trigger the display area of the second content to reduce without operating the second content, and the user is facilitated to cooperatively process the tasks corresponding to the first content and the second content.
Referring to fig. 7, fig. 7 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
S210: and if the first content is displayed in a full-screen mode and the target event is triggered, suspending and displaying the second content in the first display mode on the first content, wherein the second content is the display content corresponding to the target event.
S220: and if the reduction condition is met, switching the second content to be displayed in a second display mode, wherein the display area of the second content in the second display mode is smaller than that of the second content in the first display mode.
Optionally, multiple display modes of the display content corresponding to the target event may be configured in advance, or may be configured by the user according to the individual requirements of the user. The second content includes a control corresponding to the target event, and the control included in the second content in the first display mode is different from the control included in the second content in the second display mode in function. The control included in the second content may be a control for controlling the target event, for example, a control for controlling the target event to stop running.
For example, referring back to fig. 3, the content 21 in fig. 3 may be used as the second content in the first display mode. As shown in fig. 8, the content 24 shown in fig. 8 is a second content of a second display mode. An audio bar 241 is displayed in the content 24, and the audio bar 241 can represent the call volume in real time by its own shape conversion. After editing by the user, the second content of the second mode may be switched to the content 25 shown in fig. 9, and in the content 25 shown in fig. 9, the audio bar 241 is switched to the time control 251, and the time control 251 may be used to display the duration of the incoming call.
In one embodiment, 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 an operation by the user.
Alternatively, taking the second content in the second display mode as the content 24 as an example, if a touch operation on the audio bar 241 is detected, the second content in the second display mode may be switched from the content 24 to the second content in the first display mode (for example, the content 21 in fig. 3). The touch operation may include a click operation, or a double click operation, or a long-time press operation. Alternatively, taking the second content in the second display mode as the content 25 again as an example, if a touch operation on the time control 251 is detected, the second content in the second display mode may be switched from the content 25 to the second content in the first display mode (for example, the content 21 in fig. 3). The touch operation may include a click operation, or a double click operation, or a long-time press operation.
Further, in the case where the second display mode may have the aforementioned various embodiments, the controls included in the second content of the different embodiments may be different, and then in the case where the second content is displayed in the second display mode, the second content may be switched between the various embodiments. Alternatively, in the case of displaying the second content in the second display mode, if there is a switching operation acting on the second content, a control included in the second content in the second display mode may be switched. By way of example, taking a switching operation as a sliding operation in a specified direction as shown in fig. 10, if there is a sliding operation in a direction indicated by a broken line arrow shown in an upper image in fig. 9, the displayed content 24 may be switched to display the content 25 shown in a lower image in fig. 10. Alternatively, after the display of the content 25, if the sliding operation in the direction indicated by the broken arrow is continued to be detected, the display of the content 25 may be switched to the display of the content 24.
It should be noted that the foregoing second content of the first display mode and the second content of the second display mode are both exemplary, and controls included in the second content of the first display mode and the second display mode may be configured by a user.
As one way, in the case of displaying the second content in the second display mode, the ending target event may be realized by a touch operation acting on a control in the second content. For example, taking the second content of the second display mode as the content 24 as an example, if a touch operation on the audio bar 241 in the content 24 is detected, the incoming call on event may be ended. In the present embodiment, the touch operation for switching the second content in the second display mode to the second content in the first display mode is different from the touch operation for triggering the ending target event. And, a touch operation of switching the second content displayed in the second display mode to the second content displayed in the first display mode and a touch operation of triggering the ending target event may be configured by the user.
According to the content display control method provided by the embodiment, when the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce interference on the first content displayed in the full screen mode. In addition, in the embodiment, for the second content, different controls can be configured to display corresponding to different display modes, so that the diversity of content display switching is improved.
Referring to fig. 11, fig. 11 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
S310: and if the first content is displayed in a full-screen mode and the specified event is triggered, suspending and displaying third content on the first content, wherein the third content is the display content corresponding to the specified event.
It should be noted that, in this embodiment, the triggered event may include a specified event and a target event associated with the specified event. The target event associated with the specified event may include an event adjacent to the instruction event in terms of processing progress, then it is understood that the specified event is typically triggered first and then the target event. For example, the specified event may be an incoming call event, and then the event corresponding to the incoming call event in the processing progress may include an incoming call connection event. When the specified event triggers, the electronic device may also hover display the corresponding display content on the first content.
For example, as shown in fig. 12, when there is an incoming call event trigger, the third content 31 may be displayed in suspension on the game interface 20 as the first content. The third content 31 includes an incoming call object name, a control for answering a call, and a control for hanging up a call.
S320: and if the target event trigger associated with the specified event exists, updating the third content displayed in suspension to the second content.
For example, taking the target event as the incoming call event, when the third content 31 corresponding to the specified event may be displayed as shown in fig. 9 at the time of the specified event triggering, if the touch operation of the control for answering the call in the third content 31 is detected, it is determined that there is an incoming call event triggering associated with the incoming call event, and then the displayed third content 31 is switched to the second content 21 shown in the foregoing content.
S330: and if the reduction condition is met, reducing the display area of the second content.
In one embodiment, if there is a target event trigger associated with the specified event, before updating the third content displayed in suspension to the second content, the method further includes: and if the reduction condition corresponding to the third content is met, reducing the display area of the third content. For example, as shown in fig. 13, the third content 31 may be reduced in display area by reducing the size, thereby reducing the third content 31 from the display style shown in the upper image of fig. 10 to the display style shown in the lower image of fig. 10.
In the embodiment of the present application, the condition of shrinking corresponding to the third content may be understood as a condition that the electronic device automatically shrinks the display area of the third content. Wherein automatically reducing the display area of the third content may include automatically controlling to reduce the display area of the third content by the electronic device according to some trigger conditions (e.g., a reduction condition) without requiring the user to perform a touch operation on the third content.
It should be noted that different users may have different preferences for the same display mode. The user may edit a certain display mode of the third content according to his own preference so that the third content may be personalized for each user's preference.
According to the content display control method provided by the embodiment, when the first content is displayed in a full screen mode, after the second content which is displayed in a suspended mode in response to the triggering of the target event, if the second content which is displayed originally is switched to the third content which corresponds to the associated event after the triggering of the associated event which corresponds to the target event is triggered, the third content can be reduced under the condition that the reduction condition is met, so that the third content can play a prompting role and simultaneously reduce the interference on the first content which is displayed in the full screen mode. In addition, in the embodiment, for the third content, different controls can be configured to display corresponding to different display modes, so that the diversity of content display switching is improved.
Referring to fig. 14, fig. 14 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
s410: and if the first content is displayed in a full-screen mode and the target event is triggered, suspending and displaying the second content on the first content, wherein the second content is the display content corresponding to the target event.
S420: and if the reduction condition is met, reducing the display area of the second content.
In the embodiment of the present application, the display area of the second content is specifically reduced to what extent, which may be determined according to the actual situation.
In one manner, in the embodiment of the present application, the electronic device may determine the reduction degree of the second content according to the first content. It should be noted that the second content displayed may be content for controlling the running process of the target event. If the display area of the second content is reduced, there may be still some influence on the viewing or operation of the second content by the user, and in order to reduce the influence with a greater probability, the electronic device may determine, according to the current display content of the first content, the degree to which the second content is specifically reduced.
Alternatively, it may be determined to what extent the second content is specifically reduced according to the application to which the first content belongs. Wherein, the different reduction degrees can make the display area of the second content after being reduced different. In this way, the correspondence between the application program and the reduction degree may be stored in the electronic device, and then, before the second content needs to be reduced, the application program to which the first content belongs may be acquired, and then, the reduction degree corresponding to the application program to which the application program belongs is further acquired as the target degree, and then, in the process of reducing the second content, the second content is reduced to the target degree. For example, the electronic device stores the application program a corresponding to the reduction degree D1, the application program B corresponding to the reduction degree D2, the application program C corresponding to the reduction degree D3, and the application program D corresponding to the reduction degree D4 in advance.
In the process of determining the reduction degree, the application program to which the currently displayed first content belongs is determined to be the application program C, the reduction degree d3 corresponding to the application program C is obtained, the reduction degree d3 is taken as the target reduction degree, and the second content is reduced based on the reduction degree d 3. In this case, the second content is reduced based on the target reduction degree, and it is understood 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. Illustratively, the foregoing d1 may be 80%, d2 may be 60%, d3 may be 40%, and d4 may be 20%. Then, in the case where the target reduction degree is determined to be d3, the ratio of the display area of the reduced second content to the area before the second content is reduced is 0.4. For example, when the target reduction degree d4 is determined, the ratio of the display area of the reduced second content to the area before the second content is reduced is 0.2.
Wherein the first content is a full screen display content. Then in embodiments of the present application, the electronic device may detect the application running in the foreground to determine the application to which the first content belongs. Correspondingly, the electronic device may use the application running in the foreground as the application to which the first content belongs.
Alternatively, the degree of reduction of the second content may be determined from the content characterized by the first content itself. It should be noted that, even in the same application program, the user attention required for different interface contents may be different. For example, a game configuration interface, a game character selection interface, etc. in a game program do not require a user to perform timely operations, whereas a real-time game play interface requires a user to perform timely operations. Then the first content can be acquired whether to be the interface content which needs to be operated by the user in time before the second content is reduced, if the first content is determined to be the interface content which needs to be operated by the user in time, the second content can be reduced to the corresponding reduction degree of the interface content which needs to be operated by the user in time, if the first content is determined to be the interface content which does not need to be operated by the user in time, the second content can be reduced to the corresponding reduction degree of the interface content which does not need to be operated by the user in time.
The reduction degree is larger than the reduction degree corresponding to the interface content which is required to be operated in time and is not required to be operated in time when the reduction degree represents the ratio of the display area after the second content is reduced to the display area before the second content is reduced. For example, if the first content is determined to be the interface content requiring the user to perform the timely operation, the corresponding reduction degree may be determined to be 0.4, and if the first content is determined to be the interface content not requiring the user to perform the timely operation, the corresponding reduction degree may be determined to be 0.8.
In this manner, the application may be configured with an interface registration function, and correspondingly, the electronic device is also configured with an interface registration service. The application program can register the interface which needs to be operated by the user in time into the interface registration service of the electronic equipment through the interface registration function, so that the electronic equipment can acquire the interface which needs to be operated by the user in time. The electronic device may acquire whether the first content is the interface content that has been registered in the interface registration service before the second content needs to be reduced, if it is detected that the first content is the interface content that has been registered in the interface registration service, determine that the first content is an interface that needs to be timely operated by the user, so that a reduction degree corresponding to the interface that needs to be timely operated by the user may be taken as a target reduction degree, and if it is detected that the first content is not the interface content that has been registered in the interface registration service, determine that the first content is an interface that does not need to be timely operated by the user, so that a reduction degree corresponding to the interface that does not need to be timely operated by the user may be taken as the target reduction degree.
It should be noted that, the zoom-out degree shown in the foregoing description characterizes a ratio of a display area of the second content after zooming-out to a display area before zooming-out, and in the embodiment of the present application, there are at least two ways to zoom out the second content. One is to reduce the size as shown in fig. 4, and the other is to switch the display mode as shown in fig. 5 to reduce the display area. In this way, the display mode may be switched to a mode that may not match the currently determined target reduction level, and there may be no display mode that matches the determined target reduction level.
For example, the second content corresponds to a first display mode and a second display mode, wherein the ratio of the display area corresponding to the second 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 a reduction of the display area by switching the display modes, there is a possibility that an appropriate display mode cannot be adapted, and in order to improve the problem, as shown in fig. 15, the electronic device may perform the following steps after determining that the reduction condition is satisfied and between actually performing the reduction of the display area of the second content:
s421: detecting a current shrinking mode of the second content;
S422: if it is determined that the current manner of reducing the second content is to reduce the second content by reducing the size, it is further determined whether the reduction degree of the second content is determined by detecting an application program to which the first content belongs or whether the reduction degree is determined by detecting whether the first content is an interface that requires a user to perform timely operation.
In one embodiment, a zoom-out mode selection interface is provided in the electronic device, and a plurality of options are provided in the zoom-out mode selection interface, so that a user can select a desired zoom-out mode through the plurality of options. For example, the plurality of options include an option 1 and an option 2, wherein the option 1 corresponds to determining the reduction degree of the second content by detecting the application program to which the first content belongs, the option 2 corresponds to determining the reduction degree by detecting whether the first content is an interface requiring the user to perform timely operation, and then the electronic device detects the selected option in the option 1 and the option 2, and takes the reduction manner corresponding to the selected option as the reduction determination manner.
Alternatively, the electronic device may determine the specific manner of scaling down according to a query situation of an application program to which the first content belongs and a detection situation of an interface on which whether the first content is a desired user to perform timely operation.
It should be noted that, the application may not be configured with the reduction degree, but the application may register the interface content in the electronic device through the interface registration service of the electronic device, and the application may not register the interface content in the electronic device through the interface registration service of the electronic device, but the application may be configured with the reduction degree. Alternatively, if the electronic device detects that the application to which the first content belongs corresponds to a reduction degree, and the first content is not registered in the electronic device through the interface registration service, the electronic device may determine to determine the reduction degree of the second content by detecting the application to which the first content belongs.
Correspondingly, if the electronic device detects that the application program to which the first content belongs does not correspond to the reduced degree, and the first content is registered in the electronic device through the interface registration service, the electronic device can determine whether the first content is an interface which needs to be timely operated by a user or not to determine the reduced degree. Moreover, if the electronic device detects that the application program to which the first content belongs corresponds to the reduction degree, and the first content is registered in the electronic device through the interface registration service, the electronic device can determine a specific reduction mode by detecting an option determined by the user selecting the interface in the reduction mode, and if the electronic device detects that the user does not make a specific selection, the electronic device specifically reduces the second content according to a default reduction mode. In addition, if the electronic device detects that the application program to which the first content belongs does not correspond to the 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 a default reduction mode.
S423: if the determination is to determine the reduction degree of the second content by detecting the application program to which the first content belongs, the application program to which the first content belongs is acquired, and the reduction degree corresponding to the application program to which the first content belongs is acquired as the target reduction degree.
S424: if the determination is to determine the reduction degree by detecting whether the first content is an interface requiring the user to perform the timely operation, it is detected whether the first content is an interface content requiring the user to perform the timely operation.
S425: if the first content is determined to be the interface content which needs to be operated by the user in time, the reduction degree corresponding to the interface content which needs to be operated by the user in time is taken as the target reduction degree, otherwise, if the first content is determined to be the interface which does not need to be operated by the user in time, the reduction degree corresponding to the interface content which does not need to be operated by the user in time is taken as the target reduction degree.
S430: and if the expansion condition is met, expanding the display area of the second content.
In some cases, the display area of the reduced second content may be enlarged, so that the user may conveniently operate the second content. Also, in the embodiment of the present application, the expansion condition may include various implementations.
As one way, the method provided in this embodiment further includes: and if the touch operation on the second content is detected, determining that an expansion condition is met. For example, referring to fig. 5 again, if the touch operation on the content 21 is detected after the content 21 is reduced to the style shown in the lower image of fig. 5, the display area of the content 21 may be further enlarged to the style shown in the upper image of fig. 5. Similarly, referring to fig. 6 again, if the content 21 is switched to the display content 23 shown in the lower image in fig. 6, the content 23 is switched from the display content 21 shown in the upper image in fig. 6 after detecting the touch operation on the content 23.
Alternatively, the electronic device may determine whether the expansion condition is satisfied according to the change frequency of the first content. Alternatively, it is determined that the expansion condition is satisfied if it is detected that the frequency of change of the first content is smaller than the specified frequency. After the second content is displayed and when the zoom-out condition is satisfied, the second content is zoomed out in order to further reduce the interference of the second content on the first content. In some cases, however, the user may be more concerned with the second content after the second content is displayed, in which case, in order to facilitate the user's operation, whether the user is concerned with the first content may be determined based on the frequency of transformation of the first content after the second content is reduced, and if it is determined that the user is not concerned with the first content based on the frequency of transformation of the first content, it may be determined that the expansion condition is satisfied.
Wherein the transformation frequency may be the number of transformations of the first content within a specified length of time. The electronic device displays the frame unit when displaying the screen. If the electronic equipment detects that the contents of the current frame and the previous frame are inconsistent, the electronic equipment determines that one content transformation is detected, and then the ratio of the number of times of the transformation which occurs in the appointed duration to the appointed duration can be used as the transformation frequency. For example, if the first content is the interface content corresponding to the game program, if the change frequency of the first content is detected to be greater than the specified frequency, the change frequency of the first content may be higher, and a game fight interface that requires timely operation feedback from the user may be displayed, in which case the contracted second content is not expanded. For another example, if the frequency of change of the first content is detected to be smaller than the specified frequency, the frequency of change of the first content may be lower, and a game configuration interface that does not require the user to perform timely operation feedback may be displayed, in which case the scaled-down second content is scaled up.
It should be noted that, in the embodiment of the present application, the third content is a display content corresponding to an associated event corresponding to a target event, and how to determine the zoom-out manner and the zoom-out degree of the second content are still available in the process of zooming out the third content, so that the zoom-out manner and the zoom-out degree of the third content may be determined based on how to determine the zoom-out manner and the zoom-out degree of the second content. Correspondingly, the time when the third content with the reduced display area is enlarged can also be determined based on the determination of the enlargement mode of the second content.
According to the content display control method provided by the embodiment, when the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce interference on the first content displayed in the full screen mode. In addition, in the present embodiment, an enlargement condition may be further configured, so that the user may flexibly operate the second content to reduce and enlarge the display area.
Referring to fig. 16, fig. 16 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
s510: if the first content is displayed in a full-screen mode and a target event is triggered, suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event;
S520: if the first content is displayed in a full-screen mode and the target event is triggered, starting timing;
S530: and if the time length meets the specified time length, determining that the reduction condition is met, and reducing the display area of the second content.
As one way, the method further comprises: the specified duration is determined based on the type of the first content. It should be noted that, in some scenarios, it may be required that the second content can be reduced in display area more timely after the display is started, so as not to interfere with the display of the first content. For example, when the first content is the content of the game play interface, the user's attention is more in the game play process, and more timely shrinking the second content can be beneficial to improving the attention of the game play interface. In this way, the electronic device may also obtain whether the first content is an interface content that needs to be timely operated by the user, if the first content is an interface content that needs to be timely operated by the user, determining the time-counting specified duration with a specified duration corresponding to the interface content that needs to be timely operated by the user, and if the first content is an interface content that does not need to be timely operated by the user, determining the time-counting specified duration with a specified duration corresponding to the interface content that does not need to be timely operated by the user, as in the foregoing embodiment. The appointed time length corresponding to the interface content requiring the user to perform the timely operation is shorter than the appointed time length corresponding to the interface content not requiring the user to perform the timely operation.
According to the content display control method, under the condition that the first content is displayed in a full screen mode, timing is conducted when the second content is displayed in a suspended mode in response to the triggering of the target event, and after the time length of timing meets the specified time length, display area is reduced, so that the second content can play a prompting role and interference on the first content displayed in the full screen mode is reduced.
Referring to fig. 17, fig. 17 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
S610: and if the first content is displayed in a full-screen mode and the target event is triggered, suspending and displaying the second content in the first display mode on the first content, wherein the second content is the display content corresponding to the target event, and starting timing.
S620: and if the timed duration meets the specified duration, determining that the reduction condition is met, and switching the second content to be displayed in a second display mode, wherein the display area of the second content in the second display mode is smaller than that of the second content in the first display mode.
According to the content display control method, when the first content is displayed in the full screen mode, timing is conducted on the second content in the first display mode which is displayed in a suspended mode in response to the triggering of the target event, and after the time length of timing meets the specified time length, the display mode of the second content is switched to the second display mode, so that the second content can play a prompting role and interference on the first content in the full screen mode is reduced.
Referring to fig. 18, fig. 18 is a flowchart illustrating a content display control method according to an embodiment of the application, the method includes:
S710: and if the first content is displayed in a full-screen mode and the target event is triggered, suspending and displaying the second content in the first display mode on the first content, wherein the second content is the display content corresponding to the target event, and starting timing.
S720: and if the timed duration meets the specified duration, determining that the reduction condition is met, and switching the second content to be displayed in a second display mode, wherein the display area of the second content in the second display mode is smaller than that of the second content in the first display mode.
S730: and if the touch operation on the second content is detected, determining that an expansion condition is met.
Referring to fig. 19, fig. 19 shows a content display control apparatus 500 according to an embodiment of the application, which is operated in an electronic device, the apparatus 500 includes:
the content display unit 510 is configured to, if a first content is displayed in a full-screen mode and there is a target event trigger, suspend and display a second content on the first content, where the second content is a display content corresponding to the target event.
And a display control unit 520, configured to reduce the display area of the second content if the reduction condition is satisfied.
As one way, the content display unit 510 is specifically configured to hover-display the second content in the first display mode over the first content. Correspondingly, in this manner, the display control unit 520 is specifically configured to switch the second content to display in the second display mode, where 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 in the first display mode is different from the control included in the second content in the second display mode in function.
Optionally, the target event includes an incoming call event, the controls included in the second content in the first display mode include a first control and a second control, the first control is used for switching a call content playing mode, the second control is used for hanging up a call, the controls included in the second content in the second display mode include a third control, and the third control is used for displaying the change of call volume.
The display control unit 520 is further configured to, if the reduction condition is met, reduce the display area of the second content, further include: and if the expansion condition is met, expanding the display area of the second content. The display control unit 520 is further specifically configured to determine that the expansion condition is satisfied if a touch operation acting on the second content is detected.
As shown in fig. 20, the apparatus 500 further includes:
A timing unit 530, configured to start timing if the first content is displayed in full-screen mode and the target event is triggered, after the second content is displayed in suspension on the first content, if the first content is displayed in full-screen mode and the target event is triggered; and if the time length of the timing meets the specified time length, determining that the shrinkage condition is met. Wherein, optionally, the timing unit 530 is specifically configured to determine the specified duration based on the type of the first content.
In the content display control device provided in this embodiment, when a first content is displayed in full screen mode, if a target event trigger is detected, a second content corresponding to the target event is suspended and displayed on the first content, and when a reduction condition is met after the second content is displayed, the display area of the second content is reduced. Therefore, under the condition that the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce the interference on the first content displayed in the full screen mode.
It should be noted that, in the present application, the device embodiment and the foregoing method embodiment correspond to each other, and specific principles in the device embodiment may refer to the content in the foregoing method embodiment, which is not described herein again.
An electronic device according to the present application will be described with reference to fig. 21.
Referring to fig. 21, based on the above-mentioned content display control method and apparatus, another electronic device 200 capable of executing the above-mentioned content display control method is provided in the embodiment of the present application. The electronic device 200 includes one or more (only one shown in the figures) processors 102, memory 104, network module 106, and sensor module 108 coupled to each other. The memory 104 stores therein a program capable of executing the contents of the foregoing embodiments, and the processor 102 can execute the program stored in the memory 104.
Wherein the processor 102 may include one or more processing cores. The processor 102 utilizes various interfaces and lines to connect various portions of the overall electronic device 200, perform various functions of the electronic device 200, and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 104, and invoking data stored in the memory 104. Alternatively, the processor 102 may be implemented in hardware in at least one of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The processor 102 may integrate one or a combination of several of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for being responsible for rendering and drawing of display content; the modem is used to handle wireless communications. It will be appreciated that the modem may not be integrated into the processor 102 and may be implemented solely by a single communication chip.
The Memory 104 may include random access Memory (Random Access Memory, RAM) or Read-Only Memory (ROM). Memory 104 may be used to store instructions, programs, code sets, or instruction sets. The memory 104 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (e.g., a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described below, etc. The storage data area may also store data created by the terminal 100 in use (such as phonebook, audio-video data, chat-record data), etc.
The network module 106 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices, such as an audio playing device. The network module 106 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and the like. The network module 106 may communicate with various networks such as the Internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include a cellular telephone network, a wireless local area network, or a metropolitan area network. For example, the network module 106 may interact with base stations.
The sensor module 108 may include at least one sensor. Specifically, the sensor module 108 may include, but is not limited to: light sensors, motion sensors, pressure sensors, infrared thermal sensors, distance sensors, acceleration sensors, and other sensors.
Wherein the pressure sensor may detect the pressure generated by pressing against the electronic device 200. That is, the pressure sensor detects a pressure generated by contact or pressing between the user and the electronic device, for example, a pressure generated by contact or pressing between the user's ear and the mobile terminal. Thus, the pressure sensor may be used to determine whether contact or pressure has occurred between the user and the electronic device 200, as well as the magnitude of the pressure.
The acceleration sensor may detect the acceleration in each direction (typically, three axes), and may detect the gravity and direction when stationary, and may be used for recognizing the gesture of the electronic device 200 (such as horizontal-vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer, and knocking), and so on. In addition, the electronic device 200 may further be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, etc., which will not be described in detail herein,
Referring to fig. 22, a block diagram of a computer readable storage medium according to an embodiment of the present application is shown. The computer readable medium 800 has stored therein program code which can be invoked by a processor to perform the methods described in the method embodiments described above.
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 comprises a non-volatile computer readable medium (non-transitory computer-readable storage medium). The computer readable storage medium 800 has storage space for program code 810 that performs any of the method steps described above. The program code can be read from or written to one or more computer program products. Program code 810 may be compressed, for example, in a suitable form.
According to the content display control method, the device, the electronic equipment and the storage medium, when the first content is displayed in the full-screen mode, if the target event trigger is detected, the second content corresponding to the target event is suspended and displayed on the first content, and when the second content is displayed, the display area of the second content is reduced if the reduction condition is met. Therefore, under the condition that the first content is displayed in a full screen mode, the second content which is displayed in a suspended mode 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 and simultaneously reduce the interference on the first content displayed in the full screen mode. Moreover, the user can better cooperatively process the task corresponding to the first content and the task corresponding to the second content or the third content, and the multi-task cooperative processing efficiency is improved.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and are not limiting; although the application has been described in detail with reference to the foregoing embodiments, it will be appreciated by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not drive the essence of the corresponding technical solutions to depart from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (12)
1. A content display control method, characterized by being applied to an electronic device, comprising:
If the first content is displayed in a full-screen mode and a target event is triggered, suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event;
and if the reduction condition is met, reducing the display area of the second content, wherein the reduction condition comprises that touch operation on the first content is detected after the second content is displayed, and the reduction degree of the second content is determined according to the first content.
2. The method of claim 1, wherein the hovering display of the second content over the first content comprises: suspending and displaying second content of a first display mode on the first content;
the reducing the display area of the second content includes:
and switching the second content to display in a second display mode, wherein the display area of the second content in the second display mode is smaller than that of the second content in the first display mode.
3. The method of claim 2, wherein the second content includes a control corresponding to the target event, and wherein the second content of the first display mode includes a control having a different function than the control included in the second content of the second display mode.
4. The method of claim 1, wherein the reducing the display area of the second content comprises:
the second content is downsized.
5. The method of claim 1, wherein suspending the display of the second content on the first content if the first content is displayed in full screen mode and the targeted event triggers, comprises:
if the first content is displayed in a full-screen mode and a specified event is triggered, suspending and displaying third content on the first content, wherein the third content is the display content corresponding to the specified event;
And if the target event trigger associated with the specified event exists, updating the third content displayed in suspension to the second content.
6. The method of claim 5, wherein updating the third content of the floating display to the second content if there is a target event trigger associated with the specified event further comprises:
and if the reduction condition corresponding to the third content is met, reducing the display area of the third content.
7. The method according to any one of claims 1 to 6, wherein if the zoom-out condition is satisfied, the zooming out the display area of the second content further comprises:
and if the expansion condition is met, expanding the display area of the second content.
8. The method of claim 7, wherein the method further comprises:
And if the touch operation on the second content is detected, determining that an expansion condition is met.
9. The method of any of claims 1-6, wherein the target event comprises an incoming call event; and if the first content is displayed in a full-screen mode and the target event is triggered, suspending and displaying the second content on the first content, wherein the second content is the display content corresponding to the target event, and comprises the following steps:
And if the first content is displayed in a full-screen mode and the incoming call connection event is triggered, suspending and displaying the second content on the first content, wherein the second content is the display content corresponding to the incoming call connection event.
10. A content display control apparatus, operable in an electronic device, the apparatus comprising:
The content display unit is used for displaying first content in a full-screen mode and triggering a target event, and suspending and displaying second content on the first content, wherein the second content is the display content corresponding to the target event;
And the display control unit is used for reducing the display area of the second content if a reduction condition is met, wherein the reduction condition comprises that touch operation on the first content is detected 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 comprising one or more processors and memory; one or more programs are stored in the memory and configured to perform the method of any of claims 1-9 by the one or more processors.
12. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a program code, wherein the program code, when being executed by a processor, performs the method of any of claims 1-9.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110530340.5A CN115348354B (en) | 2021-05-14 | 2021-05-14 | Content display control method and device, electronic equipment and storage medium |
PCT/CN2022/087413 WO2022237459A1 (en) | 2021-05-14 | 2022-04-18 | Content display control method and apparatus, electronic device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110530340.5A CN115348354B (en) | 2021-05-14 | 2021-05-14 | Content display control method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115348354A CN115348354A (en) | 2022-11-15 |
CN115348354B true CN115348354B (en) | 2024-09-13 |
Family
ID=83947114
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110530340.5A Active CN115348354B (en) | 2021-05-14 | 2021-05-14 | Content display control method and device, electronic equipment and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115348354B (en) |
WO (1) | WO2022237459A1 (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810275A (en) * | 2018-06-08 | 2018-11-13 | 麒麟合盛网络技术股份有限公司 | A kind of information displaying method and device |
CN111176506A (en) * | 2019-12-25 | 2020-05-19 | 华为技术有限公司 | Screen display method and electronic equipment |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1655664A3 (en) * | 2004-10-06 | 2007-11-07 | International Business Machines Corporation | System and method for managing a floating window |
US20150326921A1 (en) * | 2014-05-08 | 2015-11-12 | Comigo Ltd. | System and method for providing an event-driven video/audio content platform |
CN104978201A (en) * | 2015-07-14 | 2015-10-14 | 安一恒通(北京)科技有限公司 | Method and device for controlling automatic pop-up window display |
CN107368361B (en) * | 2017-06-26 | 2019-08-20 | 中广热点云科技有限公司 | A kind of application program for mobile terminal switching method and system |
CN107656672A (en) * | 2017-09-29 | 2018-02-02 | 珠海市魅族科技有限公司 | A kind of information processing method and device, terminal and readable storage medium storing program for executing |
CN108156468A (en) * | 2017-09-30 | 2018-06-12 | 上海掌门科技有限公司 | A kind of method and apparatus for watching main broadcaster's live streaming |
CN108712673A (en) * | 2018-05-17 | 2018-10-26 | 上海掌门科技有限公司 | A kind of method and apparatus of video playing |
CN109005283B (en) * | 2018-06-29 | 2021-05-14 | Oppo(重庆)智能科技有限公司 | Method, device, terminal and storage medium for displaying notification message |
CN110362373A (en) * | 2019-06-29 | 2019-10-22 | 华为技术有限公司 | A kind of method and relevant device controlling screen wicket |
CN111596830B (en) * | 2020-05-15 | 2023-09-05 | 腾讯科技(深圳)有限公司 | Message reminding method and device |
-
2021
- 2021-05-14 CN CN202110530340.5A patent/CN115348354B/en active Active
-
2022
- 2022-04-18 WO PCT/CN2022/087413 patent/WO2022237459A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108810275A (en) * | 2018-06-08 | 2018-11-13 | 麒麟合盛网络技术股份有限公司 | A kind of information displaying method and device |
CN111176506A (en) * | 2019-12-25 | 2020-05-19 | 华为技术有限公司 | Screen display method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN115348354A (en) | 2022-11-15 |
WO2022237459A1 (en) | 2022-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110058828B (en) | Application program display method and device, electronic equipment and storage medium | |
CN108845853B (en) | Application program starting method and mobile terminal | |
CN109542287B (en) | Message reminding method and device, mobile terminal and storage medium | |
CN107943374B (en) | Method for starting application program in foldable terminal and foldable terminal | |
CN112363785A (en) | Terminal display method, terminal and computer readable storage medium | |
CN110750189B (en) | Icon display method and device | |
CN110162254B (en) | Display method and terminal equipment | |
CN110209452B (en) | Page display method of mobile terminal and mobile terminal | |
CN111127595A (en) | Image processing method and electronic device | |
JP5231361B2 (en) | Electronic equipment and information processing program | |
CN110045890A (en) | The display methods and terminal device of application identities | |
CN108304108B (en) | Icon display method of application program and mobile terminal | |
CN111399715B (en) | Interface display method and electronic equipment | |
CN110471524B (en) | Display control method and terminal equipment | |
CN110209324B (en) | Display method and terminal equipment | |
CN109800095B (en) | Notification message processing method and mobile terminal | |
CN111158815A (en) | Dynamic wallpaper fuzzy method, terminal and computer readable storage medium | |
CN110750200A (en) | Screenshot picture processing method and terminal equipment | |
CN113038141A (en) | Video frame processing method and electronic equipment | |
CN115348354B (en) | Content display control method and device, electronic equipment and storage medium | |
CN114879880A (en) | Electronic device, display method and medium for application thereof | |
CN109658926B (en) | Voice instruction updating method and mobile terminal | |
CN111210496B (en) | Picture decoding method, device and equipment | |
CN108509509B (en) | Webpage display method and device, mobile terminal and storage medium | |
CN115061767A (en) | Message reply method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |