CN112394806A - User interface display method and device, electronic equipment and storage medium - Google Patents
User interface display method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN112394806A CN112394806A CN202011377520.6A CN202011377520A CN112394806A CN 112394806 A CN112394806 A CN 112394806A CN 202011377520 A CN202011377520 A CN 202011377520A CN 112394806 A CN112394806 A CN 112394806A
- Authority
- CN
- China
- Prior art keywords
- user interface
- target area
- area
- content
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 230000004044 response Effects 0.000 claims description 15
- 230000000694 effects Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000011156 evaluation Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3234—Power saving characterised by the action undertaken
- G06F1/325—Power saving in peripheral device
- G06F1/3265—Power saving in display device
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a display method and device of a user interface, electronic equipment and a storage medium, and belongs to the technical field of electronics. The display method of the user interface comprises the following steps: acquiring a target area in a user interface, wherein the target area is a partial area of the user interface; and displaying the target content in the target area, and canceling the display of the rest area except the target area in the user interface. Therefore, the electronic equipment can normally display the target content, the electric quantity loss of the electronic equipment can be effectively reduced, and the effect of prolonging the residual service life of the electronic equipment is achieved.
Description
Technical Field
The application belongs to the technical field of electronics, and particularly relates to a display method and device of a user interface, electronic equipment and a storage medium.
Background
As electronic devices provide more and more application functions, people rely more and more on the electronic devices, and often use the electronic devices for a long time. However, the endurance of the electronic device is limited, so that the electronic device is often low in power and inconvenient for a user to charge the electronic device.
Disclosure of Invention
The embodiment of the application aims to provide a display method and device of a user interface, electronic equipment and a storage medium, and the problem that inconvenience is brought to a user due to the fact that the use of the existing electronic equipment needs to be suspended under the conditions that the electric quantity is low and the user is inconvenient to charge the electronic equipment can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a method for displaying a user interface, where the method includes:
acquiring a target area in a user interface, wherein the target area is a partial area of the user interface;
and displaying the target content in the target area, and canceling the display of the rest area except the target area in the user interface.
In a second aspect, an embodiment of the present application provides a display device of a user interface, where the device includes:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a target area in a user interface, and the target area is a partial area of the user interface;
and the first display module is used for displaying the target content in the target area and canceling the display of the rest area except the target area in the user interface.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions 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 the embodiment of the application, a target area in a user interface is obtained, wherein the target area is a partial area of the user interface; and displaying the target content in the target area, and canceling the display of the rest area except the target area in the user interface. That is to say, after the electronic device acquires the target area in the user interface, the target content to be displayed can be directly displayed in the target area, and the remaining area outside the target area is not displayed, so that the electronic device can normally display the target content, the power consumption of the electronic device can be effectively reduced, and the effect of prolonging the remaining service life of the electronic device is achieved.
Drawings
Fig. 1 is a flowchart of a display method of a user interface provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a display of a user interface provided in an embodiment of the present application;
FIG. 3 is a second schematic view of a display of a user interface provided in an embodiment of the present application;
FIG. 4 is a third schematic view of a user interface provided in the present application;
FIG. 5 is a fourth illustration of a display of a user interface provided by an embodiment of the present application;
FIG. 6 is a block diagram of a display device of a user interface provided in an embodiment of the present application;
FIG. 7 is a block diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a second structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described 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, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
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 following describes in detail a display method of a user interface provided in the embodiments of the present application with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, fig. 1 is a flowchart of a display method of a user interface provided in an embodiment of the present application. As shown in fig. 1, the display method of the user interface specifically includes the following steps:
The shape of the target area may be any shape such as a rectangle, a square, a circle, a triangle, etc., and the shape of the target area may be a default setting of the electronic device when the electronic device leaves a factory, or may be set by the electronic device according to a requirement of a user, which is not specifically limited in the present application. The method for acquiring the target area can be implemented by identifying the display content of the user interface by the electronic device, identifying the display content which is changing in the user interface, such as a webpage which is being dragged in a webpage window, a video which is being played in a video window, characters which are scrolling in an electronic book viewing window, pictures which are scrolling and playing in a photo viewing window, and the like, further identifying the display area corresponding to the content, and taking the identified display area as the target area; the target area may be acquired according to an input operation by the user.
In the embodiment of the application, the target area in the user interface can be acquired after the electronic device enters the target area acquisition mode. The mode of the electronic device entering the target area acquisition mode may be implemented by a shortcut menu of the electronic device, or may be implemented by one or more specific physical keys. For example, a user may enter a shortcut menu trigger operation at the user interface, and the electronic device displays a shortcut menu on the user interface in response to the trigger operation, and the shortcut menu may include a "partial display" control, as shown in fig. 2. And if the user clicks the 'partial display' control, the electronic equipment enters a target area acquisition mode.
In the target area obtaining mode, the electronic device may display a target area selection box on the user interface, an area enclosed by the target area selection box may be used as a target area, and the user may adjust the target area selection box to adjust the position and size of the target area. As another embodiment, the electronic device may also determine the target area through a gesture input by the user on the user interface, for example, the user may input a gesture with any closed shape on the user interface, where an area enclosed by the closed shape is the target area.
As another embodiment, in the target area intercepting mode, the electronic device may automatically take a display area of the target content of the user interface as the target area according to the display area of the target content. For example, assuming that a user is watching a certain video content using a partial area in the user interface in the target area intercepting mode, the electronic device may directly take the display area of the video content as the target area at this time.
And 102, displaying the target content in the target area, and canceling the display of the rest area except the target area in the user interface.
The target content may refer to a part of content of the user interface, for example, content in a web page window, content in a video window, content in an electronic book viewing window, content in a photo viewing window, and the like, and may refer to all content of the user interface, which is not specifically limited in the present application. When the target content is part of the user interface, the target content can be determined by the electronic device, or determined according to the input operation of the user on the user interface. If the content is determined by the electronic equipment, the electronic equipment is required to identify the display content of the user interface, identify the display content which is changing in the user interface, such as a webpage which is dragged in a webpage window, a video which is played in a video window, characters which are scrolling in an electronic book viewing window, pictures which are scrolling and playing in a photo viewing window, and the like, and take the part of the content as target content; and if the content is determined according to the input operation of the user on the user interface, taking the content in the selected area as the target content according to the selected area of the user on the user interface.
When the target content is the entire content of the user interface, the entire user interface may be scaled down, for example, to an equal scale.
After the target area is obtained, the electronic equipment controls the target area to display the target content, and the rest area except the target area is not displayed, so that the user interface enters a partial display state, the power consumption of the user interface can be effectively reduced, and the power of the electronic equipment is saved.
When the user interface is in a partial display state, the electronic device can also receive input operations of a user on the user interface, such as clicking, sliding and the like, so as to adjust the position and the size of the target area, and can also switch the display state of the user interface, and switch from the partial display state to the full-screen display state.
In this embodiment, after the electronic device acquires the target area in the user interface, the target content to be displayed may be directly displayed in the target area, and the display of the remaining area outside the target area is cancelled, so that the electronic device is ensured to normally display the target content, the power consumption of the electronic device is effectively reduced, and the effect of prolonging the remaining service life of the electronic device is achieved.
Further, after the step 102 of displaying the target content in the target area, the method further includes:
and 103, displaying the remaining use time length on the user interface, wherein the remaining use time length is used for indicating the use time length allowed by the current electric quantity under the condition that the display of the remaining area except the target area in the user interface is cancelled.
The remaining usage duration may be calculated according to the current remaining power of the electronic device and the size of the target area, and is used to indicate a duration allowed to be used by the current power when the display of the remaining area, except the target area, in the user interface is cancelled. The display mode of the remaining use duration can be in a text form, such as 'can also use XX minutes' and the like; or may be in the form of a dynamic icon, such as a bar-shaped bar for displaying the power. The display position of the remaining usage duration may be in the target area, or may be in an area outside the target area, which is not specifically limited in this application.
Of course, this step 103 may also be executed in synchronization with the step 102, that is, the remaining usage time period is displayed while the target content is displayed in the target area. .
In the embodiment, the remaining use duration is displayed on the user interface for prompting the user, so that the user can reasonably use the electronic equipment according to the current remaining use duration.
Further, displaying the remaining usage duration on the user interface, including:
receiving a first input of a user;
in response to the first input, the remaining usage time is displayed in a remaining area of the user interface other than the target area.
The first input may be an input of a user on the user interface, and the first input may be a click input, a slide input, a press input, or the like. Specifically, the input mode in the embodiments of the present application is not particularly limited, and may be any realizable mode.
In one embodiment, the electronic device may receive a first input from a user, and in response to the first input, display the remaining usage time in a remaining area of the user interface other than the target area. For example, when the user interface is in a partial display state, the user may click on a target area in the user interface, at this time, the remaining usage duration corresponding to the current remaining power and the display size of the current target area may be displayed above the target area, and a display diagram of the user interface is shown in fig. 4.
In this embodiment, the display of the remaining use duration is triggered by the first input of the user, so that the electronic device may not display the remaining use duration on the user interface when the first input of the user is not received, thereby further saving power consumption of the electronic device. In addition, the interference of the prompting information of the residual using time length on the target content of the target area is favorably reduced by displaying the residual using time length in the residual area except the target area.
Of course, after the remaining usage duration is displayed on the user interface, the electronic device may also cancel the display of the remaining usage duration based on an input operation of the user. Therefore, the residual using time can be displayed or canceled according to the needs of the user, and the user can conveniently check the residual using time.
Further, after displaying the remaining usage time on the user interface, the method further includes:
receiving a second input of the user;
adjusting the position of each boundary of the target area in response to the second input;
and updating the remaining use time length based on the adjusted target area.
The second input may be an input of the user on the user interface, and the second input may be a click input, a slide input, a press input, or the like. Specifically, the input mode in the embodiments of the present application is not particularly limited, and may be any realizable mode.
In an embodiment, the electronic device may receive a second input from the user, adjust the positions of the boundaries of the target area in response to the second input, and update the remaining usage time based on the adjusted target area. For example, when the user interface is in a partial display state, the user may drag each boundary of the target area, and adjust the position of each boundary, thereby implementing the adjustment of the size of the target area. When the size of the target area is increased, the display area of the user interface is increased, at the moment, the electric quantity loss of the electronic equipment is also increased synchronously, and the residual service life is shortened; when the size of the target area is reduced, the display area of the user interface is reduced, at this time, the power consumption of the electronic device is reduced synchronously, and the remaining service life is prolonged. Therefore, when the size of the target area is adjusted, the corresponding remaining usage time period can be synchronously acquired and displayed, so that the remaining usage time period is kept in the latest state. Therefore, the user can obtain the latest residual using time in real time, the display area is adjusted according to the latest residual using time, and the flexibility of controlling the residual using time is improved.
Further, after the step 102 of displaying the target content in the target area, the method further includes:
receiving a third input of the user;
moving a boundary position of the target area in response to a third input; the content displayed in the target area is not changed in the process of moving the boundary position of the target area, or the content displayed in the target area is adjusted in real time in the process of moving the boundary position of the target area.
The third input may be an input of the user on the user interface, and the third input may be a click input, a slide input, a press input, or the like. Specifically, the input mode in the embodiments of the present application is not particularly limited, and may be any realizable mode.
In an embodiment, the electronic device may receive a third input from the user, and in response to the third input, move the boundary position of the target area. Specifically, when the user interface is in a partial display state, the user may drag the target area to move in the user interface, and move the target area to a suitable position, which is convenient for the user to view.
It should be noted that the display content in the moved target area may be consistent with the original target content or inconsistent with the original target content, and the application is not limited specifically. For example, if the target area originally displays a certain video content, the evaluation information of the video is displayed below the target area (i.e., the area outside the target area), and the target area still displays the video content after the target area is moved downward, if the user needs to select the evaluation information of the video to display, the user needs to exit the current partial display state first, and newly select the area to which the evaluation information of the video belongs as a new target area. Of course, as another embodiment, the target content in the target area may be automatically changed according to the moving position of the target area, for example, after the target area is moved downward, the target area may display the evaluation information of the video.
In addition, the content displayed in the target area may be unchanged or adjusted in real time during the movement of the boundary position of the target area. For example, assuming that a current target area is playing a certain video content, and the target area is located at the lower right side of the user interface, at this time, the user wants to drag the display area of the target content to the middle of the user interface, during the dragging process, the video content may be paused, and after the dragging is finished, the video content continues to be played, so that it is avoided that the user is inconvenient to view the target content when performing the dragging operation, and misses important information content; of course, the target content can be adjusted in real time in the moving process according to the playing progress of the video, so that the target content is not interrupted, and the playing consistency of the target content is ensured. In this embodiment, the electronic device may receive an input from a user, and move the boundary position of the target area, so that different users can adjust the display position of the target content according to their own usage habits, and meanwhile, in the moving process of the boundary position of the target content in the user interface, the target content may be kept unchanged or adjusted in real time according to the user needs, thereby improving the user experience of the user.
Further, after the step 102 of displaying the target content in the target area, the method further includes:
displaying the virtual control on the user interface;
the virtual control comprises at least one of a screen capture control, a screen recording control, a dragging control, a rotating control and an exiting control.
Specifically, when the user interface is in a partial display state, a virtual control may also be displayed on the user interface, where the virtual control may be one or more of a screen capture control, a screen recording control, a dragging control, a rotating control, an exiting control, and the like, or a combination with other virtual controls, and the application is not particularly limited. In one embodiment, the virtual controls displayed on the user interface include a screen capture control, a screen recording control, a dragging control, a rotating control and an exiting control, and the display diagram of the user interface is shown in fig. 5. The screen capture control can be used for capturing a screen of the user interface, the capture area can be adjusted during screen capture, the capture area can be captured after the capture area is determined, and the capture area can comprise a target area and/or an area except the target area. The screen recording control can be used for recording the display content of the user interface, and the user can drag the target area in the recording process, so that the display position of the target content in the recorded video content can be changed in real time, and the recording flexibility and interestingness are improved. The dragging control can be used for moving the target area and moving the target area to any position of the user interface. The rotary control can be used for switching horizontal and vertical screens of the target area. The exit control may be used to exit a partial display state of the user interface, switching the user interface back to a full screen display state.
In the embodiment, various virtual controls are displayed on the user interface, so that the user can conveniently perform corresponding operations on the target area and the target content, the complexity of the user operation is simplified, and the user experience is further improved.
Further, the step 101 of acquiring the target area in the user interface includes:
when the residual capacity of the electronic equipment is smaller than or equal to a preset threshold and a user only uses a partial area of a user interface to watch the target content, taking the area where the target content is located as a target area;
the target content comprises content in a webpage window, content in a video window, content in an electronic book viewing window or content in a photo viewing window.
The preset threshold may be any value such as 10%, 20%, or 25%, and the application is not particularly limited. The electronic device determines a manner that the user views the target content only by using a partial region of the user interface, which may be by acquiring display content of the user interface and identifying the acquired display content, and when it is identified that the user interface includes a dynamically displayed partial region, for example, a web page window, a video window, an electronic book viewing window, a photo viewing window, or the like, it may be considered that the user views the target content only by using the partial region of the user interface; the determination may be performed by detecting a position of a trigger operation of the user, and if it is detected that the trigger operation of the user is limited to trigger control for a certain partial area, it may be considered that the user views the target content only using the partial area of the user interface.
In this embodiment, the electronic device may monitor the remaining power and the use state of the user interface, and when the remaining power of the electronic device is less than or equal to the preset threshold and the user views the target content only in a partial area of the user interface, the area where the target content is located may be used as the target area, and the remaining area except the target area may be cancelled. Therefore, when the electric quantity of the electronic equipment is low, the electronic equipment can automatically realize the partial display function of the user interface without manual switching of a user, and the effect of prolonging the residual service life of the electronic equipment is achieved. Especially, when the user may not notice that the power of the electronic device is low, the electronic device can intelligently realize partial display of the user interface to reduce power consumption, thereby improving the intelligence of the electronic device.
It should be noted that, in the display method of the user interface provided in the embodiment of the present application, the execution main body may be a display device of the user interface, or a control module in the display device of the user interface, for executing the display method of the user interface. In the embodiment of the present application, a method for executing a display of a user interface by using a display device of the user interface is taken as an example, and the display device of the user interface provided in the embodiment of the present application is described.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a display device of a user interface provided in an embodiment of the present application. As shown in fig. 6, the display device 600 of the user interface includes:
an obtaining module 601, configured to obtain a target area in a user interface, where the target area is a partial area of the user interface;
the first display module 602 is configured to display the target content in the target area and cancel display of a remaining area of the user interface except the target area.
Further, the display device 600 of the user interface further includes:
and the second display module is used for displaying the remaining use time length on the user interface, wherein the remaining use time length is used for indicating the use time length allowed by the current electric quantity under the condition that the display of the remaining area except the target area in the user interface is cancelled.
Further, the second display module includes:
the receiving submodule is used for receiving a first input of a user;
and the display sub-module is used for responding to the first input and displaying the remaining use time length in a remaining area except the target area in the user interface.
Further, the display device 600 of the user interface further includes:
the first receiving module is used for receiving a second input of the user;
an adjustment module for adjusting the position of each boundary of the target area in response to a second input;
and the updating module is used for updating the residual service life based on the adjusted target area.
Further, the display device 600 of the user interface further includes:
the second receiving module is used for receiving a third input of the user;
a moving module for moving a boundary position of the target area in response to a third input; and in the process of moving the boundary position of the target area, the content displayed in the target area is unchanged, or in the process of moving the boundary position of the target area, the content displayed in the target area is adjusted in real time.
Further, the display device 600 of the user interface further includes:
the third display module is used for displaying the virtual control on the user interface;
the virtual control comprises at least one of a screen capture control, a screen recording control, a dragging control, a rotating control and an exiting control.
Further, the obtaining module 601 is specifically configured to:
when the residual capacity of the electronic equipment is smaller than or equal to a preset threshold and a user only uses a partial area of a user interface to watch the target content, taking the area where the target content is located as a target area;
the target content comprises content in a webpage window, content in a video window, content in an electronic book viewing window or content in a photo viewing window.
The display device of the user interface in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device of the user interface in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device of the user interface provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to 5, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the embodiment of the display method of the user interface, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 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 processor 810 is configured to obtain a target area in the user interface, where the target area is a partial area of the user interface;
the display unit 806 is configured to display the target content in the target area, and cancel display of a remaining area of the user interface other than the target area.
Optionally, the display unit 806 is further configured to display the remaining usage duration on the user interface.
Optionally, a user input unit 807 for receiving a first input by a user;
the display unit 806 is further configured to display the remaining usage time period in a remaining area of the user interface other than the target area in response to the first input.
Optionally, a user input unit 807 for receiving a second input from the user;
a processor 810 further for adjusting a size of the target area in response to a second input; and updating the remaining use time length based on the adjusted size of the target area.
Optionally, a user input unit 807 for receiving a third input from the user;
the processor 810 is further configured to move the location of the target area in response to a third input.
Optionally, the display unit 806 is further configured to display the virtual control on the user interface;
the virtual control comprises at least one of a screen capture control, a screen recording control, a dragging control, a rotating control and an exiting control.
Optionally, the processor 810 is further configured to, when the remaining power of the electronic device is less than or equal to a preset threshold and the user views the target content only using a partial region of the user interface, take the region where the target content is located as the target region.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 1041 and a microphone 8042, and the Graphics processor 8041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 8061, and the display panel 8061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. A touch panel 8071, also referred to as a touch screen. The touch panel 8071 may include two portions of a touch detection device and a touch controller. Other input devices 8072 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 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
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 program or the instruction implements each process of the embodiment of the display method for a user interface, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device in the above embodiment. Readable storage media, including computer-readable storage media, such as Read-Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, etc.
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 each process of the above xxx method embodiment, and can achieve the same technical effect, and in order to avoid repetition, 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.
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 an … …" does not exclude the presence of other like elements 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. In addition, 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 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, an air conditioner, 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 (10)
1. A method for displaying a user interface, the method comprising:
acquiring a target area in a user interface, wherein the target area is a partial area of the user interface;
and displaying the target content in the target area, and canceling the display of the rest area except the target area in the user interface.
2. The method of claim 1, wherein after displaying the target content in the target area, further comprising:
and displaying the remaining use duration on the user interface, wherein the remaining use duration is used for indicating the permitted use duration of the current electric quantity under the condition that the display of the remaining area except the target area in the user interface is cancelled.
3. The method of claim 2, wherein displaying the remaining usage time on the user interface comprises:
receiving a first input of a user;
in response to the first input, displaying the remaining usage duration in a remaining area of the user interface other than the target area.
4. The method of claim 2, further comprising, after said displaying the remaining usage time on the user interface:
receiving a second input of the user;
adjusting the position of each boundary of the target area in response to the second input;
and updating the residual using time length based on the adjusted target area.
5. The method of claim 1, wherein after displaying the target content in the target area, further comprising:
receiving a third input of the user;
moving a boundary position of the target area in response to the third input; and in the process of moving the boundary position of the target area, the content displayed in the target area is unchanged, or in the process of moving the boundary position of the target area, the content displayed in the target area is adjusted in real time.
6. The method of claim 1, wherein after displaying the target content in the target area, further comprising:
displaying a virtual control on the user interface;
the virtual control comprises at least one of a screen capture control, a screen recording control, a dragging control, a rotating control and an exiting control.
7. The method of claim 1, wherein obtaining the target area in the user interface comprises:
when the residual capacity of the electronic equipment is smaller than or equal to a preset threshold and a user only uses a partial area of the user interface to view target content, taking the area where the target content is located as the target area;
the target content comprises content in a webpage window, content in a video window, content in an electronic book viewing window or content in a photo viewing window.
8. A display device for a user interface, the device comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring a target area in a user interface, and the target area is a partial area of the user interface;
and the first display module is used for displaying the target content in the target area and canceling the display of the rest area except the target area in the user interface.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the display method of the user interface according to any one of claims 1-7.
10. A readable storage medium, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the display method of the user interface according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011377520.6A CN112394806A (en) | 2020-11-30 | 2020-11-30 | User interface display method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011377520.6A CN112394806A (en) | 2020-11-30 | 2020-11-30 | User interface display method and device, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112394806A true CN112394806A (en) | 2021-02-23 |
Family
ID=74604813
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011377520.6A Pending CN112394806A (en) | 2020-11-30 | 2020-11-30 | User interface display method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112394806A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113076495A (en) * | 2021-03-31 | 2021-07-06 | 维沃移动通信有限公司 | Content display method, content display device, electronic equipment and storage medium |
CN114281284A (en) * | 2021-07-14 | 2022-04-05 | 海信视像科技股份有限公司 | Display apparatus and image display method |
CN115270181A (en) * | 2022-07-29 | 2022-11-01 | 北京字跳网络技术有限公司 | Information display method, device, equipment, computer readable storage medium and product |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140189583A1 (en) * | 2012-12-28 | 2014-07-03 | Wenlong Yang | Displaying area adjustment |
US20140344608A1 (en) * | 2013-05-16 | 2014-11-20 | Wenlong Wang | Automatically adjusting display areas to reduce power consumption |
US20170115722A1 (en) * | 2015-10-23 | 2017-04-27 | Samsung Electronics Co., Ltd. | Image displaying apparatus and method of operating the same |
-
2020
- 2020-11-30 CN CN202011377520.6A patent/CN112394806A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140189583A1 (en) * | 2012-12-28 | 2014-07-03 | Wenlong Yang | Displaying area adjustment |
US20140344608A1 (en) * | 2013-05-16 | 2014-11-20 | Wenlong Wang | Automatically adjusting display areas to reduce power consumption |
US20170115722A1 (en) * | 2015-10-23 | 2017-04-27 | Samsung Electronics Co., Ltd. | Image displaying apparatus and method of operating the same |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113076495A (en) * | 2021-03-31 | 2021-07-06 | 维沃移动通信有限公司 | Content display method, content display device, electronic equipment and storage medium |
CN113076495B (en) * | 2021-03-31 | 2024-06-21 | 维沃移动通信有限公司 | Content display method, device, electronic equipment and storage medium |
CN114281284A (en) * | 2021-07-14 | 2022-04-05 | 海信视像科技股份有限公司 | Display apparatus and image display method |
CN114281284B (en) * | 2021-07-14 | 2024-04-26 | 海信视像科技股份有限公司 | Display apparatus and image display method |
CN115270181A (en) * | 2022-07-29 | 2022-11-01 | 北京字跳网络技术有限公司 | Information display method, device, equipment, computer readable storage medium and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113157906B (en) | Recommendation information display method, device, equipment and storage medium | |
CN105955607B (en) | Content sharing method and device | |
KR102092690B1 (en) | Information acquisition method and device | |
CN111866423B (en) | Screen recording method for electronic terminal and corresponding equipment | |
CN106793046B (en) | Screen display adjusting method and mobile terminal | |
CN112135181B (en) | Video preview method and device and electronic equipment | |
CN107124508B (en) | Position adjusting method and device of suspension control, terminal and readable storage medium | |
EP3182716A1 (en) | Method and device for video display | |
CN112394806A (en) | User interface display method and device, electronic equipment and storage medium | |
EP2352079A1 (en) | Display device, and portable terminal | |
CN109828706B (en) | Information display method and terminal | |
CN110602565A (en) | Image processing method and electronic equipment | |
CN107613117A (en) | A kind of interface display method and mobile terminal based on multitask | |
CN110119239B (en) | Input method application display method and device | |
CN112929748B (en) | Video processing method, video processing device, electronic equipment and medium | |
CN111669506A (en) | Photographing method and device and electronic equipment | |
CN111770374B (en) | Video playing method and device | |
CN111177610A (en) | Material display method and device, electronic equipment and storage medium | |
WO2023116678A1 (en) | Desktop display method and apparatus, electronic device, and medium | |
CN113783995A (en) | Display control method, display control device, electronic apparatus, and medium | |
CN110968364A (en) | Method and device for adding shortcut plug-in and intelligent equipment | |
CN112836086A (en) | Video processing method and device and electronic equipment | |
CN113835577A (en) | Display method, display device, electronic equipment and storage medium | |
CN112148167A (en) | Control setting method and device and electronic equipment | |
CN113238693B (en) | Icon sorting method, icon sorting 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 |