CN115576514A - Content display method and device, electronic equipment and readable storage medium - Google Patents

Content display method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN115576514A
CN115576514A CN202211313997.7A CN202211313997A CN115576514A CN 115576514 A CN115576514 A CN 115576514A CN 202211313997 A CN202211313997 A CN 202211313997A CN 115576514 A CN115576514 A CN 115576514A
Authority
CN
China
Prior art keywords
screen
event
target
control
display
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.)
Pending
Application number
CN202211313997.7A
Other languages
Chinese (zh)
Inventor
程倩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211313997.7A priority Critical patent/CN115576514A/en
Publication of CN115576514A publication Critical patent/CN115576514A/en
Priority to PCT/CN2023/125989 priority patent/WO2024088216A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

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

Abstract

The application discloses a content display method and device, electronic equipment and a readable storage medium, and belongs to the technical field of communication. The method is applied to an electronic device at least provided with a first screen and a second screen, wherein the first screen is a foldable screen, and the first screen and the second screen are arranged oppositely, and the method comprises the following steps: under the condition that the folding angle of the first screen is within a preset angle range, displaying at least one event control on the first screen, wherein each event control is used for indicating an event of which the state can be changed; receiving a first input of a user to a target event control in at least one event control, wherein the target event control is used for indicating a target event; and in response to the first input, taking the target event as the display content of the second screen.

Description

Content display method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a content display method and device, an electronic device and a readable storage medium.
Background
At present, for an event of which the event state changes in a certain application program, a user needs to continuously follow up to check the event to know the changed result in real time.
For example, in an electronic device with a foldable screen, each time a user needs to view the event, the user needs to trigger the electronic device to be in an unfolded state through an input, trigger the electronic device to unlock through an input, trigger the electronic device to open the application program through an input, and trigger the electronic device to display an interface including the event through an input.
However, according to the above method, each time the event is displayed, the electronic device with the foldable screen needs to be triggered to be in the unfolded state, and the event needs to be triggered and displayed by multiple inputs of the user, which is too cumbersome.
Disclosure of Invention
An embodiment of the present application provides a content display method and apparatus, an electronic device, and a readable storage medium, which can solve the problem that the step of displaying an event by the electronic device each time is too complicated.
In a first aspect, an embodiment of the present application provides a content display method, which is applied to an electronic device having at least a first screen and a second screen, where the first screen is a foldable screen and the first screen is disposed opposite to the second screen, and the method includes: under the condition that the folding angle of the first screen is within a preset angle range, displaying at least one event control on the first screen, wherein each event control is used for indicating an event of which the state can be changed; receiving a first input of a user to a target event control in at least one event control, wherein the target event control is used for indicating a target event; and responding to the first input, and taking the target event as the display content of the second screen.
In a second aspect, an embodiment of the present application provides a content display apparatus, which includes at least a first screen and a second screen, where the first screen is a foldable screen and is disposed opposite to the second screen, and the apparatus includes a display module, a receiving module, and a processing module; the display module is used for displaying at least one event control on the first screen under the condition that the folding angle of the first screen is within a preset angle range, and each event control is used for indicating an event of which the state of the event can be changed; the receiving module is used for receiving first input of a user to a target event control in at least one event control, and the target event control is used for indicating a target event; and the processing module is used for responding to the first input received by the receiving module and taking the target event as the display content of the second screen.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, at least one event control can be displayed on a first screen under the condition that the folding angle of a foldable first screen is within a preset angle range, wherein each event control is used for indicating an event of which the event state can be changed; receiving a first input of a user to a target event control in the at least one event control, wherein the target event control is used for indicating a target event; and in response to the first input, treating the target event as display content of a second screen disposed opposite to the first screen. According to the scheme, the electronic equipment can display the at least one event control on the first screen under the condition that the folding angle of the first screen is within the preset angle range, and the target event of which the event state indicated by the target event control can be changed is used as the display content of the second screen arranged opposite to the first screen through the input of the user to the target event control in the at least one event control, so that the electronic equipment can directly display the target event in the second screen for the user to view, the electronic equipment does not need to be in the unfolding state firstly and can display the target event through multiple inputs of the user when the target event is displayed every time, and the step of displaying the event by the electronic equipment every time can be simplified.
Drawings
Fig. 1 is a flowchart of a content display method provided in an embodiment of the present application;
FIG. 2 is a schematic interface diagram of an application of a content display method provided in an embodiment of the present application;
FIG. 3 is a second schematic diagram of an interface applied to a content display method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a content display device provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of an electronic device provided by an embodiment of the application;
fig. 6 is a hardware schematic diagram of an electronic device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The content display method, device, electronic device and readable storage medium provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings by specific embodiments and application scenarios thereof.
For example, when a user needs to continuously follow up to view an event a (e.g., a target event in this embodiment) whose event state may change, an electronic device having a folding screen (e.g., a first screen in this embodiment) and a secondary screen (e.g., a second screen in this embodiment) may display N event controls (N is a positive integer, e.g., at least one event control in this embodiment) on the folding screen when a folding angle of the folding screen is within an angle range [ a, b ] (e.g., a preset angle range in this embodiment); and the event a is taken as the display content of the secondary screen through a single-click input (for example, the first input in the embodiment of the present application) of an event control a (for example, the target event control in the embodiment of the present application) for indicating the event a from the N event controls by the user. Therefore, the electronic equipment can directly display the event A in the secondary screen to enable a user to view the event A, the event A does not need to be displayed in an unfolded state and the event A needs to be displayed through multiple times of input of the user every time the event A is displayed, and therefore the step of displaying the event every time by the electronic equipment can be simplified.
An embodiment of the present application provides a content display method, and fig. 1 shows a flowchart of the content display method provided in the embodiment of the present application. As shown in fig. 1, a content display method provided in an embodiment of the present application may include steps 101 to 103 described below. The method is exemplarily described below by taking as an example that an electronic device having at least a first screen and a second screen performs the method, wherein the first screen is a foldable screen and the first screen is disposed opposite to the second screen.
Step 101, the electronic device displays at least one event control on a first screen under the condition that the folding angle of the first screen is within a preset angle range.
In an embodiment of the present application, each event control in the at least one event control is configured to indicate an event whose event state may change.
Optionally, in this embodiment of the present application, the event whose event state may change may be: any possible event such as a real-time step counting event (the number of steps is changed), a map navigation event (the position information is changed) or a blood pressure measurement event (the blood pressure value is changed).
Optionally, in this embodiment of the application, the application corresponding to the event may be an application in the first screen.
Optionally, in this embodiment of the present application, the event control may be: any possible controls, such as an image control, a text control, or a link control, that can indicate a corresponding event.
Optionally, in this embodiment of the present application, the link control may be: a card link control, an icon link control, a text link control, or the like.
Optionally, in this embodiment of the application, the electronic device may display an interface corresponding to the event control through input of the link control by the user, so that the user can view detailed event information of the corresponding event.
Alternatively, in the embodiment of the present application, the preset angle range may be any angle range of (0, 180 °), for example, the preset angle range is (60 °,80 °), or (45 °,75 °), and the like.
Optionally, in this embodiment of the application, the preset angle range may be default for the system, or may be set by the user according to a use requirement.
Optionally, in this embodiment of the application, the first screen may specifically be any foldable flexible screen such as a folding screen or a scroll screen.
Alternatively, in this embodiment of the present application, the step 101 may be specifically implemented by the following step 101 a.
Step 101a, in the process of folding the first screen, the electronic device displays at least one event control on the first screen under the condition that the folding angle of the first screen is within a preset angle range.
It can be understood that, in the process of folding the first screen by the electronic device, the folding angle of the first screen changes from large to small.
Optionally, in this embodiment of the application, if the folding angle of the first screen is within the preset angle range in a process of unfolding the first screen by the electronic device (i.e., the folding angle of the first screen changes from small to large), the electronic device does not display the at least one event control.
The content display method provided by the embodiment of the present application is exemplarily described below with reference to the drawings.
Exemplarily, assuming that the preset angle range is [ a1, a2] and the preset angle range includes an angle a, as shown in fig. 2, the electronic device displays an event control 22 and an event control 23 (i.e., at least one event control) in the screen 21 when the folding angle of the screen 21 is a during the folding of the screen 21 (i.e., the first screen).
In the embodiment of the application, because the electronic device can display the at least one event control on the first screen only when the folding angle of the first screen is within the preset angle range in the process of folding the first screen, it can be avoided that when a user needs to use the first screen of the electronic device (i.e., unfold the first screen), the folding angle of the first screen is within the preset angle range and displays at least one event control that is not needed by the user, so that the display flexibility of the electronic device can be improved.
Optionally, in this embodiment of the application, after the electronic device displays the at least one event control on the first screen, the electronic device may adjust the arrangement order of the at least one event control through input of a user, or delete an event control therein, so as to meet a use requirement of the user.
Step 102, the electronic device receives a first input of a user to a target event control in at least one event control.
In the embodiment of the application, the target event control is used for indicating a target event.
In the embodiment of the application, the first input is used for triggering the electronic device to select the event control, and an event corresponding to the selected event control is used as content displayed on the second screen. Optionally, in this embodiment of the application, the first input may be any possible form of input, such as a hovering input, a touch input, or a voice input.
Optionally, in this embodiment of the application, the second screen may be: and a sub-screen disposed opposite to the first screen.
It can be appreciated that when the folding angle of the first screen is 0 (i.e., the first screen is in the fully folded state), the first screen is not visible to the user and the second screen is visible to the user.
And 103, the electronic equipment responds to the first input, and the target event is used as the display content of the second screen.
Optionally, in this embodiment of the application, after the electronic device takes the target event as the display content of the second screen, the target event may be displayed in the second screen, so that the user can view the target event.
In the content display method provided by the embodiment of the application, because the electronic device can display at least one event control on the first screen under the condition that the folding angle of the first screen is within the preset angle range, and the target event of which the event state indicated by the target event control changes is taken as the display content of the second screen arranged opposite to the first screen through the input of the user to the target event control in the at least one event control, the electronic device can directly display the target event in the second screen for the user to view, and when the target event is not required to be displayed each time, the electronic device needs to be in the unfolding state and needs to display the target event through multiple inputs of the user, so that the step of displaying the event each time by the electronic device can be simplified.
Optionally, in this embodiment of the present application, the at least one event control corresponds to at least one event in the target event set in a one-to-one manner, and before the electronic device displays the at least one event control, the content display method provided in this embodiment of the present application may further include the following step 104.
And step 104, for each event in the at least one event, the electronic device generates an event control corresponding to the event according to the event information of the event, so as to obtain the at least one event control.
Optionally, in this embodiment of the present application, the target event set may be an important event list, and events in the important event list may be preset by the system or may be added by the user according to requirements.
For example, taking the event in the important event list as the preset system, the event may be a time pendant, a weather pendant, an application notification, or the like.
For another example, taking the event in the important event list as an example that the user adds the event according to the requirement, the user may add the event to the important event list through the input of the event adding interface; alternatively, when the electronic device runs an application corresponding to an event, the user may add the application and/or an interface (e.g., a map navigation interface or a step-counting interface) including the event to the important event list by inputting.
Optionally, in this embodiment of the application, when the folding angle of the first screen is within the preset angle range, for each event in the at least one event, according to event information of the event, the electronic device generates an event control corresponding to the event, so as to obtain the at least one event control.
Optionally, in this embodiment of the present application, the event information of the event may include: the name of the application program corresponding to the event, the application icon of the application program corresponding to the event, or the thumbnail of the interface corresponding to the event.
For example, taking the event information of the one event as the name of the application program corresponding to the event as an example, assuming that the one event is a navigation event, the event information of the navigation event is the name of the navigation application program corresponding to the navigation event.
Optionally, in this embodiment of the application, after obtaining the at least one event control, the electronic device may display the at least one event control in a lower half of the first screen, so that a user can view or use the at least one event control in the process of folding the first screen conveniently.
In the embodiment of the application, before the electronic device displays the at least one event control, for each event in the at least one event, according to the event information of the event, the event control corresponding to the event is generated, and the at least one event control corresponding to the at least one event in a one-to-one manner is obtained, so that it can be ensured that each generated event control can accurately indicate the corresponding event.
Optionally, in this embodiment of the present application, after the step 101, the content display method provided in this embodiment of the present application may further include a step 105 described below.
And 105, under the condition that the folding angle of the first screen is not within the preset angle range, the electronic equipment cancels display of at least one event control on the first screen.
Optionally, in this embodiment of the application, while the electronic device cancels display of the at least one event control, the electronic device may record the selected event control, the unselected event control, and the arrangement order of the at least one event control, so that when the event control is displayed again, the display priority of the event control is adjusted, and the event control is displayed with the adjusted display priority.
For other descriptions in the embodiments of the present application, reference may be made to the relevant descriptions in the above embodiments, and details are not repeated here to avoid repetition.
In the embodiment of the application, the electronic device can cancel the display of the at least one event control on the first screen under the condition that the folding angle of the first screen is not within the preset angle range, so that the display flexibility of the electronic device can be further improved.
Optionally, in this embodiment of the application, after the step 103, the content display method provided in this embodiment of the application may further include the following step 106 or step 107.
And 106, the electronic equipment keeps displaying the target event on the second screen under the condition that the second screen is in a bright screen state, and cancels displaying the target event on the second screen under the condition that the second screen is in an off screen state.
Optionally, in this embodiment of the application, the screen-lighting state may be: the electronic device may be in a bright screen state after the target event is used as the display content of the second screen and the second screen is turned off.
And step 107, the electronic device keeps displaying the target event on the second screen when the second screen is in the bright screen state, and keeps displaying the target event in the off screen interface of the second screen when the second screen is in the off screen state.
Optionally, in this embodiment of the present application, the screen-out interface may be: and an interface displayed in the second screen in a case where the second screen is in a screen-off state.
Optionally, in this embodiment of the application, when the second screen keeps displaying the target event, the electronic device may adjust the display size of the target event according to the size of the second screen, so that the display size of the target event is adapted to the second screen.
For example, as shown in fig. 3, the electronic device may adjust the display size of the event 32 (i.e., the target event) according to the size of the screen 31 (i.e., the second screen), and keep displaying the event 32 on the screen 31, so that the display size of the event 32 is adapted to the screen 31, thereby improving the display effect of the electronic device.
In the embodiment of the application, after the target event is used as the display content of the second screen, the electronic device can keep displaying the target event when the second screen is in the bright screen state, and does not display the target event when the second screen is in the off screen state; or the target event can be kept to be displayed when the second screen is in the bright screen state and the off screen state; the flexibility of the display of the electronic device can be further improved.
Optionally, in this embodiment, the target event is an event in the target application, and after the step 103, the content display method provided in this embodiment may further include the following step 108.
And step 108, the electronic equipment updates the display content of the second screen in real time according to the change information of the event state of the target event in the target application program.
Optionally, in this embodiment of the application, the target application may be an application running in the foreground or running in the background in the first screen.
It can be understood that when the event state of the target event in the target application program changes, the electronic device may update the target event after the event state change to the display content of the second screen according to the change information of the event state, so as to ensure that the event state of the target event displayed in the second screen is the latest update.
For example, assuming that the target application is a step counting application and the target event is a step counting interface in the step counting application, if the step counting number (i.e., the event status) in the step counting interface is changed from a to B, the electronic device may update the step counting interface including the step counting number a displayed in the second screen to the step counting interface including the step counting number B according to the change information of the step counting number. Therefore, the user can conveniently follow and view the latest step counting number interface in real time.
In the embodiment of the application, the electronic device can update the display content of the second screen in real time according to the change information of the event state of the target event in the target application program, so that the event state of the target event displayed in the second screen can be ensured to be updated recently, and a user can follow up in real time conveniently.
According to the content display method provided by the embodiment of the application, the execution main body can be a content display device. In the embodiment of the present application, a content display apparatus executing a content display method is taken as an example, and the content display apparatus provided in the embodiment of the present application is described.
In conjunction with fig. 4, an embodiment of the present application provides a content display apparatus 40, where the content display apparatus 40 includes a first screen and a second screen, the first screen is a foldable screen, and the first screen is disposed opposite to the second screen, and the content display apparatus 40 may include a display module 41, a receiving module 42, and a processing module 43. The display module 41 may be configured to display at least one event control on the first screen when the folding angle of the first screen is within a preset angle range, where each event control is used to indicate an event whose event state may change. The receiving module 42 may be configured to receive a first input from a user to a target event control of the at least one event control, where the target event control is used to indicate a target event. The processing module 43 may be configured to take the target event as the display content of the second screen in response to the first input received by the receiving module 42.
In a possible implementation manner, the display module 41 may be specifically configured to display the at least one event control on the first screen when the folding angle of the first screen is within the preset angle range in the process of folding the first screen.
In a possible implementation manner, the display module 41 may be further configured to cancel displaying the at least one event control on the first screen after the at least one event control is displayed on the first screen, if the folding angle of the first screen is not within the preset angle range.
In a possible implementation manner, the display module 41 may be further configured to, after the processing module 43 takes the target event as the display content of the second screen, in a case that the second screen is in a bright screen state, keep displaying the target event on the second screen, and in a case that the second screen is in an off screen state, cancel displaying the target event on the second screen; or, in the case that the second screen is in the bright screen state, the target event is kept displayed on the second screen, and in the case that the second screen is in the off screen state, the target event is kept displayed in the off screen interface of the second screen.
In a possible implementation manner, the at least one event control corresponds to at least one event in the target event set in a one-to-one manner. The processing module 43 may be further configured to, before the displaying module 41 displays the at least one event control on the first screen, generate, for each event in the at least one event, an event control corresponding to the event according to event information of the event, and obtain the at least one event control.
In a possible implementation manner, the target event is an event in the target application, and the content display device 40 may further include an update module. And an updating module, configured to update the display content of the second screen in real time according to the change information of the event state of the target event in the target application after the processing module 43 takes the target event as the display content of the second screen.
In the content display apparatus provided in the embodiment of the application, because the content display apparatus may display at least one event control on the first screen when the folding angle of the first screen is within the preset angle range, and use the target event, of which the event state indicated by the target event control is changed, as the display content of the second screen arranged opposite to the first screen through the input of the user to the target event control in the at least one event control, the content display apparatus may directly display the target event in the second screen for the user to view, and when the target event is not displayed each time, the target event needs to be displayed in an expanded state first and needs to be input by the user multiple times, so that the step of displaying the event each time may be simplified.
The content display device in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The content display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The content display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
As shown in fig. 5, an electronic device 500 is further provided in the embodiment of the present application, and includes a processor 501 and a memory 502, where the memory 502 stores a program or an instruction that can be executed on the processor 501, and when the program or the instruction is executed by the processor 501, the steps of the above-mentioned content display method embodiment are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 6 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The electronic device 1000 includes a first screen and a second screen, where the first screen is a foldable screen and the first screen and the second screen are disposed opposite to each other. The display unit 1006 may be configured to display at least one event control on the first screen when the folding angle of the first screen is within a preset angle range, where each event control is used to indicate an event whose event state may change. The user input unit 1007 may be configured to receive a first input from a user to a target event control in the at least one event control, where the target event control is used to indicate a target event. The processor 1010 may be configured to treat the target event as the display content of the second screen in response to the first input received by the user input unit 1007.
In a possible implementation manner, the display unit 1006 may be specifically configured to display the at least one event control on the first screen when the folding angle of the first screen is within the preset angle range in the process of folding the first screen.
In a possible implementation manner, the display unit 1006 may be further configured to, after the at least one event control is displayed on the first screen, cancel displaying the at least one event control on the first screen when the folding angle of the first screen is not within the preset angle range.
In a possible implementation manner, the display unit 1006 may be further configured to, after the processor 1010 takes the target event as the display content of the second screen, in a case that the second screen is in a bright screen state, keep displaying the target event on the second screen, and in a case that the second screen is in an off screen state, cancel displaying the target event on the second screen; or, in the case that the second screen is in the bright screen state, the target event is kept displayed on the second screen, and in the case that the second screen is in the off screen state, the target event is kept displayed in the off screen interface of the second screen.
In a possible implementation manner, the at least one event control corresponds to at least one event in the target event set in a one-to-one manner. The processor 1010 may be further configured to, before the display unit 1006 displays the at least one event control on the first screen, generate, for each event in the at least one event, an event control corresponding to the event according to event information of the event, and obtain the at least one event control.
In one possible implementation, the target event is an event in the target application. The processor 1010 may be further configured to update the display content of the second screen in real time according to the change information of the event status of the target event in the target application after the target event is used as the display content of the second screen.
In the electronic device provided in the embodiment of the application, because the electronic device can display the at least one event control on the first screen under the condition that the folding angle of the first screen is within the preset angle range, and use the target event, of which the event state indicated by the target event control is changed, as the display content of the second screen arranged opposite to the first screen through the input of the user to the target event control in the at least one event control, the electronic device can directly display the target event in the second screen for the user to view, and when the target event is not required to be displayed each time, the electronic device needs to be in the unfolding state first and needs to display the target event through multiple inputs of the user, so that the step of displaying the event each time by the electronic device can be simplified.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory 1009 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the process of the embodiment of the content display method is implemented, and the same technical effect can be achieved, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement the processes in the foregoing content display method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing content display method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (14)

1. A content display method applied to an electronic device having at least a first screen and a second screen, wherein the first screen is foldable, and the first screen is disposed opposite to the second screen, the method comprising:
under the condition that the folding angle of the first screen is within a preset angle range, displaying at least one event control on the first screen, wherein each event control is used for indicating an event of which the state can be changed;
receiving a first input of a user to a target event control in the at least one event control, wherein the target event control is used for indicating a target event;
and responding to the first input, and taking the target event as the display content of the second screen.
2. The method according to claim 1, wherein the displaying at least one event control on the first screen in the case that the folding angle of the first screen is within a preset angle range comprises:
in the process of folding the first screen, displaying the at least one event control on the first screen under the condition that the folding angle of the first screen is within the preset angle range.
3. The method of claim 1 or 2, wherein after the first screen displays the at least one event control, the method further comprises:
and under the condition that the folding angle of the first screen is not within the preset angle range, canceling the display of the at least one event control on the first screen.
4. The method according to claim 1 or 2, wherein after the target event is taken as the display content of the second screen, the method further comprises:
in the case that the second screen is in a bright screen state, the target event is kept displayed on the second screen, and in the case that the second screen is in an off screen state, the target event is cancelled to be displayed on the second screen;
alternatively, the first and second electrodes may be,
and under the condition that the second screen is in a bright screen state, the target event is kept displayed on the second screen, and under the condition that the second screen is in an off screen state, the target event is continuously kept displayed in an off screen interface of the second screen.
5. The method according to claim 1 or 2, wherein the at least one event control corresponds to at least one event in a target event set in a one-to-one manner;
the method further comprises, before the first screen displays at least one event control:
and for each event in the at least one event, generating an event control corresponding to the event according to the event information corresponding to the event to obtain the at least one event control.
6. The method according to any one of claims 1 to 5, wherein the target event is an event in a target application;
after the target event is taken as the display content of the second screen, the method further comprises:
and updating the display content of the second screen in real time according to the change information of the event state of the target event in the target application program.
7. A content display device at least comprises a first screen and a second screen, and is characterized in that the first screen is a foldable screen, the first screen and the second screen are oppositely arranged, and the device comprises a display module, a receiving module and a processing module;
the display module is used for displaying at least one event control on the first screen under the condition that the folding angle of the first screen is within a preset angle range, wherein each event control is used for indicating an event of which the state can be changed;
the receiving module is used for receiving a first input of a user to a target event control in the at least one event control, wherein the target event control is used for indicating a target event;
the processing module is used for responding to the first input received by the receiving module and taking the target event as the display content of the second screen.
8. The apparatus of claim 7,
the display module is specifically configured to display the at least one event control on the first screen when the folding angle of the first screen is within the preset angle range in the process of folding the first screen.
9. The apparatus according to claim 7 or 8,
the display module is further configured to cancel displaying the at least one event control on the first screen after the at least one event control is displayed on the first screen and when the folding angle of the first screen is not within the preset angle range.
10. The apparatus according to claim 7 or 8,
the display module is further configured to, after the processing module takes the target event as the display content of the second screen, keep displaying the target event on the second screen when the second screen is in a bright screen state, and cancel displaying the target event on the second screen when the second screen is in an off screen state; or, when the second screen is in a bright screen state, the target event is kept displayed on the second screen, and when the second screen is in an off screen state, the target event is kept displayed in an off screen interface of the second screen.
11. The apparatus according to claim 7 or 8, wherein the at least one event control corresponds to at least one event in a target event set one to one;
the processing module is further configured to, before the display module displays the at least one event control on the first screen, generate, for each event in the at least one event, an event control corresponding to the event according to event information corresponding to the event, and obtain the at least one event control.
12. The apparatus according to any one of claims 7 to 11, wherein the target event is an event in a target application, the apparatus further comprising an update module;
and the updating module is used for updating the display content of the second screen in real time according to the change information of the event state of the target event in the target application program after the processing module takes the target event as the display content of the second screen.
13. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the content display method according to any one of claims 1-6.
14. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the content display method according to any one of claims 1 to 6.
CN202211313997.7A 2022-10-25 2022-10-25 Content display method and device, electronic equipment and readable storage medium Pending CN115576514A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211313997.7A CN115576514A (en) 2022-10-25 2022-10-25 Content display method and device, electronic equipment and readable storage medium
PCT/CN2023/125989 WO2024088216A1 (en) 2022-10-25 2023-10-23 Content display method and apparatus, and electronic device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211313997.7A CN115576514A (en) 2022-10-25 2022-10-25 Content display method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN115576514A true CN115576514A (en) 2023-01-06

Family

ID=84586348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211313997.7A Pending CN115576514A (en) 2022-10-25 2022-10-25 Content display method and device, electronic equipment and readable storage medium

Country Status (2)

Country Link
CN (1) CN115576514A (en)
WO (1) WO2024088216A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088216A1 (en) * 2022-10-25 2024-05-02 维沃移动通信有限公司 Content display method and apparatus, and electronic device and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379484B (en) * 2018-09-19 2020-09-25 维沃移动通信有限公司 Information processing method and terminal
CN110035154B (en) * 2019-04-15 2021-02-02 珠海格力电器股份有限公司 Virtual key interaction method and system based on folding screen mobile terminal and mobile terminal
CN114741042A (en) * 2022-04-27 2022-07-12 维沃移动通信有限公司 Content display method and device
CN114911389A (en) * 2022-05-31 2022-08-16 维沃移动通信有限公司 Screen display method and device, electronic equipment and readable storage medium
CN115576514A (en) * 2022-10-25 2023-01-06 维沃移动通信有限公司 Content display method and device, electronic equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024088216A1 (en) * 2022-10-25 2024-05-02 维沃移动通信有限公司 Content display method and apparatus, and electronic device and readable storage medium

Also Published As

Publication number Publication date
WO2024088216A1 (en) 2024-05-02

Similar Documents

Publication Publication Date Title
CN112162665A (en) Operation method and device
WO2024088216A1 (en) Content display method and apparatus, and electronic device and readable storage medium
CN114518926A (en) Notification message display method and device, electronic equipment and medium
CN114518820A (en) Icon sorting method and device and electronic equipment
CN114741042A (en) Content display method and device
CN116107531A (en) Interface display method and device
CN116521293A (en) Interface display method and device
CN114244952B (en) Alarm clock processing method and device, electronic equipment and medium
CN114580015A (en) Privacy processing method and device and electronic equipment
CN115640092A (en) Interface display method and device, electronic equipment and readable storage medium
CN115729544A (en) Desktop component generation method and device, electronic equipment and readable storage medium
CN114827737A (en) Image generation method and device and electronic equipment
CN115357172A (en) Content display method and device
CN114895815A (en) Data processing method and electronic equipment
CN115562539A (en) Control display method and device, electronic equipment and readable storage medium
CN114416269A (en) Interface display method and display device
CN114115639A (en) Interface control method and device, electronic equipment and storage medium
CN114721565A (en) Application program starting method and device, electronic equipment and storage medium
CN114564921A (en) Document editing method and device
CN114519212A (en) Information display method and device
CN114579233A (en) Desktop deformer display method and device, electronic equipment and storage medium
CN113867864A (en) Information display method and device, electronic equipment and readable storage medium
CN115268815A (en) Interface display method and device and electronic equipment
CN115665321A (en) Display control method and device
CN116132568A (en) Operation execution method and device

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