CN111124225B - Display control method and electronic equipment - Google Patents
Display control method and electronic equipment Download PDFInfo
- Publication number
- CN111124225B CN111124225B CN201911292942.0A CN201911292942A CN111124225B CN 111124225 B CN111124225 B CN 111124225B CN 201911292942 A CN201911292942 A CN 201911292942A CN 111124225 B CN111124225 B CN 111124225B
- Authority
- CN
- China
- Prior art keywords
- screen
- page
- target
- sub
- preset angle
- 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
Links
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/16—Constructional details or arrangements
- G06F1/1613—Constructional details or arrangements for portable computers
- G06F1/1633—Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
- G06F1/1637—Details related to the display arrangement, including those related to the mounting of the display in the housing
- G06F1/1641—Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
-
- 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/147—Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a display control method and electronic equipment, wherein the method comprises the following steps: detecting rotation information of a target screen under the condition that a first screen and a second screen of the electronic equipment are in an unfolded state and a first page is displayed; and under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction, the first page is controlled to move out of the first screen and the second screen from the edge of the second screen, and the second page is controlled to move into the first screen and the second screen from the edge of the first screen. According to the embodiment of the invention, the screen sliding operation of the display interface is triggered under the condition that one screen of the folding screen is detected to rotate towards the first direction by the preset angle and then rotates towards the second direction, and the screen sliding operation of the display interface is triggered by utilizing the screen rotation of the folding screen, so that the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved, and the user experience is effectively improved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a display control method and an electronic device.
Background
The folding screen device is an important direction for future development of electronic devices, and compared with a common terminal, the folding screen device has obvious advantages in large screen and folding characteristics. The folding screen is a brand new form of electronic equipment, and the interaction mode is also greatly different than before. With the successive release of the folding screen products, the display interface of the electronic equipment only increases the area, other functions are not changed greatly, and the characteristics and advantages of the folding screen are not fully used. With the increase of the display area, the operation of sliding the screen or turning the page on the folding screen is inconvenient, and the user experience is affected.
Disclosure of Invention
The invention provides a display control method and electronic equipment, and aims to solve the problem that screen sliding operation of folding screen equipment is inconvenient.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a display control method, including:
detecting rotation information of a target screen under the condition that a first screen and a second screen of the electronic equipment are in an unfolded state and a first page is displayed, wherein the target screen is the first screen or the second screen;
and under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction, the first page is controlled to move out of the first screen and the second screen from the edge of the second screen, and the second page is controlled to move into the first screen and the second screen from the edge of the first screen.
In a second aspect, an embodiment of the present invention further provides an electronic device, including:
the detection module is used for detecting rotation information of a target screen under the condition that a first screen and a second screen of the electronic equipment are in an unfolded state and a first page is displayed, wherein the target screen is the first screen or the second screen;
the first control module is used for controlling the first page to move out of the first screen and the second screen from the edge of the second screen and controlling the second page to move into the first screen and the second screen from the edge of the first screen under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the display control method.
In a fourth aspect, the embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the display control method are implemented.
In the embodiment of the invention, the screen sliding operation of the display interface is triggered under the condition that one screen of the folding screen is detected to rotate towards the first direction by the preset angle and then rotates towards the second direction, and the screen sliding operation of the display interface is triggered by utilizing the screen rotation of the folding screen, so that the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved, and the user experience is effectively improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a display control method according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a first screen and a second screen displaying two pages in accordance with an embodiment of the present invention;
FIG. 3 is a schematic view of a screen folding angle according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of page movement according to an embodiment of the present invention;
FIG. 5 is a second flowchart illustrating a display control method according to an embodiment of the invention;
FIG. 6 is a block diagram of an electronic device according to an embodiment of the invention;
fig. 7 is a schematic diagram showing a hardware configuration of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a display control method, including:
in this embodiment, the unfolded state means that an included angle between the first screen and the second screen is 180 degrees. When a first screen and a second screen of an electronic device are in an expanded state, displaying the first page, where the first page may include only one sub-page or may include multiple sub-pages, for example: when the first page includes only one sub-page, the first screen and the second screen respectively display a portion of the sub-page; when the first page includes two sub-pages, the first screen displays a first sub-page, and the second screen displays a second sub-page.
Use first page is electronic equipment's desktop icon page, first page includes two subpages as an example, and two subpages show a plurality of Application (APP) icons respectively, as shown in fig. 2, first screen display first icon page 21, second screen display second icon page 22, like this under the expansion state, electronic equipment's screen can show two pages of desktop icons simultaneously, and two screens show one page respectively about, can improve display efficiency.
102, under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction, controlling the first page to move out of the first screen and the second screen from the edge of the second screen, and controlling the second page to move into the first screen and the second screen from the edge of the first screen.
Optionally, the electronic device includes a detection module, configured to detect a scene triggering a screen sliding operation by detecting rotation information of a target screen, where the scene triggering the screen sliding operation may be that a first screen or a second screen is folded inward to a preset angle and then folded outward when detecting that the electronic device is in an unfolded state, or that the first screen or the second screen is folded outward to a preset angle and then folded inward when detecting that the electronic device is in an unfolded state. It should be noted that, when detecting the rotation information, the folded screen may be the first screen or the second screen. As shown in fig. 3, the target screen is folded inward to a preset angle α.
Taking the first screen as a target screen as an example, the first direction may be a direction close to the second screen, the second direction is a direction opposite to the first direction, and the preset angle is set according to a requirement. When the target screen rotates towards the first direction for a preset angle and rotates towards the second direction, the first screen is considered to be folded inwards to the preset angle and then folded outwards, screen sliding operation is considered to be triggered, the first page is controlled to display at the moment, the edge of the first screen is gradually moved out by the second screen, the edge of the second page adjacent to the first page is controlled to follow the change of the folding angle, and the edge of the second screen is gradually moved in by the first screen, so that the first screen and the page on the second screen slide. When the target screen is detected to rotate towards a first direction by a preset angle and then rotate towards a second direction opposite to the first direction, the first page can be moved out from the second screen, and the second page is moved in from the first screen; alternatively, the first page may be moved out from the first screen, and the second page may be moved in from the second screen.
According to the embodiment of the invention, under the condition that one screen of the folding screen is detected to rotate towards the first direction by the preset angle and then rotates towards the second direction, the screen sliding operation of the display interface is triggered, and the screen of the display interface is triggered by the screen rotation of the folding screen, so that a user does not need to slide a long distance on the screen by fingers to turn pages, and the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved; in addition, the first screen and the second screen can display two pages of page contents, and the space utilization rate of the screens is improved.
It should be noted that, when the target screen rotates from the preset angle to the second direction until the first screen and the second screen are in the expanded state, the display interfaces of the first screen and the second screen may display the second page adjacent to the first page, or may display the last page.
Optionally, when it is detected that the target screen rotates by a preset angle toward a first direction and then rotates toward a second direction opposite to the first direction until the first screen and the second screen are in an expanded state, the second page is displayed in at least one of the first screen and the second screen. At the moment, one-time page turning is triggered by one-time inward folding and one-time outward folding operation of the target screen, namely only one page of content is slid, and when the target screen rotates from the preset angle to the first screen and the second screen are completely unfolded, the display interface of the screen slides from the first page to the second page adjacent to the first page; and completing a complete screen sliding process of the screen display interface, and repeating the above steps to ensure that the display interface continuously slides towards the second screen so as to ensure that the rear page slides into the screen. It should be noted that, if the first page includes two sub-pages and the second page includes one sub-page, when the rotation of the target screen triggers the page turning, one of the first screen and the second screen displays the second page.
Optionally, when it is detected that the target screen rotates by a preset angle toward a first direction and then rotates toward a second direction opposite to the first direction until the first screen and the second screen are in the expanded state, displaying a last page after the second page in at least one of the first screen and the second screen. And at the moment, the operation of turning the target screen inwards and outwards once triggers page turning for many times, and when the target screen rotates from the preset angle to the first screen and the second screen are completely unfolded, the display interface of the screen slides from the first page to the last page. At this time, the user can browse a plurality of pages in the rotation process of the first screen. It should be noted that, if the first page includes two sub-pages and the last page includes one sub-page, when the rotation of the target screen triggers the page turning, one of the first screen and the second screen displays the last page.
Taking a displayed page as a desktop icon page as an example, assuming that the number of desktop icons is 4, after the target screen is folded inwards to a preset angle and then folded outwards once, turning the page once is realized, namely displaying the 2 nd desktop icon when the screen is unfolded; or after the target screen is folded inwards to a preset angle and then folded outwards once, turning from the first page to the last page is realized, namely, the 4 th page of desktop icons are displayed when the screen is unfolded, and in the rotating process of the target screen, a user can preview the 4 th page of desktop icons.
Optionally, in the process that the target screen rotates from the preset angle to the second direction, the first page meets at least one of the following conditions: the moving distance of the first page is in positive correlation with the change of a target included angle, and the target included angle is the included angle between the first screen and the second screen; the speed at which the first page moves is positively correlated with the rate at which the target screen is moving towards the second direction.
The larger the angle of the target screen when the target screen is folded outwards from the preset angle is, the larger the sliding distance of the page on the display interface is, the faster the folding speed is, and the faster the sliding speed of the first page is. And the target screen is folded outwards to trigger the first page to slide out towards the edge of the second screen, namely the second page to be slid in enters from the edge of the first screen.
Taking a displayed page as a desktop icon page as an example, as shown in fig. 4, a first page 41 is a currently displayed icon page, a second page 42 is an icon page to be slid into a screen, the left side is the second screen, and the right side is the first screen, when the right screen is folded inward to a preset angle α, the right screen starts to be folded outward, then the angle required to move when the right screen is folded outward to be completely unfolded to 180 degrees is also α, in this process, the first page 41 gradually slides out of the screen to the left, and the second page 42 also gradually moves into the screen to the left. Assuming that the second page 41 has to be moved a distance w to completely enter the screen for displaying, and every time the right screen is folded outward by 1 degree, the distance s that the displayed page needs to be slid is w/α.
It should be noted that, taking the target screen as the first screen as an example, when the display pages in the first screen and the second screen slide to the last page, the rotation of the first screen does not trigger the page sliding any more, and at this time, folding the second screen inwards to a preset angle and then outwards can trigger the page to move out of the screen towards the edge of the first screen, that is, the operation is opposite to the screen sliding operation when the first screen rotates.
Optionally, when the first page includes a first sub-page and a second sub-page, and the first screen and the second screen are in an expanded state, the first screen displays the first sub-page, and the second screen displays the second sub-page;
and under the condition that the second page comprises a third sub-page, if the target screen rotates towards the second direction from the preset angle until the first screen and the second screen are in an unfolded state, the first screen displays the third sub-page, and the second screen displays the first sub-page.
This embodiment is a case where the first screen and the second screen respectively display two different pages. The first page comprises a first sub-page and a second sub-page, when the screen sliding operation is carried out, if a second page adjacent to the first page only comprises a third sub-page, the first page is moved out by half towards the edge of the second screen, namely the second sub-page is moved out, the first sub-page is moved to the second screen for display, the third sub-page is moved into the first screen for display, and at the moment, every time the first screen is folded outwards by 1 degree, the sliding distance s required by the displayed page is w/(2 a).
In the embodiment, the display interface of the folding screen electronic equipment can simultaneously display two pages of page contents, so that the screen utilization rate of the electronic equipment is effectively improved. In addition, the rotation of the target screen can be used for triggering the sliding of the two pages at the same time, and the user does not need to slide a long distance on the screen through fingers to realize page turning, so that the screen sliding speed is improved, and the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved.
Optionally, as shown in fig. 5, the method further includes:
the first input may be a touch operation of a user on a first touch button, and the first touch button may be an entity key of the electronic device, such as a home key, or may be a virtual key on a screen. The embodiment is suitable for the condition that the operation of turning the target screen inwards and outwards once triggers multiple page turning.
In the process that the target screen rotates towards the second direction from the preset angle, when a page which is interested by a user is browsed, the screen sliding operation can be stopped through the first input of the first touch button.
And when the electronic equipment receives the first input, and the user is considered to have a requirement for stopping the screen sliding operation, acquiring the page content displayed in the first screen and the second screen at the moment, wherein the page content at the moment is the page content to be displayed when the screens are completely unfolded.
After receiving the first input, the electronic device stops the screen sliding operation of the first screen and the second screen, that is, when the target screen continues to rotate towards the second direction, the display page is kept unchanged until the first screen and the second screen are completely unfolded to 180 degrees, and then the user can use or browse the content of the display page.
Optionally, in the process that the target screen rotates from the preset angle to the second direction, when the target screen rotates by one target angle, the pages displayed in the first screen and the second screen are switched to the next page. The target angle can be obtained by calculation, and can also be set for a user according to requirements.
In this embodiment, when the first screen is rotated toward the second direction, the angle by which the page displayed on the screen and the target screen are rotated is a "gradient" relationship. For example, the right screen shown in fig. 4 is rotated to an angle α to start sliding, assuming that a total of n pages are displayed, which is currently at the m-th page. If n-m pages exist from the current page to the last page, the target angle can be an angle alpha/(n-m), the page is triggered to be turned to the next page at each angle alpha/(n-m) in the process of folding the right-side screen outwards, the page stays on the current page when the page turning condition is not triggered, and the user can check the information of the current page. If the current page is the target page that the user wants to find, the preview process is interrupted by triggering the first touch button (such as a home key), and the second screen of the first screen keeps the current preview page unchanged.
According to the embodiment of the invention, under the condition that one screen of the folding screen is detected to rotate towards the first direction by the preset angle and then rotates towards the second direction, the screen sliding operation of the display interface is triggered, and the screen of the display interface is triggered by the screen rotation of the folding screen, so that a user does not need to slide a long distance on the screen by fingers to turn pages, and the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved; in addition, the first screen and the second screen can display two pages of page contents, and the space utilization rate of the screens is improved.
As shown in fig. 6, an embodiment of the present invention further provides an electronic device 600, including:
the detection module 610 is configured to detect rotation information of a target screen when a first screen and a second screen of an electronic device are in an expanded state and a first page is displayed, where the target screen is the first screen or the second screen;
the first control module 620 is configured to, when it is detected that the target screen rotates by a preset angle in a first direction and then rotates in a second direction opposite to the first direction, control the first page to move out of the first screen and the second screen from an edge of the second screen, and control the second page to move into the first screen and the second screen from the edge of the first screen.
Optionally, in the process that the target screen rotates from the preset angle to the second direction, the first page meets at least one of the following conditions:
the moving distance of the first page is in positive correlation with the change of a target included angle, and the target included angle is the included angle between the first screen and the second screen;
the speed at which the first page moves is positively correlated with the rate at which the target screen is moving towards the second direction.
Optionally, when it is detected that the target screen rotates by a preset angle toward a first direction and then rotates toward a second direction opposite to the first direction until the first screen and the second screen are in an expanded state, the second page is displayed in at least one of the first screen and the second screen.
Optionally, when it is detected that the target screen rotates by a preset angle toward a first direction and then rotates toward a second direction opposite to the first direction until the first screen and the second screen are in the expanded state, displaying a last page after the second page in at least one of the first screen and the second screen.
Optionally, when the first page includes a first sub-page and a second sub-page, and the first screen and the second screen are in an expanded state, the first screen displays the first sub-page, and the second screen displays the second sub-page;
and under the condition that the second page comprises a third sub-page, if the target screen rotates towards the second direction from the preset angle until the first screen and the second screen are in an unfolded state, displaying the third sub-page on the first screen, and displaying the first sub-page on the second screen.
Optionally, the electronic device further comprises:
the receiving module is used for receiving a first input in the process that the target screen rotates towards the second direction from the preset angle;
the response module is used for responding to the first input and acquiring the currently displayed page contents of the first screen and the second screen;
and the second control module is used for keeping the content of the currently displayed page of the first screen and the second screen unchanged in the process that the target screen continues to rotate towards the second direction after the first input is received.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of fig. 1 to fig. 5, and is not described herein again to avoid repetition.
According to the embodiment of the invention, under the condition that one screen of the folding screen is detected to rotate towards the first direction by the preset angle and then rotates towards the second direction, the screen sliding operation of the display interface is triggered, and the screen of the display interface is triggered by the screen rotation of the folding screen, so that a user does not need to slide a long distance on the screen by fingers to turn pages, and the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved; in addition, the first screen and the second screen can display two pages of page contents, and the space utilization rate of the screens is improved.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
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. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 is configured to detect rotation information of a target screen when a first screen and a second screen of the electronic device are in an expanded state and a first page is displayed, where the target screen is the first screen or the second screen;
and under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction, the first page is controlled to move out of the first screen and the second screen from the edge of the second screen, and the second page is controlled to move into the first screen and the second screen from the edge of the first screen.
According to the embodiment of the invention, under the condition that one screen of the folding screen is detected to rotate towards the first direction by the preset angle and then rotates towards the second direction, the screen sliding operation of the display interface is triggered, and the screen of the display interface is triggered by the screen rotation of the folding screen, so that a user does not need to slide a long distance on the screen by fingers to turn pages, and the problem of inconvenience in screen sliding operation of large-screen electronic equipment is solved; in addition, the first screen and the second screen can display two pages of page contents, and the space utilization rate of the screens is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 701 may be used for receiving and sending signals during a message transmission and reception process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 710; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 701 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 702, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 703 may convert audio data received by the radio frequency unit 701 or the network module 702 or stored in the memory 709 into an audio signal and output as sound. Also, the audio output unit 703 may also provide audio output related to a specific function performed by the electronic apparatus 700 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 703 includes a speaker, a buzzer, a receiver, and the like.
The input unit 704 is used to receive audio or video signals. The input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics processor 7041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 706. The image frames processed by the graphic processor 7041 may be stored in the memory 709 (or other storage medium) or transmitted via the radio unit 701 or the network module 702. The microphone 7042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 701 in case of a phone call mode.
The electronic device 700 also includes at least one sensor 705, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 7061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 7061 and/or a backlight when the electronic device 700 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 705 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 706 is used to display information input by the user or information provided to the user. The Display unit 706 may include a Display panel 7061, and the Display panel 7061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 707 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 707 includes a touch panel 7071 and other input devices 7072. The touch panel 7071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 7071 (e.g., operations by a user on or near the touch panel 7071 using a finger, a stylus, or any other suitable object or attachment). The touch panel 7071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 7071 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 707 may include other input devices 7072 in addition to the touch panel 7071. In particular, the other input devices 7072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 7071 may be overlaid on the display panel 7061, and when the touch panel 7071 detects a touch operation on or near the touch panel 7071, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 7061 according to the type of the touch event. Although the touch panel 7071 and the display panel 7061 are shown in fig. 7 as two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 7071 and the display panel 7061 may be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 708 is an interface for connecting an external device to the electronic apparatus 700. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 708 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 700 or may be used to transmit data between the electronic apparatus 700 and the external device.
The memory 709 may be used to store software programs as well as various data. The memory 709 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 709 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 709 and calling data stored in the memory 709, thereby monitoring the whole electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 700 may also include a power supply 711 (e.g., a battery) for providing power to the various components, and preferably, the power supply 711 may be logically coupled to the processor 710 via a power management system, such that functions of managing charging, discharging, and power consumption may be performed via the power management system.
In addition, the electronic device 700 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the foregoing display control method embodiment, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the display control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention 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 invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Claims (9)
1. A display control method, comprising:
detecting rotation information of a target screen under the condition that a first screen and a second screen of the electronic equipment are in an unfolded state and a first page is displayed, wherein the target screen is the first screen or the second screen;
under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction, the first page is controlled to move out of the first screen and the second screen from the edge of the second screen, and the second page is controlled to move into the first screen and the second screen from the edge of the first screen;
in the process that the target screen rotates towards the second direction from the preset angle, the first page meets at least one of the following conditions:
the moving distance of the first page is in positive correlation with the change of a target included angle, and the target included angle is the included angle between the first screen and the second screen;
the speed of the first page movement is positively correlated with the rate of motion of the target screen towards the second direction;
when the first page comprises a first sub-page and a second sub-page, and the first screen and the second screen are in an unfolded state, displaying the first sub-page on the first screen and displaying the second sub-page on the second screen;
under the condition that the second page comprises a third sub-page, if the target screen rotates towards the second direction from the preset angle until the first screen and the second screen are in an unfolded state, displaying the third sub-page on the first screen, and displaying the first sub-page on the second screen;
and in the process that the target screen rotates towards the second direction from the preset angle, when the target screen rotates by one target angle, the pages displayed in the first screen and the second screen are switched to the next page.
2. The method according to claim 1, wherein the second page is displayed in at least one of the first screen and the second screen when it is detected that the target screen is rotated by a preset angle in a first direction and then rotated in a second direction opposite to the first direction until the first screen and the second screen are in the unfolded state.
3. The method according to claim 1, wherein in a case where it is detected that the target screen is rotated by a preset angle in a first direction and then rotated in a second direction opposite to the first direction until the first screen and the second screen are in the unfolded state, a last page following the second page is displayed in at least one of the first screen and the second screen.
4. The method according to claim 1 or 3, characterized in that the method further comprises:
receiving a first input in the process that the target screen rotates towards the second direction from the preset angle;
responding to the first input, and acquiring currently displayed page contents of the first screen and the second screen;
and keeping the content of the currently displayed page of the first screen and the second screen unchanged in the process that the target screen continues to rotate towards the second direction after the first input is received.
5. An electronic device, comprising:
the detection module is used for detecting rotation information of a target screen under the condition that a first screen and a second screen of the electronic equipment are in an unfolded state and a first page is displayed, wherein the target screen is the first screen or the second screen;
the first control module is used for controlling the first page to move out of the first screen and the second screen from the edge of the second screen and controlling the second page to move into the first screen and the second screen from the edge of the first screen under the condition that the target screen is detected to rotate towards a first direction by a preset angle and then rotates towards a second direction opposite to the first direction;
in the process that the target screen rotates towards the second direction from the preset angle, the first page meets at least one of the following conditions:
the moving distance of the first page is in positive correlation with the change of a target included angle, and the target included angle is the included angle between the first screen and the second screen;
the speed of the first page movement is positively correlated with the rate of motion of the target screen towards the second direction;
when the first page comprises a first sub-page and a second sub-page, and the first screen and the second screen are in an unfolded state, displaying the first sub-page on the first screen and displaying the second sub-page on the second screen;
under the condition that the second page comprises a third sub-page, if the target screen rotates towards the second direction from the preset angle until the first screen and the second screen are in an unfolded state, displaying the third sub-page on the first screen, and displaying the first sub-page on the second screen;
and in the process that the target screen rotates towards the second direction from the preset angle, when the target screen rotates by one target angle, the pages displayed in the first screen and the second screen are switched to the next page.
6. The electronic device according to claim 5, wherein in a case where it is detected that the target screen is rotated by a preset angle in a first direction and then rotated in a second direction opposite to the first direction until the first screen and the second screen are in the expanded state, the second page is displayed in at least one of the first screen and the second screen.
7. The electronic device according to claim 5, wherein in a case where it is detected that the target screen is rotated by a preset angle in a first direction and then rotated in a second direction opposite to the first direction until the first screen and the second screen are in the expanded state, a last page after the second page is displayed in at least one of the first screen and the second screen.
8. The electronic device of claim 5 or 7, further comprising:
the receiving module is used for receiving a first input in the process that the target screen rotates towards the second direction from the preset angle;
the response module is used for responding to the first input and acquiring the currently displayed page contents of the first screen and the second screen;
and the second control module is used for keeping the content of the currently displayed page of the first screen and the second screen unchanged in the process that the target screen continues to rotate towards the second direction after the first input is received.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the display control method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911292942.0A CN111124225B (en) | 2019-12-16 | 2019-12-16 | Display control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911292942.0A CN111124225B (en) | 2019-12-16 | 2019-12-16 | Display control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111124225A CN111124225A (en) | 2020-05-08 |
CN111124225B true CN111124225B (en) | 2021-09-10 |
Family
ID=70499047
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911292942.0A Active CN111124225B (en) | 2019-12-16 | 2019-12-16 | Display control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111124225B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112559924B (en) * | 2020-12-22 | 2021-09-17 | 北京云思畅想科技有限公司 | Universal adaptation method for mobile terminal webpage folding screen |
CN114578898B (en) * | 2022-02-18 | 2024-07-16 | 维沃移动通信有限公司 | Display method, electronic device, and readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103380406A (en) * | 2011-02-10 | 2013-10-30 | 三星电子株式会社 | Method and apparatus for inputting user commands using relative movements of device panels |
CN106686423A (en) * | 2016-12-30 | 2017-05-17 | 惠科股份有限公司 | Multi-picture display method and display device |
CN107589903A (en) * | 2017-10-19 | 2018-01-16 | 广东欧珀移动通信有限公司 | The method and apparatus for showing more page number displaying information |
CN108874031A (en) * | 2018-05-23 | 2018-11-23 | 上海创功通讯技术有限公司 | A kind of screen switching, device and terminal |
CN109491506A (en) * | 2018-11-13 | 2019-03-19 | 云谷(固安)科技有限公司 | A kind of display terminal and display control method |
CN110347284A (en) * | 2019-05-31 | 2019-10-18 | 努比亚技术有限公司 | A kind of flexible display screen control method, terminal and computer readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110209334A (en) * | 2019-06-06 | 2019-09-06 | 深圳市泰衡诺科技有限公司 | Mobile terminal screen scrolling method, screen scroll device and mobile terminal |
-
2019
- 2019-12-16 CN CN201911292942.0A patent/CN111124225B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103380406A (en) * | 2011-02-10 | 2013-10-30 | 三星电子株式会社 | Method and apparatus for inputting user commands using relative movements of device panels |
CN106686423A (en) * | 2016-12-30 | 2017-05-17 | 惠科股份有限公司 | Multi-picture display method and display device |
CN107589903A (en) * | 2017-10-19 | 2018-01-16 | 广东欧珀移动通信有限公司 | The method and apparatus for showing more page number displaying information |
CN108874031A (en) * | 2018-05-23 | 2018-11-23 | 上海创功通讯技术有限公司 | A kind of screen switching, device and terminal |
CN109491506A (en) * | 2018-11-13 | 2019-03-19 | 云谷(固安)科技有限公司 | A kind of display terminal and display control method |
CN110347284A (en) * | 2019-05-31 | 2019-10-18 | 努比亚技术有限公司 | A kind of flexible display screen control method, terminal and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111124225A (en) | 2020-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108762954B (en) | Object sharing method and mobile terminal | |
CN108255378B (en) | Display control method and mobile terminal | |
CN111459367B (en) | Display method and electronic equipment | |
CN108509123B (en) | Application program closing method and mobile terminal | |
CN110413168B (en) | Icon management method and terminal | |
CN109725683B (en) | Program display control method and folding screen terminal | |
CN109407932B (en) | Icon moving method and mobile terminal | |
CN110007835B (en) | Object management method and mobile terminal | |
CN108897473B (en) | Interface display method and terminal | |
CN108897486B (en) | Display method and terminal equipment | |
CN108900695B (en) | Display processing method, terminal equipment and computer readable storage medium | |
CN109739407B (en) | Information processing method and terminal equipment | |
CN109508136B (en) | Display method of application program and mobile terminal | |
CN108509141B (en) | Control generation method and mobile terminal | |
CN109683802B (en) | Icon moving method and terminal | |
CN109144393B (en) | Image display method and mobile terminal | |
CN109407949B (en) | Display control method and terminal | |
CN109558046B (en) | Information display method and terminal equipment | |
CN108108113B (en) | Webpage switching method and device | |
CN109669656B (en) | Information display method and terminal equipment | |
CN109710130B (en) | Display method and terminal | |
CN108984099B (en) | Man-machine interaction method and terminal | |
CN111190517B (en) | Split screen display method and electronic equipment | |
CN109240575A (en) | A kind of screen control method and electronic equipment | |
CN111124225B (en) | Display control method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |