CN110058828B - Application program display method and device, electronic equipment and storage medium - Google Patents

Application program display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110058828B
CN110058828B CN201910258097.9A CN201910258097A CN110058828B CN 110058828 B CN110058828 B CN 110058828B CN 201910258097 A CN201910258097 A CN 201910258097A CN 110058828 B CN110058828 B CN 110058828B
Authority
CN
China
Prior art keywords
display area
application program
display
target application
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910258097.9A
Other languages
Chinese (zh)
Other versions
CN110058828A (en
Inventor
杨冬笋
陈彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910258097.9A priority Critical patent/CN110058828B/en
Publication of CN110058828A publication Critical patent/CN110058828A/en
Application granted granted Critical
Publication of CN110058828B publication Critical patent/CN110058828B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09FDISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
    • G09F9/00Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
    • G09F9/30Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
    • G09F9/301Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED

Landscapes

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

Abstract

The embodiment of the application provides an application program display method, an application program display device, electronic equipment and a storage medium, wherein the method comprises the steps of detecting the folding operation of a user on the electronic equipment when a first display area displays a first interface corresponding to a current application program; if the folding operation of the user is detected and the folding operation meets the angle specified condition, determining a target application program; and displaying a second interface corresponding to the target application program in the second display area. According to the application program display method, the application program display device, the electronic equipment and the storage medium, the target application program can be correspondingly determined according to the folding operation of the electronic equipment in the folded state by the user, when the electronic equipment is unfolded from the folded state, the second interface corresponding to the target application program is automatically displayed in the second display area, the user can open or call the target application program without performing touch operation on the target application program, the response speed of the target application program can be improved, and the time is saved.

Description

Application program display method and device, electronic equipment and storage medium
Technical Field
The application relates to the technical field of electronic equipment, in particular to an application program display method and device, electronic equipment and a storage medium.
Background
With the development of the existing electronic device technology, more and more foldable electronic devices appear, such electronic devices can be folded for use and also can be unfolded for use, and because the use habits of users are different, how to freely switch each display area of the screen, so as to improve the utilization efficiency, the problem to be solved is urgently needed.
Disclosure of Invention
The application aims to provide an application program display method, an application program display device, electronic equipment and a storage medium, so that an application program can be displayed quickly.
In a first aspect, an embodiment of the present application provides an application program display method, which is applied to a foldable electronic device, where the foldable electronic device has a first display area and a second display area that can be folded relatively, and the method includes detecting a folding operation performed by a user on the electronic device when a first interface corresponding to a current application program is displayed in the first display area; if the folding operation of the user is detected and the folding operation meets the angle specified condition, determining a target application program; and displaying a second interface corresponding to the target application program in the second display area.
In a second aspect, an embodiment of the present application provides an application display apparatus, which is applied to a foldable electronic device, where the foldable electronic device has a first display area and a second display area that can be folded relatively, and the application display apparatus includes a detection module, a target application determination module, and a display module; the detection module is used for detecting the folding operation of the electronic equipment by a user when the first display area displays a first interface; the target application program determining module is used for determining a target application program when the folding operation of a user is detected and the folding operation meets the angle specified condition; the second display module is used for displaying a second interface corresponding to the application program in a second display area.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a display screen, a processor, and a memory, where the display screen includes a first display area and a second display area, and the first display area and the second display area are selectively foldable or unfoldable relative to each other; the processor is electrically connected with the flexible display screen; the memory is coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the application display method described above.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a program code is stored in the computer-readable storage medium, and the program code can be called by a processor to execute the application display method.
According to the application program display method, the application program display device, the electronic equipment and the storage medium, the target application program can be correspondingly determined according to the folding operation of the electronic equipment in the folded state by the user, when the electronic equipment is unfolded from the folded state, the second interface corresponding to the target application program is automatically displayed in the second display area, the user can open or call the target application program without performing touch operation on the target application program, the response speed of the target application program can be improved, and the time is saved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of an electronic device shown in the present application;
FIG. 2 is a schematic structural diagram of the electronic device shown in FIG. 1 during a folding process;
FIG. 3 is a schematic structural diagram of yet another electronic device shown in the present application;
FIG. 4 is a flowchart of an application display method according to an embodiment of the present application;
fig. 5 is an interface diagram of an electronic device displaying a second interface according to an embodiment of the present application;
FIG. 6 is a flowchart of another application display method provided by an embodiment of the present application;
FIG. 7 is a flowchart of another application display method provided in an embodiment of the present application;
FIG. 8 is a flowchart of another application display method provided in an embodiment of the present application;
fig. 9 is an interface diagram of an electronic device provided in an embodiment of the present application when displaying a second interface;
FIG. 10 is a flowchart of yet another application display method provided by an embodiment of the present application;
fig. 11 is a block diagram of an application display device according to an embodiment of the present application;
FIG. 12 is a block diagram of another application display device provided in an embodiment of the present application;
FIG. 13 is a block diagram of a target application determination module provided by an embodiment of the present application;
fig. 14 is a block diagram of an electronic device according to an embodiment of the present application;
fig. 15 is a block diagram of a storage medium according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1 and fig. 2, the present disclosure provides a foldable electronic device 500, where the foldable electronic device 500 may be, but is not limited to, an electronic device such as a mobile phone, a tablet computer, a game console, and the like. The foldable electronic device 500 of the present embodiment is described by taking a mobile phone as an example.
The foldable electronic device 500 includes a foldable housing assembly 100, a display 200, and an electronic assembly (not shown in the figure), wherein the electronic assembly is disposed in the foldable housing assembly 100, and the display 200 is disposed on the foldable housing assembly 100. The foldable housing assembly 100 is used to carry the display screen 200 while protecting the electronic components.
The foldable housing assembly 100 includes a first housing 10, a second housing 30, and a hinge mechanism 50, and the first housing 10 and the second housing 30 are respectively connected to both sides of the hinge mechanism 50. The second housing 30 can be folded or unfolded relative to the first housing 10 through the rotating shaft mechanism 50, so that the foldable housing assembly 100 drives the display screen 200 to fold or unfold, and when the foldable housing assembly 100 and the display screen 200 are folded, the foldable electronic device 500 has a relatively small volume and is convenient to store and carry.
The first casing 10 includes a first middle frame 12 and a first cover 14. One side of the first middle frame 12 is connected to a hinge mechanism 50 for carrying a part of the structure of the electronic component. The first cover 14 covers the first middle frame 12. When the first casing 10 and the second casing 30 are stacked, the first cover 14 and the second casing 30 are stacked, that is, the first cover 14 is attached to the second casing 30. The second casing 30 includes a second middle frame 32 and a second cover 34. One side of the second middle frame 32 is connected to a hinge mechanism 50 for carrying a part of the structure of the electronic component. The second cover 34 covers the second middle frame 32. When the first casing 10 and the second casing 30 are stacked, the second cover 34 is stacked on the first cover 14, that is, the second cover 34 is attached to the first cover 14.
The electronic component may be divided into two parts, one of which is disposed in the first housing 10 and the other of which is disposed in the second housing 30, and the electronic component may be electrically connected to the display screen through a flexible circuit board. Further, the electronic component may be a main board and a central processing unit provided with the main board, a memory, an antenna, a camera, a handset, a printed circuit board, a functional module provided with the printed circuit board, and the like. Wherein electronic component can also include battery, connector, fingerprint module etc..
The display screen 200 is sequentially laid on the first casing 10, the rotating shaft mechanism 50, and the second casing 30. In this embodiment, the display 200 is a flexible display. The display screen 200 is turned over with the first casing 10 and the second casing 30 to be folded or unfolded. The display 200 is electrically connected to the electronic components so that the electronic components can control the operation of the display 200.
Referring to fig. 1 and fig. 2, in the present embodiment, the display screen 200 includes a first display area 202 connected to the first casing 10, a second display area 203 connected to the second casing 30, and a bending display area 204 connected to the first display area 202 and the second display area 203. The first display area 202 and the second display area 203 are folded or unfolded relatively with the first casing 10 and the second casing 30, respectively. The bending display area 204 bends or flattens as the first display area 202 and the second display area 203 are folded or unfolded. In some embodiments, the first display area 202, the second display area 203, and the bending display area 204 may be an integral structure, so that the display screen 200 is a one-piece flexible display screen; alternatively, in some other embodiments, the bending display region 204 is a flexible portion that can be bent, and the first display region 202 and the second display region 203 can be non-flexible portions, and the first display region 202 and the second display region 203 are relatively folded or unfolded by bending the display region 204. In the present embodiment, when the first casing 10 and the second casing 30 are overlapped, the first display region 202 and the second display region 203 are separated from each other, so that the foldable electronic device 500 has a folded-out screen structure, so that the user can view the display content of the display screen 200 even when the foldable electronic device 500 is folded, thereby improving the convenience of using the foldable electronic device 500. In some other embodiments, when the first casing 10 and the second casing 30 are stacked, the first display area 202 and the second display area 203 are stacked, so that the foldable electronic device 500 is in a folded-in screen structure, so that the display screen 200 is not damaged by scratching.
It should be understood that the names of the first display area 202, the second display area 203, and the bending display area 204 are only set for convenience of description, and are not meant to be a structural limitation of the display screen, in an actual application scenario, the first display area 202, the second display area 203, and the bending display area 204 may not have obvious boundaries, or the display screen may appear in other division structures, for example, the display screen includes the first display area 202 and the second display area 203 connected to the first display area 202, and the first display area 202 and the second display area 203 can rotate relatively to fold or unfold.
In the foldable electronic device 500 provided in the above embodiments of the present application, it includes the first casing 10 and the second casing 30 that can be folded relatively, and the corresponding first display area 202 and the second display area 203, so that the foldable electronic device 200 is presented as a two-fold electronic device that can be folded in two. It is understood that, referring to fig. 3, in some embodiments, the foldable electronic device 200 may further include a third housing 50 and a corresponding third display area 205, the third housing 50 is rotatably connected between the first housing 10 and the second housing 30, and the third display area 205 is disposed on the third housing 50 and connected between the first display area 202 and the second display area 203. At this time, both the first casing 10 and the second casing 30 can rotate relative to the third casing 50, and both the first display region 202 and the second display region 203 can be folded relative to the third display region 205, so that the foldable electronic device 200 can be a three-fold electronic device capable of being folded twice. In some embodiments, the display area of the third display region 205 may be substantially the same as the display area of the first display region 202 and the display area of the second display region 203, so that the first display region 202, the second display region 203 and the third display region 205 may be folded into a three-layer structure. In some embodiments, the display area of the third display region 205 may be equal to or greater than the sum of the display area of the first display region 202 and the display area of the second display region 203, and when folded, the first display region 202 and the second display region 203 may be simultaneously folded to fit the third display region 205. It is understood that the third casing 30 and the third display area 205 thereon can be disposed at other positions, for example, the third casing 30 can be rotatably connected to the side of the first casing 10 away from the second casing 30, or the third casing 50 can be rotatably connected to the side of the second casing 30 away from the first casing 10. It is also understood that the foldable electronic device 200 may further include a fourth housing (not shown) and a corresponding fourth display portion (not shown), or the foldable electronic device 500 may further include a fifth housing (not shown) and a corresponding fifth display portion (not shown), so that the foldable electronic device 500 is an electronic device with a multi-fold structure, and thus, the foldable electronic device 500 has a smaller storage volume on the premise of ensuring a larger display area, so as to facilitate storage and carrying of the foldable electronic device 500.
Therefore, the inventor proposes an application program display method and apparatus of an electronic device, and a storage medium in the embodiments of the present application. Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
The embodiment provides a screen calibration method of an electronic device, which can be applied to the electronic device shown in fig. 1 or fig. 3. Referring to fig. 4, the method may include the steps of:
step S110: and when the first display area displays a first interface corresponding to the current application program, detecting the folding operation of the electronic equipment by a user.
For foldable electronic devices, users usually fold the foldable electronic devices for use during normal use, and at this time, the users actually use only one screen or one display area of the display screen. In this case, the other screen or other display area may be located, for example, behind the first currently used use area, and the user is not visible. Generally, at this time, the display area in the invisible state may be displayed on the screen or not.
When the first display area displays a first interface corresponding to the current application program, the folding operation of the electronic equipment by a user is detected. Wherein the current application program is: the application currently opened and displayed in the first display area may be any application representing that the user is currently using the application. The first interface refers to a display interface of a current application program, and it can be understood that the first interface may be any one of a plurality of display interfaces of the current application program, and each current application program corresponds to one first interface.
It is understood that the current application may be one, and in this case, the first interface corresponding to the current application is one, and the first interface may be displayed in the first display area in a manner that the first display area is completely or partially occupied by the first interface. The current application programs may also be two or more, in this case, the first interfaces corresponding to the two or more current application programs may be simultaneously displayed on the first display area in a split-screen manner, and the first interfaces corresponding to the two or more current application programs may be displayed in the first display area in a manner that the first display area is fully or partially occupied by the first interfaces.
The folding operation of the electronic equipment by the user refers to: and a folding process in which the user changes the first display region from the initial state to the final state in the process of folding the electronic device. For example: the process of a user transitioning an electronic device from a folded state to an unfolded state. In some embodiments, the folding operation of the electronic device by the user can be detected by providing an angle sensor on the electronic device, detecting a relative angle between the first display area and the second display area through the angle sensor, calculating a current relative position between the first display area and the second display area through the relative angle, and further detecting the folding operation. In some embodiments, a hall sensor and a magnetic member may be disposed on the electronic device, the hall sensor and the magnetic member may be disposed at positions of the electronic device corresponding to the first display area and the second display area, respectively, and the relative positions of the first display area and the second display area may be determined by a hall voltage signal generated between the hall sensor and the magnetic member. In addition, the folding operation of the user on the electronic equipment can be detected by detecting the rotation angle of the rotating shaft of the electronic equipment and the like.
Step S120: and if the folding operation of the user is detected and the folding operation meets the angle specified condition, determining the target application program.
The angle specification conditions mean: the amount of change in the relative angle between the first display area and the second display area in the folding operation by the user. In some embodiments, during the folding operation of the user, when the rotation angle between the first display area and the second display area is greater than or equal to the angle threshold, the folding operation of the user may be considered to meet the angle specification condition. At this time, the angle threshold may be 0-180 °, for example, 150 ° -180 °, and when the angle between the first display region and the second display region is close to the unfolded state, it may be determined that the user intends to unfold the electronic device for use. In some embodiments, when the rotation angle between the first display area and the second display area is smaller than the angle threshold, the folding operation of the user may be considered to meet the angle specification condition, and the angle threshold may also be, for example, 150-.
Determining the target application refers to determining an application that needs to be opened, for displaying an application interface thereof in step S130. The number of target applications may be one or two or more. The target application program may be determined according to a predetermined rule, for example, the system presets a certain application program as the target application program, and when it is detected that the folding operation of the user meets the angle specification condition, the application program can be opened or invoked. For another example: the system can determine the application program with the highest frequency of use as the target application program according to the use frequency of the application program. In some embodiments, the target application may be determined according to the application to be used by the user, for example: the user receives a message or a notification, and the application program corresponding to the message or the notification can be determined as the target application program. In some embodiments, the target application may be custom set by the user.
And S130, displaying a second interface corresponding to the target application program in the second display area.
Referring to fig. 5, fig. 5 illustrates an interface diagram showing a second interface displayed in a second display area. The second interface displayed in the second display area does not affect the use of the current application program displayed in the first display area, a user does not need to quit the current application program, and after the first display area and the second display area are relatively expanded, the second interface of the target application program is displayed in the second display area which is not used before. The control efficiency of the user can be improved, and the target application program does not need to be opened or called up through touch control. Meanwhile, the display control efficiency of the display screen is improved, and a user can display and control a plurality of application programs at the same time.
It can be understood that before the second interface corresponding to the target application program is displayed, the target application program needs to be opened; or to invoke a target application running in the background. When there are multiple target applications, all of the target applications may be opened or invoked simultaneously. The second interface may be displayed in a manner that occupies all or part of the second display area.
According to the application program display method provided by the embodiment, the folding action of the user is detected, and when the folding action meets the angle specified condition, the target application program is automatically opened or called, so that the control efficiency of the target application program can be obviously improved, the operation flow is simplified, and the target application program is opened more quickly, so that the user experience is improved.
In some embodiments, referring to fig. 6, the application display method may include the steps of:
step S210: and when the first display area displays a first interface corresponding to the current application program, detecting the folding operation of the electronic equipment by a user.
Step S220: if the folding operation of the user is detected and the folding operation meets the angle designated condition, if a plurality of application programs run in the background, the priority order of the application programs is obtained, and the application program with the highest priority is determined as the target application program.
The plurality of applications may include all applications installed in the electronic device, wherein the priority order of the plurality of applications may be preset or may be customized by a user, and the applications are sorted according to the preference of the user. And determining the application program with the highest priority as the target application program according to the priority order.
In some embodiments, there may be multiple applications with the same priority, for example, application A, B and C have the highest priority, and application A, B and C have the same priority, and then application A, B and C may be determined as the target application at the same time.
In some embodiments, the priority order of the applications may be changed according to the usage scenario, for example, when the user receives an incoming call or a message, the incoming call application and the message application are the highest priority, and when the user does not receive the incoming call or the message, the application with the highest priority is preset as the target application.
And step S230, displaying a second interface corresponding to the target application program in the second display area.
In some embodiments, referring to fig. 7, the application display method may include the steps of:
step S310: and when the first display area displays a first interface corresponding to the current application program, detecting the folding operation of the electronic equipment by the user.
Step S320, receiving the message sent by the server.
It can be understood that the message sent by the server may be a message of instant messaging software, an incoming call, a short message, a multimedia message, and the like of other users or platforms. In some application scenarios, after receiving a message sent by a server, the system may push a message notification to a foreground, or push an incoming call notification, where the message includes an incoming call message and a notification message. The user can know that the message sent by the server is received through the message notification or the incoming call notification.
And S330, if the folding operation of the user is detected and the folding operation meets the angle specified condition, determining an application program corresponding to the message, taking the determined application program as a target application program, and opening or calling the target application program.
And when the folding operation meets the angle specified condition, determining an application program corresponding to the message, namely determining the application program corresponding to the received message, taking the determined application program as a target application program, and opening or calling the target application program. The determination of the application program corresponding to the message may be performed as follows: and determining the corresponding application program according to the identification information contained in the message. And when the corresponding application program is in the background running state, calling the application program in the background, and when the corresponding application program is in the unopened state, opening the application program.
Step S340: and displaying a second interface corresponding to the target application program in the second display area.
It can be understood that when the second interface corresponding to the target application program is displayed, the currently received message can be directly displayed, and the message content can be displayed to the user. When the same application program receives a plurality of messages at the same time, a message list of the application program can be displayed so that a user can select and browse the information in a customized manner. When the message is an incoming call message, the incoming call listening interface can be directly displayed, and the user selects functions of answering, hanging up, hands-free, recording and the like through touch operation. Or directly answering the incoming call and directly entering a communication mode.
In some embodiments, multiple messages sent by the server may be received in step S320. At this time, each message corresponds to one corresponding application program, and at this time, the application program corresponding to each message can be determined as a target application program, that is, there are multiple target application programs.
Step S340 may now proceed as follows: and displaying second interfaces corresponding to the target application programs in a second display area in a split screen mode. It can be understood that when the second interfaces corresponding to the plurality of target application programs are displayed in a split screen manner, the second interfaces can be displayed in a split screen manner up and down, left and right, or in a split screen manner according to other rules. Meanwhile, when the screen is split for display, the second interfaces corresponding to the target application programs can fully or partially occupy the second display area. It should be noted that, when there are multiple target applications, the multiple target applications may also be run in the background, and only the second interface corresponding to one target application is displayed in the second display area, so that the user may call other target applications in the background to the foreground at any time.
When a plurality of different messages are received simultaneously, by detecting the folding operation of the user, when the folding operation meets the angle specified condition, the second interface of the target application program corresponding to the plurality of messages can be displayed in the second display area in a split screen mode, so that the operation efficiency can be further improved, and the user can see the plurality of messages simultaneously to avoid omission.
In some embodiments, referring to fig. 8, the application display method may include the steps of:
step S410: and when the first display area displays a first interface corresponding to the current application program, detecting the folding operation of the electronic equipment by a user.
And step S420, receiving the message sent by the server.
Step S430, if the rotation angle of the first display area and the second display area in the relative expansion process is larger than or equal to an angle threshold value, and the first display area and the second display area have pause duration in the relative expansion process; and determining an application program corresponding to the message, taking the determined application program as a target application program, and opening or calling the target application program.
And the rotation designated condition is used as a rotation parameter in the relative rotation process of the first display area and the second display area. And when the first display area and the second display area simultaneously accord with the angle specified condition and the rotation specified condition in the relative rotation process, determining the application program corresponding to the message as the target application program.
The rotation designated conditions can be set according to the situation, for example:
if the rotation angle of the first display area and the second display area in the relative expansion process is greater than or equal to the angle threshold value, and the first display area and the second display area have a pause duration in the relative expansion process, it can be determined that the first display area and the second display area simultaneously satisfy the angle specification condition and the rotation specification condition in the relative rotation process. The pause duration refers to the pause time of the first display area and the second display area in the relative rotation process. The display device is characterized in that the first display area and the second display area are discontinuously unfolded from the folded state to the unfolded state in the folding operation of the user. Wherein the unfolding from the folded state to the unfolded state refers to the unfolding from the folded state to be equal to or greater than an angle threshold value.
With a dwell period is meant a dwell period t > 0. In some embodiments, it may also be determined that the folding operation of the user meets the rotation specification condition in the case that the pause duration t is greater than or equal to the pause duration threshold. At this time, step S440 is performed.
It is understood that the user may pause one or more times when performing the folding operation, and the pause duration in this case may be the sum of all pause times. The pause duration can be measured by detecting the rotation of a rotating shaft of the folding electronic equipment, and when the first display area and the second display area rotate relatively, the first display area and the second display area do not rotate relatively within a certain period of time, namely the pause is formed. The pause duration can also be detected by detecting the relative angle between the first display area and the second display area in real time, and when the relative angle between the first display area and the second display area is not changed, the fact that no rotation occurs between the first display area and the second display area can be judged, namely the pause occurs.
It is understood that, in other embodiments, when the pause duration t > 0, it may also be determined that the folding operation by the user does not satisfy the rotation specification condition at this time. That is, when the folding operation by the user is the continuous rotation of the first display region and the second display region, step S440 is performed.
Step S440: and displaying a second interface corresponding to the target application program in the first display area and the second display area in a full screen mode.
Fig. 9 is an interface diagram showing a second interface displayed in a full screen manner in the first display area and the second display area, please refer to fig. 9. It is understood that full-screen display refers to continuous display in the first display area and the second display area. In some embodiments, the electronic device has a plurality of display areas, and the second interface may be displayed in all the display areas in a full screen manner. It is understood that when the second interface is displayed in the first display area and the second display area in full screen, the second interface may occupy the first display area and the second display area in whole or in part.
By judging the pause duration of the folding operation process of the user, whether the second interface is displayed in the first display area and the second display area in a full screen mode can be judged, and therefore the user can select the second interface by more operations. For example, when the received information is very important or is not beneficial to operation when being displayed in the second display area alone, the user can display the second interface in a full screen mode through pause operation in the folding process, and controllability is improved. In contrast, when the received information can be subjected to single-screen operation in the second display area, the user can continuously perform folding operation, and the second interface is only displayed in the second display area at this time.
In some embodiments, referring to fig. 10, the application display method may include the steps of:
step S510: and when the first display area displays a first interface corresponding to the current application program, detecting the folding operation of the electronic equipment by a user.
And step S520, receiving the message sent by the server.
Step S530, when the rotation angle of the first display area and the second display area in the relative expansion process is larger than or equal to an angle threshold value and the relative rotation speed of the first display area and the second display area is larger than or equal to a speed threshold value, determining an application program corresponding to the message, taking the determined application program as a target application program, and opening or starting the target application program.
When the relative rotation speed between the first display area and the second display area is greater than or equal to the speed threshold, it may be important to explain the received message on behalf of the user to unfold the first display area and the second display area from the folded state to the unfolded state very sharply. At this time, step S540 is performed.
The relative rotational speed of the first display area and the second display area can also be obtained by setting to detect the amount of change in the relative angle of the first display area and the second display area. It will be appreciated that in other embodiments, the relative rotational speed between the first display region and the second display region may also be obtained by measuring the area of the first display region and the second display region that is occluded from each other. The display angle can be obtained by respectively obtaining the included angles between the first display area and the second display area relative to the horizontal plane and the vertical plane.
It should be noted that, other manners may also be used to determine whether the first display area and the second display area satisfy the rotation specification condition in the relative rotation process. For example: setting the rotation specification condition as whether the rotation time of the first display area and the second display area in the rotation process is less than or equal to the time threshold, when the rotation time is less than or equal to the time threshold, it can be determined that the user very rapidly expands the first display area and the second display area, at this time, it can be determined that the folding operation satisfies the rotation specification condition, and step S540 can also be executed.
Step S540: and displaying a second interface corresponding to the target application program in the first display area and the second display area in a full screen mode.
The display method of the application program provided by the embodiment can greatly improve the display efficiency of the application program. Especially, when the message sent by the server is received, the message content can be displayed quickly, and the response speed and the user experience are improved.
Referring to fig. 11, the embodiment further provides an application display apparatus 400, where the application display apparatus 400 may be applied to the foldable electronic device 500 shown in fig. 1 or fig. 3, and the application display apparatus 400 includes a detection module 410, a target application determination module 420, and a display module 430.
The detection module 410 is configured to detect a folding operation of the electronic device by a user when the first display area displays the first interface.
The target application determination module 420 is configured to determine the target application when the folding operation of the user is detected and the folding operation meets the angle specification condition. In some embodiments, the target application determination module 420 may determine the application with the highest priority as the target application according to the priority order of the plurality of applications running in the background.
The display module 430 is configured to display a second interface corresponding to the application program in a second display area. In some implementations, the display module 430 can simultaneously display the second interface in full screen in the first display area and the second display area. It is understood that, when there are multiple target applications, the display module 430 may display the second interfaces corresponding to the multiple target applications in the second display area in a split screen manner.
It is understood that, in some embodiments, referring to fig. 12, the application display device 400 may further include a message receiving module 440, where the message receiving module 440 is configured to receive one or more messages sent by the server, where the message may be an incoming message, a notification message, or the like, and the notification message may be a short message, a multimedia message, or a notification message sent by other instant messaging software.
In some embodiments, referring to fig. 13, when receiving a message sent by a server, the target application determination module 420 may include a message determination module 421 and an activation module 422, where the message determination module 421 is configured to determine an application corresponding to each message, and to use the determined application as a target application. The launch module 422 is used to open or launch a target application.
It should be noted that the device embodiment and the method embodiment in the present application correspond to each other, and specific principles in the device embodiment may refer to the contents in the method embodiment, which is not described herein again.
Referring to fig. 14, the present embodiment further provides an electronic device 500, and the application program display method described above can be applied to the electronic device 500 of the present embodiment. The electronic device 500 includes the display 200 and one or more (only one shown) processors 502, memory 504 coupled to each other.
The display 200 is a flexible display and is electrically connected to the processor 502, and the display 200 is a continuous flexible display and is laid on the housing assembly.
The memory 504 stores programs that can execute the content of the foregoing embodiments, and the processor 502 can execute the programs stored in the memory 504.
Processor 502 may include one or more processing cores, among other things. The processor 502 interfaces with various interfaces and circuitry throughout the electronic device 500 to perform various functions of the electronic device 500 and process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 504 and by invoking data stored in the memory 504. Alternatively, the processor 502 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 502 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is to be understood that the modem may not be integrated into the processor 502, but may be implemented by a communication chip.
The Memory 504 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). The memory 504 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 504 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The data storage area may also store data created during use by the electronic device 500 (e.g., phone books, audio-visual data, chat log data), and so forth.
In some embodiments, the electronic device 500 may further include hall sensors 506, and the hall sensors 506 may be one or more (only one shown). The hall sensor 506 is used to detect a relative rotation angle between the first display area and the second display area, and when the electronic device 500 has a plurality of display areas foldable to each other, a plurality of hall sensors 506 may be provided, each hall sensor 506 being used to determine a relative rotation angle between the two display areas. In some embodiments, the plurality of hall sensors 506 may be disposed below the first display area and the second display area or at a rotation axis of the electronic device 500, or the like. The hall sensor 506 is electrically connected to the processor 502, and can send the acquired data of the relative rotation angle between the first display area and the second display area to the processor 502 for processing.
It is understood that the electronic device 500 in the present application may be a mobile phone or smart phone (e.g., an iPhone (TM) based, Android (TM) based phone), a Portable gaming device (e.g., a Nintendo DS (TM), PlayStation Portable (TM), Game Advance (TM), iPhone (TM)), a laptop, a PDA, a Portable Internet device, a music player, and a data storage device, other handheld devices, and a Head Mounted Device (HMD) such as a watch, headset, pendant, earphone, etc., and that the electronic device 500 may also be other wearable devices (e.g., a Head Mounted Device (HMD) such as electronic glasses, electronic clothing, an electronic bracelet, an electronic necklace, an electronic tattoo, the electronic device 500, or a smart watch).
The electronic device 500 may also be any of a number of electronic devices 500, including, but not limited to, cellular phones, smart phones, other wireless communication devices, personal digital assistants, audio players, other media players, music recorders, video recorders, cameras, other media recorders, radios, medical devices, vehicle transportation equipment, calculators, programmable remote controls, pagers, laptop computers, desktop computers, printers, netbook computers, Personal Digital Assistants (PDAs), Portable Multimedia Players (PMPs), moving Picture experts group (MPEG-1 or MPEG-2) Audio layer 3(MP3) players, portable medical devices, and digital cameras, and combinations thereof.
Referring to fig. 15, an embodiment of the present application provides a block diagram of a computer-readable storage medium. The computer-readable medium 800 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 800 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 800 includes a non-volatile computer-readable storage medium. The computer readable storage medium 800 has storage space for program code 810 to perform any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 810 may be compressed, for example, in a suitable form.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (9)

1. An application display method applied to a foldable electronic device having a first display area and a second display area that can be folded with respect to each other, the method comprising:
when the first display area displays a first interface corresponding to a current application program, detecting folding operation of a user on the electronic equipment;
if the rotation angle of the first display area and the second display area in the relative expansion process is detected to be larger than or equal to an angle threshold value, and the relative rotation speed of the first display area and the second display area is detected to be larger than or equal to a speed threshold value, determining a target application program;
and displaying a second interface corresponding to the target application program in the first display area and the second display area in a full screen mode.
2. The method of claim 1, wherein before detecting the folding operation of the electronic device by the user, further comprising:
receiving a message sent by a server;
if the folding operation of the user is detected and the folding operation meets the specified angle condition, determining the target application program, wherein the steps of:
and determining an application program corresponding to the message, taking the determined application program as a target application program, and opening or calling the target application program.
3. The method of claim 1, wherein before detecting the folding operation of the electronic device by the user, further comprising:
receiving a plurality of messages sent by a server;
if the folding operation of the user is detected and the folding operation meets the angle specified condition, determining a target application program, and displaying a second interface corresponding to the target application program in the second display area, wherein the steps include:
determining an application program corresponding to each message, taking the determined application program as a target application program, and opening or calling the target application program;
and displaying a second interface corresponding to the application program corresponding to each message in a split screen mode in the second display area.
4. A method according to claim 2 or 3, wherein the message comprises a notification message or an incoming call message.
5. The method of claim 1, wherein the determining the target application comprises:
and if a plurality of application programs run in the background, acquiring the priority order of the application programs, and determining the application program with the highest priority as the target application program.
6. An application display device applied to a foldable electronic device having a first display area and a second display area that can be folded with respect to each other, comprising:
the detection module is used for detecting the folding operation of the electronic equipment by a user when the first display area displays a first interface;
the target application program determining module is used for determining a target application program when the rotating angle of the first display area and the second display area in the relative expansion process is greater than or equal to an angle threshold value and the relative rotating speed of the first display area and the second display area is greater than or equal to a speed threshold value;
and the display module is used for displaying a second interface corresponding to the target application program in the first display area and the second display area in a full screen mode.
7. An electronic device, comprising: the display screen comprises a first display area and a second display area, and the first display area and the second display area can be selectively folded or unfolded relatively; the processor is electrically connected with the display screen; the memory is coupled with the processor; the memory stores instructions that, when executed by the processor, cause the processor to perform the method of any of claims 1-5.
8. The electronic device of claim 7, further comprising a hall sensor electrically connected to the processor and configured to detect a relative rotation angle of the first display area and the second display area.
9. A computer-readable storage medium, having stored thereon program code that can be invoked by a processor to perform the method according to any one of claims 1 to 5.
CN201910258097.9A 2019-04-01 2019-04-01 Application program display method and device, electronic equipment and storage medium Active CN110058828B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910258097.9A CN110058828B (en) 2019-04-01 2019-04-01 Application program display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910258097.9A CN110058828B (en) 2019-04-01 2019-04-01 Application program display method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110058828A CN110058828A (en) 2019-07-26
CN110058828B true CN110058828B (en) 2022-06-21

Family

ID=67318047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910258097.9A Active CN110058828B (en) 2019-04-01 2019-04-01 Application program display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110058828B (en)

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110381282B (en) * 2019-07-30 2021-06-29 华为技术有限公司 Video call display method applied to electronic equipment and related device
CN112394891B (en) * 2019-07-31 2023-02-03 华为技术有限公司 Screen projection method and electronic equipment
CN110456863B (en) * 2019-08-14 2021-07-16 联想(北京)有限公司 Electronic equipment with screen
CN112445276A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Folding screen display application method and electronic equipment
CN110673889A (en) * 2019-08-31 2020-01-10 华为技术有限公司 Application opening method in folding screen equipment and related device
CN110691167B (en) * 2019-09-25 2021-04-16 北京蓦然认知科技有限公司 Control method and device of display unit
CN110968244B (en) * 2019-11-27 2021-07-30 维沃移动通信有限公司 Electronic equipment operation method and electronic equipment
CN111556183B (en) * 2020-04-27 2021-09-07 苏州跃盟信息科技有限公司 Information processing method and device, storage medium and processor
CN111813293B (en) * 2020-05-29 2021-12-10 维沃移动通信有限公司 Application program management method and electronic equipment
CN111640395B (en) * 2020-06-30 2022-07-26 联想(北京)有限公司 Electronic device and switching method
CN112468647B (en) * 2020-11-23 2022-08-02 深圳传音控股股份有限公司 Control method of mobile terminal, mobile terminal and storage medium
CN113241012A (en) * 2021-06-11 2021-08-10 维沃移动通信有限公司 Electronic device
CN114428650B (en) * 2022-01-26 2023-11-14 惠州Tcl移动通信有限公司 Application program display method, device, electronic equipment and readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009089328A (en) * 2007-10-03 2009-04-23 Canon Inc Digital camera
CN103282955A (en) * 2010-10-01 2013-09-04 Flex Electronics ID Co.,Ltd. Displaying the desktop upon device open
CN103477304A (en) * 2011-02-10 2013-12-25 三星电子株式会社 Portable device comprising a touch-screen display, and method for controlling same
CN104471513A (en) * 2012-07-11 2015-03-25 三星电子株式会社 Flexible display apparatus and operating method thereof
CN107179865A (en) * 2017-05-19 2017-09-19 维沃移动通信有限公司 A kind of page switching method and terminal
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content
CN107728885A (en) * 2017-10-24 2018-02-23 广东欧珀移动通信有限公司 Control method, device, mobile terminal and the storage medium of multitask
CN107809504A (en) * 2017-11-07 2018-03-16 广东欧珀移动通信有限公司 Method, apparatus, terminal and the storage medium of display information
CN107844228A (en) * 2017-10-24 2018-03-27 广东欧珀移动通信有限公司 Message display method, device and terminal
CN108196741A (en) * 2017-12-19 2018-06-22 努比亚技术有限公司 Application split screen method, terminal and computer readable storage medium based on flexible screen

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101569776B1 (en) * 2009-01-09 2015-11-19 삼성전자주식회사 Foldable Display Device And Operation Method thereof

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009089328A (en) * 2007-10-03 2009-04-23 Canon Inc Digital camera
CN103282955A (en) * 2010-10-01 2013-09-04 Flex Electronics ID Co.,Ltd. Displaying the desktop upon device open
CN103477304A (en) * 2011-02-10 2013-12-25 三星电子株式会社 Portable device comprising a touch-screen display, and method for controlling same
CN104471513A (en) * 2012-07-11 2015-03-25 三星电子株式会社 Flexible display apparatus and operating method thereof
CN107179865A (en) * 2017-05-19 2017-09-19 维沃移动通信有限公司 A kind of page switching method and terminal
CN107678661A (en) * 2017-10-19 2018-02-09 广东欧珀移动通信有限公司 The method and apparatus of display data content
CN107728885A (en) * 2017-10-24 2018-02-23 广东欧珀移动通信有限公司 Control method, device, mobile terminal and the storage medium of multitask
CN107844228A (en) * 2017-10-24 2018-03-27 广东欧珀移动通信有限公司 Message display method, device and terminal
CN107809504A (en) * 2017-11-07 2018-03-16 广东欧珀移动通信有限公司 Method, apparatus, terminal and the storage medium of display information
CN108196741A (en) * 2017-12-19 2018-06-22 努比亚技术有限公司 Application split screen method, terminal and computer readable storage medium based on flexible screen

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能电话""出新花样;李璐;《万方数据库》;20130614;第38页 *

Also Published As

Publication number Publication date
CN110058828A (en) 2019-07-26

Similar Documents

Publication Publication Date Title
CN110058828B (en) Application program display method and device, electronic equipment and storage medium
US11228669B2 (en) Electronic device for controlling application according to folding angle and method thereof
US20070046561A1 (en) Mobile communication terminal for displaying information
CN108495045B (en) Image capturing method, image capturing apparatus, electronic apparatus, and storage medium
CN109710139B (en) Page processing method, device, terminal and storage medium
CN108391058B (en) Image capturing method, image capturing apparatus, electronic apparatus, and storage medium
CN110162254B (en) Display method and terminal equipment
CN109947383B (en) Display control method and device, mobile terminal and storage medium
CN109976633B (en) Interface interaction method and device, electronic equipment and storage medium
CN111338737B (en) Content presentation method and device, terminal equipment and computer readable storage medium
CN108804005B (en) Terminal control method and device and mobile terminal
CN108833779B (en) Shooting control method and related product
CN109806589B (en) Virtual object control method and device, electronic device and storage medium
CN108762613B (en) State icon display method and mobile terminal
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN111158815B (en) Dynamic wallpaper blurring method, terminal and computer readable storage medium
CN111368114A (en) Information display method, device, equipment and storage medium
CN110489038B (en) Interface display method and terminal equipment
CN108196699B (en) Page switching method and equipment
CN108965042B (en) Network delay obtaining method and device, terminal equipment and storage medium
CN109995804B (en) Target resource information display method, information providing method and device
CN118018641A (en) Electronic equipment and operation method thereof
US11567532B2 (en) Method for providing screen using foldable display and electronic device for supporting same
CN110324491B (en) Method for controlling alarm clock to be turned off and terminal equipment
CN108924292B (en) Terminal control method, device, mobile terminal 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
GR01 Patent grant
GR01 Patent grant