CN113362749B - Display method and device - Google Patents

Display method and device Download PDF

Info

Publication number
CN113362749B
CN113362749B CN202110574244.0A CN202110574244A CN113362749B CN 113362749 B CN113362749 B CN 113362749B CN 202110574244 A CN202110574244 A CN 202110574244A CN 113362749 B CN113362749 B CN 113362749B
Authority
CN
China
Prior art keywords
screen
content
sub
motion parameter
state
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.)
Active
Application number
CN202110574244.0A
Other languages
Chinese (zh)
Other versions
CN113362749A (en
Inventor
杨艳群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110574244.0A priority Critical patent/CN113362749B/en
Publication of CN113362749A publication Critical patent/CN113362749A/en
Application granted granted Critical
Publication of CN113362749B publication Critical patent/CN113362749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2380/00Specific applications
    • G09G2380/02Flexible displays

Landscapes

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

Abstract

The embodiment of the application discloses a display method and a display device, wherein the method comprises the following steps: determining a first motion parameter of a first sub-screen and a second motion parameter of a second sub-screen in the process of switching the folding screen from a first state to a second state; when the folding screen is in a first state, the folding screen displays first content; determining the sub-screen corresponding to the target motion parameter as the main screen when the electronic equipment is in the second state, wherein the target motion parameter is the smaller motion parameter of the first motion parameter and the second motion parameter; and displaying second content on the main screen, wherein the second content is obtained by processing the first content. According to the embodiment of the application, the content displayed on the folded main screen can be ensured to be the content which the user wants to browse.

Description

Display method and device
Technical Field
The embodiment of the application relates to the field of information processing, in particular to a display method and device.
Background
With the development of science and technology, electronic equipment with a folding screen gradually becomes a popular trend due to the characteristic of large screen area. The state of the folding screen can comprise an unfolding state and a folding state, and when the folding screen is in the unfolding state, the browsing experience can be improved; when the electronic equipment is in a folded state, a user can view the electronic equipment through the folded sub-screen, and the electronic equipment is convenient to hold.
At present, when the state of the folding screen is changed, the content displayed on the folding main screen cannot be guaranteed to be the content that the user wants to browse.
Disclosure of Invention
The embodiment of the application provides a display method and device, and aims to solve the problem that when the state of a folding screen is changed, the content displayed on a main screen of the folding screen cannot be guaranteed to be the content which a user wants to browse.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a display method, which is applied to an electronic device with a foldable screen, where the foldable screen includes a first sub-screen and a second sub-screen, and the method may include:
determining a first motion parameter of a first sub-screen and a second motion parameter of a second sub-screen in the process of switching the folding screen from a first state to a second state; when the folding screen is in a first state, the folding screen displays first content;
determining the sub-screen corresponding to the target motion parameter as a main screen when the electronic equipment is in a second state, wherein the target motion parameter is the smaller motion parameter of the first motion parameter and the second motion parameter;
and displaying second content on the main screen, wherein the second content is obtained by processing the first content.
In a second aspect, an embodiment of the present application provides a display device applied to an electronic device having a foldable screen, where the foldable screen includes a first sub-screen and a second sub-screen, and the display device may include:
the determining module is used for determining a first motion parameter of the first sub-screen and a second motion parameter of the second sub-screen in the process that the folding screen is switched from the first state to the second state; when the folding screen is in a first state, the folding screen displays first content;
the determining module is further configured to determine the sub-screen corresponding to the target motion parameter as the main screen when the electronic device is in the second state, where the target motion parameter is a smaller motion parameter of the first motion parameter and the second motion parameter;
and the display module is used for displaying second content on the main screen, wherein the second content is obtained by processing the first content.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, when the state of the folding screen is changed, a user tends to be biased to adjust (fold or unfold) the state of the sub-screen which is not needed to be seen in the folding screen. In this way, under the condition that the electronic device is changed from the first state to the second state, the first motion parameter of the first sub-screen and the second motion parameter of the second sub-screen are determined, and then the sub-screen corresponding to the smaller value is determined as the folded main screen. And finally, displaying the second content obtained by processing the first content in the main screen. Because the main screen is a screen with smaller motion parameters, namely the sub-screen which the user focuses on when changing the state of the folding screen, the content displayed on the folded main screen can be ensured to be the content which the user wants to browse.
Drawings
The present application may be better understood from the following description of specific embodiments of the application taken in conjunction with the accompanying drawings, in which like or similar reference numerals identify like or similar features.
Fig. 1 is a schematic view of an application scenario of a display method according to an embodiment of the present application;
fig. 2 is a flowchart of a display method according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a display method according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram of a target display location according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The display method provided by the embodiment of the application can be applied to at least the following application scenarios, which are explained below.
As shown in fig. 1, when the folding screen is in the unfolded state, the first content is displayed on the folding screen in the unfolded state. The folding screen comprises a first sub-screen and a second sub-screen, and the display content of the first sub-screen is different from that of the second sub-screen. It is assumed that the user browses what is displayed on the first sub-screen while the folding screen is in the unfolded state.
When a user needs to fold the folding screen electronic device, the folding screen is converted from an unfolding state (a first state) to a folding state (a second state). At this time, because the real viewing requirement of the user is not correctly judged, the second sub-screen is mistakenly determined as the main screen, and the first sub-screen is subjected to screen-off processing. However, the actual browsing requirement of the user is that the content displayed on the first sub-screen, so that the content displayed on the main screen is not the content that the user wants to browse.
In view of the problems in the related art, embodiments of the present application provide a display method, an apparatus, an electronic device, and a storage medium, so as to solve the problem in the related art that when the state of a folding screen changes, it cannot be guaranteed that content displayed on a main screen of the folding screen is content that a user wants to browse.
The method provided by the embodiment of the application can be applied to any scene which cannot guarantee that the content displayed on the main screen of the folding screen is the content that the user wants to browse besides the application scene.
According to the method provided by the embodiment of the application, under the condition that the folding screen is changed from the first state to the second state, the first motion parameter of the first sub-screen and the second motion parameter of the second sub-screen are determined, and then the sub-screen corresponding to the smaller value is determined as the folded main screen. Since when the state of the folding screen is changed, the user tends to prefer to adjust (fold or unfold) the state of the sub-screen of the folding screen that is not needed to be seen. Because the main screen is a screen with smaller motion parameters, that is, the sub-screen on which the user focuses when changing the state of the folding screen, the second content obtained by processing the first content is displayed in the main screen, and the content displayed on the folded main screen can be ensured to be the content that the user wants to browse.
Based on the application scenario, the following describes in detail a display method provided in the embodiment of the present application.
Fig. 2 is a flowchart of a display method according to an embodiment of the present disclosure.
As shown in fig. 2, the display method may include steps 210 to 230, and the method is applied to a display device, and is specifically as follows:
step 210, in the process of switching the folding screen from the first state to the second state, determining a first motion parameter of the first sub-screen and a second motion parameter of the second sub-screen; when the folding screen is in the first state, the folding screen displays first content.
And step 220, determining the sub-screen corresponding to the target motion parameter as the main screen when the electronic equipment is in the second state, wherein the target motion parameter is the smaller motion parameter of the first motion parameter and the second motion parameter.
And step 230, displaying second content on the main screen, wherein the second content is obtained by processing the first content.
The display method is applied to the electronic equipment with the folding screen, and the folding screen comprises a first sub-screen and a second sub-screen.
According to the display method, under the condition that the folding screen is changed from the first state to the second state, the first motion parameter of the first sub-screen and the second motion parameter of the second sub-screen are determined, and then the sub-screen corresponding to the smaller value is determined as the folded main screen. Since when the state of the folding screen is changed, the user tends to prefer to adjust (fold or unfold) the state of the sub-screen of the folding screen that is not needed to be seen. Because the main screen is a screen with smaller motion parameters, that is, the sub-screen on which the user focuses when changing the state of the folding screen, the second content obtained by processing the first content is displayed in the main screen, and the content displayed on the folded main screen can be ensured to be the content that the user wants to browse.
The contents of steps 210-230 are described below:
first, step 210 is involved.
In a possible embodiment, at least two cameras are arranged on the electronic device, and the at least two cameras are distributed on the first sub-screen and the second sub-screen, and step 210 may specifically include the following steps:
controlling at least two cameras to shoot first images corresponding to a plurality of folding screens in a target time period, wherein the target time period is a time period corresponding to switching of the folding screens from a first state to a second state;
and determining a first motion parameter and a second motion parameter according to the first image and the positions of the at least two cameras in the electronic equipment.
Specifically, in the process that the folding screen is switched from the first state to the second state, the folding angle of the folding screen can be detected by using the angle sensor, when the folding angle is larger than a preset threshold value, the state that a user needs to change the folding screen is judged, then at least two cameras are started to respectively record video or shoot n frames of images, and n is a positive integer.
When folding angle is greater than and predetermines the threshold value, control two at least cameras and in the target time quantum, shoot the first image that many folding screens correspond, wherein, shoot again when folding angle is greater than and predetermines the threshold value, be in order to prevent the mistake and touch. Wherein, to the folding screen of infolding, can open leading camera. To the folding screen of outer book, can open rearmounted camera.
Illustratively, if the position of the camera in the electronic device is on the left side of the plane of the panel of the electronic device. This camera sets up in first sub-screen promptly, and first sub-screen is left screen. When a user folds the right screen, in the process from the beginning of folding to the folding angle smaller than 90 degrees, the picture in the first image captured by the camera is basically unchanged, and after the folding angle is larger than 90 degrees, the picture in the first image captured by the camera gradually comprises the right screen.
Accordingly, if the camera is located in the electronic device, it is located on the right side of the plane of the panel of the electronic device. The camera is arranged on the second sub-screen, and the second sub-screen is a right screen. When a user folds the left screen, in the process from the beginning of folding to the folding angle smaller than 90 degrees, the picture in the first image captured by the camera gradually shifts to the right, and after the folding angle is larger than 90 degrees, the picture in the first image captured by the camera gradually comprises the left screen.
Therefore, the relative position relation between the first sub-screen and the second sub-screen can be determined according to the first image and the positions of the at least two cameras in the electronic equipment, and then the first motion parameter and the second motion parameter can be determined according to the relative position relation.
In another possible embodiment, step 210 may specifically include the following steps:
acquiring first position and attitude data of a first sub-screen in a target time period and second position and attitude data of a second sub-screen in the target time period, wherein the target time period corresponds to a process of switching from a first state to a second state;
and respectively determining a first motion parameter and a second motion parameter according to the first attitude data and the second attitude data.
Specifically, the first sub-screen may be provided with a first sensor, the second sub-screen may be provided with a second sensor, the first sensor and the second sensor may record pose data of the first sub-screen and the second sub-screen respectively, and when a relative value of the first pose data and the second pose data exceeds a certain threshold, it is determined that the user needs to change the state of the folding screen.
Wherein the above-mentioned related pose data may be three-dimensional position data, such as (a, b, c), where a, b and c represent the positions of the key points in the first sub-screen on the x-axis, y-axis and z-axis in the three-dimensional space, respectively; the above-mentioned motion parameter may be three-dimensional position change data.
And respectively determining a first motion parameter and a second motion parameter according to the first position data and the second position data. When the first motion parameter is larger than the second motion parameter, it can be judged that the user is changing the state of the first sub-screen, and the second sub-screen is a screen on which the user actually focuses attention, that is, the user has a larger viewing demand for the second sub-screen.
Next, step 220 is involved.
And determining the sub-screen corresponding to the smaller value of the first motion parameter and the second motion parameter as the main screen when the electronic equipment is in the second state.
When the state of the folding screen is changed, the user tends to be biased to adjust (fold or unfold) the state of the sub-screen which is not needed to be seen in the folding screen, that is, the screen with larger motion parameters is the screen which is not needed to be seen by the user. The sub-screen corresponding to the smaller value of the first motion parameter and the second motion parameter is determined as the main screen when the electronic equipment is in the second state, and the sub-screen on which the attention of the user is focused when the state of the folding screen is changed can be determined as the main screen.
For example, when it is required to switch from the folding screen (large screen) to the main screen (small screen), since the user is browsing the content in the first sub-screen, the user tends to prefer to fold the second sub-screen that is not required to be seen, so the motion parameter of the second sub-screen that is not required to be seen may be larger than that of the first sub-screen that is required to be seen. Therefore, the first sub-screen with smaller motion parameters is determined as the main screen, and the content which needs to be viewed by the user can be displayed on the main screen after the state is changed.
Finally, step 230 is involved.
The content displayed on the first sub-screen is different from the content displayed on the second sub-screen, and the step of processing the first content to obtain the second content may specifically include the following steps:
under the condition that the first sub-screen is determined to be the main screen, determining the content displayed on the first sub-screen to be second content; and determining the content displayed on the second sub-screen as the second content in the case that the second sub-screen is determined as the main screen.
And when the content displayed on the first sub-screen is different from the content displayed on the second sub-screen, under the condition that the first sub-screen is determined to be the main screen, determining the content displayed on the first sub-screen to be the second content, namely displaying the content displayed on the first sub-screen on the main screen.
And under the condition that the second sub-screen is determined to be the main screen, determining the content displayed on the second sub-screen to be the second content, namely displaying the content displayed on the second sub-screen on the main screen.
And if the content displayed on the first sub-screen and the content displayed on the second sub-screen are icons, determining the first icon on the first sub-screen as the second content and displaying the second content on the main screen under the condition that the first sub-screen is determined as the main screen.
The contents of different pages are displayed in the folded screen, namely the contents displayed on the first sub-screen are different from the contents displayed on the second sub-screen. The content displayed on the first sub-screen and the content displayed on the second sub-screen can be different interfaces in the same application program; the content displayed on the first sub-screen and the content displayed on the second sub-screen may also be pages in different applications.
As shown in fig. 3, in the case where the first sub-screen is determined to be the home screen, the a application interface displayed on the first sub-screen is determined to be the second content.
Accordingly, in a case where the second sub-screen is determined to be the home screen, the B application interface displayed on the second sub-screen is determined to be the second content.
In a possible embodiment, in order to enhance the display effect of the content displayed on the main screen, before step 230, the following steps may be further included:
processing the first content to obtain second content, wherein the second content is matched with the size of a display area of the main screen;
the step of processing the first content to obtain the second content may specifically include the following steps:
when the electronic equipment is switched from the first state to the second state, determining a browsing position of the user for browsing the first content according to the historical browsing behavior information of the user and/or the focusing position of the pupil of the user;
and processing the first content according to the browsing position to determine the second content.
When the folded screen displays the same page, the second content may be determined by detecting a position where the user's gaze stays (i.e., detecting a focus position of the user's pupil), and then processing the first content according to the browsing position.
In addition, whether the browsing position of the user browsing the first content is located in the first sub-screen or the second sub-screen can be determined according to the focusing position of the pupil of the user. Under the condition that the first sub-screen is the main screen, if the browsing position of the user for browsing the first content is located in the first sub-screen, the display content corresponding to the browsing position can be directly amplified and displayed; if the browsing position of the user for browsing the first content is located in the second sub-screen, the display content of the second sub-screen can be displayed to the main screen.
The step of determining a browsing position where the user browses the first content according to the focusing position of the pupil of the user may specifically include the following steps:
controlling a camera of the electronic device to shoot a second image, wherein the second image comprises an image in a pupil of the user; and determining the browsing position according to the second image.
When the content displayed by the folding screen is the same page, the camera can be started to detect the sight of the user, namely the camera of the electronic equipment is controlled to shoot a second image including the image in the pupil of the user, and then the browsing position is determined according to the second image.
The step of determining the browsing position of the first content browsed by the user according to the historical browsing behavior information of the user may specifically include the following steps:
acquiring first browsing time of a user for browsing the complete historical display content displayed on the folding screen and second browsing time of the user for browsing the first content, wherein the type of the historical display content is associated with the type of the first content; and determining the browsing position according to the relation between the first browsing time and the second browsing time.
In addition, the browsing position of the user for browsing the first content can be determined according to the historical browsing behavior information of the user.
Specifically, when the second browsing time is much shorter than the first browsing time, it may be determined that the browsing position is at the beginning of the folded screen. Namely, under the condition that the second browsing time value of the first content browsed by the user is very small, then the state of the folding screen is switched, and the browsing position can be determined to be positioned at the beginning of the folding screen; when the second browsing time is longer than half of the first browsing time, determining that the browsing position is located in the middle of the folding screen; when the second browsing time is greater than the first browsing time, it may be determined that the browsing location is at the end of the folded screen.
The step of processing the first content according to the browsing location and determining the second content may specifically include the following steps:
adjusting the content corresponding to the browsing position to a target display position of the main screen to obtain the adjusted content; determining the adjusted content as second content; and/or the presence of a gas in the gas,
and performing local amplification processing on the content corresponding to the browsing position to generate second content.
Specifically, the content corresponding to the browsing position may be adjusted to the target display position of the home screen to obtain the adjusted content; and determining the adjusted content as the second content.
Or the content corresponding to the browsing position is locally amplified to generate second content. Namely, a function similar to a magnifying glass is used for magnifying and displaying the content corresponding to the browsing position.
Illustratively, when the user browses the album, the state of the folding screen is changed, and the picture area corresponding to the browsing position can be displayed in a partially enlarged manner. Or when the user is browsing Wen Ziye, the font of the webpage is detected to be small, and the text page can be displayed in a playing mode.
In summary, in the embodiment of the present application, when the foldable screen is changed from the first state to the second state, the first motion parameter of the first sub-screen and the second motion parameter of the second sub-screen are determined, and then the sub-screen corresponding to a smaller value is determined as the folded main screen. Since when the state of the folding screen is changed, the user tends to prefer to adjust (fold or unfold) the state of the sub-screen of the folding screen that is not needed to be seen. Because the main screen is a screen with smaller motion parameters, that is, the sub-screen on which the user focuses when changing the state of the folding screen, the second content obtained by processing the first content is displayed in the main screen, and the content displayed on the folded main screen can be ensured to be the content that the user wants to browse.
It should be noted that, in the display method provided in the embodiment of the present application, the execution main body may be a display device, or a control module in the display device for executing the loading display method. In the embodiment of the present application, a display device executing a loading display method is taken as an example to describe the display method provided in the embodiment of the present application.
In addition, based on the display method, an embodiment of the present application further provides a display device, which is specifically described in detail with reference to fig. 5.
Fig. 5 is a schematic structural diagram of a display device according to an embodiment of the present disclosure.
As shown in fig. 5, the display apparatus 500 may be applied to an electronic device having a folding screen including a first sub-screen and a second sub-screen, and the display apparatus 500 may include:
a determining module 510, configured to determine a first motion parameter of the first sub-screen and a second motion parameter of the second sub-screen in a process of switching the foldable screen from the first state to the second state; when the folding screen is in the first state, the folding screen displays first content.
The determining module 520 is further configured to determine the sub-screen corresponding to the target motion parameter as the main screen when the electronic device is in the second state, where the target motion parameter is a smaller motion parameter of the first motion parameter and the second motion parameter.
The display module 530 is configured to display a second content on the home screen, where the second content is obtained by processing the first content.
In a possible embodiment, the determining module 520 may specifically include:
the control module is used for controlling the at least two cameras to shoot first images corresponding to the multiple folding screens in a target time period, and the target time period is a time period corresponding to the switching of the folding screens from the first state to the second state.
The determining module 520 is specifically configured to determine a first motion parameter and a second motion parameter according to the first image and the positions of the at least two cameras in the electronic device.
In a possible embodiment, the determining module 520 may specifically include:
the acquisition module is used for acquiring first position data of the first sub-screen in a target time period and second position data of the second sub-screen in the target time period, and the target time period corresponds to a process of switching from the first state to the second state.
The determining module 520 is specifically configured to determine a first motion parameter and a second motion parameter according to the first position data and the second position data, respectively.
In one possible embodiment, the display device 500 may further include:
and the processing module is used for processing the first content to obtain second content, and the second content is matched with the size of the display area of the main screen.
The determining module 520 is further configured to determine, when the electronic device is switched from the first state to the second state, a browsing position where the user browses the first content according to the historical browsing behavior information of the user and/or the focusing position of the pupil of the user.
The determining module 520 is further configured to process the first content according to the browsing location to determine the second content.
In a possible embodiment, the determining module 520 may specifically include:
and the adjusting module is used for adjusting the content corresponding to the browsing position to the target display position of the main screen to obtain the adjusted content.
A determining module 520, specifically configured to determine the adjusted content as the second content; and/or performing local amplification processing on the content corresponding to the browsing position to generate second content.
In summary, according to the display device provided in the embodiment of the present application, when the foldable screen is changed from the first state to the second state, the first motion parameter of the first sub-screen and the second motion parameter of the second sub-screen are determined, and then the sub-screen corresponding to a smaller value is determined as the folded main screen. Since when the state of the folding screen is changed, the user tends to prefer to adjust (fold or unfold) the state of the sub-screen of the folding screen that is not needed to be seen. Because the main screen is a screen with smaller motion parameters, that is, the sub-screen on which the user focuses when changing the state of the folding screen, the second content obtained by processing the first content is displayed in the main screen, and the content displayed on the folded main screen can be ensured to be the content that the user wants to browse.
The display device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The display device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The display device provided in the embodiment of the present application can implement each process implemented by the display device in the method embodiments of fig. 2 to fig. 4, and is not described herein again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601, a memory 602, and a program or an instruction stored in the memory 602 and executable on the processor 601, where the program or the instruction is executed by the processor 601 to implement each process of the above-mentioned chat group creation method embodiment, and can achieve the same technical effect, and in order to avoid repetition, it is not described here again.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 7 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
The electronic device 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710, a power supply 711, and the like. Among them, the input unit 704 may include a graphic processor 7041 and a microphone 7042; the display unit 706 may include a display panel 7061; the user input unit 707 may include a touch panel 7071 and other input devices 7072; memory 709 may include applications and an operating system.
Those skilled in the art will appreciate that the electronic device 700 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply 711 may be logically connected to the processor 710 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
A processor 710, configured to determine a first motion parameter of the first sub-screen and a second motion parameter of the second sub-screen in a process of switching the foldable screen from the first state to the second state; when the folding screen is in the first state, the folding screen displays first content.
The processor 710 is further configured to determine the sub-screen corresponding to the target motion parameter as the main screen when the electronic device is in the second state, where the target motion parameter is a smaller motion parameter of the first motion parameter and the second motion parameter.
The display unit 706 is configured to display a second content on the home screen, where the second content is obtained by processing the first content.
Optionally, the processor 710 is further configured to control the at least two cameras to capture first images corresponding to the multiple folding screens in a target time period, where the target time period is a time period corresponding to switching the folding screen from the first state to the second state.
The processor 710 is further configured to determine a first motion parameter and a second motion parameter according to the first image and the positions of the at least two cameras in the electronic device.
Optionally, the processor 710 is further configured to obtain first position data of the first sub-screen in a target time period, and second position data of the second sub-screen in the target time period, where the target time period corresponds to a process of switching from the first state to the second state.
The processor 710 is further configured to determine a first motion parameter and a second motion parameter according to the first posture data and the second posture data, respectively.
Optionally, the processor 710 is further configured to process the first content to obtain a second content, where the second content matches with a size of a display area of the home screen.
The processor 710 is further configured to determine a browsing position where the user browses the first content according to the historical browsing behavior information of the user and/or the focusing position of the pupil of the user when the electronic device is switched from the first state to the second state.
The processor 710 is further configured to process the first content according to the browsing location to determine a second content.
Optionally, the processor 710 is further configured to adjust the content corresponding to the browsing position to a target display position of the home screen, so as to obtain an adjusted content.
A processor 710, further configured to determine the adjusted content as the second content; and/or performing local amplification processing on the content corresponding to the browsing position to generate second content.
In the embodiment of the application, under the condition that the folding screen is changed from the first state to the second state, the first motion parameter of the first sub-screen and the second motion parameter of the second sub-screen are determined, and then the sub-screen corresponding to the smaller value is determined as the folded main screen. Since when the state of the folding screen is changed, the user tends to prefer to adjust (fold or unfold) the state of the sub-screen of the folding screen that is not needed to be seen. Because the main screen is a screen with smaller motion parameters, that is, the sub-screen on which the user focuses when changing the state of the folding screen, the second content obtained by processing the first content is displayed in the main screen, and the content displayed on the folded main screen can be ensured to be the content that the user wants to browse.
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 the processes of the 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 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 a system-on-chip, or a system-on-chip.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (7)

1. A display method is applied to an electronic device with a folding screen, wherein the folding screen comprises a first sub-screen and a second sub-screen, and the method comprises the following steps:
determining a first motion parameter of the first sub-screen and a second motion parameter of the second sub-screen in the process of switching the folding screen from a first state to a second state; when the folding screen is in the first state, the folding screen displays first content;
determining a sub-screen corresponding to a target motion parameter as a main screen when the electronic equipment is in the second state, wherein the target motion parameter is a smaller motion parameter of the first motion parameter and the second motion parameter;
displaying second content on the main screen, wherein the second content is obtained by processing the first content;
be provided with two at least cameras on the electronic equipment, two at least cameras distribute and set up in first sub-screen with on the second sub-screen, confirm the first motion parameter of first sub-screen and the second motion parameter of second sub-screen includes:
controlling the at least two cameras to shoot a plurality of first images corresponding to the folding screen within a target time period, wherein the target time period is a time period corresponding to the switching of the folding screen from the first state to the second state;
and determining the first motion parameter and the second motion parameter according to the first image and the positions of the at least two cameras in the electronic equipment.
2. The method of claim 1, wherein prior to displaying the second content on the home screen, the method further comprises:
processing the first content to obtain second content, wherein the second content is matched with the size of a display area of the main screen;
the processing the first content to obtain the second content includes:
when the electronic equipment is switched from the first state to the second state, determining a browsing position of the user for browsing the first content according to historical browsing behavior information of the user and/or a focusing position of pupils of the user;
and processing the first content according to the browsing position to determine the second content.
3. The method of claim 2, wherein the processing the first content according to the browsing location and determining the second content comprises:
adjusting the content corresponding to the browsing position to a target display position of the main screen to obtain the adjusted content;
determining the adjusted content as the second content; and/or the presence of a gas in the gas,
and carrying out local amplification processing on the content corresponding to the browsing position to generate the second content.
4. A display device applied to an electronic apparatus having a foldable screen, the foldable screen including a first sub-screen and a second sub-screen, the device comprising:
the determining module is used for determining a first motion parameter of the first sub-screen and a second motion parameter of the second sub-screen in the process that the folding screen is switched from a first state to a second state; when the folding screen is in the first state, the folding screen displays first content;
the determining module is further configured to determine a sub-screen corresponding to a target motion parameter as a main screen when the electronic device is in the second state, where the target motion parameter is a smaller motion parameter of the first motion parameter and the second motion parameter;
the display module is used for displaying second content on the main screen, wherein the second content is obtained by processing the first content;
be provided with two at least cameras on the electronic equipment, two at least cameras distribute set up in first sub-screen with on the second sub-screen, confirm the module, include:
the control module is used for controlling the at least two cameras to shoot a plurality of first images corresponding to the folding screen in a target time period, wherein the target time period is a time period corresponding to the folding screen which is switched from the first state to the second state;
the determining module is specifically configured to determine the first motion parameter and the second motion parameter according to the first image and the positions of the at least two cameras in the electronic device.
5. The apparatus of claim 4, further comprising:
the processing module is used for processing the first content to obtain second content, and the second content is matched with the size of the display area of the main screen;
the determining module is further configured to determine, when the electronic device is switched from the first state to the second state, a browsing position where the user browses the first content according to historical browsing behavior information of the user and/or a focusing position of a pupil of the user;
the determining module is further configured to process the first content according to the browsing location to determine the second content.
6. The apparatus of claim 5, wherein the determining module comprises:
the adjusting module is used for adjusting the content corresponding to the browsing position to a target display position of the main screen to obtain the adjusted content;
the determining module is specifically configured to determine the adjusted content as the second content; and/or performing local amplification processing on the content corresponding to the browsing position to generate the second content.
7. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the display method according to any one of claims 1 to 3.
CN202110574244.0A 2021-05-25 2021-05-25 Display method and device Active CN113362749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110574244.0A CN113362749B (en) 2021-05-25 2021-05-25 Display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110574244.0A CN113362749B (en) 2021-05-25 2021-05-25 Display method and device

Publications (2)

Publication Number Publication Date
CN113362749A CN113362749A (en) 2021-09-07
CN113362749B true CN113362749B (en) 2023-02-03

Family

ID=77527726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110574244.0A Active CN113362749B (en) 2021-05-25 2021-05-25 Display method and device

Country Status (1)

Country Link
CN (1) CN113362749B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116723256A (en) * 2022-02-28 2023-09-08 荣耀终端有限公司 Display method of electronic equipment with folding screen

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN107515669A (en) * 2016-06-17 2017-12-26 北京小米移动软件有限公司 Display methods and device
CN108958587A (en) * 2018-07-06 2018-12-07 Oppo广东移动通信有限公司 split screen processing method, device, storage medium and electronic equipment
CN208386624U (en) * 2018-05-25 2019-01-15 Oppo广东移动通信有限公司 folding device
CN112771467A (en) * 2018-10-17 2021-05-07 深圳市柔宇科技股份有限公司 Bendable mobile terminal and screen switching method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4260215B1 (en) * 2007-08-29 2009-04-30 任天堂株式会社 Imaging device
EP3734407A1 (en) * 2011-02-10 2020-11-04 Samsung Electronics Co., Ltd. Portable device comprising a touch-screen display, and method for controlling same
EP3985955A1 (en) * 2016-02-05 2022-04-20 Samsung Electronics Co., Ltd. Electronic device comprising multiple displays and method for operating same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107515669A (en) * 2016-06-17 2017-12-26 北京小米移动软件有限公司 Display methods and device
CN106933330A (en) * 2017-03-13 2017-07-07 维沃移动通信有限公司 A kind of display control method and mobile terminal
CN208386624U (en) * 2018-05-25 2019-01-15 Oppo广东移动通信有限公司 folding device
CN108958587A (en) * 2018-07-06 2018-12-07 Oppo广东移动通信有限公司 split screen processing method, device, storage medium and electronic equipment
CN112771467A (en) * 2018-10-17 2021-05-07 深圳市柔宇科技股份有限公司 Bendable mobile terminal and screen switching method thereof

Also Published As

Publication number Publication date
CN113362749A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN111638847B (en) Split screen display method and device and electronic equipment
CN112181166A (en) Input method soft keyboard display method and device
CN114518820A (en) Icon sorting method and device and electronic equipment
CN113362749B (en) Display method and device
CN113407144B (en) Display control method and device
CN112995406B (en) Display method and device and electronic equipment
JP2023544544A (en) Screen capture methods, devices and electronic equipment
US20230274388A1 (en) Photographing Method, and Electronic Device and Non-Transitory Readable Storage Medium
CN111638839A (en) Screen capturing method and device and electronic equipment
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN112887607B (en) Shooting prompting method and device
CN115097979A (en) Icon management method and icon management device
CN114338874A (en) Image display method of electronic device, image processing circuit and electronic device
CN112181269B (en) Content display method and device and electronic equipment
CN114579233A (en) Desktop deformer display method and device, electronic equipment and storage medium
CN114578899A (en) Display method, display device, electronic equipment and readable storage medium
CN113034213B (en) Cartoon content display method, device, equipment and readable storage medium
CN114285922A (en) Screenshot method, screenshot device, electronic equipment and media
JP2023553089A (en) Image generation method, device and electronic equipment
CN114491309A (en) Picture processing method and device
CN113157184A (en) Content display method and device, electronic equipment and readable storage medium
CN112019686A (en) Display method and device and electronic equipment
CN112905091A (en) Application program starting method and device and electronic equipment
CN112231030A (en) Display control method and device and electronic equipment
CN114286010B (en) Shooting method, shooting device, electronic equipment and medium

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
GR01 Patent grant
GR01 Patent grant