CN115357172A - Content display method and device - Google Patents
Content display method and device Download PDFInfo
- Publication number
- CN115357172A CN115357172A CN202211049726.5A CN202211049726A CN115357172A CN 115357172 A CN115357172 A CN 115357172A CN 202211049726 A CN202211049726 A CN 202211049726A CN 115357172 A CN115357172 A CN 115357172A
- Authority
- CN
- China
- Prior art keywords
- area
- target content
- screen
- preset
- display
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000004044 response Effects 0.000 claims abstract description 19
- 238000010586 diagram Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 8
- 230000001360 synchronised effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 238000004590 computer program Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000001179 sorption measurement Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a content display method and a content display device, belongs to the field of communication, and is applied to electronic equipment with a folding screen, wherein the method comprises the following steps: receiving a first input for moving target content from a first screen area to a second screen area in a state where a screen of the electronic device is in a folded state; in response to the first input, when the target content is detected to contact a folding dividing line, the target content is displayed in a second screen area according to a first preset parameter, the folding dividing line is a screen dividing line when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas divided by the folding dividing line.
Description
Technical Field
The application belongs to the field of communication, and particularly relates to a content display method and device.
Background
At present, when an electronic device with a folding screen is in a folded state, that is, when the electronic device is folded to form two screen display areas, a user can drag a file from one screen area to the other screen area by a dragging mode, however, when the file passes through a folding boundary of the folding screen, because the contact area between the screen area and a finger of the user is sharply reduced, a problem of touch interruption is easily generated.
In order to solve the above problem, a user generally needs to restore the electronic device in the folded state to the unfolded state, and then drag a file from one screen to another screen. Therefore, the operation of dragging the file by the user is complicated, and the operation efficiency is low.
Disclosure of Invention
An object of the embodiments of the present application is to provide a content display method and apparatus, which can improve the operation efficiency of displaying content when an electronic device is in a folded state.
In a first aspect, an embodiment of the present application provides a content display method, which is applied to an electronic device with a foldable screen, and the method includes: receiving a first input for moving target content from a first screen area to a second screen area in a state where a screen of the electronic device is in a folded state; in response to the first input, when the target content is detected to contact a folding dividing line, the target content is displayed in a second screen area according to a first preset parameter, the folding dividing line is a screen dividing line when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas divided by the folding dividing line.
In a second aspect, an embodiment of the present application provides a content display apparatus, including: the device comprises a receiving module and a display module. The receiving module is used for receiving a first input under the condition that the screen of the electronic equipment is in a folded state, wherein the first input is used for moving the target content from the first screen area to the second screen area. And the display module is used for responding to the first input received by the receiving module, and displaying the target content in the second screen area according to a first preset parameter when the target content is detected to contact a folding boundary, wherein the folding boundary is a screen boundary when a screen of the electronic equipment is in a folding state, and the first screen area and the second screen area are two different screen display areas divided by the folding boundary.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, a first input is received when the screen of the electronic equipment is in a folded state, wherein the first input is used for moving the target content from a first screen area to a second screen area; in response to a first input, when the target content is detected to contact a folding boundary, the target content is displayed in a second screen area according to a first preset parameter, the folding boundary is a screen boundary when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas divided by the folding boundary. Because the screen at electronic equipment is in the condition of fold condition, under the condition that electronic equipment receives the input that the user contacted target content in the first screen region with the folding interface, just can trigger electronic equipment and show target content in the second screen region, need not that the user will be in the screen of the electronic equipment of fold condition earlier and resume to the flat state, readjust the display position of target content, so that be in the screen of the electronic equipment of fold condition again, can show target content in the second screen region, therefore, not only avoided the problem of touching absolutely, user's operation and consuming time have also been saved, when having promoted human-computer interaction experience, also promoted the operating efficiency to the display content when electronic equipment is in fold condition.
Drawings
Fig. 1 is a schematic diagram of a content display method provided in an embodiment of the present application;
fig. 2 is a flowchart of a content display method according to an embodiment of the present disclosure;
fig. 3 is one of schematic diagrams of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 4 is a second schematic diagram of an example of an interface of a mobile phone according to the second embodiment of the present disclosure;
FIG. 5 is a second flowchart of a content display method according to an embodiment of the present application
Fig. 6 is a third schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 7 is a fourth schematic diagram of an example of an interface of a mobile phone according to an embodiment of the present application;
fig. 8 is a fifth schematic view of an example of an interface of a mobile phone according to an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a content display device according to an embodiment of the present application;
fig. 10 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 11 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
At present, there are many styles of electronic devices with foldable screens on the market, including: the folding electronic equipment about or folding electronic equipment from top to bottom, wherein, some folding screen cell-phones can be folded certain angle and fixed the use to the screen, have better experience in the aspect of official working, sight shadow etc..
However, in the case that a user uses an electronic device with a screen in a folded state, if an application icon, a picture or other content needs to be dragged from one screen to another screen, a problem of a broken touch is easily generated when the application icon, the picture or other content passes through a folding boundary line, fig. 1 shows a schematic diagram of a user contacting the folding boundary line when the screen of the electronic device is in the folded state, as shown in fig. 1, due to the problem of the broken touch, a dragging operation fails, and therefore, the user needs to firstly unfold the screen and then perform the dragging operation, but such an operation is poor in user experience.
The content display method provided by the embodiment of the application can be applied to a scene that a user needs to move target content from one screen area to another screen area when the screen of the electronic equipment is in a folded state.
Specifically, when a user drags target content to a screen boundary, if the target content is in contact with the screen boundary, the electronic device may automatically adsorb the target content to another screen area, and stay in the screen area of the electronic device in a suspended manner within a preset time period, and within the preset time period, the user may continue to input the target content to trigger the electronic device to drag the target content to any position of the second screen area.
The following describes in detail the content display provided by the embodiments of the present application with reference to the accompanying drawings.
An embodiment of the present application provides a content display method, and fig. 2 shows a flowchart of the content display method provided in the embodiment of the present application, where the method may be applied to an electronic device with a folding screen. As shown in fig. 2, a content display method provided in an embodiment of the present application may include steps 201 and 202 described below.
In an embodiment of the application, the first input is used to move the target content from the first screen region to the second screen region.
In the embodiment of the application, a user can fold the electronic device to enable the screen of the electronic device to be in a folded state, the screen of the electronic device in the folded state includes at least one screen boundary, the electronic device can divide the screen of the electronic device into at least two screens according to the at least one screen boundary, and a folding boundary is included between every two screens. In a case that the screen of the electronic device is in a folded state, if a user needs to move target content from one screen area, for example, a first screen area, to another screen area, for example, a second screen area, the user may trigger the electronic device to move the target content from the first screen area to the second screen area by contacting the target content in the first screen area with a folding boundary.
Optionally, in this embodiment of the application, the first input may be a drag input, a sliding input, or an input of a preset track to the target content by the user, so as to trigger the target content in the first screen area to be in contact with the folding boundary.
Optionally, in this embodiment of the present application, the target content may be any application icon in the first screen area, any picture in the first screen area, or any document in the first screen area, and the target content may be any form of content, which may be determined specifically according to actual use, and this embodiment of the present application is not limited in any way here.
The above contact may be understood as a contact or a coincidence between the edge line of the area for displaying the target content and the folding boundary line, or a contact or a coincidence between the edge line of the target content and the folding boundary line.
Exemplarily, taking an electronic device as a mobile phone as an example, as shown in fig. 3, in a case that a screen of the mobile phone is in a folded state, the mobile phone includes two screen regions, namely a first screen region 10 and a second screen region 11, and a folding boundary 12 of the two screens of a user region, and a user may perform a drag input on any one of application icons in the first screen region, for example, a drag input on an icon a, so that an upper edge line of the icon a contacts the folding boundary 12.
In this embodiment, the folding boundary is a screen boundary when the screen of the electronic device is in a folded state, and the first screen region and the second screen region are two different screen display regions that are obtained by dividing the screen by the folding boundary.
Optionally, in this embodiment of the application, after receiving the first input, when it is detected that the target content touches the folding boundary, the electronic device may display the target content in the second screen area according to the first preset parameter.
Optionally, in this embodiment of the application, after receiving the first input, the electronic device may automatically absorb the target content to a screen boundary and display the target content in the second screen area through the screen boundary.
Optionally, in this embodiment of the application, the electronic device may copy the target content after receiving the first input, and display the copied target content in the second screen area.
Optionally, in this embodiment of the application, the first preset parameter may be a default preset parameter; or, the parameters may be set for the user, and the specific parameters may be determined according to actual use, and the embodiment of the present application is not limited in any way here.
Illustratively, the first preset parameter may be an area of the target content, a length of an area occupied by the target content, or the like.
For example, in a case that the first input is input by a user to any one application icon, the electronic device may copy the application program indicated by the any one application icon and display the copied any one application icon, for example, a split application icon of the any one application icon, in the second screen area.
Optionally, in this embodiment, after receiving the first input, when it is detected that the target content touches the folding boundary, the electronic device may cancel displaying the target content in the first screen area according to the first preset parameter, and display the target file in the second screen.
Optionally, in this embodiment of the application, in response to the first input, in a case that the target content is displayed in the second screen area, the electronic device may prompt the user in a target manner to prompt the user that the target content is to be displayed in the second screen area.
Optionally, in an embodiment of the present application, the target mode includes at least one of: and vibration, dialog box and popup Toast prompt are carried out, so that the user can be reminded that the dragged target content meets the adsorption threshold value and is to be moved to the second screen area.
Illustratively, in conjunction with fig. 3, as shown in fig. 4, the handset may display a dialog box 13 in the second screen area 11: please loosen the hand after successful adsorption.
The embodiment of the application provides a content display method, which comprises the steps of receiving a first input under the condition that a screen of an electronic device is in a folded state, wherein the first input is used for moving target content from a first screen area to a second screen area; in response to a first input, when the target content is detected to contact a folding boundary, the target content is displayed in a second screen area according to a first preset parameter, the folding boundary is a screen boundary when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas divided by the folding boundary. Because the screen at electronic equipment is in the condition of fold condition, under the condition that electronic equipment receives the input that the user contacted target content in the first screen region with the folding interface, just can trigger electronic equipment and show target content in the second screen region, need not that the user will be in the screen of the electronic equipment of fold condition earlier and resume to the flat state, readjust the display position of target content, so that be in the screen of the electronic equipment of fold condition again, can show target content in the second screen region, therefore, not only avoided the problem of touching absolutely, user's operation and consuming time have also been saved, when having promoted human-computer interaction experience, also promoted the operating efficiency to the display content when electronic equipment is in fold condition.
Alternatively, in this embodiment of the application, the step 202 may be specifically implemented by the step 202a described below.
Step 202a, the electronic device responds to the first input and displays the target content in the second screen area according to the first area.
The first area is the area of a screen area occupied by the target content when the target content is displayed.
In the embodiment of the application, after receiving a first input of a user, the electronic device may acquire an area of a screen area occupied by target content, and display the target content in a second screen area according to the area of the screen area occupied by the target content.
Optionally, in this embodiment of the application, the electronic device may obtain an area of the screen area occupied by the target content, that is, a first area, determine the first area, that is, compare the first area with a preset area, and display the target content in the second screen area according to a comparison result.
It should be noted that the area of the screen area occupied by the target content may be understood as the area of the area for displaying the target content.
In the embodiment of the application, the electronic equipment can display the target content in the second screen area according to the area of the screen area occupied by the target content, so that the flexibility of the electronic equipment for displaying the content is improved.
Alternatively, in this embodiment of the application, as shown in fig. 5, the step 202a may be specifically implemented by the following step 202a1 or step 202a 2.
Step 202a1, the electronic device displays the target content in the second screen area under the condition that the first area is smaller than the preset area.
In the embodiment of the application, the electronic device displays the target content in the second screen area under the condition that the area of the screen area occupied by the target content is smaller than the preset area.
Optionally, in this embodiment of the application, the electronic device may compare the first area with a preset area, and if the first area is smaller than the preset area, the electronic device may display the target content in the second screen area.
For example, if the preset area is S1, the area of the screen area occupied by the target content is S2, and if S2 is smaller than S1, the electronic device may display the target content in the second screen area.
Optionally, in this embodiment of the application, the electronic device may prompt the user in a target manner when the first area is smaller than the preset area, so as to prompt the user that target content is to be displayed in the second screen area.
Step 202a2, under the condition that the first area is larger than or equal to the preset area, the electronic device displays the target content in the second screen area according to the second area.
And when the second area is used for displaying the target content, the target content occupies the area of the second screen area.
In the embodiment of the application, under the condition that the area of the screen area occupied by the target content is larger than or equal to the preset area, the electronic device can display the target content in the second screen area according to the area of the second screen area occupied by the target content.
Optionally, in this embodiment of the application, the electronic device may compare the first area with a preset area, and if the first area is greater than or equal to the preset area, the electronic device may display the target content in the second screen area according to an area of the second screen area occupied by the target content.
It should be noted that the area of the second screen region occupied by the target content may be understood as the area of the second screen region for displaying the target content portion beyond the screen boundary.
Optionally, in this embodiment of the present application, the preset area may be set by a user or default by a system, and may be specifically determined according to actual use, which is not limited in this embodiment of the present application.
In the embodiment of the application, the electronic device can display the target content in the second screen area according to the comparison result of the area of the screen area occupied by the target content and the preset area, so that the flexibility of the electronic device for displaying the content is improved.
Alternatively, in this embodiment of the present application, the step 202a2 may be specifically implemented by the following step a.
And a, under the condition that the second area is larger than or equal to the target area, the electronic equipment displays the target content in the second screen area.
Wherein the target area is the product of the first area and a preset percentage.
In the embodiment of the application, when the area of the screen area occupied by the target content is greater than or equal to the preset area, the electronic device may display the target content in the second screen area when the second area is greater than or equal to the product of the first area and the preset percentage.
Optionally, in this embodiment of the application, the electronic device may compare the second area with the target area, and if the second area is greater than or equal to the target area, the electronic device may display the target content in the second screen area.
Optionally, in this embodiment of the application, the electronic device may compare the second area with a product of the first area and a preset percentage, and display the target content in the second screen area when the second area is greater than the product of the first area and the preset percentage.
Optionally, in this embodiment of the application, the electronic device displays the target content in the second screen region when a ratio of the second area to the first area is greater than or equal to a preset ratio.
Illustratively, the electronic device displays the target content in the second screen area if the ratio of the area of the screen area occupied by the target content beyond the boundary of the screen to the area of the screen area occupied by the target content is greater than or equal to a preset ratio.
Optionally, in this embodiment of the application, the preset percentage may be set by a user or default by a system, and may be specifically determined according to actual use, which is not limited in this embodiment of the application.
For example, as shown in fig. 6, the mobile phone may compare the area of the screen area occupied by the file B with a preset area, if the file B is greater than or equal to the preset area, compare the area 14 of the second screen area 11 occupied by the file B with the product of the area of the screen occupied by the file B and the preset percentage, and if the area 14 is greater than or equal to the product of the area of the screen occupied by the file B and the preset percentage, display the file B in the second screen area 11.
Optionally, in this embodiment of the application, when the second area is greater than or equal to the target area, the electronic device may prompt the user in a target manner to prompt the user that the target content is to be displayed in the second screen area.
In the embodiment of the application, the electronic device can display the target content in the second screen area under the condition that the second area is larger than the product of the first area and the preset percentage, so that the flexibility of the electronic device for displaying the content is improved.
Alternatively, in this embodiment of the application, the step 202 may be specifically implemented by the step 202b described below.
Step 202b, the electronic equipment responds to the first input, and displays the target content in the second screen area according to the contact duration of the target content and the folding boundary.
In the embodiment of the application, after receiving the first input of the user, the electronic device may acquire a contact duration of the target content with the folding boundary, and display the target content in the second screen area according to the contact duration of the target content with the folding boundary.
Optionally, in this embodiment of the application, the electronic device may obtain a contact duration of the target content and the folding boundary, that is, a target duration, judge the target duration, that is, compare the target duration with a preset duration, and display the target content in the second screen area according to a comparison result.
It should be noted that the target duration may be understood as a duration in which any one side length of the region for displaying the target content is in contact with the folding boundary; alternatively, the target duration may be understood as a duration in which the target content is in contact with the folding boundary.
In the embodiment of the application, the electronic device can display the target content in the second screen area according to the contact duration of the target content and the folding boundary, so that the flexibility of the electronic device in displaying the content is improved.
Alternatively, in this embodiment of the application, the step 202b may be specifically implemented by the following step 202b 1.
Step 202b1, under the condition that the contact duration is greater than or equal to the first preset duration, the electronic equipment displays the target content in the second screen area.
In the embodiment of the application, after the electronic device obtains the contact duration, if the contact duration is greater than or equal to a first preset duration, the electronic device displays the target content in a second screen area.
Optionally, in this embodiment of the application, after the electronic device acquires the contact duration, the contact duration is compared with a first preset duration, and if the contact duration is greater than or equal to the first preset duration, the electronic device displays the target content in the second screen area.
Optionally, in this embodiment of the application, the first preset duration may be set by a user or default by a system, and may be specifically determined according to actual use, which is not limited in this embodiment of the application.
Optionally, in this embodiment of the application, the electronic device may further obtain, in response to the first input, a contact length of the target content in contact with the folding boundary, and display the target content on the second screen when the contact length is smaller than a preset length; the electronic device may obtain a coincidence area of the second screen region occupied by the target content when the contact length is greater than or equal to the preset length, and display the target content to the second screen region when the coincidence area is greater than the preset area.
Optionally, in this embodiment of the application, when the contact duration is greater than or equal to the first preset duration, the electronic device may prompt the user in a target manner to prompt the user that target content is to be displayed in the second screen area.
In the embodiment of the application, the electronic equipment can acquire the contact duration of the target content and the folding boundary line, and the electronic equipment displays the target content in the second screen area under the condition that the contact duration is greater than or equal to the first preset duration, so that the problem that the target content is displayed in the second screen area when the target content contacts the boundary line is avoided, the problem that the display position of the target content is changed due to mistaken touch of a user is avoided, and the accuracy of the display content of the electronic equipment is improved.
Optionally, in this embodiment of the application, the "displaying the target content in the second screen area" in the step 202 may be specifically implemented by the step 202d described below.
Step 202d, the electronic device displays the target content at the preset position of the second screen area within the second preset time length.
In this embodiment of the application, after receiving the first input, the electronic device may display the target content at the preset position in the second screen area within a second preset time period.
Optionally, in this embodiment of the application, after receiving the first input of the user, the electronic device may hover and display the target content from the first screen area to the second screen area, so as to display the target content at a preset position of the second screen area within a second preset time period.
Optionally, in this embodiment of the application, the second preset time period may be set by a user or default by a system, and may be specifically determined according to actual use, which is not limited in this embodiment of the application.
Optionally, in this embodiment of the application, if the area of the screen occupied by the target content is smaller than the area corresponding to the preset position, the electronic device may directly display the target content at the preset position; if the area of the screen occupied by the target content is smaller than the area corresponding to the preset position, the electronic device may display the thumbnail content of the target content at the preset position or display a part of the content of the target content.
Illustratively, in conjunction with fig. 3, as shown in fig. 7, the mobile phone may display the icon a at the preset position 15 of the second screen area 11 within 5 seconds.
Optionally, in this embodiment of the application, the electronic device may further determine that the target content exceeds a height of a boundary of the screen, and display the target content at a preset position in the second screen area when the height exceeds a preset height.
Optionally, in this embodiment of the application, the electronic device may prompt the user in a target manner when the second preset time is reached, so as to prompt the user that the target content is to be displayed in the second screen area.
Optionally, the content display method provided in the embodiment of the present application further includes step 202e or step 202f described below.
Step 202e, if the electronic device receives the second input within the second preset time period, moving the target content from the preset position to the target position in the second screen area.
In an embodiment of the application, the second input is used to trigger an input to move the target content to the target location.
In the embodiment of the application, if the electronic device receives the second input within the second preset time period, the target content is moved from the preset position to a target position corresponding to the second input in the second screen area.
Optionally, in this embodiment of the application, the second input may be a dragging input of the target content or an input of a preset track by the user, so as to trigger the electronic device to move the target content to the target position.
Optionally, in this embodiment of the application, if the electronic device receives a second input within a second preset duration, the target content is moved from the preset position to the target position in the second screen area, and the target content displayed at the preset position is cancelled.
Exemplarily, in conjunction with fig. 7, as shown in fig. 8, the user can move the icon a at the preset position 15 to the target position 16, and after 5 seconds, the electronic device displays the icon a at the target position 16 and cancels the display of the icon a at the preset position 15.
Step 202f, if the electronic device does not receive any input within the second preset time, canceling to display the target content displayed at the preset position after the second preset time.
In this embodiment of the application, if the electronic device does not receive any input within the second preset time period, the electronic device may cancel displaying the target content displayed at the preset position after the second preset time period.
Optionally, in this embodiment of the application, if the electronic device does not receive any input within the second preset time period, the target content is deleted after the second preset time period.
Optionally, in this embodiment of the application, if the electronic device does not receive any input within the second preset time period, the target content is moved to the initial position after the second preset time period, where the initial position is a position where the target content does not receive the first input.
In the embodiment of the application, the electronic device can determine whether the target content is displayed in the second screen area according to whether the input is received within the second preset time, so that the flexibility and the accuracy of the content displayed by the electronic device are improved.
According to the content display method provided by the embodiment of the application, the execution main body can be a content display device. In the embodiment of the present application, a content display apparatus executing a content display method is taken as an example, and the content display apparatus provided in the embodiment of the present application is described.
Fig. 9 shows a schematic diagram of a possible structure of a content display device related to the embodiment of the present application. As shown in fig. 9, the content display device 40 may include: a receiving module 41 and a display module 42.
The receiving module 41 is configured to receive a first input when the screen of the electronic device is in a folded state, where the first input is used to move the target content from the first screen area to the second screen area. And a display module 42, configured to, in response to the first input received by the receiving module 41, display the target content in a second screen area according to a first preset parameter when the target content is detected to contact a folding boundary, where the folding boundary is a screen boundary when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas divided by the folding boundary.
The embodiment of the application provides a content display device, because the screen at electronic equipment is in the condition of fold condition, under the condition that electronic equipment receives the input that the user contacted target content in the first screen region with the folding interface, just can trigger electronic equipment and show target content in the second screen region, need not that the user restores the screen of electronic equipment in fold condition to the flat condition earlier, the display position of readjustment target content, so that be in the screen of electronic equipment of fold condition again, can show target content in the second screen region, therefore, not only avoided the problem of touching absolutely, user's operation and consuming time have also been saved, when having promoted human-computer interaction experience, also promoted the operating efficiency to the display content when electronic equipment is in fold condition.
In one possible implementation, the display module 42 is specifically configured to display the target content in the second screen region according to the first area in response to the first input; the first area is the area of a screen area occupied by the target content when the target content is displayed.
In a possible implementation manner, the display module 42 is specifically configured to display the target content in the second screen area when the first area is smaller than the preset area; or under the condition that the first area is larger than or equal to the preset area, displaying the target content in a second screen area according to the second area; and when the second area is used for displaying the target content, the target content occupies the area of the second screen area.
In a possible implementation manner, the display module 42 is specifically configured to display the target content in the second screen area if the second area is greater than or equal to the target area; wherein the target area is a product of the first area and a preset percentage.
In one possible implementation manner, the display module 42 is specifically configured to display the target content in the second screen area according to a contact duration of the target content in contact with the folding boundary in response to the first input received by the receiving module 41.
In a possible implementation manner, the display module 42 is specifically configured to display the target content in the second screen area if the contact duration is greater than or equal to the first preset duration.
In one possible implementation manner, the display module 42 is specifically configured to display the target content at the preset position of the second screen area within the second preset time period.
In one possible implementation, the content display device 40 further includes: and a processing module. The processing module is used for moving the target content from the preset position to the target position in the second screen area if a second input is received within a second preset time length, and the second input is used for triggering the input of moving the target content to the target position; or the processing module is used for canceling to display the target content displayed at the preset position after the second preset time length if no input is received within the second preset time length.
The content display device in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The content display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiment of the present application.
The content display device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 7, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801 and a memory 802, where the memory 802 stores a program or an instruction that can be executed on the processor 801, and when the program or the instruction is executed by the processor 801, the steps of the foregoing content display method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation to the electronic device, and the electronic device may include more or less components than those shown in the drawings, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein the user input unit 107 is configured to receive a first input for moving the target content from the first screen area to the second screen area when the screen of the electronic device is in the folded state. The display unit 106 is configured to, in response to a first input, display the target content in a second screen area according to a first preset parameter when the target content is detected to touch a folding boundary, where the folding boundary is a screen boundary when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas into which the screen is divided by the folding boundary.
The embodiment of the application provides an electronic device, because the screen at electronic device is in the condition of fold condition, under the condition that the electronic device receives the input that the user contacted the target content in the first screen region with the folding interface, just can trigger electronic device and show the target content in the second screen region, need not that the user will restore to the leveling state with the screen of the electronic device who is in fold condition earlier, readjust the display position of target content, so that be in the electronic device's of fold condition screen again, can show the target content in the second screen region, therefore, not only avoided the problem of touching absolutely, user's operation and consuming time have also been saved, when having promoted human-computer interaction experience, also promoted the operating efficiency to the display content when electronic device is in fold condition.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, in response to the first input, display the target content in the second screen area according to the first area; the first area is the area of a screen area occupied by the target content when the target content is displayed.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display the target content in the second screen area when the first area is smaller than the preset area; or under the condition that the first area is larger than or equal to the preset area, displaying the target content in a second screen area according to the second area; and when the second area is used for displaying the target content, the target content occupies the area of the second screen area.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display the target content in the second screen area when the second area is greater than or equal to the target area; wherein the target area is a product of the first area and a preset percentage.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to, in response to the first input, display the target content in the second screen area according to a contact duration of the target content contacting the folding boundary.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display the target content in the second screen area when the contact duration is greater than or equal to the first preset duration.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display the target content at a preset position in the second screen area within a second preset time period.
Optionally, in this embodiment of the application, the processor 110 is configured to move the target content from the preset position to the target position in the second screen area if a second input is received within a second preset time duration, where the second input is used to trigger an input for moving the target content to the target position; or, the processor 110 is configured to cancel displaying the target content displayed at the preset position after the second preset time period if no input is received within the second preset time period.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). Memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the content display method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing content display method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing content display method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (16)
1. A content display method applied to an electronic device having a foldable screen, the method comprising:
receiving a first input for moving target content from a first screen area to a second screen area with a screen of the electronic device in a folded state;
in response to the first input, when the target content is detected to contact a folding dividing line, displaying the target content in the second screen area according to a first preset parameter, wherein the folding dividing line is a screen dividing line when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas divided by the folding dividing line.
2. The method of claim 1, wherein the displaying the target content in a second screen area according to a first preset parameter in response to the first input comprises:
in response to the first input, displaying the target content in the second screen region according to a first area;
and when the first area is used for displaying the target content, the target content occupies the area of a screen area.
3. The method of claim 2, wherein the displaying the target content in the second screen region according to the first area comprises:
under the condition that the first area is smaller than a preset area, displaying the target content in the second screen area;
or,
under the condition that the first area is larger than or equal to the preset area, displaying the target content in the second screen area according to a second area;
and when the second area is used for displaying the target content, the target content occupies the area of the second screen area.
4. The method of claim 3, wherein the displaying the target content in the second screen region according to the second area comprises:
displaying the target content in the second screen region if the second area is greater than or equal to a target area;
wherein the target area is a product of the first area and a preset percentage.
5. The method of claim 1, wherein the displaying the target content in a second screen area according to a first preset parameter in response to the first input comprises:
and responding to the first input, and displaying the target content in the second screen area according to the contact duration of the target content and the folding boundary.
6. The method according to claim 5, wherein the displaying the target content in the second screen area according to the contact duration of the target content with the folding boundary includes:
and under the condition that the contact time length is greater than or equal to a first preset time length, displaying the target content in the second screen area.
7. The method of any of claims 1-6, wherein the displaying the target content in a second screen area comprises:
and displaying the target content at a preset position of the second screen area within a second preset time length.
8. The method of claim 7, further comprising:
if a second input is received within the second preset time length, moving the target content from the preset position to a target position in the second screen area, wherein the second input is used for moving the target content to the target position;
or,
and if no input is received within the second preset time, canceling the target content displayed at the preset position after the second preset time.
9. A content display apparatus, characterized in that the apparatus comprises: the device comprises a receiving module and a display module;
the receiving module is used for receiving a first input under the condition that the screen of the electronic equipment is in a folded state, wherein the first input is used for moving the target content from a first screen area to a second screen area;
the display module is configured to, in response to the first input received by the receiving module, when it is detected that the target content touches a folding boundary, display the target content in the second screen area according to a first preset parameter, where the folding boundary is a screen boundary when a screen of the electronic device is in a folded state, and the first screen area and the second screen area are two different screen display areas into which the screen is divided by the folding boundary.
10. The apparatus of claim 9, wherein the display module is specifically configured to display the target content in the second screen region according to a first area in response to the first input;
and when the first area is used for displaying the target content, the target content occupies the area of a screen area.
11. The apparatus according to claim 10, wherein the display module is specifically configured to display the target content in the second screen area when the first area is smaller than a preset area;
or,
under the condition that the first area is larger than or equal to the preset area, displaying the target content in the second screen area according to a second area;
and when the second area is used for displaying the target content, the target content occupies the area of the second screen area.
12. The apparatus according to claim 11, wherein the display module is specifically configured to display the target content in the second screen area if the second area is greater than or equal to a target area;
wherein the target area is a product of the first area and a preset percentage.
13. The apparatus according to claim 9, wherein the display module is specifically configured to display the target content in the second screen area according to a contact duration of the target content in contact with the folding boundary in response to the first input received by the receiving module.
14. The apparatus according to claim 13, wherein the display module is specifically configured to display the target content in the second screen area when the contact duration is greater than or equal to a first preset duration.
15. The apparatus according to any one of claims 9 to 11, wherein the display module is specifically configured to display the target content at a preset position in the second screen area within a second preset time period.
16. The apparatus of claim 15, further comprising: a processing module;
the processing module is configured to move the target content from the preset position to a target position in the second screen area if a second input is received within the second preset duration, where the second input is used to trigger an input for moving the target content to the target position;
or,
and the processing module is used for canceling the display of the target content displayed at the preset position after the second preset time length if no input is received within the second preset time length.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211049726.5A CN115357172A (en) | 2022-08-30 | 2022-08-30 | Content display method and device |
PCT/CN2023/114681 WO2024046203A1 (en) | 2022-08-30 | 2023-08-24 | Content display method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211049726.5A CN115357172A (en) | 2022-08-30 | 2022-08-30 | Content display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115357172A true CN115357172A (en) | 2022-11-18 |
Family
ID=84004115
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211049726.5A Pending CN115357172A (en) | 2022-08-30 | 2022-08-30 | Content display method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115357172A (en) |
WO (1) | WO2024046203A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024046203A1 (en) * | 2022-08-30 | 2024-03-07 | 维沃移动通信有限公司 | Content display method and apparatus |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582477A (en) * | 2018-11-30 | 2019-04-05 | 北京小米移动软件有限公司 | Document transmission method, terminal and storage medium |
CN111813293B (en) * | 2020-05-29 | 2021-12-10 | 维沃移动通信有限公司 | Application program management method and electronic equipment |
CN115357172A (en) * | 2022-08-30 | 2022-11-18 | 维沃移动通信有限公司 | Content display method and device |
-
2022
- 2022-08-30 CN CN202211049726.5A patent/CN115357172A/en active Pending
-
2023
- 2023-08-24 WO PCT/CN2023/114681 patent/WO2024046203A1/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024046203A1 (en) * | 2022-08-30 | 2024-03-07 | 维沃移动通信有限公司 | Content display method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
WO2024046203A1 (en) | 2024-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102571369B1 (en) | Display control method, storage medium and electronic device for controlling the display | |
KR101517136B1 (en) | Touch operation processing method and terminal device | |
CN104346060B (en) | The method and electronic equipment of information processing | |
CN112433693B (en) | Split screen display method and device and electronic equipment | |
CN114779977A (en) | Interface display method and device, electronic equipment and storage medium | |
CN116107531A (en) | Interface display method and device | |
CN111813305A (en) | Application program starting method and device | |
CN115357172A (en) | Content display method and device | |
CN114327726A (en) | Display control method, display control device, electronic equipment and storage medium | |
WO2023093661A1 (en) | Interface control method and apparatus, and electronic device and storage medium | |
CN114995713B (en) | Display control method, display control device, electronic equipment and readable storage medium | |
CN116244028A (en) | Interface display method and device and electronic equipment | |
CN115756238A (en) | Component display method and device, electronic equipment and medium | |
CN114020099B (en) | Display method and device | |
CN116027892A (en) | Electronic equipment protection method and device and electronic equipment | |
CN115576514A (en) | Content display method and device, electronic equipment and readable storage medium | |
CN114519212A (en) | Information display method and device | |
CN112764623B (en) | Content editing method and device | |
KR20130032598A (en) | Apparatus and method for controlling display size in portable terminal | |
CN117742551A (en) | Display control method and device thereof | |
CN117707732A (en) | Application switching method, device, electronic equipment and readable storage medium | |
CN116501226A (en) | Screenshot method and screenshot device | |
CN114500855A (en) | Display method, display device, electronic apparatus, and readable storage medium | |
CN116939361A (en) | Shooting control method and device and electronic equipment | |
CN116302229A (en) | Icon display method and device and foldable electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |