CN111522523A - Display processing method and device and computer storage medium - Google Patents

Display processing method and device and computer storage medium Download PDF

Info

Publication number
CN111522523A
CN111522523A CN202010362421.4A CN202010362421A CN111522523A CN 111522523 A CN111522523 A CN 111522523A CN 202010362421 A CN202010362421 A CN 202010362421A CN 111522523 A CN111522523 A CN 111522523A
Authority
CN
China
Prior art keywords
screen
sub
state information
preset
application
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010362421.4A
Other languages
Chinese (zh)
Inventor
彭聪
高文俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010362421.4A priority Critical patent/CN111522523A/en
Publication of CN111522523A publication Critical patent/CN111522523A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1431Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display using a single graphics controller

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a display processing method and device and a computer storage medium, belonging to the technical field of terminals; the display processing method is applied to a terminal with a folding screen, wherein the folding screen comprises a first sub-screen and a second sub-screen which are foldable, and comprises the following steps: detecting state information of the folding screen; determining whether a preset mode needs to be entered according to the state information; when the preset mode needs to be entered, displaying first content of a first application on the first sub-screen, and displaying second content associated with the first application on at least a partial area of the second sub-screen; by adopting the technical scheme provided by the disclosure, the use scene of the folding screen terminal is expanded, and the use experience of the folding screen terminal is enriched.

Description

Display processing method and device and computer storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a display processing method and apparatus, and a computer storage medium.
Background
With the development of science and technology, the flexible folding screen is used as a development trend of the terminal. Due to the special structural form of the folding screen, the extensibility of the screen is realized, but the folding screen is limited to enlarge the size of the screen, and has fewer other functions and single function.
Disclosure of Invention
The disclosure provides a display processing method and device and a computer storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a display processing method applied to a terminal having a folding screen including a first sub-screen and a second sub-screen that are foldable, the method including:
detecting state information of the folding screen;
determining whether a preset mode needs to be entered according to the state information;
when the preset mode is determined to need to be entered, displaying first content of a first application on the first sub-screen, and displaying second content associated with the first application on at least a partial area of the second sub-screen.
In the foregoing solution, when it is determined that the preset mode needs to be entered, the method further includes:
displaying the content of a second application on an area of the second sub-screen other than the at least partial area.
In the foregoing solution, the determining whether to enter a preset mode according to the state information includes:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
In the foregoing solution, the determining whether to enter a preset mode according to the state information includes:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
In the above scheme, the method further comprises:
determining first content and second content of the first application according to the type of the first application.
In the above scheme, the method further comprises:
under the preset mode, controlling to exit the preset mode according to the detected first operation aiming at a preset touch key;
or after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
In the above solution, the detecting the state information of the folding screen includes:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and determining the state information of the folding screen according to the first state information and the second state information.
According to a second aspect of the embodiments of the present disclosure, there is provided a display processing apparatus applied to a terminal having a folding screen including a first sub-screen and a second sub-screen that are foldable, the apparatus including:
a detection module configured to detect status information of the folding screen;
the determining module is configured to determine whether a preset mode needs to be entered according to the state information;
a control module configured to display first content of a first application on the first sub-screen and display second content associated with the first application on at least a partial region of the second sub-screen when the determination module determines that the preset mode needs to be entered.
In the foregoing solution, the control module is further configured to: when the determining module determines that the preset mode needs to be entered, displaying second content of the first application or content of a second application in an area of the second sub-screen except for the at least partial area.
In the foregoing solution, the determining module is configured to:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
In the foregoing solution, the determining module is configured to:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
In the foregoing solution, the control module is further configured to:
determining first content and second content of the first application according to the type of the first application.
In the foregoing solution, the control module is further configured to:
under the preset mode, controlling to exit the preset mode according to the detected first operation aiming at a preset touch key;
or after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
In the foregoing solution, the detection module is configured to:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and determining the state information of the folding screen according to the first state information and the second state information.
According to a third aspect of the embodiments of the present disclosure, there is provided a display processing apparatus including:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to: the executable instructions are executed to implement the display processing method of any one of the preceding aspects.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer storage medium having stored therein executable instructions, which when executed by a processor, cause the processor to execute the display processing method according to any one of the foregoing aspects.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the present disclosure, state information of a folding screen is detected; determining whether a preset mode needs to be entered according to the state information; when the preset mode needs to be entered, displaying first content of a first application on the first sub-screen, and displaying second content associated with the first application on at least a partial area of the second sub-screen; by adopting the technical scheme provided by the disclosure, when the user is determined to enter the preset mode, the first content and the second content of the first application are automatically displayed on the screen, the method and the device are convenient and quick, the use scene of the folding screen terminal is expanded, and the use experience of the folding screen terminal is enriched.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention. In the drawings:
FIG. 1 is a flow diagram illustrating a display processing method in accordance with an exemplary embodiment;
FIG. 2 is a first schematic diagram illustrating a split-screen display of a first sub-screen and a second sub-screen in accordance with an exemplary embodiment;
FIG. 3 is a second schematic diagram illustrating a split-screen display of a first sub-screen and a second sub-screen in accordance with an exemplary embodiment;
FIG. 4 is a third schematic diagram illustrating a split-screen display of a first sub-screen and a second sub-screen in accordance with an exemplary embodiment;
FIG. 5 is a schematic diagram illustrating a positional relationship of a first sensor on a first sub-screen to a second sensor on a second sub-screen in accordance with an exemplary embodiment;
FIG. 6 is a block diagram illustrating a display processing apparatus according to an exemplary embodiment;
FIG. 7 is a block diagram illustrating an apparatus 800 implementing display processing in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the examples of the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the embodiments of the application, as detailed in the appended claims.
The terminology used in the embodiments of the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the present disclosure. As used in the disclosed embodiments and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information in the embodiments of the present disclosure, such information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of embodiments of the present disclosure. The words "if" and "if" as used herein may be interpreted as "at … …" or "at … …" or "in response to a determination", depending on the context.
Fig. 1 is a flowchart illustrating a display processing method according to an exemplary embodiment, which is applied to a terminal having a folding screen including a foldable first sub-screen and a foldable second sub-screen, as shown in fig. 1. The embodiment of the application can be applied to various terminals with a folding screen, including but not limited to fixed terminals and mobile terminals, for example, the fixed terminals include but not limited to: personal Computers (PCs), televisions, and the like; the mobile terminal includes but is not limited to: mobile phones, tablet computers, and the like. The display processing method includes the following steps.
In step S11, state information of the folding screen is detected;
in step S12, determining whether a preset mode needs to be entered according to the state information;
in step S13, when it is determined that the preset mode needs to be entered, a first content of a first application is displayed on a first sub-screen, and a second content associated with the first application is displayed on at least a partial area of a second sub-screen.
In this embodiment, the status information includes, but is not limited to, opening and closing status information of the folding screen. Wherein the open-close state comprises an open state and a closed state. When the angle between the first sub-screen and the second sub-screen of the folding screen is 0, the folding screen is in a closed state. When the angle between the first sub-screen and the second sub-screen of the folding screen is greater than 0, the folding screen is in the unfolded state, and the unfolding degree between the first sub-screen and the second sub-screen can be represented by the unfolding angle.
In this embodiment, the preset mode is to display first content of a first application on a first sub-screen, and display second content associated with the first application on at least a partial area of a second sub-screen.
In this embodiment, the first application is an application in a list, where the list is used to store the first application that is allowed to be displayed in a preset mode. For example, the first application is a game application, or a video application, or a graphics application, etc. It should be understood that the first application enumerated above is merely exemplary. In some embodiments, the method further comprises: obtaining a selection operation based on which the first application is added to or removed from the list. That is to say, in practical application, the first application may be adjusted according to practical situations such as user requirements, so as to improve user experience.
In this embodiment, the second content may include an operation interface, and the operation interface is used to control the first application and adjust or control the content displayed by the first application. For example, the control interface is a soft keyboard.
Fig. 2 shows a schematic diagram of split-screen display of a first sub-screen and a second sub-screen of a folding screen, as can be seen from fig. 2, a first content of a first application is displayed on the first sub-screen, and a control interface is displayed on the second sub-screen, so that, for displaying the first content of the first application on the first sub-screen and the second sub-screen in a full screen, the control interface and the first content of the first application are displayed in a split-screen manner, which is convenient for a user to control and operate the first application, and improves the use experience of the user.
In the technical scheme of the embodiment of the disclosure, state information of a folding screen is detected; determining whether a preset mode needs to be entered according to the state information; when the preset mode needs to be entered, displaying first content of a first application on a first sub-screen, and displaying second content comprising a control interface on at least part of area of a second sub-screen; by adopting the technical scheme provided by the disclosure, when the user is determined to enter the preset mode, the first content of the first application and the control interface are automatically displayed on the screen, the user is convenient and quick, the display interface of the application does not need to be manually adjusted to call out the control interface, the use scene of the folding screen terminal is expanded, and the use experience of the folding screen terminal is enriched.
Based on the technical solution shown in fig. 1, in some embodiments, when it is determined that the preset mode needs to be entered, the method further includes:
step S14 a: displaying second content of the first application on an area other than the at least partial area on the second sub-screen.
Wherein the second content comprises other content of the first application besides the first content, such as a manipulation interface.
In some embodiments, the first content is content that has a certain demand for display area. Generally, the first content occupies the largest display area in the first application, for example, the first content may be the content being edited or the content being played.
Illustratively, the first application is an application capable of playing a video, the first content is a video being played or opened, and the second content is other content, such as comment content, on the first application besides the first content. Taking the first Application as a cooling Application program (APP for short), the first content is a movie being played on the cooling APP, and the second content is other content that is also displayed by the cooling APP when the movie is played, such as a summary about the movie or a movie with the same title recommended to the user; as another example, the second content is a subtitle of a movie.
Illustratively, the first application is an application capable of editing a file, the first content is a file being edited or opened, and the second content is other content on the first application except the first content, such as a toolbar. Taking the first application as a word application as an example, the first content is a document being edited on the word application, and the second content is other content, such as a toolbar, which is also displayed when the word application edits the document.
Illustratively, the first application is a game application, the first content is a game being played or opened, and the second content is other content on the first application besides the first content, such as discussion content, character introduction, and the like. Taking the first application as "western mobile phone" game APP as an example, the first content is a scene being played, and the second content is other content still displayed in the "western mobile phone" game, such as a scene brief introduction or a character introduction.
Illustratively, the first application is a repairable application, the first content is a file being edited or opened, and the second content is other content on the first application except the first content, such as a toolbar. Taking the first application as PS software as an example, the first content is a photo being edited on the PS, and the second content is other content, such as a toolbar, also displayed on the PS.
In this way, the space of the second sub-screen can be fully utilized to display other contents of the first application, so that a larger presentation space can be provided for the first contents of the first application.
Fig. 3 is a schematic diagram illustrating split-screen display of a first sub-screen and a second sub-screen of a folding screen, and as can be seen from fig. 3, a first content of a first application is displayed on the first sub-screen, and a control interface and a second content of the first application are displayed on the second sub-screen, so that the control interface and the first content of the first application are displayed in a split-screen manner, which is convenient for a user to control and operate the first application; meanwhile, the second content of the first application is displayed on the second sub-screen, so that a large display area can be sufficiently provided for important content of the first application, such as the first content, and auxiliary content of the first application, such as the second content, can be displayed on the second sub-screen, the display area of the second sub-screen is fully utilized, the use of the first application by a user is not influenced, and the use experience of the user can be improved.
Based on the technical solution shown in fig. 1, in some embodiments, when it is determined that the preset mode needs to be entered, the method further includes:
step S14 b: displaying the content of a second application on an area of the second sub-screen other than the at least partial area.
In some embodiments, the second application is an application outside of the list. Generally, the display area requirement of the second application is lower than the display area requirement of the first application. For example, the first application is Yokoku APP and the second application is short message. For another example, the first application is a game APP and the second application is a WeChat application. As another example, the first application is PS software and the second application is a mail application.
In this way, the second sub-screen displays the second content associated with the first application in at least a partial region, and simultaneously displays the content of the second application in other regions on the second sub-screen, so that the display space of the second sub-screen is fully utilized, and the situation that the notification information of the second application cannot be displayed at the first time due to the display of the first application is avoided.
Fig. 4 shows a schematic diagram of split-screen display of a first sub-screen and a second sub-screen of a folding screen, as can be seen from fig. 4, a first content of a first application is displayed on the first sub-screen, and a control interface and a content of a second application are displayed on the second sub-screen, so that, compared with the case that the first content of the first application is displayed on the first sub-screen and the second sub-screen in a full screen, the control interface and the first content of the first application are displayed in a split-screen manner, which is convenient for a user to control and operate the first application, and improves user experience. Meanwhile, the content of the second application is displayed on the second sub-screen, so that the user can know the content of the first application and the content of the second application at the same time, and the use experience of the user is improved.
Based on the technical solution shown in fig. 1, in some embodiments, the determining whether to enter the preset mode according to the state information includes:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
Wherein the preset range is [ x1, x2], and x2 is not less than x 1. Illustratively, x1 is 80 ° and x2 is 150 °. It should be understood that, in practical applications, the values of x1 and x2 can be adjusted according to practical situations, such as design requirements or user requirements, so as to improve the user experience.
So, the user only need control the fold condition of folding screen, and the expansion angle at folding screen when predetermineeing the scope, can make first application get into and predetermine the mode, need not the display interface of user manual regulation first application and transfers to get and control the interface, convenient and fast has expanded the application scene at folding screen terminal.
Based on the technical solution shown in fig. 1, in some embodiments, the determining whether to enter the preset mode according to the state includes:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
Wherein the first preset angle is alpha, alpha is more than 0, and alpha is positioned in a first angle range; the second preset angle is beta, beta is larger than or equal to 0, and beta is located in a second angle range. Illustratively, α is 70 ° and β is 10 °. Further illustratively, α is 90 ° and β is 0 °. It should be understood that, in practical applications, the first angle range and the first angle range may be adjusted according to practical situations, such as design requirements or user requirements, so as to improve user experience.
So, the user only need control the fold condition at folding screen, is the first angle of predetermineeing at first sub-screen and the angle that the horizontal plane was, just the second sub-screen with the angle that the horizontal plane was when the angle was predetermine for the second, can make first application get into the preset mode, need not the display interface of user manual regulation first application and transfers to get and control the interface, convenient and fast has expanded the application scene at folding screen terminal.
Based on the technical solution shown in fig. 1, in some embodiments, the method further includes:
step S15: and under the preset mode, controlling to exit the preset mode according to the detected first operation aiming at a preset touch key.
That is, after entering the preset mode, if a first operation is detected, the preset mode is exited; wherein the first operation is to exit the preset mode.
In this embodiment, the preset touch keys include, but are not limited to, physical keys or virtual keys.
Here, the first operation is a first preset operation of the operation body on the first sensing area, such as a first preset operation of a user directly using a finger on the first sensing area, or a first preset operation of a touch pen on the first sensing area. The first sensing area is located on the first sub-screen or the second sub-screen, and the first preset operation represents exiting from a preset mode. Here, the first preset operation may be a default of the system, or may be set or adjusted by the user according to actual conditions.
So, can realize withdrawing from preset mode under preset mode to the service function at extension folding screen terminal enriches the use scene at folding screen terminal, promotes user's use and experiences.
Based on the technical solution shown in fig. 1, in some embodiments, the method further includes:
step S16: and after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
That is, after exiting the preset mode, if a second operation is detected, continuing to enter the preset mode; wherein the second operation is to enter the preset mode.
In this embodiment, the preset touch keys include, but are not limited to, physical keys or virtual keys.
Here, the first operation is a preset operation of the operation body on the second sensing area, such as a second preset operation of the user directly using a finger on the second sensing area, or a second preset operation of the touch pen on the second sensing area. The second sensing area is located on the first sub-screen or the second sub-screen, and the second preset operation represents entering a preset mode. Here, the second preset operation may be a default of the system, or may be set or adjusted by the user according to actual conditions. The first sensing region and the second sensing region may be the same or different.
So, can realize continuing to get into preset mode under withdrawing from preset mode scene to the service function at extension folding screen terminal enriches the use scene at folding screen terminal, promotes user's use and experiences.
Based on the technical solution shown in fig. 1, in some embodiments, the detecting the state information of the folding screen includes:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and determining the state information of the folding screen according to the first state information and the second state information.
In some embodiments, the first sensor comprises a first acceleration sensor and a first gyroscope and the second sensor comprises a second acceleration sensor and a second gyroscope. The position relationship of the first sensor and the second sensor is shown in fig. 5, and it can be seen from fig. 5 that the first sensor and the second sensor are symmetrical about the folding central axis of the folding screen.
In some embodiments, acceleration information of the first sub-screen in the X, Y, Z coordinate axis is obtained through a first acceleration sensor in the first sensor, angular velocity information of the first sub-screen when rotating is obtained through a first gyroscope in the first sensor, and first state information of the first sub-screen is determined according to the acceleration information and the angular velocity information.
In some embodiments, acceleration information of the second sub-screen in the X, Y, Z coordinate axis is obtained through a second acceleration sensor in the second sensor, angular velocity information of the second sub-screen when rotating is obtained through a second gyroscope in the second sensor, and second state information of the second sub-screen is determined according to the acceleration information and the angular velocity information.
Therefore, when the acceleration sensor and the gyroscope are arranged in the folding screen terminal, the state information of the folding screen can be detected by utilizing the hardware arranged in the folding screen terminal.
It should be understood that the detection of the status information of the folding screen by the sensor built in the folding screen is only an alternative specific implementation, but is not limited thereto. Those skilled in the art can make various obvious changes and/or substitutions based on the example of using the built-in hardware of the folding screen terminal to detect the status information of the folding screen, and the obtained technical solution still belongs to the disclosure scope of the embodiments of the present disclosure.
It should be understood that the status information of the folding screen may be detected by other means capable of detecting the status information of the folding screen, such as software means, and will not be described herein again.
Fig. 6 is a block diagram illustrating a display processing apparatus according to an exemplary embodiment. The display processing device is applied to a terminal with a folding screen, wherein the folding screen comprises a first sub-screen and a second sub-screen which can be folded. Referring to fig. 6, the apparatus includes a detection module 10, a determination module 20, and a control module 30; wherein,
the detection module 10 is configured to detect state information of the folding screen;
the determining module 20 is configured to determine whether a preset mode needs to be entered according to the state information;
the control module 30 is configured to display a first content of a first application on the first sub-screen and display a second content associated with the first application on at least a partial region of the second sub-screen when the determination module 20 determines that the preset mode needs to be entered.
In some embodiments, the control module 30 is further configured to: when the determining module determines that the preset mode needs to be entered, displaying the content of a second application in an area of the second sub-screen except for the at least partial area.
In some embodiments, the determination module 20 is configured to:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
In some embodiments, the determination module 20 is configured to:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
In some embodiments, the control module 30 is further configured to:
determining first content and second content of the first application according to the type of the first application.
In some embodiments, the control module 30 is further configured to:
and under the preset mode, controlling to exit the preset mode according to the detected first operation aiming at a preset touch key.
In some embodiments, the control module 30 is further configured to: and after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
In some embodiments, the detection module 10 is configured to:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and determining the state information of the folding screen according to the first state information and the second state information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In practical applications, the specific structures of the detection module 10, the determination module 20 and the control module 30 can be implemented by a Central Processing Unit (CPU), a Micro Controller Unit (MCU), a Digital Signal Processor (DSP), a Programmable Logic Controller (PLC), etc. in the display processing apparatus or the terminal to which the display processing apparatus belongs.
The display processing apparatus described in this embodiment may be disposed in a terminal having a foldable screen.
It should be understood by those skilled in the art that the functions of the processing modules in the display processing apparatus according to the embodiment of the present disclosure may be understood by referring to the description of the display processing method, and the processing modules in the display processing apparatus according to the embodiment of the present disclosure may be implemented by analog circuits that implement the functions described in the embodiment of the present disclosure, or by running software that performs the functions described in the embodiment of the present disclosure on a terminal.
The display processing device provided by the embodiment of the disclosure does not need to call out the control interface by manually adjusting the display interface of the application, and when the first content of the first application and the control interface of the terminal are automatically displayed on different screens when the first application needs to enter the preset mode, so that the display processing device is convenient and fast, the use scene of the folding screen terminal is expanded, and the use experience of the folding screen terminal is enriched.
An embodiment of the present disclosure also describes a display processing apparatus, which includes: the display processing method comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the display processing method provided by any one of the technical schemes is realized.
As an embodiment, the processor, when executing the program, implements:
detecting state information of the folding screen;
determining whether a preset mode needs to be entered according to the state information;
when the preset mode is determined to need to be entered, displaying first content of a first application on the first sub-screen, and displaying second content associated with the first application on at least a partial area of the second sub-screen.
As an embodiment, the processor, when executing the program, implements:
when the preset mode needs to be entered, displaying second content of the first application or content of a second application in an area of the second sub-screen except for the at least partial area.
As an embodiment, the processor, when executing the program, implements:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
As an embodiment, the processor, when executing the program, implements:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
As an embodiment, the processor, when executing the program, implements:
determining first content and second content of the first application according to the type of the first application.
As an embodiment, the processor, when executing the program, implements:
and under the preset mode, according to the detected first operation aiming at a preset touch key, controlling to exit the preset mode and enter the preset mode.
As an embodiment, the processor, when executing the program, implements:
and after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
As an embodiment, the processor, when executing the program, implements:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and determining the state information of the folding screen according to the first state information and the second state information.
The display processing device provided by the embodiment of the application does not need to adjust the display interface of the application manually to call out the control interface, when the first content of the first application and the control interface of the terminal are automatically displayed on the screen in a split mode when the user is determined to enter the preset mode, the display processing device is convenient and fast, the use scene of the folding screen terminal is expanded, and the use experience of the folding screen terminal is enriched.
The embodiment of the present application further describes a computer storage medium, in which computer-executable instructions are stored, and the computer-executable instructions are used for executing the display processing method described in each of the foregoing embodiments. That is, after the computer-executable instructions are executed by the processor, the display processing method provided by any one of the foregoing technical solutions can be implemented.
It should be understood by those skilled in the art that the functions of the programs in the computer storage medium of the present embodiment can be understood by referring to the description related to the display processing method described in the foregoing embodiments.
FIG. 7 is a block diagram illustrating an apparatus 800 implementing display processing in accordance with an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an Input/Output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The Memory 804 may be implemented by any type of volatile or non-volatile Memory device or combination thereof, such as Static Random-Access Memory (SRAM), Electrically-Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic Memory, flash Memory, magnetic disk or optical disk.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a photosensor, such as a Complementary Metal Oxide Semiconductor (CMOS) or Charge-coupled device (CCD) image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components for performing the display Processing methods described above.
In an exemplary embodiment, a non-transitory computer storage medium including executable instructions, such as the memory 804 including executable instructions, that are executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The technical solutions described in the embodiments of the present disclosure can be arbitrarily combined without conflict.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (16)

1. A display processing method is applied to a terminal with a folding screen, wherein the folding screen comprises a first sub-screen and a second sub-screen which can be folded, and the method comprises the following steps:
detecting state information of the folding screen;
determining whether a preset mode needs to be entered according to the state information;
when the preset mode is determined to need to be entered, displaying first content of a first application on the first sub-screen, and displaying second content associated with the first application on at least a partial area of the second sub-screen.
2. The display processing method according to claim 1, wherein when it is determined that the preset mode needs to be entered, the method further comprises:
displaying the content of a second application on an area of the second sub-screen other than the at least partial area.
3. The display processing method according to claim 1 or 2, wherein the determining whether a preset mode needs to be entered according to the state information includes:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
4. The display processing method according to claim 1 or 2, wherein the determining whether a preset mode needs to be entered according to the state information includes:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
5. The display processing method according to claim 1 or 2, characterized in that the method further comprises:
determining first content and second content of the first application according to the type of the first application.
6. The display processing method according to claim 1 or 2, characterized in that the method further comprises:
under the preset mode, controlling to exit the preset mode according to the detected first operation aiming at a preset touch key;
or after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
7. The display processing method according to claim 1 or 2, wherein the detecting the state information of the folding screen includes:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and detecting the state information of the folding screen according to the first state information and the second state information.
8. A display processing apparatus applied to a terminal having a foldable screen including a first sub-screen and a second sub-screen that are foldable, the apparatus comprising:
a detection module configured to detect status information of the folding screen;
the determining module is configured to determine whether a preset mode needs to be entered according to the state information;
a control module configured to display first content of a first application on the first sub-screen and display second content associated with the first application on at least a partial region of the second sub-screen when the determination module determines that the preset mode needs to be entered.
9. The display processing apparatus of claim 8, wherein the control module is further configured to:
when the determining module determines that the preset mode needs to be entered, displaying the content of a second application in an area of the second sub-screen except for the at least partial area.
10. The display processing apparatus according to claim 8 or 9, wherein the determination module is configured to:
and when the state information represents that the unfolding angle of the folding screen is in a preset range, determining that the folding screen needs to enter the preset mode.
11. The display processing apparatus according to claim 8 or 9, wherein the determination module is configured to:
and when the state information represents that the angle formed by the first sub-screen and the horizontal plane is a first preset angle and the angle formed by the second sub-screen and the horizontal plane is a second preset angle, determining that the preset mode needs to be entered, wherein the first preset angle is not equal to the second preset angle.
12. The display processing apparatus according to claim 8 or 9, wherein the control module is further configured to:
determining first content and second content of the first application according to the type of the first application.
13. The display processing apparatus according to claim 8 or 9, wherein the control module is further configured to:
under the preset mode, controlling to exit the preset mode according to the detected first operation aiming at a preset touch key;
or after exiting the preset mode, controlling to enter the preset mode according to the detected second operation aiming at the preset touch key.
14. The display processing apparatus according to claim 8 or 9, wherein the detection module is configured to:
acquiring first state information of the first sub-screen through a first sensor arranged in the first sub-screen;
acquiring second state information of the second sub-screen through a second sensor arranged in the second sub-screen;
and detecting the state information of the folding screen according to the first state information and the second state information.
15. A display processing apparatus comprising:
a processor;
a memory for storing executable instructions;
wherein the processor is configured to: executing the executable instructions to implement the display processing method of any of claims 1 to 7.
16. A computer storage medium having stored therein executable instructions that, when executed by a processor, cause the processor to perform the display processing method of any one of claims 1 to 7.
CN202010362421.4A 2020-04-30 2020-04-30 Display processing method and device and computer storage medium Pending CN111522523A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010362421.4A CN111522523A (en) 2020-04-30 2020-04-30 Display processing method and device and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010362421.4A CN111522523A (en) 2020-04-30 2020-04-30 Display processing method and device and computer storage medium

Publications (1)

Publication Number Publication Date
CN111522523A true CN111522523A (en) 2020-08-11

Family

ID=71908454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010362421.4A Pending CN111522523A (en) 2020-04-30 2020-04-30 Display processing method and device and computer storage medium

Country Status (1)

Country Link
CN (1) CN111522523A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231030A (en) * 2020-10-14 2021-01-15 维沃移动通信有限公司 Display control method and device and electronic equipment
CN113031894A (en) * 2021-03-22 2021-06-25 维沃移动通信有限公司 Folding screen display method and device, electronic equipment and storage medium
CN113055533A (en) * 2021-03-08 2021-06-29 北京小米移动软件有限公司 Call processing method, call processing device, and storage medium
CN114077374A (en) * 2021-11-10 2022-02-22 中国建设银行股份有限公司 Control method, device, equipment, medium and program product of folding screen equipment
WO2024114532A1 (en) * 2022-11-30 2024-06-06 维沃移动通信有限公司 Mode switching method and apparatus, electronic device, and computer-readable storage medium
WO2024114051A1 (en) * 2022-11-30 2024-06-06 南京欧珀软件科技有限公司 Display method and apparatus, and electronic device

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103620967A (en) * 2011-05-03 2014-03-05 艾科星科技公司 Communications device with extendable screen
US8988381B1 (en) * 2014-02-14 2015-03-24 Lg Electronics Inc. Mobile terminal and method for controlling the same
US20170123748A1 (en) * 2015-11-03 2017-05-04 Samsung Electronics Co., Ltd. Electronic device having multiple displays and method for operating same
WO2018006802A1 (en) * 2016-07-04 2018-01-11 北京金山安全软件有限公司 Video playing method and apparatus, and electronic device
CN107678829A (en) * 2017-10-31 2018-02-09 维沃移动通信有限公司 A kind of application control method and mobile terminal
WO2018094976A1 (en) * 2016-11-26 2018-05-31 华为技术有限公司 Display method for terminal device and terminal device
CN109445736A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of multi-screen display method and mobile terminal
CN109684023A (en) * 2018-12-29 2019-04-26 努比亚技术有限公司 Multi-screen display method, terminal and the storage medium of application program
CN109710135A (en) * 2018-12-29 2019-05-03 努比亚技术有限公司 Split screen display available control method, terminal and computer readable storage medium
CN109947315A (en) * 2019-03-04 2019-06-28 Oppo广东移动通信有限公司 Multi-screen display method, device, electronic equipment and computer readable storage medium
CN109947508A (en) * 2019-03-07 2019-06-28 Oppo广东移动通信有限公司 Multi-screen display method, device, electronic equipment and computer-readable storage medium
CN110012156A (en) * 2019-02-28 2019-07-12 努比亚技术有限公司 Information display method, mobile terminal and non-transient computer readable storage medium
WO2019179332A1 (en) * 2018-03-20 2019-09-26 维沃移动通信有限公司 Method for closing application and mobile terminal
CN110389802A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of display methods and electronic equipment of flexible screen
CN110493651A (en) * 2019-08-07 2019-11-22 咪咕视讯科技有限公司 Display methods, electronic equipment and the computer readable storage medium of barrage content
WO2020042785A1 (en) * 2018-08-31 2020-03-05 维沃移动通信有限公司 Application display method and mobile terminal

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103620967A (en) * 2011-05-03 2014-03-05 艾科星科技公司 Communications device with extendable screen
US8988381B1 (en) * 2014-02-14 2015-03-24 Lg Electronics Inc. Mobile terminal and method for controlling the same
US20170123748A1 (en) * 2015-11-03 2017-05-04 Samsung Electronics Co., Ltd. Electronic device having multiple displays and method for operating same
WO2018006802A1 (en) * 2016-07-04 2018-01-11 北京金山安全软件有限公司 Video playing method and apparatus, and electronic device
WO2018094976A1 (en) * 2016-11-26 2018-05-31 华为技术有限公司 Display method for terminal device and terminal device
CN107678829A (en) * 2017-10-31 2018-02-09 维沃移动通信有限公司 A kind of application control method and mobile terminal
WO2019179332A1 (en) * 2018-03-20 2019-09-26 维沃移动通信有限公司 Method for closing application and mobile terminal
WO2020042785A1 (en) * 2018-08-31 2020-03-05 维沃移动通信有限公司 Application display method and mobile terminal
CN109445736A (en) * 2018-10-26 2019-03-08 维沃移动通信有限公司 A kind of multi-screen display method and mobile terminal
CN109684023A (en) * 2018-12-29 2019-04-26 努比亚技术有限公司 Multi-screen display method, terminal and the storage medium of application program
CN109710135A (en) * 2018-12-29 2019-05-03 努比亚技术有限公司 Split screen display available control method, terminal and computer readable storage medium
CN110012156A (en) * 2019-02-28 2019-07-12 努比亚技术有限公司 Information display method, mobile terminal and non-transient computer readable storage medium
CN109947315A (en) * 2019-03-04 2019-06-28 Oppo广东移动通信有限公司 Multi-screen display method, device, electronic equipment and computer readable storage medium
CN109947508A (en) * 2019-03-07 2019-06-28 Oppo广东移动通信有限公司 Multi-screen display method, device, electronic equipment and computer-readable storage medium
CN110389802A (en) * 2019-06-05 2019-10-29 华为技术有限公司 A kind of display methods and electronic equipment of flexible screen
CN110493651A (en) * 2019-08-07 2019-11-22 咪咕视讯科技有限公司 Display methods, electronic equipment and the computer readable storage medium of barrage content

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112231030A (en) * 2020-10-14 2021-01-15 维沃移动通信有限公司 Display control method and device and electronic equipment
CN113055533A (en) * 2021-03-08 2021-06-29 北京小米移动软件有限公司 Call processing method, call processing device, and storage medium
CN113031894A (en) * 2021-03-22 2021-06-25 维沃移动通信有限公司 Folding screen display method and device, electronic equipment and storage medium
CN113031894B (en) * 2021-03-22 2024-05-24 维沃移动通信有限公司 Folding screen display method and device, electronic equipment and storage medium
CN114077374A (en) * 2021-11-10 2022-02-22 中国建设银行股份有限公司 Control method, device, equipment, medium and program product of folding screen equipment
WO2024114532A1 (en) * 2022-11-30 2024-06-06 维沃移动通信有限公司 Mode switching method and apparatus, electronic device, and computer-readable storage medium
WO2024114051A1 (en) * 2022-11-30 2024-06-06 南京欧珀软件科技有限公司 Display method and apparatus, and electronic device

Similar Documents

Publication Publication Date Title
US11010020B2 (en) Method, apparatus and storage medium for displaying shortcut operation panel
CN111522523A (en) Display processing method and device and computer storage medium
CN107037949B (en) Split screen display method and device
US20170344192A1 (en) Method and device for playing live videos
CN105159640B (en) Display interface rotating method and device and mobile terminal
EP3786778A1 (en) Method and device for screen projection, terminal and storage medium
US20170344177A1 (en) Method and device for determining operation mode of terminal
EP3462367B1 (en) Method and apparatus for displaying application interface
CN111866571B (en) Method and device for editing content on smart television and storage medium
US10705729B2 (en) Touch control method and apparatus for function key, and storage medium
EP3460634A1 (en) Method and device for displaying an input interface and an electronic device
US11016660B2 (en) Method and apparatus for responding to gesture operation and storage medium
CN112230827B (en) Interactive interface switching method and device and electronic equipment
CN111880873A (en) Display processing method and device and computer storage medium
WO2023115777A1 (en) Cursor control method and apparatus, electronic device, and storage medium
EP3995943A1 (en) Method for operating a display device, terminal, and storage medium
CN111246012B (en) Application interface display method and device and storage medium
CN112905027A (en) Timing method and device, mobile terminal and storage medium
CN114721578A (en) Input control display method and device, electronic equipment and storage medium
CN113360255A (en) Application management method and device
WO2023245311A1 (en) Window adjustment method, apparatus, terminal, and storage medium
US20220308638A1 (en) Method for obtaining data indicating direction, electronic device and storage medium
CN111092971A (en) Display method and device for displaying
CN111381667A (en) Interface layout adjusting method and device and storage medium
US11637800B2 (en) Method and device for information processing of cross-devices, and storage 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