Movatterモバイル変換


[0]ホーム

URL:


CN111026480A - A content display method and electronic device - Google Patents

A content display method and electronic device
Download PDF

Info

Publication number
CN111026480A
CN111026480ACN201911185778.3ACN201911185778ACN111026480ACN 111026480 ACN111026480 ACN 111026480ACN 201911185778 ACN201911185778 ACN 201911185778ACN 111026480 ACN111026480 ACN 111026480A
Authority
CN
China
Prior art keywords
content
target
page
layout
input
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
CN201911185778.3A
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 LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201911185778.3ApriorityCriticalpatent/CN111026480A/en
Publication of CN111026480ApublicationCriticalpatent/CN111026480A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Classifications

Landscapes

Abstract

The embodiment of the invention provides a content display method and electronic equipment, which are applied to the technical field of communication and are used for solving the problem that the content display effect of the electronic equipment in a one-hand operation scene is single. The method comprises the following steps: receiving a first input of a user for target content in a first page; in response to a first input, displaying target content in a target area of a screen in a first layout manner; the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content in the first page, the first layout mode and the second layout mode are the same; under the condition that the target content is all the content in the first page, the first layout mode and the second layout mode are different; the second layout mode is a layout mode of different sub-contents in the target content in the first page. The method is particularly applied to a scene that a user operates the electronic equipment with one hand.

Description

Content display method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a content display method and electronic equipment.
Background
With the wide application of the full-screen in intelligent electronic devices such as mobile phones and tablet computers, the size of the screen in the electronic device is larger and larger. Wherein, in some scenarios, a user may desire to operate the electronic device with one hand. At this time, due to the large screen size in the electronic device, the finger of the user cannot touch some areas in the screen, and the content in the entire page displayed on the screen cannot be operated with one hand.
Specifically, in a current scenario in which a user operates the electronic device with one hand, the electronic device may reduce the entire page displayed on the screen, so that the user can operate the reduced page with one hand. However, as the whole page displayed by the electronic device is reduced, all the content in the page is reduced in proportion, which results in a single effect of displaying the content in the one-handed operation scene by the electronic device.
Disclosure of Invention
The embodiment of the invention provides a content display method and electronic equipment, and aims to solve the problem that the effect of displaying content in a one-hand operation scene of the electronic equipment is single.
In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides a content display method applied to an electronic device, where the method includes: receiving a first input of a user for target content in a first page; in response to a first input, displaying target content in a target area of a screen in a first layout manner; the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content in the first page, the first layout mode and the second layout mode are the same; under the condition that the target content is all the content in the first page, the first layout mode and the second layout mode are different; the second layout mode is a layout mode of different sub-contents in the target content in the first page.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes: the device comprises a receiving module and a display module; the receiving module is used for receiving a first input of a user for target content in the first page; the display module is used for responding to the first input received by the receiving module and displaying the target content in the target area of the screen according to a first layout mode; the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content in the first page, the first layout mode and the second layout mode are the same; under the condition that the target content is all the content in the first page, the first layout mode and the second layout mode are different; the second layout mode is a layout mode of different sub-contents in the target content in the first page.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and when executed by the processor, the computer program implements the steps of the content display method according to the first aspect.
In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the content display method according to the first aspect.
In the embodiment of the invention, the target content can be displayed in the target area of the screen in the first layout mode through the first input of the user aiming at the target content in the first page. The target content can be all content in the first page or part of content in the first page, and the diversity of content displayed by the electronic equipment in a one-hand operation scene is improved. In addition, under the condition that the target content is part of content in the first page, the occupied area of the part of content in the first page is smaller, so that the target content can be displayed in the first layout mode which is the same as the second layout mode, the display effect of the target content is ensured, and meanwhile, the user can conveniently operate the target content in the target area by one hand. In addition, when the target content is all the content in the first page, the first layout mode is different from the second layout mode, but the layout mode of the target content is not fixed and the equal scaling down is performed on all the sub-content in the target content, so that the diversity of the content displayed by the electronic equipment in the one-hand operation scene is further improved.
Drawings
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating a content display method according to an embodiment of the present invention;
fig. 3 is a schematic diagram of display contents of an electronic device according to an embodiment of the present invention;
fig. 4 is a second schematic diagram of the display content of the electronic device according to the embodiment of the invention;
fig. 5 is a third schematic diagram of display contents of an electronic device according to an embodiment of the present invention;
FIG. 6 is a fourth schematic diagram illustrating display contents of an electronic device according to an embodiment of the present invention;
fig. 7 is a fifth schematic view of display contents of an electronic device according to an embodiment of the present invention;
FIG. 8 is a sixth schematic view of the display content of the electronic device according to the embodiment of the present invention;
fig. 9 is a seventh schematic diagram of display contents of an electronic device according to an embodiment of the present invention;
fig. 10 is an eighth schematic diagram of display contents of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a possible electronic device according to an embodiment of the present invention;
fig. 12 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 invention.
It should be noted that "/" in this context means "or", for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. "plurality" means two or more than two.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first input and the second input, etc. are for distinguishing different inputs, rather than for describing a particular order of inputs.
According to the content display method provided by the embodiment of the invention, the target content can be displayed in the target area in the screen according to the first layout mode through the first input of the target content in the first page by the user. The target content can be all content in the first page or part of content in the first page, and the diversity of content displayed by the electronic equipment in a one-hand operation scene is improved. In addition, under the condition that the target content is part of content in the first page, the area occupied by the part of content in the first page is smaller, so that the target content can be displayed in the first layout mode which is the same as the second layout mode, the display effect of the target content can be ensured, and meanwhile, the target content can be conveniently obtained through one-hand operation in the target area by a user. In addition, in the case that the target content is all the content in the first page, the first layout mode is different from the second layout mode, but the layout mode of the target content is not fixed so as to perform the equal scaling down on all the sub-content in the target content, so that the diversity of the content displayed by the electronic equipment in the one-hand operation scene is further improved.
The electronic device in the embodiment of the invention can be a mobile electronic device or a non-mobile electronic device. The mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc.; the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, or the like; the embodiments of the present invention are not particularly limited.
It should be noted that, in the content display method provided in the embodiment of the present invention, the execution main body may be an electronic device, or a Central Processing Unit (CPU) of the electronic device, or a control module in the electronic device for executing the content display method. In the embodiment of the present invention, an electronic device executes a content display method as an example, to describe the content display method provided in the embodiment of the present invention.
The electronic device in the embodiment of the present invention may be an electronic 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 invention are not limited in particular.
The following describes a software environment to which the content display method provided by the embodiment of the present invention is applied, by taking an android operating system as an example.
Fig. 1 is a schematic diagram of an architecture of a possible android operating system according to an embodiment of the present invention. In fig. 1, the architecture of the android operating system includes 4 layers, which are respectively: an application layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, a Linux kernel layer).
The application program layer comprises various application programs (including system application programs and third-party application programs) in an android operating system.
The application framework layer is a framework of the application, and a developer can develop some applications based on the application framework layer under the condition of complying with the development principle of the framework of the application. For example, applications such as a system setup application, a system chat application, and a system camera application. And the third-party setting application, the third-party camera application, the third-party chatting application and other application programs.
The system runtime layer includes libraries (also called system libraries) and android operating system runtime environments. The library mainly provides various resources required by the android operating system. The android operating system running environment is used for providing a software environment for the android operating system.
The kernel layer is an operating system layer of an android operating system and belongs to the bottommost layer of an android operating system software layer. The kernel layer provides kernel system services and hardware-related drivers for the android operating system based on the Linux kernel.
Taking an android operating system as an example, in the embodiment of the present invention, a developer may develop a software program for implementing the content display method provided in the embodiment of the present invention based on the system architecture of the android operating system shown in fig. 1, so that the content display method may operate based on the android operating system shown in fig. 1. That is, the processor or the electronic device may implement the content display method provided by the embodiment of the present invention by running the software program in the android operating system.
The content display method provided by the embodiment of the present invention is described in detail below with reference to the flowchart of the content display method shown in fig. 2. Wherein, although a logical order of content display methods provided by embodiments of the present invention is illustrated in a method flow diagram, in some cases, the steps shown or described may be performed in an order different than here. For example, the content display method illustrated in fig. 2 may include S201 and S202:
s201, the electronic equipment receives a first input of a user aiming at the target content in the first page.
And the target content is all or part of the content in the first page.
For example, in the embodiment of the present invention, the first page may be a desktop in the electronic device or a page in an application program (hereinafter, referred to as an application) such as a chat page in a chat application, a search page in a search application, or a news listing page in a news application. Of course, the first page includes, but is not limited to, the page in the above example, and may also be other pages provided for the electronic device, which is not specifically limited in this embodiment of the present invention.
Optionally, the target content is preset by the electronic device or is user-defined. The target content may be content that is required to be operated by the user in the first page.
For example, in the case where the target content is content preset in the first page, the target content may be all content in the first page. In the case that the target content is user-defined content in the first page, the target content may be part of content in the first page.
Optionally, the first page may be a page displayed when the electronic device receives the first input, or a page selected by the first input and not currently displayed.
For example, the first input may be used to obtain the target content from the first page and trigger the electronic device to display the target content, that is, trigger the electronic device to display the target content in a scenario where the user needs to operate the electronic device with one hand.
The first input may be a touch screen input, a fingerprint input, a gravity input, a key input, or the like. The touch screen input is input such as a press input, a long press input, a slide input, a click input, a hover input (an input by a user near the touch screen) of a touch screen of the electronic device by the user. The fingerprint input is input by a user to a sliding fingerprint, a long-time pressing fingerprint, a single-click fingerprint, a double-click fingerprint and the like of a fingerprint recognizer of the electronic equipment. The gravity input is input such as shaking of the electronic equipment in a specific direction, shaking of the electronic equipment for a specific number of times and the like by a user. The key input corresponds to a single-click input, a double-click input, a long-press input, a combination key input, and the like, of a user for a key of a power key, a volume key, a Home key, and the like of the electronic device. Specifically, the embodiment of the present invention does not specifically limit the manner of the first input, and may be any realizable manner.
Optionally, in the embodiment of the present invention, the electronic device may provide a single-hand operation mode, which is used for supporting a user to operate the electronic device with a single hand. Specifically, the electronic device may display the target content in a certain area of the screen (such as a target area described below) instead of displaying the target content on the entire screen in the case of the one-handed operation mode.
It is emphasized that the target area of the screen is the small screen area of the electronic device in the one-handed operation mode, not the area of the whole screen.
Optionally, in the embodiment of the present invention, the electronic device supports a user to control the electronic device to set the one-handed operation mode.
For example, the electronic device may provide a setting option for setting the one-handed operation mode in the system setting application for setting the one-handed operation mode. Alternatively, the electronic device may provide some shortcuts for setting the one-handed operation mode.
Specifically, the electronic device may support the user to select whether to turn on the single-handed operation mode, and parameters of the target area in the single-handed operation mode, such as a position and a size of the target area on the screen. For example, the target area may be located adjacent to a side edge on the screen, such as upper left, middle left, lower left, upper right, middle right, or lower right on the screen.
For example, a setup application in an electronic device may provide switch options and position options. The switch option is used for indicating to trigger the electronic equipment to select whether to start the one-hand operation mode; the location option is used for indicating the position of the target area on the screen, which is triggered by the electronic equipment to select.
Fig. 3 is a schematic view of display content of an electronic device according to an embodiment of the present invention. After the user inputs themenu option 31 in the "one-handed operation"menu option 31 in the setting application of the electronic device shown in fig. 3 (a), the electronic device may display a plurality of setting options of the one-handed operation mode, including aswitch option 32, an "upper left"option 33, a "middle left" option 34, a "lower left" option 35, an "upper right" option 36, a "middle right" option 37, and a "lower right" option 38, as shown in fig. 3 (b). Specifically, the user may input various options shown in (b) of fig. 3 to support the electronic device to set the one-handed operation mode, such as triggering the one-handed operation mode to be turned on through theswitch option 32, and setting the position of the target area in the screen through the "left middle" option 34.
For example, the electronic device may select whether to turn on the one-handed operation mode through a preset input of the user on the screen, and trigger the electronic device to select a display position of the target area on the screen. For example, a user's double-finger long-press input at the middle left position of the screen may touch the electronic device to turn on the one-handed operation mode and set the target area at the middle left position on the screen.
For example, in a case that the target content is all content in the first page, the first input may be an input that triggers the electronic device to start the one-handed operation mode, such as the first input is the preset input.
S202, responding to the first input, and displaying target content in a target area of a screen by the electronic equipment according to a first layout mode.
Wherein the size of the target area is smaller than the display size of the first page on the screen, and the target area is an area used for one-handed operation.
It is emphasized that the layout manner provided by the embodiment of the present invention may be a User Interface (UI) layout. The UI layout refers to the overall design of human-computer interaction, operation logic and attractive interface of software. In particular, the UI may be a medium for interaction and information exchange between the system and the user of the electronic device, which enables conversion between an internal form of information and a user-acceptable form. Human interaction and graphical user interfaces, such as including some functionality controls, are typically included in the UI layout.
It should be noted that the second layout method is a layout method of different sub-contents in the target content in the first page. And when the target content is part of the content in the first page, the first layout mode and the second layout mode are the same. When the target content is all the content in the first page, the first layout mode is different from the second layout mode.
For example, in the embodiment of the present invention, a layout manner (e.g., the first layout manner or the second layout manner) of a content may be used to indicate parameters such as a display size, a display order, a display format, and a display manner of each sub-content in the content. The display mode may include a scrolling mode, a tiling mode, and the like.
In the embodiment of the present invention, when the first layout method is the same as the second layout method, the display size of the entire target content displayed in the first layout method and the display size of the entire target content displayed in the second layout method are in an equal-scale relationship. And the layout between different sub-contents in the target content displayed in the first layout manner is the same as the layout between different sub-contents in the target content displayed in the first layout manner.
In addition, when the first layout method is different from the second layout method, the layout between different sub-contents in the target content displayed in the first layout method is different from the layout between different sub-contents in the target content displayed in the first layout method. For example, the display size of some sub-contents is reduced and the display size of other sub-contents is unchanged in the target contents displayed in the first layout manner as compared with the target contents displayed in the second layout manner.
Inapplication scenario 1, the target content is a portion of the content in the first page. And displaying the different sub-contents in the target content in the target area according to the second layout mode without changing the layout among the different sub-contents in the target content. For example, the electronic device controls the display size of the target content to be scaled down equally without changing the layout of different sub-content in the target content.
In application scenario 2, the target content is the entire content in the first page. The electronic device may lay out the target content to display the target content in the target area according to the first layout mode because the area occupied by the target content in the first page is large. Obviously, the electronic device does not perform an overall equal-scale reduction on all the content in the first page (i.e., the target content), but rather re-lays out different content in the target content.
However, in a scene in which the electronic device reduces the page displayed on the screen in its entirety, all the content in the page is reduced in scale, that is, the display size of all the content in the page is reduced in scale, that is, the arrangement format between different sub-content in the page is not changed.
It can be understood that, in a scenario where the user operates the electronic device with one hand, the user needs not only to operate the target content with one hand, but also needs a better display effect of the target content, for example, the display of the target content has diversity, or the display size of the target content is larger.
Optionally, in the embodiment of the present invention, when the electronic device displays the target content in the target area, the electronic device may display the content or not display the content in an area other than the target area on the screen. For example, the electronic device blurs the content displayed in the other area before receiving the first input, or does not display the content with the other area as a blank area.
Optionally, in the embodiment of the present invention, the size of the target area may support that the user touches any position in the target area when holding the electronic device with one hand, so as to operate the target content displayed in the target area.
For example, inscenario 1 provided by the embodiment of the present invention, the size of the target area may be the size of the target content in the first page. In scenario 2, the size of the target area may be preset.
The content display method according to the embodiment of the present invention is explained below with reference to fig. 4 and 5.
For example, as shown in fig. 4 (a), a page displayed on a screen by the electronic device is a desktop page, the page includes icons of applications a 1-a 6, and a layout manner of the icons of applications a 1-a 6 in the page is denoted aslayout manner 1. After the user makes a double-finger-length press input (i.e., a first input) on the screen, as shown in fig. 4 (b), the electronic device may display icons of applications a1 through a6 after re-layout in the target area K, and the layout manner of the icons of applications a1 through a6 in the target area K is denoted as layout manner 2. In this case, the icons of the applications a1 to a6 may be the target contents and all the contents in the page shown in fig. 4 (a), and thelayout method 1 may be the first layout method, and the layout method 2 may be the second layout method, which are different from each other. Specifically, although the display sizes of the icons a1 to a6 are the same as those of the icons a1 to a6 indicated by thelayout method 1, the icons a1 to a6 indicated by thelayout method 1 are laid out in two rows and three columns, and the icons a1 to a6 indicated by the layout method 2 are laid out in three rows and two columns.
Illustratively, as shown in (a) of fig. 5, the electronic device includes a field B1, a picture B2 and a field B3 in a page displayed on the screen, and the layout manner of these contents may be denoted as layout manner 3. After the user makes a double-finger-length press input (i.e., a first input) on the screen, the electronic device may display the field B1, the picture B2, and the field B3 after the layout is completed in the target area K, as shown in fig. 5 (B), and the layout of these contents is denoted as layout 4. At this time, the field B1, the picture B2, and the field B3 may be target content, and are all content in the page shown in (a) in fig. 5, and the layout mode 3 may be a first layout mode, and the layout mode 4 may be a second layout mode, the first layout mode being different from the second layout mode.
Specifically, the number of rows of the field B1 and the field B3 indicated by the layout 3 is different from the number of rows of the field B1 and the field B3 indicated by the layout 4, respectively, but the fonts are the same. The display size of the picture B2 indicated by the layout method 3 is different from the display size of the picture B2 indicated by the layout method 4.
It should be noted that, in the content display method provided in the embodiment of the present invention, the target content may be displayed in the target area of the screen according to the first layout manner through the first input of the target content in the first page by the user. The target content can be all content in the first page or part of content in the first page, and the diversity of content displayed by the electronic equipment in a one-hand operation scene is improved. In addition, under the condition that the target content is part of content in the first page, the occupied area of the part of content in the first page is smaller, so that the target content can be displayed in the first layout mode which is the same as the second layout mode, the display effect of the target content is ensured, and meanwhile, the user can conveniently operate the target content in the target area by one hand. In addition, when the target content is all the content in the first page, the first layout mode is different from the second layout mode, and the layout mode of the fixed target content is not used for carrying out equal-scale reduction on all the sub-content in the target content, so that the diversity of the content displayed by the electronic equipment in the one-hand operation scene is further improved.
Optionally, in application scenario 1 (i.e., the first layout manner is the same as the second layout manner), S201 may be implemented by S201 a:
s201a, receiving a first input of a user to a first target control in at least one first control under the condition that the electronic device displays a first page and at least one first control on a screen.
The target content is the content in the area corresponding to the first target control in the first page, and one first control corresponds to one area in the first page.
Specifically, the electronic device may map a region corresponding to the first target control as a target region, so as to display the target content in the target region.
Alternatively, the electronic device may display the first page on one region of the screen and the at least one first control on another region of the screen. Alternatively, the electronic device may display the first page in the same region of the screen and hover displaying the at least one first control over the first page.
Optionally, in a case that the first page and the at least one first control are displayed on the screen, the electronic device may divide an area where the first page is located into at least one area, and set a corresponding relationship between each area in the at least one area and one first control.
For example, the electronic device may divide the area where the first page is located into 2 areas, 4 areas, 8 areas, or the like, which is not specifically limited in this respect and may be any achievable number of areas.
Further, optionally, in a case where the electronic device displays the first page and the at least one first control on the screen, a boundary for distinguishing different regions in the first page may be displayed on the screen. Illustratively, the dividing line may be represented by a line of preset parameters, as represented by a dashed line.
For example, the electronic device may display at least one first control in a left 1/5 area (denoted as a shortcut button area) in the screen, display a first page in a right 4/5 area (denoted as a content presentation area) in the screen, and divide the right 4/5 area into at least one area.
It is conceivable that, in the embodiment of the present invention, in a case that the electronic device may start the one-handed operation mode, the first page and the at least one first control are displayed on the screen.
Illustratively, as shown in fig. 6 (a), the electronic device displays controls X1 through X4 on a shortcut button area X on a screen, displays target content on a content presentation area Y, and divides the content presentation area Y into an area Y1 through an area Y4. The controls X1 to X4 correspond to the areas Y1 to Y4, respectively, and the areas Y1 to Y4 are distinguished by a boundary O1 and a boundary O2. Subsequently, after the user makes an input (i.e., a first input) to the control X2, as shown in (b) of fig. 6, the electronic device may display the content in the area Y2 in the display target area U on the screen, that is, map the area Y2 to the target area U. In addition, as shown in (b) in fig. 6, the region other than the target region U on the screen is displayed in a blurred manner. Specifically, the layout manner of the target content in the region Y2 shown in fig. 6 (a) is the first layout manner, and the layout manner of the target content in the target region U shown in fig. 6 (b) is the second layout manner, and the first layout manner is the same as the second layout manner.
Further, after the user inputs the target area U, the electronic device may display the contents as shown in (a) of fig. 6.
In the embodiment of the invention, under the condition that the electronic equipment can display the first page and the at least one first control on the screen, a user can select partial content in the first page to obtain target content conveniently by selecting the at least one first control. Furthermore, the electronic equipment can display the content required to be operated by the user in the target area instead of displaying all the content in the first page.
Optionally, in application scenario 2 of the embodiment of the present invention, in a case that the first layout manner is the same as the second layout manner, S201 may be implemented by S201 b:
s201b, receiving a first input of a user to a second target control in at least one second control under the condition that the electronic device displays the first page and the at least one second control on the screen.
The target content is the content in the first page indicated by the second target control, and different second controls are used for indicating different types of content in the first page.
Illustratively, in the embodiment of the present invention, the at least one second control includes two second controls, one second control is used for indicating the content of the text type in the first page, and the other second control is used for indicating the content of the picture type in the first page.
For example, the second target control is used to indicate text-type content in the first page, and the target content is text-type content in the first page. In conjunction with (a) of fig. 5, in the case where the second target control is in the selected state, the target content includes the content B1 and the content B3, and does not include the content B2.
In the embodiment of the invention, under the condition that the electronic equipment can display the first page and the at least one second control on the screen, a user can select part of content in the first page through the at least one second control conveniently to obtain different types of target content. Furthermore, the electronic equipment can display a certain type of content required to be operated by the user in the target area instead of displaying all the content in the first page.
Optionally, in application scenario 2 of the embodiment of the present invention, the first layout manner is determined according to a target rule.
Wherein the target rule is used to indicate: the display size of the sub-content of the first type indicated by the first layout mode is the same as the display size of the sub-content of the first type indicated by the second layout mode; the display size (marked as display size 1) of the second type of sub-content indicated by the first layout mode and the display size (marked as display size 2) of the second type of sub-content indicated by the second layout mode are in a preset proportion; the first type comprises at least one of a text type, a picture type, an audio type and a video type, and the second type comprises at least one of a text type, a picture type, an audio type and a video type respectively; the first type is different from the second type.
Illustratively, the value of the preset ratio is less than 1.
Alternatively, the ratio between thedisplay size 1 and the display size 2 is a ratio between the width of thedisplay size 1 and the width of the display size 2, a ratio between the length of thedisplay size 1 and the length of the display size 2, or a ratio between the width of thedisplay size 1 and the width of the display size 2 and a ratio between the length of thedisplay size 1 and the length of the display size 2.
In the following, a method for displaying content in an application scenario 2 is described by taking a first type as a text type and a second type as a picture type as an example. Similarly, for the description of the sub-content with the first type and the second type being other types in the embodiment of the present invention, reference may be made to the related description of the example in which the first type is a text type and the second type is a picture type, and details of the embodiment of the present invention are not repeated.
For example, in the case that the first type is a text type and the second type is a picture type, the first layout mode indicates the font of the text in the target content, and the font of the text in the target content is the same as the font indicated by the second layout mode, i.e., the size (i.e., the display size) of the font is not changed, and of course, the style of the font is also not changed. The first layout mode indicates the display size of the picture in the target content, and the display size of the picture in the target content is scaled, such as scaled down, according to the second layout mode.
Alternatively, the width of the icon displayed in the target area may be the width of the target area.
Illustratively, the display size of a picture in the target content indicated by the second layout mode is 200 × 100 (the unit may be a pixel), the width of the target area is 150 pixels, and at this time, the display size of the picture in the target area indicated by the second layout mode is 150 × 75.
It is understood that the first type of sub-content may be content with a poor display effect after the display size is reduced, and the second type of sub-content may be content with a small change in the display effect after the display size is reduced appropriately.
In the embodiment of the invention, when the electronic device displays the target content in the target area, the display size of the first type of sub-content in the target content can be controlled to be kept unchanged, and only the display size of the first type of sub-content in the target content is reduced without reducing the display sizes of all sub-contents in the target content, so that the influence degree on the display effect of the target content is favorably reduced. For example, the electronic device displays the target content in the target area, the font of the characters in the target content can not be changed, so that the display effect of the characters is good, the display size of the picture in the target content is adaptively reduced, and the picture can be displayed in the target area operated by the user with one hand.
Further, optionally, in an embodiment of the present invention, the target rule is further used to indicate at least one of the following: the target area comprises a first sub-area indicated by a first layout mode, the first sub-area is used for displaying first sub-content according to a preset time interval, and the first sub-content is partial sub-content or all sub-content in the target content; the target area comprises a second sub-area indicated by the first layout mode, and the second sub-area is used for displaying all the function controls in the target content.
Optionally, the preset position is a position adjacent to a side of the screen in the target area.
It will be appreciated that the position adjacent the side of the screen may be a position where it is easier for the user to operate with one hand.
It should be noted that the first sub-area is used for displaying the first sub-content at preset time intervals, and the content may be displayed in a scrolling manner in the first sub-area for the electronic device, for example, the first sub-content of the first half of the target content is displayed in the first sub-area first, and then the second sub-content of the second half is displayed in the first sub-area.
For example, in the case that part of the sub-content in the target content is displayed in the first sub-area, the width of the first sub-area may be the width of the target area. And the direction of the display content in the first sub-area is the width direction of the first sub-area. At this time, the user's sliding input on the first sub-area may trigger the electronic device to scroll and display the content on the first sub-area. For example, when a part of the target content is a plurality of pictures, such as a plurality of pictures arranged in series, the electronic device may scroll and display the plurality of pictures in the first sub-area in the target area.
It is understood that, in the case where a plurality of pictures and a single picture are simultaneously included in the target content, the electronic device may scroll and display the plurality of pictures in a first sub-area in the target area and display the single picture in another area in the target area.
For example, in the case where all sub-contents in the target content are displayed in the first sub-area, the first sub-area may be the entire target area. At this time, the user may trigger the electronic device to scroll and display the content on the target area by a sliding input on the target area. For example, in the case where the target content includes a plurality of application icons in a desktop, the electronic device may scroll through the plurality of pictures in the first sub-area.
Of course, in the case that the target area is used for scrolling and displaying all the sub-contents in the target content, a first sub-area for scrolling and displaying some of the sub-contents in the target content, such as a first sub-area for scrolling and displaying a plurality of pictures, may be included in the target area.
In addition, in the embodiment of the invention, the electronic equipment can automatically scroll and display the content in the target sub-area in the target area.
Optionally, the first layout mode indicates that the display size of the sub-content displayed in the first sub-area is the same as the display size of the sub-content in the first page indicated in the second layout mode, so as to avoid reducing the display effect of the content displayed in the first sub-area.
It can be understood that, in the case that the target sub-area is included in the target area, the electronic device does not display all sub-content in the target area at the same time, but needs to display the target content in the target area by scrolling the display content in the first sub-area.
For example, as shown in fig. 7 (a), a page displayed on a screen by the electronic device is a desktop page, the page includes icons of applications a 1-a 9, and a layout manner of the icons of applications a 1-a 9 in the page is denoted as layout manner 5. After the user makes a double-finger long press input (i.e., a first input) on the screen, the electronic device may display icons of the re-laid applications a1 through a6 in the target area K, as shown in fig. 7 (b). In this case, the target area K is a target area, and icons of applications a7 to a9 can be scroll-displayed in the target area K. Further, as shown in (b) of fig. 7, the user makes a slide input upward on the target area K, causing the electronic device to scroll-display the content displayed in the target area K as icons of applications a7 to a9 by icons of applications a1 to a6 as shown in (c) of fig. 7. As shown in fig. 7 (b) and (c), the layout of the icons a1 to a9 in the target area K is denoted as layout 6.
Specifically, the icons of the applications a1 to a9 may be target contents and all the contents in the page shown in fig. 7 (a), the layout mode 5 may be a first layout mode, the layout mode 6 may be a second layout mode, and the first layout mode and the second layout mode are different. Specifically, although the layout 5 indicates that the display sizes of the icons a1 to a9 are the same as those of the icons a1 to a9 indicated by the layout 6, the layout 5 indicates that the icons a1 to a9 are laid out in three rows and three columns, and the layout 2 indicates that the icons a1 to a9 are laid out in five rows and two columns.
It should be noted that, after obtaining the target content in the first page, the electronic device may obtain the function controls in the target content, and separately display the function controls in the second sub-area in the target area.
Optionally, the second sub-area may be located at a preset position in the target area, for example, the preset position may be a position in the target area, which is adjacent to a side of the screen, so that the user can conveniently operate the function control displayed in the second sub-area with a single hand, and further, the user can conveniently operate the target content in the target area. For example, in the case that the first page is a video playing page, a function control for controlling video playing by the user may be included in the first page.
Illustratively, as shown in (a) of fig. 8, the electronic device includes a field B1, a picture B2, a field B3, a picture B4, a picture B5, and a function control B5 and a function control B6 in a page of the screen display, and the layout of these contents may be denoted as layout 7. After the user makes a double-finger-length press input (i.e., a first input) on the screen, as shown in fig. 8 (B), the electronic device may display the field B1, the picture B2, the field B3, the picture B4, the picture B5, and the function control B6 and the function control B7 which are rearranged in the target region K, and the layout manner of these contents is denoted as layout manner 8. The region K1 in the target region K includes a function control B6 and a function control B7, and the region K2 in the target region K includes a field B1, a picture B2, a field B3, a picture B4, and a picture B5 after re-layout. Further, after the user inputs a slide input to the left on the region where the picture B4 is located in the region K2, as shown in (c) in fig. 8, the electronic device scroll-displays the content displayed on the region K2 as a picture B5 from the picture B4.
At this time, the field B1, the picture B2, the field B3, the picture B4, the picture B5, and the function control B6 and the function control B7 may be the target content, and are all the contents in the page shown in (a) in fig. 8; the layout method 7 may be a first layout method, and the layout method 8 may be a second layout method, and the first layout method and the second layout method are different.
Specifically, the font of the field B1 and the font of the field B3 indicated by the layout mode 7 are the same as the font of the field B1 and the font of the field B3 indicated by the layout mode 8 in turn; the layout mode 7 indicates the display sizes of the picture B2, the picture B4, and the picture B5, and is scaled in order by the display sizes of the picture B2, the picture B4, and the picture B5 indicated by the layout mode 8. Also, the layout mode 7 indicates that the target region K includes the first sub-region K1, and the first sub-region K1 is used for scrolling and displaying the picture B4 and the picture B5. In addition, the layout mode 7 further indicates that the target region K includes a second sub-region K2, the second sub-region K2 includes a function control B6 and a function control B7, and the second sub-region K2 is adjacent to the left side of the screen.
In the embodiment of the invention, the first sub-area can be arranged in the target area of the electronic equipment, and part or all of the target content can be displayed in a rolling manner, so that the situation that the electronic equipment displays the target content in the target area after reducing the display size of the target content too much can be avoided. In addition, the electronic equipment can be provided with a second sub-area for displaying the function control in the target area, so that a user can conveniently operate all the function controls in the target content with one hand.
Optionally, in the embodiment of the present invention, the electronic device may display the top information bar on the screen. The top information bar is generally located at the top of the screen, and the display size is fixed. Specifically, the top information bar may include: the electronic equipment access network comprises indication information of an operator of the electronic equipment access network, indication information of signal strength of the communication network, time information, battery power information, horizontal and vertical screen indication information and the like.
Alternatively, in the case where the electronic device displays some pages on the screen, a top information bar may be displayed on the screen. That is, the electronic device may display a page on an area of the screen other than the area where the top information bar is located, such as the first page described above.
For example, referring to any one of fig. 4 to 8 in the above embodiments, the electronic device may continuously display the prompt information, such as the time information "08: 08", in the top information column M on the screen.
It can be understood that, in the embodiment of the present invention, since the user does not usually operate the prompt message displayed on the top information bar by the electronic device, the electronic device may continuously display the prompt message on the top information bar without reducing the display size of the top information bar while displaying the target content in the target area. Therefore, the display effect of the electronic equipment for displaying the prompt message on the top information bar is ensured to be unchanged.
Optionally, in this embodiment of the present invention, the target content includes an input area. The content display method provided in the embodiment of the present invention, after S202, may further include S203 and S204:
s203, the electronic equipment receives a second input of the user to the input area.
Similarly, for the description of the input mode of the second input, reference may be made to the description of the input mode of the first input in the foregoing embodiment, and details are not repeated here in the embodiment of the present invention.
Illustratively, the input area may be an input box.
And S204, responding to the second input, and displaying the input control in a floating mode in the target area by the electronic equipment.
Illustratively, the input control may be a virtual input keyboard.
As shown in (a) of fig. 9, the electronic device includes aninput box 91 in a target area K displayed on the screen, and after a user makes a click input (i.e., a second input) to theinput box 91, the electronic device may display avirtual input keyboard 92 in a floating manner in the target area K as shown in (b) of fig. 9.
Optionally, the input control is located in the target area adjacent to a side of the screen, such as adjacent to the left side of the screen shown in fig. 9.
In the embodiment of the invention, the electronic equipment can display the input control in a suspended manner in the target area operated by one hand of the user, for example, the input control can be positioned at the position adjacent to the side edge of the screen in the target area, so that the display of the input control is not influenced by other contents displayed in the target area, the user can conveniently operate the input control by one hand, and the display size of the input control is as large as possible.
Optionally, in the embodiment of the present invention, in a scenario where the user does not need to operate the electronic device with one hand, the user may trigger the electronic device to exit the one-hand operation mode, and display the content on the target area, but on the area in the screen.
For example, the content display method provided in the embodiment of the present invention may further include, after the above S202, S205 and S206:
and S205, the electronic equipment receives a third input of the user.
Similarly, for the description of the input mode of the third input, reference may be made to the description of the input mode of the first input in the foregoing embodiment, and details are not repeated here in the embodiment of the present invention.
Optionally, the electronic device may provide a return control for triggering the electronic device to exit the one-handed operation mode.
For example, the electronic device may also display a return control when displaying the target content in the target area. Wherein the third input may be a user input to the return control.
S206, responding to the third input, and displaying the first page on the screen by the electronic equipment.
Illustratively, in conjunction with (b) of fig. 5, as shown in fig. 10, in the case where the electronic device displays icons of applications a 1-a 6 in a target area K in the screen, a return control S is also displayed on the screen. Wherein, the user' S input (i.e. the third input) to the return control S may trigger the electronic device to display the content as shown in fig. 5 (a).
In the embodiment of the invention, in a scene that a user does not need to operate the electronic equipment by one hand, the electronic equipment can be rapidly triggered to display contents on the whole screen through a third input, such as an input of a return control. Thus, the diversity and flexibility of the display content of the electronic equipment can be improved.
Fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. Theelectronic device 11 shown in fig. 11 includes: a receivingmodule 11a and adisplay module 11 b; areceiving module 11a, configured to receive a first input of a user for target content in a first page; adisplay module 11b for displaying the target content in a first layout manner in the target area of the screen in response to the first input received by the receivingmodule 11 a; the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content in the first page, the first layout mode and the second layout mode are the same; when the target content is all the content in the first page, the first layout mode is different from the second layout mode, and the second layout mode is the layout mode of different sub-content in the target content in the first page.
Optionally, under the condition that the first layout manner is the same as the second layout manner, the receivingmodule 11a is specifically configured to receive a first input of a user to a first target control in at least one first control when a first page and the at least one first control are displayed on a screen; the target content is the content in the area corresponding to the first target control in the first page, and one first control corresponds to one area in the first page.
Optionally, under the condition that the first layout manner is the same as the second layout manner, the receivingmodule 11a is specifically configured to receive a first input of a user to a second target control in at least one second control when a first page and at least one second control are displayed on a screen; the target content is the content in the first page indicated by the second target control, and different second controls are used for indicating different types of content in the first page.
Optionally, the first layout mode is different from the second layout mode, and the first layout mode is determined according to the target rule; wherein the target rule is used to indicate: the display size of the sub-content of the first type indicated by the first layout mode is the same as the display size of the sub-content of the first type indicated by the second layout mode; the display size of the second type of sub-content indicated by the first layout mode is scaled according to the display size of the second type of sub-content indicated by the second layout mode; wherein the first type comprises at least one of a text type, a picture type, an audio type and a video type, and the second type comprises at least one of a text type, a picture type, an audio type and a video type; the first type is different from the second type.
Optionally, the target rule is further used for indicating at least one of: the target area comprises a first sub-area indicated by a first layout mode, the first sub-area is used for displaying first sub-content according to a preset time interval, and the first sub-content is part of sub-content or all sub-content in the target content; the target area comprises a second sub-area indicated by the first layout mode, and the second sub-area is used for displaying all the function controls in the target content.
Optionally, the target content includes an input area; the receivingmodule 11a is further configured to receive a second input of the user to the input area after thedisplay module 11b displays the target content on the target area in the screen according to the first layout mode; thedisplay module 11b is further used for responding to the second input received by the receivingmodule 11a and displaying the input control in a floating mode in the target area; wherein the input control is located in the target region adjacent to a side of the screen.
Optionally, prompt information is displayed in the top information bar on the screen, and the display size of the top information bar is fixed.
Optionally, the receivingmodule 11a is further configured to receive a third input of the user after the displayingmodule 11b displays the target content in the target area of the screen according to the first layout mode; and thedisplay module 11b is further configured to display the first page on the screen in response to the third input received by the receivingmodule 11 a.
Theelectronic device 11 provided in the embodiment of the present invention can implement each process implemented by the electronic device in the above method embodiments, and is not described here again to avoid repetition.
According to the electronic device provided by the embodiment of the invention, the target content can be displayed in the target area of the screen according to the first layout mode through the first input of the user aiming at the target content in the first page. The target content can be all content in the first page or part of content in the first page, and the diversity of content displayed by the electronic equipment in a one-hand operation scene is improved. In addition, under the condition that the target content is part of content in the first page, the occupied area of the part of content in the first page is smaller, so that the target content can be displayed in the first layout mode which is the same as the second layout mode, the display effect of the target content is ensured, and meanwhile, the user can conveniently operate the target content in the target area by one hand. In addition, when the target content is all the content in the first page, the first layout mode is different from the second layout mode, and the layout mode of the fixed target content is not used for carrying out equal-scale reduction on all the sub-content in the target content, so that the diversity of the content displayed by the electronic equipment in the one-hand operation scene is further improved.
Fig. 12 is a schematic diagram of a hardware structure of anelectronic device 100 according to an embodiment of the present invention, where theelectronic device 100 includes, but is not limited to: radio frequency unit 101,network module 102,audio output unit 103,input unit 104,sensor 105,display unit 106,user input unit 107,interface unit 108,memory 109,processor 110, and power supply 111. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 12 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, theuser input unit 107 is used for receiving a first input of a user for the target content in the first page; adisplay unit 106 for displaying target content in a first layout manner in a target area of a screen in response to a first input received by theuser input unit 107; the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content in the first page, the first layout mode and the second layout mode are the same; when the target content is all the content in the first page, the first layout mode is different from the second layout mode, and the second layout mode is the layout mode of different sub-content in the target content in the first page.
According to the electronic device provided by the embodiment of the invention, the target content can be displayed in the target area of the screen according to the first layout mode through the first input of the user aiming at the target content in the first page. The target content can be all content in the first page or part of content in the first page, and the diversity of content displayed by the electronic equipment in a one-hand operation scene is improved. In addition, under the condition that the target content is part of content in the first page, the area occupied by the part of content in the first page is smaller, so that the target content can be displayed in the first layout mode which is the same as the second layout mode, the display effect of the target content can be ensured, and meanwhile, a user can conveniently operate the target content in the target area by one hand. In addition, when the target content is all the content in the first page, the first layout mode is different from the second layout mode, and the layout mode of the fixed target content is not used for carrying out equal-scale reduction on all the sub-content in the target content, so that the diversity of the content displayed by the electronic equipment in the one-hand operation scene is further improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by theprocessor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via thenetwork module 102, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
Theaudio output unit 103 may convert audio data received by the radio frequency unit 101 or thenetwork module 102 or stored in thememory 109 into an audio signal and output as sound. Also, theaudio output unit 103 may also provide audio output related to a specific function performed by the electronic apparatus 100 (e.g., a call signal reception sound, a message reception sound, etc.). Theaudio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
Theinput unit 104 is used to receive an audio or video signal. Theinput Unit 104 may include a Graphics Processing Unit (GPU) 1041 and amicrophone 1042, and theGraphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 106. The image frames processed by thegraphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or thenetwork module 102. Themicrophone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
Theelectronic device 100 also includes at least onesensor 105, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of thedisplay panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off thedisplay panel 1061 and/or the backlight when theelectronic device 100 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); thesensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
Thedisplay unit 106 is used to display information input by a user or information provided to the user. TheDisplay unit 106 may include aDisplay panel 1061, and theDisplay panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, theuser input unit 107 includes atouch panel 1071 andother input devices 1072.Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or neartouch panel 1071 using a finger, stylus, or any suitable object or attachment). Thetouch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 110, and receives and executes commands sent by theprocessor 110. In addition, thetouch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to thetouch panel 1071, theuser input unit 107 may includeother input devices 1072. Specifically,other input devices 1072 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.
Further, thetouch panel 1071 may be overlaid on thedisplay panel 1061, and when thetouch panel 1071 detects a touch operation thereon or nearby, thetouch panel 1071 transmits the touch operation to theprocessor 110 to determine the type of the touch event, and then theprocessor 110 provides a corresponding visual output on thedisplay panel 1061 according to the type of the touch event. Although in fig. 12, thetouch panel 1071 and thedisplay panel 1061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, thetouch panel 1071 and thedisplay panel 1061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
Theinterface unit 108 is an interface for connecting an external device to theelectronic apparatus 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. Theinterface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within theelectronic apparatus 100 or may be used to transmit data between theelectronic apparatus 100 and the external device.
Thememory 109 may be used to store software programs as well as various data. Thememory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Theprocessor 110 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in thememory 109 and calling data stored in thememory 109, thereby performing overall monitoring of the electronic device.Processor 110 may include one or more processing units; preferably, theprocessor 110 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 theprocessor 110.
Theelectronic device 100 may further include a power source 111 (such as a battery) for supplying power to each component, and preferably, the power source 111 may be logically connected to theprocessor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, theelectronic device 100 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes aprocessor 110, amemory 109, and a computer program stored in thememory 109 and capable of running on theprocessor 110, where the computer program, when executed by theprocessor 110, implements each process of the foregoing content display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the content display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 an electronic device (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 (11)

Translated fromChinese
1.一种内容显示方法,应用于电子设备,其特征在于,所述方法包括:1. A content display method, applied to an electronic device, wherein the method comprises:接收用户针对第一页面中的目标内容的第一输入;receiving a first input from the user for the target content in the first page;响应于所述第一输入,在屏幕的目标区域中,按照第一布局方式显示所述目标内容;In response to the first input, in the target area of the screen, display the target content according to a first layout;其中,所述目标区域的尺寸小于所述第一页面在所述屏幕上的显示尺寸;在所述目标内容为所述第一页面中的部分内容的情况下,所述第一布局方式与第二布局方式相同;在所述目标内容为所述第一页面中的全部内容的情况下,所述第一布局方式与所述第二布局方式不同;所述第二布局方式为所述目标内容中的不同子内容在所述第一页面中的布局方式。Wherein, the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content of the first page, the first layout mode is the same as that of the first page. The two layouts are the same; when the target content is the entire content of the first page, the first layout is different from the second layout; the second layout is the target content The layout mode of different sub-content in the first page.2.根据权利要求1所述的方法,其特征在于,在所述第一布局方式与所述第二布局方式相同的情况下,所述接收用户针对第一页面中的目标内容的第一输入,包括:2 . The method according to claim 1 , wherein, in the case that the first layout mode is the same as the second layout mode, the receiving a first input of the user for the target content in the first page. 3 . ,include:在所述屏幕上显示所述第一页面和至少一个第一控件的情况下,接收用户对所述至少一个第一控件中的第一目标控件的所述第一输入;Under the condition that the first page and at least one first control are displayed on the screen, receiving the first input from the user to a first target control in the at least one first control;其中,所述目标内容为所述第一页面中与所述第一目标控件对应的区域中的内容,一个所述第一控件对应所述第一页面中的一个区域。Wherein, the target content is content in an area of the first page corresponding to the first target control, and one of the first controls corresponds to an area of the first page.3.根据权利要求1所述的方法,其特征在于,在所述第一布局方式与所述第二布局方式相同的情况下,所述接收用户针对第一页面中的目标内容的第一输入,包括:3 . The method according to claim 1 , wherein, in the case that the first layout manner is the same as the second layout manner, the receiving a first input from the user for the target content in the first page. 4 . ,include:在所述屏幕上显示所述第一页面和至少一个第二控件的情况下,接收用户对所述至少一个第二控件中的第二目标控件的所述第一输入;Under the condition that the first page and at least one second control are displayed on the screen, receiving the first input from the user to a second target control in the at least one second control;其中,所述目标内容为所述第二目标控件指示的所述第一页面中的内容,不同所述第二控件用于指示所述第一页面中的不同类型的内容。The target content is the content in the first page indicated by the second target control, and the second control is used to indicate different types of content in the first page.4.根据权利要求1所述的方法,其特征在于,所述第一布局方式与所述第二布局方式不同,且所述第一布局方式为按照目标规则确定的;4. The method according to claim 1, wherein the first layout mode is different from the second layout mode, and the first layout mode is determined according to a target rule;其中,所述目标规则用于指示:Wherein, the target rule is used to indicate:所述第一布局方式指示的第一类型的子内容的显示尺寸,与所述第二布局方式指示的所述第一类型的子内容的显示尺寸相同;The display size of the first type of sub-content indicated by the first layout manner is the same as the display size of the first type of sub-content indicated by the second layout manner;所述第一布局方式指示的第二类型的子内容的显示尺寸,与所述第二布局方式指示的所述第二类型的子内容的显示尺寸之间的比例为预设比例;The ratio between the display size of the second type of sub-content indicated by the first layout mode and the display size of the second type of sub-content indicated by the second layout mode is a preset ratio;其中,所述第一类型与所述第二类型不同。Wherein, the first type is different from the second type.5.根据权利要求4所述的方法,其特征在于,所述目标规则还用于指示以下至少一项:5. The method according to claim 4, wherein the target rule is further used to indicate at least one of the following:所述目标区域中包括由所述第一布局方式指示的第一子区域,所述第一子区域用于按照预设时长间隔显示第一子内容,所述第一子内容为所述目标内容中的部分子内容或全部子内容;The target area includes a first sub-area indicated by the first layout mode, the first sub-area is used to display first sub-content at preset time intervals, and the first sub-content is the target content some or all of the sub-content in ;所述目标区域中包括由所述第一布局方式指示的第二子区域,所述第二子区域用于显示所述目标内容中的所有功能控件。The target area includes a second sub-area indicated by the first layout manner, and the second sub-area is used to display all functional controls in the target content.6.根据权利要求1所述的方法,其特征在于,所述目标内容中包括输入区域;6. The method according to claim 1, wherein the target content comprises an input area;所述在屏幕的目标区域中,按照第一布局方式显示所述目标内容之后,所述方法还包括:After the target content is displayed in the target area of the screen according to the first layout, the method further includes:接收用户对所述输入区域的第二输入;receiving a second input from the user to the input area;响应于所述第二输入,在所述目标区域中悬浮显示输入控件。In response to the second input, an input control is hovered in the target area.7.根据权利要求1所述的方法,其特征在于,所述屏幕上的顶部信息栏中显示有提示信息,且所述顶部信息栏的显示尺寸固定。7 . The method according to claim 1 , wherein prompt information is displayed in the top information bar on the screen, and the display size of the top information bar is fixed. 8 .8.根据权利要求1所述的方法,其特征在于,所述在屏幕的目标区域中,按照第一布局方式显示所述目标内容之后,所述方法还包括:8. The method according to claim 1, wherein after the target content is displayed in the target area of the screen according to the first layout, the method further comprises:接收用户的第三输入;receive a third input from the user;响应于所述第三输入,在所述屏幕上显示所述第一页面。The first page is displayed on the screen in response to the third input.9.一种电子设备,其特征在于,所述电子设备包括:接收模块和显示模块;9. An electronic device, characterized in that the electronic device comprises: a receiving module and a display module;所述接收模块,用于接收用户针对第一页面中的目标内容的第一输入;The receiving module is configured to receive the first input of the user for the target content in the first page;所述显示模块,用于响应于所述接收模块接收的所述第一输入,在屏幕的目标区域中,按照第一布局方式显示所述目标内容;the display module, configured to display the target content in a target area of the screen according to a first layout in response to the first input received by the receiving module;其中,所述目标区域的尺寸小于所述第一页面在所述屏幕上的显示尺寸;在所述目标内容为所述第一页面中的部分内容的情况下,所述第一布局方式与第二布局方式相同;在所述目标内容为所述第一页面中的全部内容的情况下,所述第一布局方式与所述第二布局方式不同;所述第二布局方式为所述目标内容中的不同子内容在所述第一页面中的布局方式。Wherein, the size of the target area is smaller than the display size of the first page on the screen; when the target content is part of the content of the first page, the first layout mode is the same as that of the first page. The two layouts are the same; when the target content is the entire content of the first page, the first layout is different from the second layout; the second layout is the target content The layout mode of different sub-content in the first page.10.一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至8中任一项所述的内容显示方法的步骤。10. An electronic device, characterized in that it comprises a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor to achieve the right The steps of the content display method described in any one of claims 1 to 8.11.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至8中任一项所述的内容显示方法的步骤。11. A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the content according to any one of claims 1 to 8 is realized Shows the steps of the method.
CN201911185778.3A2019-11-272019-11-27 A content display method and electronic devicePendingCN111026480A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911185778.3ACN111026480A (en)2019-11-272019-11-27 A content display method and electronic device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911185778.3ACN111026480A (en)2019-11-272019-11-27 A content display method and electronic device

Publications (1)

Publication NumberPublication Date
CN111026480Atrue CN111026480A (en)2020-04-17

Family

ID=70202662

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911185778.3APendingCN111026480A (en)2019-11-272019-11-27 A content display method and electronic device

Country Status (1)

CountryLink
CN (1)CN111026480A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112165550A (en)*2020-09-022021-01-01Oppo(重庆)智能科技有限公司Single-hand control method, terminal and storage medium
CN112995401A (en)*2021-02-252021-06-18北京字节跳动网络技术有限公司Control display method, device, equipment and medium
WO2021203815A1 (en)*2020-04-092021-10-14Oppo广东移动通信有限公司Page operation method and apparatus, and terminal and storage medium
WO2021239016A1 (en)*2020-05-272021-12-02维沃移动通信有限公司Application icon display method and apparatus, and electronic device
WO2023155811A1 (en)*2022-02-182023-08-24维沃移动通信有限公司Page layout adjustment method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN103744582A (en)*2014-01-212014-04-23宇龙计算机通信科技(深圳)有限公司Terminal control device and terminal control method
WO2015085944A1 (en)*2013-12-122015-06-18华为终端有限公司Method and device for moving page content
CN105988654A (en)*2015-01-282016-10-05阿里巴巴集团控股有限公司Application program interface adjustment method and device
CN109683785A (en)*2018-12-242019-04-26维沃移动通信有限公司A kind of information processing method and mobile terminal
CN110221734A (en)*2018-03-012019-09-10华为技术有限公司Information display method, graphical user interface and terminal
CN110221761A (en)*2019-04-242019-09-10维沃移动通信有限公司Display methods and terminal device
CN110275658A (en)*2019-06-032019-09-24Oppo广东移动通信有限公司Display control method, display control device, mobile terminal and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2015085944A1 (en)*2013-12-122015-06-18华为终端有限公司Method and device for moving page content
CN103744582A (en)*2014-01-212014-04-23宇龙计算机通信科技(深圳)有限公司Terminal control device and terminal control method
CN105988654A (en)*2015-01-282016-10-05阿里巴巴集团控股有限公司Application program interface adjustment method and device
CN110221734A (en)*2018-03-012019-09-10华为技术有限公司Information display method, graphical user interface and terminal
CN109683785A (en)*2018-12-242019-04-26维沃移动通信有限公司A kind of information processing method and mobile terminal
CN110221761A (en)*2019-04-242019-09-10维沃移动通信有限公司Display methods and terminal device
CN110275658A (en)*2019-06-032019-09-24Oppo广东移动通信有限公司Display control method, display control device, mobile terminal and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2021203815A1 (en)*2020-04-092021-10-14Oppo广东移动通信有限公司Page operation method and apparatus, and terminal and storage medium
US11740754B2 (en)2020-04-092023-08-29Guangdong Oppo Mobile Telecommunications Corp., Ltd.Method for interface operation and terminal, storage medium thereof
WO2021239016A1 (en)*2020-05-272021-12-02维沃移动通信有限公司Application icon display method and apparatus, and electronic device
CN112165550A (en)*2020-09-022021-01-01Oppo(重庆)智能科技有限公司Single-hand control method, terminal and storage medium
CN112165550B (en)*2020-09-022021-11-16Oppo(重庆)智能科技有限公司Single-hand control method, terminal and storage medium
CN112995401A (en)*2021-02-252021-06-18北京字节跳动网络技术有限公司Control display method, device, equipment and medium
WO2022179409A1 (en)*2021-02-252022-09-01北京字节跳动网络技术有限公司Control display method and apparatus, device, and medium
WO2023155811A1 (en)*2022-02-182023-08-24维沃移动通信有限公司Page layout adjustment method and apparatus

Similar Documents

PublicationPublication DateTitle
CN111596845B (en)Display control method and device and electronic equipment
CN111142730B (en)Split-screen display method and electronic equipment
CN109002243B (en) A kind of image parameter adjustment method and terminal device
CN109828732B (en) A display control method and terminal device
CN111026480A (en) A content display method and electronic device
EP3920013B1 (en)Information display method and terminal
CN109857289B (en)Display control method and terminal equipment
CN110928461A (en) Icon moving method and electronic device
CN111026350A (en)Display control method and electronic equipment
CN110489045B (en) Object display method and terminal device
CN110908554B (en)Long screenshot method and terminal device
CN110825295B (en) Application control method and electronic device
CN109408072B (en)Application program deleting method and terminal equipment
CN110888568B (en)Notification bar display method and terminal equipment
CN111064848B (en)Picture display method and electronic equipment
CN110968229A (en) A kind of wallpaper setting method and electronic device
CN108733282A (en)A kind of page moving method and terminal device
CN110989896A (en) A control method and electronic device
CN110166586B (en)Content display method and terminal equipment
CN110045890B (en)Application identifier display method and terminal equipment
CN111459382A (en) Touch input method and electronic device
CN108469940A (en)A kind of screenshot method and terminal
CN107943959B (en) Web page display method, device and mobile terminal
CN111190517B (en) Split-screen display method and electronic device
CN110531903B (en)Screen display method, terminal device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp