Content display method, device and electronic device
By displaying content and additional information in different areas on electronic devices, the tag overlap problem is solved, and the flexibility and user experience of content display are improved.
Patent Information
- Application Number
- CN202111161296.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-30
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2041-09-30
AI Technical Summary
When an electronic device displays content with multiple marks, the overlap of multiple marks causes some marks to be blocked, affecting the user's reading experience and resulting in poor flexibility in displaying content.
The electronic device is triggered to display content in multiple areas of the screen by user input, including the original content and additional information associated with the content, ensuring that the content in different areas is different, thereby avoiding overlapping marks.
Improves flexibility in displaying content in electronic devices, and users can view different types of reading concerns at the same time, simplifying operations and improving user experience.
Smart Images

Figure CN113867607B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of electronic devices, and specifically relates to a content display method, device and electronic device. Background Art
[0002] With the development of electronic devices, the functions of electronic devices are becoming more and more abundant. For example, users can browse content, such as content in video files and content in documents, through electronic devices.
[0003] For example, when a user browses the contents of a word document through an electronic device, if the content is marked differently, for example, there are annotations, underlines, highlights, etc. on the content to indicate different reading focus points; however, when multiple marks overlap, some of the multiple marks may be blocked by other marks in the multiple marks, for example, the annotations may block the highlights, so that the user cannot view the highlights. This results in poor flexibility in displaying content on the electronic device. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a content display method, device and electronic device, which can solve the problem of poor flexibility in displaying content by electronic devices.
[0005] In a first aspect, an embodiment of the present application provides a content display method, the method comprising: receiving a first input from a user while displaying content in a first object; in response to the first input, displaying M contents in M areas of a screen of an electronic device, the M areas corresponding one-to-one to the M contents, and M being an integer greater than 1; wherein each of the M contents includes at least one of the following: the first content in the first object, at least one type of additional information in the first object associated with the first content; at least part of the content in different areas is different.
[0006] In a second aspect, an embodiment of the present application provides a content display device, which includes a receiving module and a display module; the receiving module is used to receive a first input from a user when the display module displays the content in a first object; the display module is used to display M contents in M areas of a screen of an electronic device in response to the first input received by the receiving module, the M areas corresponding one-to-one to the M contents, and M is an integer greater than 1; wherein each of the M contents includes at least one of the following: the first content in the first object, at least one type of additional information in the first object associated with the first content; at least part of the content in different areas is different.
[0007] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the content display method of the first aspect.
[0008] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the content display method of the first aspect are implemented.
[0009] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the content display method of the first aspect.
[0010] In an embodiment of the present application, in the case of displaying the content in the first object, a first input from a user can be received; and in response to the first input, M contents are displayed in M areas of the screen of the electronic device, the M areas correspond one-to-one to the M contents, and M is an integer greater than 1; wherein each of the M contents includes at least one of the following: the first content in the first object, at least one type of additional information associated with the first content in the first object; at least part of the content in different areas is different. Through this scheme, in the case of displaying the content in the first object, since the user can trigger the electronic device to display different contents in the first object in different areas by inputting to the electronic device, for example, displaying the first content in the first object and at least one type of additional information associated with the first content in the first object in different areas, or displaying the additional information associated with the first content in the first object in different areas, the flexibility of the electronic device in displaying content can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 A flowchart of a content display method provided in an embodiment of the present application;
[0012] Figure 2 One of the schematic diagrams of the interface of the content display method provided in the embodiment of the present application;
[0013] Figure 3 A second schematic diagram of an interface of the content display method provided in an embodiment of the present application;
[0014] Figure 4 A third schematic diagram of an interface of the content display method provided in an embodiment of the present application;
[0015] Figure 5 A fourth schematic diagram of an interface of the content display method provided in an embodiment of the present application;
[0016] Figure 6A fifth schematic diagram of an interface of the content display method provided in an embodiment of the present application;
[0017] Figure 7 A sixth schematic diagram of an interface of the content display method provided in an embodiment of the present application;
[0018] Figure 8 Schematic diagram 7 of the interface of the content display method provided in the embodiment of the present application;
[0019] Fig. 9 Schematic diagram eight of the interface of the content display method provided in the embodiment of the present application;
[0020] Fig.10 A ninth schematic diagram of an interface of a content display method provided in an embodiment of the present application;
[0021] Fig.11 A tenth schematic diagram of an interface of a content display method provided in an embodiment of the present application;
[0022] Fig.12 A schematic diagram of the structure of a content display device provided in an embodiment of the present application;
[0023] Fig.13 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0024] Fig.14 A hardware schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0026] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0027] It should be noted that the logo in the embodiments of the present application is used to indicate text, symbols, images, etc. of information, and controls or other containers can be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
[0028] The content display method, device and electronic device provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
[0029] The content display method provided by the embodiment of the present invention can be applied to a content scenario in which an electronic device browses a document or video file or other file.
[0030] Exemplarily, when the content in object A (i.e., the first object in the embodiment of the present application) is displayed by an electronic device, the user can input to the electronic device (i.e., the first input in the embodiment of the present application) to trigger the electronic device to display M contents in M areas, wherein the M areas correspond to the M contents one by one, and at least part of the content in different areas is different, and M is an integer greater than 1; each of the M contents may include at least one of the following: the first content in object A, and at least one type of additional information associated with the first content in object A. In this way, since the user can trigger the electronic device to display different contents in object A in different areas by inputting to the electronic device, such as displaying the first content in object A and at least part of the additional information associated with the first content in object A in different areas, or displaying the additional information associated with the first content in object A in different areas, the flexibility of the electronic device in displaying content can be improved.
[0031] Combination Figure 1 The embodiment of the present application provides a content display method, which may include the following steps 101 and 102. The following is an exemplary description of the method performed by the electronic device as an example.
[0032] Step 101: While displaying content in a first object, the electronic device receives a first input from a user.
[0033] Optionally, in the embodiment of the present application, the first object may be a video file or a document.
[0034] Optionally, in the embodiment of the present application, when the first object is a video file, the content in the first object may include: a video screen, or a video screen and bullet comments, etc., which may be determined according to actual usage requirements and is not limited in the embodiment of the present application. It can be understood that in the embodiment of the present application, the video screen is the first content in the video file, that is, the main content.
[0035] Optionally, in an embodiment of the present application, when the first object is a document, the content in the first object may include: the main text of the document (i.e., the first content described below) and at least part of the additional information of the first content. The main text of the document may include: characters (e.g., words, letters, numbers, etc.), tables, images, etc.
[0036] Optionally, in an embodiment of the present application, the document may include: a word document, an Excel document, a PPT document, etc.
[0037] Optionally, in an embodiment of the present application, the above-mentioned electronic device can be an electronic device with a foldable screen (for example, a scroll screen or a folding screen), or an electronic device with a solid-state screen. The specific method can be determined based on actual usage requirements and is not limited in the embodiment of the present application.
[0038] Optionally, in the embodiment of the present application, the first input may be a touch input, a floating input, a preset gesture input or a voice input, which may be determined according to actual usage requirements.
[0039] For example, when the electronic device is an electronic device with a foldable screen, the first input can be the user's input of folding the screen along a first preset folding direction (specifically, it can be an input of folding once or multiple times); when the electronic device is an electronic device with a solid-state screen, the first input can be the user's input of sliding the screen (specifically, it can be an input of sliding once or multiple times); when the electronic device is an electronic device with a foldable screen or a solid-state screen, the first input can be the user's input of a "split screen" button or control.
[0040] Optionally, in an embodiment of the present application, the first preset folding direction may be an outward folding direction (i.e., folding toward the back of the electronic device) or an inward folding direction (i.e., folding toward the screen of the electronic device).
[0041] Step 102: The electronic device displays M contents in M areas of the screen of the electronic device in response to a first input.
[0042] In the embodiment of the present application, the above-mentioned M areas correspond one-to-one to the above-mentioned M contents, at least part of the contents in different areas are different, and M can be an integer greater than 1.
[0043] Optionally, in the embodiment of the present application, each of the above-mentioned M contents may include at least one of the following: the first content in the first object, and at least one type of additional information associated with the first content in the first object.
[0044] Optionally, in an embodiment of the present application, when the first object is a video file, the additional information associated with the first content in the first object may include at least one of the following categories: an introduction to the video, a directory of the video, comment information corresponding to the video, and barrage of the video; the specific information can be determined based on actual usage requirements and is not limited in the embodiment of the present application.
[0045] Optionally, in an embodiment of the present application, when the first object is a document, the additional information associated with the first content in the first object may include at least one of the following categories: an underline corresponding to the first content, a color corresponding to the first content, a highlight mark corresponding to the first content, and annotations corresponding to the first content; the specific information can be determined based on actual usage requirements and is not limited in the embodiment of the present application.
[0046] Optionally, in an embodiment of the present application, different types of additional information are displayed in different areas, or one type of additional information can be displayed in multiple areas. The specific amount can be determined based on actual usage requirements and is not limited in the embodiment of the present application.
[0047] Optionally, in the embodiment of the present application, before receiving the first input from the user, the electronic device may display the additional information associated with the first content in the first object, or may hide the additional information associated with the first content in the first object.
[0048] Optionally, in an embodiment of the present application, before the electronic device displays M contents in M areas on the screen of the electronic device, the content display method provided in the embodiment of the present application may further include: the electronic device divides the screen of the electronic device into M areas corresponding to the first input in response to the first input.
[0049] For example: when the electronic device is an electronic device with a foldable screen, such as Figure 2 (a) shows the screen 20 of the electronic device, and the user moves along Figure 2 After the screen 20 is folded inwardly along the fold shown in (b) (i.e., the first input), the electronic device can divide the screen 20 into Figure 2 The two regions shown in (c) (i.e., M = 2). Figure 3 (a) shows the screen 20 of the electronic device, and the user moves along Figure 3 After the two folds shown in (b) in FIG. 3 are folded inward at the same time (i.e., the first input), the electronic device can divide the screen 20 into Figure 3 The three regions shown in (c) (ie, M=3).
[0050] For ease of description, in the following embodiments, unless otherwise specified, the content display method provided in the embodiments of the present application is exemplarily described by taking the electronic device as an electronic device with a foldable screen as an example. The same is true for the electronic device as an electronic device with a solid-state screen. In order to avoid repetition, it will not be described here.
[0051] The following is combined with Figure 4 The content display method provided in the embodiment of the present application is exemplarily described.
[0052] Example 1, such as Figure 4As shown in (a), the electronic device displays the video image (i.e., the first content) and the bullet screen of the video file 1 on the screen 40. If the user clicks Figure 4 The dashed line shown in (a) folds the screen 40 inward (i.e., the first input), then: Figure 4 As shown in (b) in FIG. 4 , the electronic device can divide the screen into area 41 and area 42, and display the video bullet screen (i.e., at least one type of additional information of the first content) in area 41, and display the video screen (i.e., the first content) in area 42, that is, display M contents in M areas. In this way, since the electronic device can display the video screen and bullet screen in the video file in different areas, the bullet screen will not block the video screen, thereby improving the user's viewing experience of the video screen.
[0053] Furthermore, compared with the prior art solution in which the electronic device needs to first display the barrage control when triggered by the user, and then close the barrage after the user clicks the barrage control; the electronic device in Example 1 can display the video screen and barrage in different areas by allowing the user to fold the screen, thereby, on the one hand, avoiding the barrage from affecting the display effect of the video screen, and on the other hand, allowing the user to view the video screen and barrage at the same time, thereby improving the user experience.
[0054] The above Example 1 is an example of displaying the content displayed on the screen of an electronic device in different areas. In actual implementation, as shown in the following Example 2, the electronic device can also display the content initially displayed on the screen and the hidden content (such as the directory and introduction corresponding to the video) in M areas respectively.
[0055] Example 2, such as Figure 5 As shown in (a) of FIG. 1 , the electronic device displays the video image (i.e., the first content) and the bullet screen of the video file 1 on the screen 50. If the user clicks Figure 5 The dotted line L1 shown in (a) folds the screen inward (i.e., the first input), then: Figure 5 As shown in (b) in FIG. 1 , the electronic device can divide the screen into area 51 and area 52 (i.e., M areas), and display the video screen and the video barrage in area 51, and display the video introduction (i.e., hidden content) in area 52. In this way, while watching the video screen, the user can view the introduction corresponding to the video screen to increase the understanding of the video file, thereby improving the flexibility of the electronic device in displaying content.
[0056] Furthermore, compared with the prior art in which the electronic device needs to first exit the full-screen video display when triggered by the user, and then display the introduction when triggered by the user clicking the introduction control; the electronic device in Example 2 can display the hidden introduction content and the video screen in different areas by allowing the user to fold the screen, thereby simplifying user operations.
[0057] Optionally, in an embodiment of the present application, when the first object is a video file, if the folding position of the first input is parallel to the first side of the screen, the electronic device can display the content displayed on the screen (the first content, additional information associated with the first content) in different areas; if the folding position of the first input is parallel to the second side of the screen, the electronic device can display the content displayed on the screen and the target additional information in different areas, and the target additional information is the additional information in the first object that is associated with the first content and is in a hidden state.
[0058] The first side is perpendicular to the second side, and when the screen faces the user, an angle between the first side and a line connecting the user's eyes is smaller than an angle between the second side and a line connecting the user's eyes.
[0059] Example 3: When the first object is a document, different types of additional information are different reading focuses for readers. When the document includes multiple types of additional information associated with the first content, different types of additional information may be displayed in a stacked manner, resulting in one or some types of additional information being blocked or covered, thereby affecting user reading. Figure 6 As shown in (a), the electronic device displays the letters "ABCD" (i.e., the first content) of the document on the screen 60, and displays four types of additional information associated with the letters "ABCD", namely, additional information 1 (annotation), additional information 2 (font color is red), additional information 3 (underline), and additional information 4 (highlight mark). Among them, the highlight mark is blocked / covered by the annotation. At this time, if the user clicks Figure 6 The dashed line shown in (a) folds the screen 60 inward (i.e., the first input), then: Figure 6 As shown in (b) in FIG. 1 , the electronic device can divide the screen 60 into area 61 and area 62, and display the letters "ABCD" and additional information 1 in area 61, and display the letters "ABCD", additional information 2, additional information 3, and additional information 4 in area 62, that is, display M contents in M areas. In this way, by splitting and displaying the additional information associated with the letters "ABCD", it is convenient for users to view different focus points in the document.
[0060] Furthermore, since the annotation and the highlight mark can be displayed in different areas, it is possible to avoid the annotation covering the highlight mark.
[0061] Optionally, in an embodiment of the present application, the M contents include the first content and N types of additional information, where N is a positive integer; the step 102 may be specifically implemented through the following step 102a.
[0062] Step 102a: In response to the first input, the electronic device sequentially displays M contents in M areas according to a first priority order of the first content and the N types of additional information.
[0063] Optionally, in the embodiment of the present application, the electronic device may set the first content as having the highest priority, or may set the first content as having the lowest priority, depending on specific needs.
[0064] Optionally, in the embodiment of the present application, the first priority order of the first content and the N types of additional information may be pre-saved by the electronic device, or may be determined in real time according to the user's current operation, and is specifically determined according to demand.
[0065] Optionally, in an embodiment of the present application, the first priority order may be an order of increasing priority or an order of decreasing priority, which may be determined based on actual usage requirements and is not limited by the embodiment of the present application.
[0066] Optionally, in the embodiment of the present application, the electronic device may display M contents in the M areas in sequence according to the target parameter and the first priority order. The target parameter includes at least one of the following: a size ratio of the M areas, and a first preset arrangement order of the M areas.
[0067] Among them, the first preset arrangement order can be an arrangement order from top to bottom, from bottom to top, from left to right, from right to left, increasing size or decreasing size, which can be determined according to actual usage requirements and is not limited in the embodiments of the present application.
[0068] For example, the electronic device displays M contents in M areas in sequence according to the principle of displaying contents with higher priorities in larger areas among the M areas, or it may display M contents in M areas in sequence according to the principle of displaying contents with lower priorities in the first priority order in larger areas among the M areas, depending on the specific needs.
[0069] A detailed description of how the electronic device can display M contents in M areas in sequence according to the target parameters and the first priority order will be described in detail in the following embodiments, and will not be described here in detail to avoid repetition.
[0070] In the embodiment of the present application, the electronic device can display M contents in M areas in sequence according to the first priority order of the first content and the N types of additional information, which can improve the flexibility of content display of the electronic device.
[0071] In the content display method provided in the embodiment of the present application, when displaying the content in the first object, since the user can trigger the electronic device to display different contents in the first object in different regions through the first input, such as displaying the first content and at least part of the additional information associated with the first content in the first object in different regions, or displaying the additional information associated with the first content in the first object in different regions, the flexibility of the electronic device in displaying content can be improved.
[0072] The following describes in detail the content display method provided in the embodiments of the present application, taking the first object as a video file and a document as examples.
[0073] Optionally, the first object is a document
[0074] Optionally, in the embodiment of the present application, when the first object is a document, before the above step 101, the embodiment of the present application may further include the following step 103, and the above step 102a may be specifically implemented by the following step A.
[0075] Step 103: The electronic device displays the first content and N types of additional information on the screen.
[0076] In the embodiment of the present application, when the first object is a document, before receiving the first input, the first content of the first object and N types of additional information related to the first content have been displayed on the screen.
[0077] It can be understood that in the embodiment of the present application, the above-mentioned N types of additional information can be all types or part of the types of additional information associated with the first content in the first object.
[0078] In step A, the electronic device divides the first content and the N types of additional information into M contents according to the first priority order and the M first size ratios, and displays the M contents in the M areas in sequence.
[0079] Wherein, each of the M first size ratios is a ratio of the size of one of the M areas to the size of the screen, and each of the M contents may include the first content, or each of the M contents includes the first content and at least one type of additional information of the N types of additional information. Optionally, in the embodiment of the present application, when different types of additional information are displayed in different areas, N is an integer greater than or equal to M.
[0080] It should be noted that when the first object is a document, since the additional information associated with the first content exists in dependence on the first content, for each of the M contents, if a content includes one or more types of additional information among the N types of additional information, the content also includes the first content. In other words, each of the M areas includes the first content.
[0081] Optionally, in an embodiment of the present application, when the first object is a document, since the additional information exists in dependence on the first content, the first priority order of the first content and N types of additional information can be the priority order of the N types of additional information, that is, the priority of the first content is not considered.
[0082] In order to more clearly illustrate the content display method provided in the embodiment of the present application, the first priority order of the first content and N types of additional information is exemplarily illustrated below.
[0083] Optionally, in an embodiment of the present application, a method is exemplarily described in which an electronic device splits the first content and N types of additional information into M contents according to a first priority order and M first size ratios, and displays the M contents in M areas in sequence.
[0084] Exemplarily, assuming that different types of additional information are displayed in different areas, and assuming that the M areas are arranged according to a first preset arrangement order, and the first content and the N types of additional information are arranged according to a first preset priority, for ease of description, in the following embodiments, the first content and the N types of additional information arranged according to the first preset priority are referred to as N+1 contents arranged according to the first priority order, then:
[0085] For the i-th (i is a positive integer) region among the M regions, hereinafter referred to as region i, if And a i is a positive integer greater than 1, then region i includes the h+1th to h+ath contents among the N+1 contents. i content; if And a i is less than or equal to 1, and greater than or equal to a first preset value (determined according to actual usage requirements), then region i includes the h+1th content among the above N+1 contents; and each region includes the first content.
[0086] Among them, s i is the size of region i, S is the screen size of the electronic device, and h is the amount of content in the first i-1 regions.
[0087] For example, suppose that the document includes 4 categories (i.e., N is equal to 4) of additional information associated with the letters "ABCD" (i.e., the first content), and the first content and the 4 categories of additional information are arranged in order of priority from large to small (i.e., the first priority order): additional information 1 (annotation), additional information 2 (font color is red), additional information 3 (underline), additional information 4 (highlight mark), letters "ABCD"; then: in combination with the above example 3, the electronic device displays the first content and the 4 categories of additional information on the screen, and the user clicks Figure 6 After the screen 60 is folded inwardly (i.e., the first input) as shown in the dashed line in (a), Figure 6As shown in (b), the electronic device can divide the screen 60 into two areas, namely area 61 and area 62, which are arranged in order from left to right (i.e., the first preset arrangement order), wherein the area of area 61 is a1, the total screen area is S, and a1=S / 4, so that the electronic device can display the letters "ABCD" and annotations (i.e., additional information 1) in area 1, and display the letters "ABCD", additional information 2 (font color is red), additional information 3 (underline) and additional information 4 (highlighted mark) in area 2.
[0088] For another example, suppose that the document includes 4 types of additional information associated with the letters "ABCD". These 4 types of additional information are arranged in descending order of priority (i.e., the first priority order): additional information 1 (annotation), additional information 2 (red font color), additional information 3 (underline), additional information 4 (highlight mark); then: Figure 7 As shown in (a) of FIG. 8 , the electronic device displays letters “ABCD” (i.e., the first content) on the screen 80, and displays four types of additional information associated with the letters “ABCD”, the four types of additional information being additional information 1 (annotation), additional information 2 (in red font), additional information 3 (underline), and additional information 4 (highlight mark). The highlight mark is blocked / covered by the annotation. At this time, if the user moves along Figure 7 The dashed line shown in (a) folds the screen 80 inward (i.e., the first input), then Figure 7 As shown in (b), the electronic device can divide the screen 80 into two areas, namely area 81 and area 82, which are arranged in order from left to right (i.e., the first preset arrangement order), wherein the area of area 81 is a1, the total screen area is S, and a1=S / 2, so that the electronic device can display the letter "ABCD" annotation (i.e., additional information 1) and additional information 2 (font color is red) in area 1, and display the letter "ABCD", additional information 3 (underline) and additional information 4 (highlight mark) in area 2.
[0089] Optionally, in an embodiment of the present application, the electronic device may use the largest area among the M areas as the main display area, and use the other areas as auxiliary display areas, that is, the M areas include one main display area and M-1 auxiliary display areas. It can be understood that the main display area is considered to be the area that the user mainly browses. The electronic device may display low-priority content in the auxiliary display area and high-priority content in the main display area according to the first priority order and the first size ratio of the M areas.
[0090] For example, assuming that the number of auxiliary display areas is 1, the electronic device can display the lowest priority type of additional information and the first content among the N types of additional information in the auxiliary display area, and display the remaining N-1 types of additional information and the first content in the main display area.
[0091] For another example, assuming that the number of auxiliary display areas is 1, the electronic device can display the highest priority type of additional information and the first content in the main display area, and display the remaining N-1 types of additional information and the first content in the auxiliary display area.
[0092] Optionally, in an embodiment of the present application, the size of each auxiliary display area is greater than or equal to a target preset value.
[0093] Optionally, in the embodiment of the present application, if at least two of the M areas have the same size, the electronic device may use the area of the at least two areas that meets a preset condition as the main display area.
[0094] For example, based on the user's daily operating habits, if the user often uses his right hand to operate the screen in daily life, the electronic device uses the area close to the rightmost side of the screen among the above at least two areas as the main display area, and vice versa.
[0095] For other descriptions in step A, please refer to the relevant descriptions in the above embodiments. In order to avoid repetition, they will not be repeated here.
[0096] In the embodiment of the present application, when the first object is a document, the electronic device can split the first content and the N types of additional information into M contents according to the first priority order corresponding to the N types of additional information and the size ratio of the M areas, and display the M contents in the M areas in sequence, that is, it can split and display different additional information in the document, so the flexibility of the electronic device in displaying content can be improved. Furthermore, by displaying the additional information in a split manner, it is convenient for users to view different focus points in the document.
[0097] Optionally, when the first object is a video file
[0098] Optionally, in the embodiment of the present application, when the first object is a video file, before the above step 101, the embodiment of the present application may further include the following step 104. The above step 102a may be specifically implemented by the following steps B to D.
[0099] Step 104: The electronic device displays second content on the screen, where the second content includes the first content, or the first content and the first type of additional information.
[0100] Optionally, in an embodiment of the present application, the first category of additional information may be at least one of the video's bullet screen, the video's introduction, the video's corresponding comment information, and the video's catalog.
[0101] Step B: The electronic device determines M-1 first target areas from the M areas.
[0102] Optionally, in the embodiment of the present application, the M-1 first target areas may be the last M-1 areas of the M areas arranged in a second preset arrangement order. The second preset arrangement order may be an arrangement order from top to bottom, from bottom to top, from left to right, from right to left, increasing in size or decreasing in size, which may be determined according to actual use requirements and is not limited in the embodiment of the present application.
[0103] For example, the M-1 first target areas may be areas other than the displayed video screen in the M areas.
[0104] Step C: The electronic device determines N types of additional information from P types of additional information arranged in order of priority according to M-1 second size ratios.
[0105] Each of the M-1 second size ratios is a ratio of a size of a first target area to a size of the screen, and P may be an integer greater than or equal to N.
[0106] Optionally, in an embodiment of the present application, the above-mentioned N types of additional information may include the first type of additional information, or may not include the first type of additional information, which can be specifically determined according to the first input.
[0107] Optionally, in an embodiment of the present application, the first type of additional information is the barrage of the video.
[0108] Optionally, in an embodiment of the present application, the electronic device arranges the P-type additional information in order of increasing priority, or may arrange the P-type additional information in order of decreasing priority.
[0109] Optionally, in the embodiment of the present application, the priority order of the P-type additional information may be preset. Since the priority order of the P-type additional information is preset, the priority order of the N-type additional information determined from the P-type additional information is also preset.
[0110] Optionally, in the embodiment of the present application, in mode 1, the above-mentioned P-type additional information may include: the video's bullet screen, the video's introduction, the video's corresponding comment information, and the video's directory, that is, including all additional information associated with the first content. In mode 2, the above-mentioned P-type additional information includes the video's bullet screen; or, the P-type additional information includes the video's introduction, the video's corresponding comment information, and the video's directory.
[0111] For example, in the above-mentioned method 1, the P-type additional information can be pre-set to be arranged in order of decreasing priority as follows: video bullet screen, video introduction, comment information corresponding to the video, and video directory.
[0112] For another example, in the above method 2, when the P-type additional information includes a video introduction, corresponding comment information of the video, and a video directory, the P-type additional information can be pre-set to be arranged in order of decreasing priority as follows: a video introduction, corresponding comment information of the video, and a video directory.
[0113] The following is an exemplary description of step C.
[0114] Exemplarily, assuming that M-1 first target areas are arranged in a second preset arrangement order, and P types of additional information are arranged in a priority order, then:
[0115] For the jth (j is a positive integer) first target area among the M-1 first target areas, hereinafter referred to as area j, if And a j is a positive integer, then the additional information of the u+1th category to the u+ath category in the above P category additional information is determined. j Class additional information; if And a j is greater than or equal to the second preset value, and a j is less than or equal to 1, then the u+1th type of additional information in the above P type of additional information can be determined; wherein, s j is the size of region j, S is the screen size, and u is the number of categories of additional information determined from P categories of additional information through the first j-1 regions of the M-1 first target regions.
[0116] It can be understood that in the embodiment of the present application, the above-mentioned N types of additional information include all additional information determined by the above-mentioned M-1 first target areas.
[0117] Step D: The electronic device divides the first content and the N types of additional information into M contents according to M-1 second size ratios, the third size ratios and the first priority order, and displays the M contents in the M areas in sequence.
[0118] The third size ratio is the ratio of the size of the second target area to the size of the screen, and the second target area is an area other than the M-1 target areas in the M areas.
[0119] Optionally, in an embodiment of the present application, when the N types of additional information do not include the first type of additional information, the electronic device displays the first type of additional information in the area where the first content is located, for example, superimposing a video bullet screen (ie, the first type of additional information) on the first content.
[0120] For other descriptions in step D, please refer to the relevant description of the above step A. In order to avoid repetition, they will not be repeated here.
[0121] Optionally, in the embodiment of the present application, when the first object is a video file, since the additional information associated with the first content can exist independently, only one of the M regions may include the first content. For the other regions in the M regions, each region may include at least one type of additional information at least related to the first content.
[0122] The following is an illustrative description of steps B to D with reference to specific examples.
[0123] For example, it is assumed that the first object is a video file, which includes three types (i.e., P is equal to 3) of additional information associated with the video screen (i.e., the first content), and the video screen and the three types of additional information are arranged in ascending order of priority as follows: video screen, video introduction, video comment, and video directory; Figure 5 As shown in (a) of FIG. 1 , the electronic device displays the video image (i.e., the first content) and the bullet screen (i.e., the first type of additional information) of the video file 1 on the screen. Then: 1) If the user follows Figure 5 The dotted line L1 shown in (a) folds the screen inward (i.e., the first input), then Figure 5 As shown in (b), the electronic device can divide the screen into two areas, and the two areas are arranged in order from left to right (i.e., the second preset arrangement order): area 51 and area 52, and the size of area 51 is larger than the size of area 52, so that the electronic device can determine that the first target area is area 52; since the size of area 52 a1 = screen size / 4, that is, one type of additional information can be displayed in area 52, the electronic device can determine the video introduction from three types of additional information (i.e., N types of additional information are the video introduction). Then the electronic device can display the highest priority video screen in area 51 with the largest size, display the video introduction in area 52, and keep the barrage displayed on the video screen.
[0124] 2) If the user follows Figure 5 The dotted line L2 shown in (a) folds the screen inward (i.e., the first input), then Figure 8As shown, the electronic device can divide the screen into two areas, and the two areas are arranged in order from left to right (i.e., the second preset arrangement order): area 51 and area 52, and the size of area 51 is larger than the size of area 52, so that the electronic device can determine that the first target area is area 52; since the size a1 of area 52 = screen size / 2, that is, two types of additional information can be displayed in area 52, the electronic device can determine the video introduction and video comments from three types of additional information (i.e., N types of additional information include video introduction and video comments). Then the electronic device can display the highest priority video screen in area 51 with the largest size, and display the video introduction and video comment information in area 52. Furthermore, the electronic device can keep the barrage displayed on the video screen.
[0125] For other descriptions in steps B to D, please refer to the relevant descriptions in the above embodiments. In order to avoid repetition, they will not be repeated here.
[0126] In an embodiment of the present application, since the electronic device can first determine N types of additional information from all P types of additional information related to the first content, and display M contents in M areas in sequence according to the first priority order of the first content and the N types of additional information, that is, the video screen and at least part of the additional information associated with the video screen in the video file can be displayed in different areas, the flexibility of the electronic device in displaying content can be improved.
[0127] Optionally, in the embodiment of the present application, after the above step 102, the content display method provided in the embodiment of the present application may further include the following steps 105 and 106.
[0128] Step 105: The electronic device receives a second input from the user on a first area among the M areas.
[0129] Optionally, in the embodiment of the present application, the number of areas in the first area may be 1.
[0130] Optionally, in the embodiment of the present application, for the relevant description of the second input, please refer to the relevant description of the first input in the above embodiment. In order to avoid repetition, it will not be repeated here.
[0131] Step 106: In response to the second input, the electronic device splits the content in the first area into at least two first sub-contents according to the priority of the content in the first area, and divides the first area into at least two first sub-areas, and displays a first sub-content in each first sub-area.
[0132] Each first sub-content includes at least one of the following: the first content and at least one type of additional information associated with the first content.
[0133] Optionally, in an embodiment of the present application, the additional information included in the at least one category of additional information in step 106 may be the same as or different from the additional information included in the at least one category of additional information in the above step 102, which is not limited in the embodiment of the present application.
[0134] In the embodiment of the present application, the number of the at least two first sub-contents is the same as the number of the at least two first sub-regions, and different first sub-contents of the at least two first sub-contents are displayed in different first sub-regions.
[0135] It should be noted that, in the embodiment of the present application, the content in the first area can be split. The content in a region can be split, which can be understood as: when the first object is a document, the region includes the first content and at least one type of additional information associated with the first content; when the first object is a video file, the region includes: the first content and at least one type of additional information associated with the first content; or includes at least two types of additional information associated with the first content.
[0136] It can be understood that in an embodiment of the present application, if the size of the first area is smaller than the minimum size allowed for splitting (for example, the first preset value / second preset value mentioned above), or the content in the first area cannot be further split, then the electronic device can display a prompt message to prompt the user that the splitting cannot be continued.
[0137] For other descriptions of step 105 and step 106, please refer to the relevant descriptions of the above steps 101 and 102. In order to avoid repetition, they will not be repeated here.
[0138] The content display method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0139] For example, Figure 6 As shown in (b) of FIG. 1 , the electronic device divides the screen 60 into two areas, namely area 61 and area 62, and displays the letters "ABCD" and the annotation in area 61, and displays the letters "ABCD", the font color (red), underline and highlight mark in area 62; if the user follows Figure 6 If the screen 60 is folded inwardly by the dotted line shown in (b), then, since the size of the area 61 cannot be split again, Fig.11 As shown, the electronic device may only split area 62 into sub-area 62a and sub-area 62b, and display the letters "ABCD" and the font color (red) in the sub-area 62a, and display the letters "ABCD", underline and highlight mark in the sub-area 62b.
[0140] As another example, taking the first object as a document, Fig. 9As shown in (a) of FIG. 1 , the electronic device divides the screen 100 into an area 101 and an area 102, and displays letters "ABCD" and additional information 1 (annotation) in area 101, and displays letters "ABCD", additional information 2 (in red font), additional information 3 (underlined), and additional information 4 (highlighted) in area 102. At this time, if the user moves along Fig. 9 The dotted line shown in (a) in FIG. 1 folds the screen 100 inward (i.e., the second input), then: Fig. 9 As shown in (b), the electronic device can divide the area 102 into sub-area 102a and sub-area 102b, and display the letters "ABCD" and the font color in the sub-area 102a, and superimpose the letters "ABCD" and the underline and highlight mark in the area 102b.
[0141] In the embodiment of the present application, since the electronic device can further subdivide the first area and the content in the first area in response to the user's second input, the flexibility of the electronic device in displaying content can be further improved.
[0142] Optionally, in the embodiment of the present application, after the above step 102, the embodiment of the present application may further include the following steps 107 to 110.
[0143] Step 107: The electronic device receives a third input from the user on multiple areas among the M areas.
[0144] Optionally, in the embodiment of the present application, for the relevant description of the third input, reference may be made to the relevant description of the first input in the above embodiment, and in order to avoid repetition, it will not be repeated here.
[0145] Optionally, in the embodiment of the present application, the third input may be an input position for multiple areas.
[0146] Step 108: The electronic device displays prompt information in response to the third input.
[0147] The prompt information may include multiple area identifiers, each of which is used to indicate at least one area among the multiple areas. For example, assuming that the multiple areas are 2, area 1 and area 2, the electronic device may display 3 area identifiers, indicating: area 1; area 2; area 1 and area 2.
[0148] Step 109: The electronic device receives a fourth input from the user regarding a target area identifier among the multiple area identifiers.
[0149] The target area identifier may be used to indicate the second area.
[0150] Step 110: In response to the fourth input, the electronic device splits the content in the second area into at least two second sub-contents according to the priority of the content in the second area, and divides the second area into at least two second sub-areas, and displays a second sub-content in each second sub-area.
[0151] Each second sub-content may include at least one of the following: the first content and at least one type of additional information associated with the first content.
[0152] Optionally, in an embodiment of the present application, the additional information included in the at least one category of additional information in step 110 may be the same as or different from the additional information included in the at least one category of additional information in the above step 102, which is not limited in the embodiment of the present application.
[0153] For other descriptions of step 107 and step 110, please refer to the relevant descriptions in the above embodiments. In order to avoid repetition, they will not be described here.
[0154] The content display method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0155] For example, taking the first object as a document, Figure 7 As shown in (b) of FIG. 8 , the electronic device can divide the screen 80 into two areas, namely area 81 and area 82, and display the letter "ABCD" annotation (i.e., additional information 1) and additional information 2 (in red font color) in area 1, and display the letter "ABCD", additional information 3 (underlined) and additional information 4 (highlighted) in area 2. At this time, if the user follows Figure 7 The dotted line shown in (b) in FIG. 8 folds the screen 80 inward (i.e., the third input). If the fold of the third input separates the area 81 into two separable sub-areas and separates the area 82 into two separable sub-areas, then: Fig.10 As shown in (a) of FIG. 8 , the electronic device may display a prompt message, the prompt message including: a “left” mark indicating area 81, a “right” mark indicating area 82, and a “select all” mark indicating area 81 and area 82. If the user selects the “left” mark (i.e., the fourth input), then Fig.10 As shown in (b), the electronic device can split area 81 into sub-area 81a and sub-area 81b. Then, the electronic device can display the letters "ABCD" and annotations in sub-area 81a, superimpose the display and the letters "ABCD" and font color in area 81b, and keep the content in area 82 unchanged.
[0156] In an embodiment of the present application, when a user folds multiple areas among M areas, since the electronic device can display prompt information including multiple area identifiers, and each area identifier indicates at least one area among the multiple areas, the user can trigger the electronic device to split and display the area and the content in the area that meet the user's splitting requirements by inputting a target area identifier among the multiple area identifiers, thereby improving the human-computer interaction performance.
[0157] Optionally, in an embodiment of the present application, it is assumed that the M regions include a third region and a fourth region, and the number of types of additional information included in the third region is greater than the number of types of additional information included in the fourth region. For example, it is assumed that the third region includes 2 types of additional information and the fourth region includes 1 type of additional information. Then after the above step 102, the content display method provided in the embodiment of the present application may further include the following steps 111 and 112.
[0158] Step 111: The electronic device receives a fifth input from the user.
[0159] Optionally, in the embodiment of the present application, for the relevant description of the fifth input, reference may be made to the relevant description of the first input in the above embodiment, and in order to avoid repetition, it will not be repeated here.
[0160] Step 112: The electronic device responds to the fifth input, and when the characteristic information of the fifth input matches the characteristic information of the first input (the two are the same, or the degree of match between the two is greater than or equal to a preset threshold), displays part of the additional information in the third area in the fourth area, and cancels the display of part of the additional information in the third area.
[0161] Optionally, in the embodiment of the present application, part of the additional information in the third area may be one or more types of additional information in the third area.
[0162] Optionally, in the embodiment of the present application, the priority of each additional information in the third area may be greater than or less than the priority of each additional information in the fourth area.
[0163] Optionally, in the embodiment of the present application, the third area and the fourth area may be adjacent areas.
[0164] Optionally, in an embodiment of the present application, the user can trigger the electronic device to display different parts of the additional information in the third area in the fourth area multiple times through multiple fifth inputs, and cancel the display of the part of the additional information in the third area.
[0165] Optionally, in the embodiment of the present application, the number of third areas and fourth areas is not limited. For example, the third area can be 1 area and the fourth area can also be 1 area, or the third area can be 2 areas and the fourth area can be 1 area, or the third area can be 1 area and the fourth area can be 2 areas. The specific number can be determined according to the fifth input.
[0166] Optionally, in the embodiment of the present application, the input feature information may include at least one of the following: a position corresponding to the input, and an input direction.
[0167] In the embodiment of the present application, the feature information of the fifth input matches the feature information of the first input, which can be understood as: the input position corresponding to the fifth input is the same as the input position corresponding to the first input, and the input direction of the fifth input is the same as the input direction of the first input.
[0168] In the embodiment of the present application, in actual implementation, the input position corresponding to the fifth input is the same as the input position corresponding to the first input, which means: the two are the same within a certain error range, and the input direction of the fifth input is the same as the input direction of the first input, which means: the two are the same within a certain error range.
[0169] For example, the area boundary line formed by the input position of the first input is expressed by the formula y=d1*x+e1, and the area boundary line formed by the input position of the fifth input is expressed by the formula y=d2x+e2. Then, if the absolute value of the difference between d1 and d2 is within a preset error range, and the absolute value of the difference between e1 and 21 is within another preset error range, then the electronic device can confirm that the input position corresponding to the fifth input is the same as the input position corresponding to the first input.
[0170] The content display method provided in the embodiment of the present application is exemplarily described below with reference to the accompanying drawings.
[0171] For example, assuming that the first input is an input of the user folding the screen of the electronic device inward, and the folding position corresponding to the first input is the first position, then after the electronic device responds to the first input of the user, Figure 6 As shown in (b), the electronic device can divide the screen 60 into two areas, namely area 61 and area 62, and display the letters "ABCD" and annotations in area 1, and display the letters "ABCD", font color (red), underline and highlight mark in area 2; at this time, if the user folds the screen inward again, and the folded position is the first position (i.e., the fifth input), then the electronic device can move the font color (red) in area 62 to area 61 for display according to the priority order of the additional information in area 62 (for the specific description, please refer to the above description, which will not be repeated here), and keep the display size of area 61 and area 62 unchanged.
[0172] In an embodiment of the present application, when the characteristic information of the user's fifth input matches the characteristic information of the first input, the flexibility of the electronic device in displaying content can be further improved because the electronic device may not further divide the area but only display part of the additional information in one area in another area and cancel the display of the part of the additional information in one area.
[0173] Optionally, in the embodiment of the present application, after the above step 102, the content display method provided in the embodiment of the present application may further include the following steps 113 and 114.
[0174] Step 113: The electronic device receives a sixth input from the user.
[0175] Optionally, in the embodiment of the present application, for the relevant description of the sixth input, reference may be made to the relevant description of the first input in the above embodiment, and in order to avoid repetition, it will not be repeated here.
[0176] Step 114: The electronic device responds to a sixth input by displaying the content of the first object in the same manner as before receiving the first input, when an input position corresponding to the sixth input matches an input position corresponding to the first input and an input direction of the sixth input is different from an input direction of the first input.
[0177] In the embodiment of the present application, in actual implementation, the input position corresponding to the sixth input matches the input position corresponding to the first input, which means that the two are the same within a certain error range. For details, please refer to the relevant description in the above step 110 that the input position corresponding to the fifth input is the same as the input position corresponding to the first input. In order to avoid repetition, it will not be repeated here.
[0178] Optionally, in the embodiment of the present application, the input direction of the sixth input being different from the input direction of the first input can be understood as the input direction of the sixth input being opposite to the input direction of the first input. In actual implementation, the input direction of the sixth input is not necessarily completely opposite to the input direction of the first input, and a certain error is allowed.
[0179] For example: if the first input is a folding input of the screen by the user, and the first input is a folding inward of 30°, then the folding direction of the first input is the inward direction, and the sixth input is an input for folding outward of 5 degrees, then the folding direction of the fifth input should be the outward direction; if the first input is a sliding input of the screen by the user, and the first input is an input for sliding upward on the screen, then the input direction of the first input is the upward direction, and the sixth input is an input for sliding downward on the screen, then the input direction of the sixth input is the downward direction.
[0180] In the embodiment of the present application, since the electronic device returns the area and corresponding content displayed on the screen before the input when the corresponding input is used, the flexibility of the electronic device in displaying content can be further improved.
[0181] It should be noted that the content display method provided in the embodiment of the present application can be executed by a content display device or a control module in the content display device for executing the content display method. In the embodiment of the present application, the content display device provided in the embodiment of the present application is described by taking the content display method executed by the content display device as an example.
[0182] Combination Fig.12 , the embodiment of the present application provides a content display device 300, which may include: a receiving module 301 and a display module 302. The receiving module 301 may be used to receive a first input from a user when the display module 302 displays the content in the first object; the display module 302 may be used to display M contents in M areas of the screen of the electronic device in response to the first input received by the receiving module, where the M areas correspond to the M contents one by one, and M is an integer greater than 1; wherein each of the M contents includes at least one of the following: the first content in the first object, at least one type of additional information in the first object associated with the first content; at least part of the content in different areas is different.
[0183] Optionally, the M contents include the first content and N types of additional information, where N is a positive integer; the display module 302 may be specifically configured to display the M contents in M areas in sequence according to a first priority order of the first content and the N types of additional information.
[0184] Optionally, when the first object is a document, the display module 302 can also be used to display the first content and N types of additional information on the screen; the display module 302 is specifically used to split the first content and N types of additional information into M contents according to a first priority order and M first size ratios, and display the M contents in M areas in sequence; wherein each first size ratio is the ratio of the size of one of the M areas to the size of the screen, and each content includes the first content, or each content includes the first content and at least one type of additional information among the N types of additional information.
[0185] Optionally, in the case where the first object is a video file, the display module 302 includes a determination submodule, a processing submodule and a display submodule; the display module 302 can also be used to display a second content on the screen, the second content including the first content, or the first content and the first type of additional information; the determination submodule can be used to determine M-1 first target areas from the M areas; the determination submodule can also be used to determine N types of additional information from P types of additional information arranged in a priority order according to M-1 second size ratios, the N types of additional information including the first type of additional information, P is an integer greater than or equal to N, and each second size ratio is the ratio of the size of a first target area to the size of the screen; the processing submodule is used to split the first content and the N types of additional information determined by the determination submodule into M contents according to the M-1 second size ratios, the third size ratio and the first priority order, the third size ratio is the ratio of the size of the second target area to the size of the screen, and the second target area is the area of the M areas other than the M-1 target areas; the display submodule can be used to display the M contents split by the processing submodule in the M areas in sequence.
[0186] Optionally, the device may also include a processing module; the receiving module 301 may also be used to receive a second input from a user for a first area among the M areas; the processing module may be used to, in response to the second input received by the receiving module 301, split the content in the first area into at least two first sub-contents and divide the first area into at least two first sub-areas according to the priority of the content in the first area; the display module 303 may also be used to display a first sub-content in each first sub-area; wherein each first sub-content includes at least one of the following: a first content and at least one type of additional information associated with the first content.
[0187] Optionally, the device may also include a processing module; the receiving module 301 may also be used to receive a third input from a user for multiple areas among the M areas; the display module 302 may also be used to display prompt information in response to the third input received by the receiving module 301, the prompt information including multiple area identifiers, each area identifier being used to indicate at least one area among the multiple areas; the receiving module 301 may also be used to receive a fourth input from a user for a target area identifier among the multiple area identifiers displayed by the display module 302, the target area identifier being used to indicate a second area; the processing module may be used to split the content in the second area into at least two second sub-contents and divide the second area into at least two second sub-areas according to the priority of the content in the second area in response to the fourth input received by the receiving module 301; the display module 302 may also be used to display a second sub-content in each second sub-area; wherein each second sub-content includes at least one of the following: a first content and at least one type of additional information associated with the first content.
[0188] Optionally, the M regions include a third region and a fourth region, and the number of types of additional information included in the third region is greater than the number of types of additional information included in the fourth region; the receiving module 301 can also be used to receive the user's fifth input; the display module 302 can also be used to respond to the fifth input received by the receiving module 301, and when the characteristic information of the fifth input matches the characteristic information of the first input, display part of the content in the third region in the fourth region and cancel the display of part of the content in the third region.
[0189] Optionally, the receiving module 301 can also be used to receive a sixth input from the user; the display module 302 can also be used to respond to the sixth input received by the receiving module 301, and display the content in the first object in the same manner as before receiving the first input when the input position of the sixth input matches the input position of the first input and the input direction of the sixth input is different from the input direction of the first input.
[0190] In the content display device provided in the embodiment of the present application, when displaying the content in the first object, since the user can trigger the content display device to display different contents in the first object in different regions through the first input, for example, displaying the first content and at least part of the additional information associated with the first content in the first object in different regions, or displaying the additional information associated with the first content in the first object in different regions, the flexibility of the content display device in displaying content can be improved.
[0191] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0192] The content display in the embodiments of the present application may be a device, or a component, integrated circuit, or chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, 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 server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., which is not specifically limited in the embodiments of the present application.
[0193] The content display in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0194] The content display provided by the embodiment of the present application can be realized Figure 1 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0195] like Fig.13 As shown, an embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, and a program or instruction stored in the memory 201 and executable on the processor 202. When the program or instruction is executed by the processor 202, each process of the above-mentioned content display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0196] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0197] Fig.14 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0198] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0199] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.14 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0200] Among them, the user input unit 1007 can be used to receive the user's first input when the display unit 1006 displays the content in the first object; the display unit 1006 is used to display M contents in M areas of the screen of the electronic device in response to the first input received by the user input unit 1007, and the M areas correspond one-to-one to the M contents, and M is an integer greater than 1; wherein each of the M contents includes at least one of the following: the first content in the first object, at least one category of additional information in the first object associated with the first content; at least part of the content in different areas is different.
[0201] In the electronic device provided in the embodiment of the present application, when displaying the content in the first object, since the user can trigger the electronic device to display different contents in the first object in different regions through the first input, such as displaying the first content and at least part of the additional information associated with the first content in the first object in different regions, or displaying the additional information associated with the first content in the first object in different regions, the flexibility of the electronic device in displaying content can be improved.
[0202] The beneficial effects of various implementations in this embodiment can be specifically referred to the beneficial effects of the corresponding implementations in the above method embodiment. To avoid repetition, they will not be described again here.
[0203] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 1009 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the modem processor may not be integrated into the processor 1010.
[0204] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned content display method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0205] Among them, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc. The embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a program or instruction to implement each process of the above-mentioned content display method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0206] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0207] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0208] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0209] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A content display method, characterized in that: include: In a case where the content in the first object is displayed, receiving a first input from a user, where the first input is an input for folding the screen of the electronic device; In response to the first input, displaying M contents in M areas of the screen of the electronic device, wherein the M areas correspond one-to-one to the M contents, and M is an integer greater than 1; Each of the M contents includes at least one of the following: first content in the first object, at least one type of additional information associated with the first content in the first object; at least part of the content in different areas is different; In the case where the folding position of the first input is parallel to the first side of the screen, the M contents are the contents displayed on the screen; in the case where the folding position of the first input is parallel to the second side of the screen, the M contents are the contents displayed on the screen and the target additional information; The target additional information is additional information in the first object that is associated with the first content and is in a hidden state; the first side is perpendicular to the second side.
2. The method according to claim 1, characterized in that The M contents include the first content and N types of additional information, where N is a positive integer; The displaying of M contents in M areas of the screen of the electronic device includes: The M contents are displayed in the M areas in sequence according to a first priority order of the first contents and the N types of additional information.
3. The method according to claim 2, characterized in that In the case where the first object is a document, before receiving the first input from the user, the method further includes: Displaying the first content and the N types of additional information on the screen; The displaying the M contents in the M areas in sequence according to the first priority order of the first contents and the N types of additional information includes: According to the first priority order and the M first size ratios, split the first content and the N types of additional information into the M contents, and display the M contents in the M areas in sequence; Each first size ratio is a ratio of a size of one of the M areas to a size of the screen, and each of the contents includes the first content, or each of the contents includes the first content and at least one type of additional information among the N types of additional information.
4. The method according to claim 2, characterized in that: In the case where the first object is a video file, before receiving the first input from the user, the method further includes: Displaying second content on the screen, where the second content includes the first content, or the first content and first-category additional information; The displaying the M contents in the M areas in sequence according to the first priority order of the first contents and the N types of additional information includes: Determine M-1 first target areas from the M areas; determining the N types of additional information from P types of additional information arranged in order of priority according to M-1 second size ratios, where P is an integer greater than or equal to N, and each second size ratio is a ratio of a size of a first target area to a size of the screen; According to the M-1 second size ratios, the third size ratio and the first priority order, the first content and the N types of additional information are split into the M contents, and the M contents are displayed in the M areas in sequence, the third size ratio is the ratio of the size of the second target area to the size of the screen, and the second target area is the area of the M areas excluding the M-1 first target areas.
5. The method according to claim 1, characterized in that After displaying the M contents in the M areas of the screen of the electronic device, the method further includes: receiving a second input from a user for a first area among the M areas; In response to the second input, according to the priority of the content in the first area, the content in the first area is split into at least two first sub-contents, and the first area is divided into at least two first sub-areas, and one first sub-content is displayed in each first sub-area; Each first sub-content includes at least one of the following: the first content and at least one type of additional information associated with the first content.
6. The method according to claim 1, characterized in that After displaying the M contents in the M areas of the screen of the electronic device, the method further includes: receiving a third input from a user for a plurality of areas among the M areas; In response to the third input, displaying prompt information, the prompt information including a plurality of area identifiers, each area identifier being used to indicate at least one area among the plurality of areas; receiving a fourth input of a target area identifier among the plurality of area identifiers by a user, wherein the target area identifier is used to indicate a second area; In response to the fourth input, according to the priority of the content in the second area, the content in the second area is split into at least two second sub-contents, and the second area is divided into at least two second sub-areas, and one second sub-content is displayed in each second sub-area; Each second sub-content includes at least one of the following: the first content and at least one type of additional information associated with the first content.
7. The method according to claim 1, characterized in that The M regions include a third region and a fourth region, and the number of types of additional information included in the third region is greater than the number of types of additional information included in the fourth region; After displaying the M contents in the M areas of the screen of the electronic device, the method further includes: receiving a fifth input from the user; In response to the fifth input, when feature information of the fifth input matches feature information of the first input, part of the content in the third area is displayed in the fourth area, and display of the part of the content in the third area is canceled.
8. The method according to claim 1, characterized in that After displaying the M contents in the M areas of the screen of the electronic device, the method further includes: receiving a sixth input from the user; In response to the sixth input, when an input position of the sixth input matches an input position of the first input and an input direction of the sixth input is different from an input direction of the first input, the content in the first object is displayed in a manner before receiving the first input.
9. A content display device, characterized in that: The device comprises a receiving module and a display module; The receiving module is used to receive a first input from a user when the display module displays the content in the first object, wherein the first input is an input of a screen of the foldable electronic device; The display module is configured to display M contents in M areas of the screen in response to the first input received by the receiving module, wherein the M areas correspond to the M contents one by one, and M is an integer greater than 1; Each of the M contents includes at least one of the following: first content in the first object, at least one type of additional information associated with the first content in the first object; at least part of the content in different areas is different; The display module is further configured to: when the folding position of the first input is parallel to the first side of the screen, the M contents are the contents displayed on the screen; when the folding position of the first input is parallel to the second side of the screen, the M contents are the contents displayed on the screen and the target additional information; The target additional information is additional information in the first object that is associated with the first content and is in a hidden state; the first side is perpendicular to the second side.
10. The device according to claim 9, characterized in that The M contents include the first content and N types of additional information, where N is a positive integer; The display module is specifically configured to display the M contents in the M areas in sequence according to a first priority order of the first contents and the N types of additional information.
11. The device according to claim 10, characterized in that In the case where the first object is a document; The display module is further used to display the first content and the N types of additional information on the screen; The display module is specifically configured to split the first content and the N types of additional information into the M contents according to the first priority order and the M first size ratios, and display the M contents in the M areas in sequence; Each first size ratio is a ratio of a size of one of the M areas to a size of the screen, and each of the contents includes the first content, or each of the contents includes the first content and at least one type of additional information among the N types of additional information.
12. The device according to claim 10, characterized in that In the case where the first object is a video file, the display module includes a determination submodule, a processing submodule and a display submodule; The display module is further used to display second content on the screen, where the second content includes the first content, or the first content and the first type of additional information; The determination submodule is used to determine M-1 first target areas from the M areas; The determining submodule is further configured to determine the N types of additional information from the P types of additional information arranged in order of priority according to the M-1 second size ratios, the N types of additional information including the first type of additional information, P being an integer greater than or equal to N, and each second size ratio being a ratio of a size of a first target area to a size of the screen; the processing submodule is configured to split the first content and the N types of additional information determined by the determining submodule into the M contents according to the M-1 second size ratios, a third size ratio, and the first priority order, the third size ratio being a ratio of a size of a second target area to a size of the screen, the second target area being an area among the M areas excluding the M-1 first target areas; The display submodule is used to display the M contents split by the processing submodule in the M areas in sequence.
13. The device according to claim 9, characterized in that The device also includes a processing module; The receiving module is further used to receive a second input of a user on a first area of the M areas; the processing module is configured to, in response to the second input received by the receiving module, split the content in the first area into at least two first sub-contents and divide the first area into at least two first sub-areas according to the priority of the content in the first area; The display module is further configured to display one of the first sub-contents in each of the first sub-areas; Each first sub-content includes at least one of the following: the first content and at least one type of additional information associated with the first content.
14. The device according to claim 9, characterized in that The device also includes a processing module; The receiving module is further used to receive a third input of a user on multiple areas of the M areas; The display module is further used to display prompt information in response to the third input received by the receiving module, wherein the prompt information includes multiple area identifiers, each of which is used to indicate at least one area among the multiple areas; The receiving module is further used to receive a fourth input of a target area identifier among the multiple area identifiers by a user, wherein the target area identifier is used to indicate the second area; the processing module is configured to, in response to the fourth input received by the receiving module, split the content in the second area into at least two second sub-contents and divide the second area into at least two second sub-areas according to the priority of the content in the second area; The display module is further configured to display one of the second sub-contents in each of the second sub-areas; Each second sub-content includes at least one of the following: the first content and at least one type of additional information associated with the first content.
15. The device according to claim 9, characterized in that The M regions include a third region and a fourth region, and the number of types of additional information included in the third region is greater than the number of types of additional information included in the fourth region; The receiving module is further used to receive a fifth input from the user; The display module is also used to display part of the content in the third area in the fourth area and cancel the display of the part of the content in the third area in response to the fifth input received by the receiving module when the characteristic information of the fifth input matches the characteristic information of the first input.
16. The device according to claim 9, characterized in that The receiving module is further used to receive a sixth input from the user; The display module is also used to respond to the sixth input received by the receiving module, and display the content in the first object according to the display mode before receiving the first input when the input position of the sixth input matches the input position of the first input and the input direction of the sixth input is different from the input direction of the first input.
17. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the content display method according to any one of claims 1 to 8.
18. A readable storage medium, characterized in that: The readable storage medium stores a program or an instruction, and when the program or the instruction is executed by the processor, the steps of the content display method according to any one of claims 1 to 8 are implemented.
