WO2023035888A1 - 显示方法、电子设备及存储介质 - Google Patents

显示方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2023035888A1
WO2023035888A1 PCT/CN2022/113062 CN2022113062W WO2023035888A1 WO 2023035888 A1 WO2023035888 A1 WO 2023035888A1 CN 2022113062 W CN2022113062 W CN 2022113062W WO 2023035888 A1 WO2023035888 A1 WO 2023035888A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
screen
display
sliding
displayed
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.)
Ceased
Application number
PCT/CN2022/113062
Other languages
English (en)
French (fr)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to US18/690,151 priority Critical patent/US12613623B2/en
Priority to EP22866361.3A priority patent/EP4373062A4/en
Publication of WO2023035888A1 publication Critical patent/WO2023035888A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/22Details of telephonic subscriber devices including a touch pad, a touch sensor or a touch detector

Definitions

  • the present invention relates to the technical field of intelligent terminals, in particular to a display method, electronic equipment and a storage medium.
  • a dynamic panel is an interactive window that is suspended and displayed on the original display interface of a mobile phone or other electronic device in response to user operations, wherein the original display interface of the mobile phone or other electronic device may be a running application program interface.
  • the mobile phone currently displays the application interface of the running WeChat TM . If the user performs a shortcut gesture operation of double-finger long pressing on the picture or text on the application interface to recognize the text or picture content, the mobile phone responds to the user's operation in the original A dynamic panel is displayed on top of the WeChatTM interface to display the identified content.
  • the display mode of the dynamic panel displayed on electronic devices such as mobile phones is a half-screen-like mode, wherein the half-screen-like mode means that the window size of the dynamic panel is about half of the display size of the mobile phone screen, as shown in the mobile phone 100 shown in FIG. 1B.
  • a dynamic panel 102 in half-screen mode It can be understood that the modes for displaying dynamic panels on electronic devices such as mobile phones also include a small-size mode with a smaller window size and a full-screen mode with a larger window size. Refer to the dynamic panel in the small-size mode displayed on the mobile phone 100 shown in FIG. 1A respectively. 101, and the quasi-full-screen mode dynamic panel 103 displayed on the mobile phone 100 shown in FIG. 1C. As shown in FIG. 1C, the window size of the quasi-full-screen mode dynamic panel 103 can cover most or all of the display area of the mobile phone screen.
  • the embodiment of the present application provides a display method, an electronic device, and a storage medium.
  • the mobile phone when the mobile phone displays the dynamic panel in response to the user's operation, it can reasonably determine the display mode (or display size) of the dynamic panel based on the content to be displayed, which can not only ensure that the content to be displayed is fully displayed, but also reasonably avoid sliding conflicts that cause misjudgment of users Unfavorable user experience caused by sliding objects.
  • the embodiment of the present application provides a display method, which is applied to an electronic device, and the method includes: displaying a first interface on the electronic device; and displaying a second interface on top of the first interface when the electronic device receives a user instruction Instruction: in response to the display instruction, displaying the second interface above the first interface, wherein the display size of the second interface is determined based on the display content of the second interface.
  • the electronic device can respond to the user's operation and display another interface (ie, the second interface) on the original display interface (ie, the first interface) to display the content corresponding to the user's operation result (ie, the display content), and the second interface displays
  • the content is the content to be displayed as described in the detailed description below, and the size of the second interface displayed by the electronic device can be dynamically determined according to the display content on the second interface.
  • the electronic device can be, for example, the mobile phone 100 described in the following specific embodiments, and the first interface can be, for example, the text browsing interface 104 shown in FIG. 2A in the following specific embodiments; the second interface can be, for example, the text browsing interface 104 shown in FIG.
  • the character recognition window 105 shown, the display size of character recognition window 105 can be determined according to the display content of character recognition window 105, and this display content comprises the participle display area 106 shown in Fig. 2B for example, the operation button below participle display area 106, For example, search button 108 , copy button 109 , translate button 111 , share button 112 , and recommended reading area 107 .
  • the display instruction includes any one of the following: a user's gesture operation on the first interface or a voice instruction sent by the user to the electronic device.
  • the user instruction to display the second interface above the first interface may be an operation instruction corresponding to the user's gesture operation on the electronic device, or a voice instruction issued by the user.
  • the user's gesture operation on the electronic device may be, for example, The operation of pressing and holding the screen with two fingers on the text browsing interface 104 shown in FIG. 2A described in the specific embodiments below, or the scene interface 860 of “sleep well” shown in FIG. 8F described in the specific embodiments below Click on the operation of the time control 861, and the voice command sent by the user can be a voice wake-up command preset in electronic devices such as mobile phones, such as "Xiaoyi Xiaoyi, check today's weather" and so on.
  • the more display content on the second interface the larger the display size of the second interface.
  • the electronic device can determine the display size of the second interface according to the amount of display content on the second interface, and the more display content, the larger the display size.
  • the situation of displaying a large amount of content may correspond to, for example, the situation in which the length of the content to be displayed exceeds a preset length threshold described in the detailed description below.
  • the method includes determining the display size of the second interface in the following manner: when the length of the displayed content is greater than the first length threshold, determine to use the first part of the screen of the electronic device The second interface is displayed in the area; when the length of the displayed content is less than the first length threshold, it is determined to use the second partial area in the screen of the electronic device to display the second interface; wherein the first partial area is larger than the second partial area.
  • the first length threshold is the preset length threshold described in the detailed description below
  • the length of the displayed content of the second interface is greater than the first length threshold, for example, the length of the content to be displayed on the dynamic panel described in the detailed description below
  • Exceeding the preset length threshold at this time, electronic devices such as mobile phones display the second interface through the first part of the screen, the first part of which is, for example, the full-screen mode dynamic panel described in the specific implementation below, and has a larger display size;
  • the length of the displayed content of the second interface is less than the first length threshold, for example, the length of the content to be displayed on the dynamic panel described in the detailed description below does not exceed the preset length threshold.
  • the second part of the area is, for example, the half-screen-like dynamic panel described in the detailed description below, and its display size is smaller than that of the full-screen-like dynamic panel.
  • the first part of the area occupies 50% to 100% of the screen of the electronic device; the second part of the area occupies 25% to 75% of the screen of the electronic device.
  • the first part of the area is, for example, the full-screen-like dynamic panel described in the detailed description below, that is, the display size of the full-screen-like dynamic panel can account for 50% to 100% of the mobile phone screen, or can be set to 50% to 100% of the mobile phone screen.
  • % for example, the display size of the dynamic panel in quasi-full-screen mode is set to 90% of the screen of the mobile phone.
  • the display size of the dynamic panel in quasi-full-screen mode can also be set to other reasonable values, which is not limited here.
  • the second part of the area is, for example, the half-screen-like dynamic panel described in the detailed description below, that is, the display size of the half-screen-like dynamic panel can account for 25% to 75% of the screen of the mobile phone, or can be set to 25% of the screen of the mobile phone. % to 75%, for example, the display size of the dynamic panel in the half-screen mode is set to 50% of the screen of the mobile phone. In other embodiments, the display size of the dynamic panel in the half-screen mode can also be set to other reasonable values. Do limit.
  • the bottom of the first partial area is in contact with the bottom of the screen of the electronic device, and the height of the first partial area is greater than 1/2 of the height of the screen of the electronic device.
  • the bottom of the first partial area is aligned with the bottom of the screen of the electronic device, and the first partial area may open upward from the bottom of the screen of the electronic device, for example.
  • the first part of the area is, for example, the full-screen-like dynamic panel described in the following specific embodiments, and the height of the full-screen-like dynamic panel is greater than 1/2 of the screen of the mobile phone.
  • the display size of the full-screen-like dynamic panel can occupy 50% to 100% of the phone screen.
  • the width of the dynamic panel in quasi-full-screen mode may be equal to the width of the screen of the mobile phone, or the width of the dynamic panel in quasi-full-screen mode may be slightly smaller than the width of the screen of the mobile phone, etc., and there is no limitation here.
  • the bottom of the second partial area is in contact with the bottom of the screen of the electronic device, and the height of the second partial area is between 1/4 and 3/3 of the height of the screen of the electronic device. between 4.
  • the bottom of the second partial area is aligned with the bottom of the screen of the electronic device, and the second partial area may open upward from the bottom of the screen of the electronic device, for example.
  • the second part of the area is, for example, the half-screen-like dynamic panel described in the detailed description below, and the height of the half-screen-like dynamic panel is between 1/4 and 3/4 of the screen of the mobile phone.
  • the display size of the half-screen mode dynamic panel can occupy 25% to 75% of the mobile phone screen.
  • the width of the half-screen-like dynamic panel may be equal to the width of the mobile phone screen, or the width of the half-screen-like dynamic panel may be slightly smaller than the width of the mobile phone screen, etc., which is not limited here.
  • the electronic device has multiple screens, such as a folding screen mobile phone.
  • the screen of the electronic device can be, for example, any one of the two screens of the folding screen mobile phone, or the screen of the folding screen mobile phone.
  • the user can, for example, operate shortcut gestures on the home screen to display a dynamic panel on the home screen of the folding screen mobile phone.
  • the two screens of the folding screen mobile phone are combined into one screen to display the first interface, the user can also perform shortcut gestures on the displayed first interface to make the combined screen display of the folding screen mobile phone dynamic.
  • the display size of the dynamic panel can be set to 50% to 100% of the combined screen size of the foldable phone, such as 85% or 90%; if the dynamic panel If it is a half-screen mode, the display size of the dynamic panel can be set to 25% to 75% of the combined screen size of the folding screen mobile phone, such as 45% or 50%, and there is no limitation here.
  • the display size of the second interface is determined based on the display content of the second interface, whether there is a sliding control with sliding conflict in the second interface, and the size of the sliding hot zone of the sliding control of.
  • the electronic device can determine the display size of the second interface according to the amount of displayed content on the second interface, whether there is a sliding control with sliding conflict in the second interface, and whether the size of the sliding hot zone of the sliding control exceeds a preset size threshold.
  • the mobile phone 100 judges whether the length of the content to be displayed on the dynamic panel exceeds a preset length threshold, and determines whether there is a sliding control with a sliding conflict in the content to be displayed on the dynamic panel. , and whether the size of the sliding hot zone of the sliding control exceeds a preset size threshold, to determine whether the display mode of the dynamic panel is a full-screen-like mode or a half-screen-like mode.
  • the method determines the display size of the second interface in the following manner: there is a sliding control with sliding conflict in the second interface, and the width of the sliding hot zone of the sliding control is greater than the preset width threshold and the length of the displayed content is greater than the second length threshold, determine to use the third part of the screen of the electronic device to display the second interface; wherein the third part of the screen occupies 50% to 100% of the screen of the electronic device.
  • the display mode of the dynamic panel is a full-screen-like mode
  • the third part of the area is the dynamic panel displayed in a full-screen-like mode, that is to say, a full-screen-like
  • the display size of the dynamic panel displayed in the mode can be set to 50% to 100% of the screen of the electronic device (such as the screen of the mobile phone), for example, it can be set to 90% of the screen of the mobile phone, and there is no limitation here.
  • the bottom of the third partial area is in contact with the bottom of the screen of the electronic device, and the height of the third partial area is greater than 1/2 of the height of the screen of the electronic device.
  • the above-mentioned third part area is a dynamic panel displayed in quasi-full-screen mode.
  • the bottom can be connected to the bottom of the mobile phone screen.
  • the dynamic panel can be expanded from the bottom of the mobile phone screen upwards.
  • the corresponding interface height is greater than 1/2 of the mobile phone screen.
  • the corresponding display size is greater than 50% of the mobile phone screen, or accounts for 50% to 100% of the mobile phone screen. .
  • the method determines the display size of the second interface in the following manner: there is no sliding control with sliding conflict in the second interface, and the width of the sliding hot zone of the sliding control is smaller than the preset If the width threshold or the length of the displayed content is less than the second length threshold, it is determined to use the fourth part of the screen of the electronic device to display the second interface; wherein the fourth part of the screen occupies 25% to 75% of the screen of the electronic device.
  • the display mode of the dynamic panel is a half-screen mode
  • the fourth part of the area is the dynamic panel displayed in a half-screen mode
  • the display size of the dynamic panel displayed in the half-screen mode can be set to 25% to 75% of the screen of the electronic device (such as the screen of the mobile phone), for example, it can be set to 50% of the screen of the mobile phone, and there is no limitation here.
  • the bottom of the fourth partial area is in contact with the bottom of the screen of the electronic device, and the height of the fourth partial area is between 1/4 and 3/3 of the height of the screen of the electronic device. between 4.
  • the above-mentioned fourth part area is a dynamic panel displayed in a half-screen mode.
  • the bottom can be connected to the bottom of the mobile phone screen.
  • the dynamic panel can be expanded from the bottom of the mobile phone screen upwards.
  • the interface height corresponding to the bottom display is 1/4 to 3/4 of the mobile phone screen, and correspondingly, the corresponding display size of the dynamic panel when displayed in a quasi-half screen mode is 25% to 75% of the mobile phone screen.
  • the electronic device has multiple screens, such as a folding screen mobile phone.
  • the screen of the electronic device can be, for example, any one of the two screens of the folding screen mobile phone, or the screen of the folding screen mobile phone.
  • the user can, for example, operate shortcut gestures on the home screen to display a dynamic panel on the home screen of the folding screen mobile phone.
  • the two screens of the folding screen mobile phone are combined into one screen to display the first interface, the user can also perform shortcut gestures on the displayed first interface to make the combined screen display of the folding screen mobile phone dynamic.
  • the display size of the dynamic panel can be set to 50% to 100% of the combined screen size of the foldable phone, such as 85% or 90%; if the dynamic panel If it is a half-screen mode, the display size of the dynamic panel can be set to 25% to 75% of the combined screen size of the folding screen mobile phone, such as 45% or 50%, and there is no limitation here.
  • the first interface is the display interface of the first application
  • the second interface is the display interface of the second application
  • the first interface and the second interface are different functions of the third application Corresponding to different display interfaces.
  • the first interface and the second interface may be display interfaces of different applications, or may be different display interfaces of the same application or different display interfaces corresponding to different functions.
  • the first interface is the text browsing interface 104 corresponding to a certain article on the subscription number page opened in the WeChat TM application (refer to the text browsing interface 104 below), and the second interface is to press and hold the text with two fingers on the text browsing interface 104 Correspondingly displayed character recognition window 105 (refer to FIG. 2B below).
  • the first interface is the "sleep well" scene interface 860 of the smart life application (refer to FIG. 8F below), and the second interface is the designated time setting panel correspondingly displayed by clicking the time control 861 on the scene interface 860 870 (see Figure 8G below).
  • the second interface is a dynamic panel.
  • the embodiment of the present application provides an electronic device, the device includes: one or more processors; one or more memories; one or more memories store one or more programs, when one or more When the program is executed by one or more processors, the electronic device executes the above display method.
  • an embodiment of the present application provides a computer-readable storage medium, on which instructions are stored, and when executed on a computer, the instruction causes the computer to execute the above display method.
  • the embodiment of the present application provides a computer program product, which is characterized by including computer programs or instructions; when the computer programs or instructions are executed by a processor on a computer, the computer executes the above display method.
  • FIGS. 1A to 1C are schematic diagrams of interfaces corresponding to various display modes of the dynamic panel displayed on the mobile phone 100 provided by the embodiment of the present application.
  • FIG. 2A is a schematic diagram of an interface of an example mobile phone 100 provided by the embodiment of the present application to display content to be displayed in a dynamic panel 102 in a half-screen mode by default in response to user operations.
  • FIG. 2B is a schematic diagram of an interface in which the mobile phone 100 according to the embodiment of the present application displays content to be displayed in a dynamic panel 102 in a full-screen mode by default in response to user operations.
  • FIG. 3 is a schematic structural diagram of a mobile phone 100 provided in an embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a mobile phone 100 implementing the display method of the present application according to the embodiment of the present application.
  • FIGS. 5A to 5C are schematic diagrams of relevant interfaces of the mobile phone 100 provided by the embodiment of the present application to enable the smart screen recognition function of the smart assistant.
  • FIG. 5D is a schematic diagram of an interface corresponding to calling the smart screen recognition function on other application interfaces run by the mobile phone 100 provided by the embodiment of the present application.
  • 6A to 6D are schematic diagrams of control interfaces displayed on the dynamic panel of the mobile phone 100 provided by the embodiment of the present application.
  • FIG. 7 is a schematic diagram of coordinates used to describe the positional relationship of the interface displayed on the mobile phone 100 provided by the embodiment of the present application.
  • 8A to 8H are schematic diagrams of the process interface of the mobile phone 100 displaying the items to be set through the dynamic panel on the original display interface when the user uses the smart life application on the mobile phone 100 provided by the embodiment of the present application.
  • FIG. 9 is a schematic flowchart of another mobile phone 100 provided in the embodiment of the present application to implement the display method of the present application.
  • FIG. 10 is a schematic block diagram of a software structure of a mobile phone 100 provided by an embodiment of the present application.
  • the illustrative embodiments of the present application include but are not limited to a display method capable of dynamically adjusting a display mode of a dynamic panel, an electronic device, a storage medium, and the like.
  • the sliding control with sliding conflict means that the sliding hot area of the sliding control overlaps with the sliding hot area of the dynamic panel, and the two interact with the user in the same way, for example, the sliding hot area of the sliding control and the sliding hot area of the dynamic panel , all interact with the user by responding to the user's up and down sliding operations.
  • this application proposes a display method that can dynamically adjust the display mode of the dynamic panel. Specifically, the method confirms the amount of content to be displayed on the dynamic panel and determines whether there is a sliding conflict in the content to be displayed Then, according to the amount of content to be displayed and whether there is a sliding control with sliding conflict in the content to be displayed, confirm the display mode of the dynamic panel applicable to the current display situation. For example, if there is less content to be displayed, or there is no sliding control with sliding conflict in the content to be displayed, the mobile phone can determine that the display mode of the dynamic panel is a half-screen mode; If there is a sliding control with sliding conflict, the mobile phone can determine that the display mode of the dynamic panel is a full-screen-like mode.
  • the mobile phone when the mobile phone displays the dynamic panel in response to the user's operation, it can reasonably determine the display mode of the dynamic panel based on the content to be displayed, which can not only ensure that the content to be displayed is fully displayed, but also reasonably avoid sliding conflicts that cause misjudgment of the object of the user's sliding operation. Poor user experience.
  • FIG. 2A shows a schematic interface diagram of the mobile phone 100 displaying the content to be displayed in the dynamic panel 102 in a half-screen mode by default in response to user operations.
  • the user performs a shortcut gesture operation corresponding to a text or picture on the screen with two fingers long-pressed on the text browsing interface 104 displayed on the mobile phone 100, so that the mobile phone 100 displays a dynamic panel corresponding to the shortcut gesture, such as FIG. 2A shows the character recognition window 105.
  • the content displayed in the character recognition window 105 includes: word segmentation display area 106, operation buttons below the word segmentation display area 106, such as search button 108, copy button 109, translation button 111, share button 112, and recommended reading Area 107, now the user operates fewer characters to be recognized 113 selected, so the participle content displayed in the participle display area 106 is also less, so the content to be displayed in the character recognition window 105 is less, or the character recognition window 105 is to be displayed.
  • the length of the displayed content (hereinafter referred to as the length) is also relatively small.
  • the mobile phone 100 displays the dynamic panel (i.e. the text recognition window 105) on the original display interface (i.e. the text browsing interface 104) in response to the user's shortcut gesture operation, and the mobile phone 100 can obtain the content to be displayed in the text recognition window 105, And based on the (length) length of the content to be displayed, for example, the participle display area 106 shown in Figure 2A, the operation button below the participle display area 106, and the text, controls, typesetting, etc. corresponding to the recommended reading area 107 determine the length of the content to be displayed , determine that the display mode of the character recognition window 105 is a half-screen-like mode, that is, the display mode of the character recognition window 105 shown in FIG. 2A .
  • FIG. 2B shows a schematic diagram of an interface where the mobile phone 100 displays the dynamic panel 102 in a quasi-full-screen mode in response to user operations.
  • the word segmentation display There are many participles displayed in the region 106, such as the participle displayed in the participle display area 106 shown in Figure 2B, therefore, the content to be displayed in the text recognition window 105 is the participle display area 106 shown in Figure 2B, the participle display area
  • the search button 108 below 106 , the copy button 109 , the translation button 111 , the share button 112 , and the recommended reading area 107 correspond to relatively large content lengths.
  • the part of the participle in the participle display area 106 will not be displayed, and the participle is displayed in the participle display area 106 at the same time.
  • the sliding control is for the user to slide up and down to view the undisplayed word segmentation. At this time, there is a sliding conflict between the sliding control set in the word segmentation real area 106 and the sliding control corresponding to the character recognition window 105 .
  • the mobile phone 100 obtains the content to be displayed in the text recognition window 105, and based on the length of the content to be displayed, as shown in Figure 2B, the display of the text recognition window 105 is determined.
  • the mode is a quasi-full screen mode, that is, the display mode of the character recognition window 105 shown in FIG. 2B .
  • the above-mentioned electronic devices that display dynamic panels on the original display interface in response to user operations include but are not limited to mobile phones, smart screens, desktop computers, tablet computers, laptop computers, wearable devices, head-mounted displays, mobile Email devices, portable game consoles, portable music players, reader devices, personal digital assistants (PDAs), virtual reality (VR) or augmented reality (AR) devices, ultra-mobile personal computers (ultra-mobile personal computer, UMPC), netbooks, electronic devices such as televisions with one or more processors embedded or coupled to them.
  • PDAs personal digital assistants
  • VR virtual reality
  • AR augmented reality
  • UMPC ultra-mobile personal computers
  • netbooks electronic devices such as televisions with one or more processors embedded or coupled to them.
  • the mobile phone 100 is taken as an example of the electronic device below to describe aspects of the specific implementation of the display method for dynamically adjusting the display mode of the dynamic panel of the present application.
  • FIG. 3 shows a schematic structural diagram of a mobile phone 100 .
  • the mobile phone 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charging management module 140, a power management module 141, a battery 142, Antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, earphone jack 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, A display screen 194, and a subscriber identification module (subscriber identification module, SIM) card interface 195, etc.
  • SIM subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light Sensor 180L etc.
  • the structure shown in the embodiment of the present invention does not constitute a specific limitation on the mobile phone 100 .
  • the mobile phone 100 may include more or fewer components than shown in the figure, or combine certain components, or separate certain components, or arrange different components.
  • the illustrated components can be realized in hardware, software or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processing unit (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processing unit
  • GPU graphics processing unit
  • image signal processor image signal processor
  • ISP image signal processor
  • controller video codec
  • digital signal processor digital signal processor
  • baseband processor baseband processor
  • neural network processor neural-network processing unit
  • the controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of calling and executing the instruction.
  • the processor 110 may control the calling and execution of related instructions to complete the display method of the present application through the controller, so as to realize the display method of the present application.
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in processor 110 is a cache memory.
  • the memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated access is avoided, and the waiting time of the processor 110 is reduced, thus improving the efficiency of the system.
  • processor 110 may include one or more interfaces.
  • the interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), general-purpose input and output (general-purpose input/output, GPIO) interface, subscriber identity module (subscriber identity module, SIM) interface, and /or universal serial bus (universal serial bus, USB) interface, etc.
  • I2C integrated circuit
  • I2S integrated circuit built-in audio
  • PCM pulse code modulation
  • PCM pulse code modulation
  • UART universal asynchronous transmitter
  • MIPI mobile industry processor interface
  • GPIO general-purpose input and output
  • subscriber identity module subscriber identity module
  • SIM subscriber identity module
  • USB universal serial bus
  • the USB interface 130 is an interface conforming to the USB standard specification, specifically, it can be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like.
  • the USB interface 130 can be used to connect a charger to charge the mobile phone 100, and can also be used to transmit data between the mobile phone 100 and peripheral devices. It can also be used to connect headphones and play audio through them. This interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between modules shown in the embodiment of the present invention is only a schematic illustration, and does not constitute a structural limitation of the mobile phone 100 .
  • the mobile phone 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is configured to receive a charging input from a charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 can receive charging input from the wired charger through the USB interface 130 .
  • the charging management module 140 can receive wireless charging input through the wireless charging coil of the mobile phone 100 . While the charging management module 140 is charging the battery 142 , it can also provide power for electronic devices through the power management module 141 .
  • the power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 .
  • the power management module 141 receives the input from the battery 142 and/or the charging management module 140 to provide power for the processor 110 , the internal memory 121 , the display screen 194 , the camera 193 , and the wireless communication module 160 .
  • the power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, and battery health status (leakage, impedance).
  • the power management module 141 may also be disposed in the processor 110 .
  • the power management module 141 and the charging management module 140 may also be set in the same device.
  • the wireless communication function of the mobile phone 100 can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in handset 100 can be used to cover single or multiple communication frequency bands. Different antennas can also be multiplexed to improve the utilization of the antennas.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G applied on the mobile phone 100 .
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wireless Fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), global navigation satellite system, etc. applied on the mobile phone 100 (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • the wireless communication module 160 may be one or more devices integrating at least one communication processing module.
  • the wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency-modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , frequency-modulate it, amplify it, and convert it into electromagnetic waves through the antenna 2 for radiation.
  • the antenna 1 of the mobile phone 100 is coupled to the mobile communication module 150, and the antenna 2 is coupled to the wireless communication module 160, so that the mobile phone 100 can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), broadband Code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC , FM, and/or IR techniques, etc.
  • GSM global system for mobile communications
  • GPRS general packet radio service
  • code division multiple access code division multiple access
  • CDMA broadband Code division multiple access
  • WCDMA wideband code division multiple access
  • time division code division multiple access time-division code division multiple access
  • LTE long term evolution
  • BT GNSS
  • WLAN NFC
  • the GNSS may include a global positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a Beidou navigation satellite system (beidou navigation satellite system, BDS), a quasi-zenith satellite system (quasi -zenith satellite system (QZSS) and/or satellite based augmentation systems (SBAS).
  • GPS global positioning system
  • GLONASS global navigation satellite system
  • Beidou navigation satellite system beidou navigation satellite system
  • BDS Beidou navigation satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite based augmentation systems
  • the mobile phone 100 realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. GPUs are used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the mobile phone 100 realizes the display function of the dynamic panel through the GPU, the display screen 194, and the application processor.
  • the display mode of the dynamic panel is determined by judging whether there are sliding controls with sliding conflicts, and the mobile phone 100 displays the content to be displayed on the dynamic panel in the finally determined display mode through the GPU, the display screen 194 and the application processor.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active matrix organic light emitting diode or an active matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Mini-LED, Micro-LED, Micro-OLED, quantum dot light emitting diodes (quantum dot light emitting diodes, QLED), etc.
  • the mobile phone 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the mobile phone 100 can realize the shooting function through ISP, camera 193 , video codec, GPU, display screen 194 and application processor.
  • the ISP is used for processing the data fed back by the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the mobile phone 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • Video codecs are used to compress or decompress digital video.
  • the handset 100 may support one or more video codecs. In this way, the mobile phone 100 can play or record videos in various encoding formats, for example: moving picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. Such as saving music, video and other files in the external memory card.
  • the internal memory 121 may be used to store computer-executable program codes including instructions.
  • the internal memory 121 may include an area for storing programs and an area for storing data.
  • the stored program area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.) and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone 100 .
  • the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (universal flash storage, UFS) and the like.
  • the processor 110 executes various functional applications and data processing of the mobile phone 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
  • the corresponding instructions of the display method provided by the present application are stored in the internal memory 121, and the processor 110 of the mobile phone 100 executes the judgment of the mobile phone 100 by running the corresponding instructions of the display method stored in the internal memory 121.
  • the display mode of the dynamic panel is determined through processes such as whether the content on the dynamic panel to be displayed exceeds a preset length threshold and whether the content to be displayed includes a sliding control with a sliding conflict.
  • the mobile phone 100 can realize the audio function through the audio module 170 , the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor. Such as music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into digital audio signal.
  • Speaker 170A also referred to as a "horn" is used to convert audio electrical signals into sound signals.
  • Cell phone 100 can listen to music through speaker 170A, or listen to hands-free calls.
  • Receiver 170B also called “earpiece” is used to convert audio electrical signals into sound signals.
  • the receiver 170B can be placed close to the human ear to listen to the voice.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can put his mouth close to the microphone 170C to make a sound, and input the sound signal to the microphone 170C.
  • the earphone interface 170D is used for connecting wired earphones.
  • the pressure sensor 180A is used to sense the pressure signal and convert the pressure signal into an electrical signal.
  • pressure sensor 180A may be disposed on display screen 194 .
  • pressure sensors 180A such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors.
  • a capacitive pressure sensor may be comprised of at least two parallel plates with conductive material.
  • the mobile phone 100 can calculate the two touch positions according to the detection signal of the pressure sensor 180A to determine the operation of the user's two-finger long press on the picture or text on the screen, so as to display the text recognition function in response to the user operation.
  • interface 105 process.
  • touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view short messages is executed. When a touch operation whose intensity is greater than or equal to the first pressure threshold acts on the icon of the short message application, the instruction of creating a new short message is executed.
  • the gyroscope sensor 180B can be used to determine the motion posture of the mobile phone 100 .
  • the air pressure sensor 180C is used to measure air pressure.
  • the mobile phone 100 calculates the altitude based on the air pressure value measured by the air pressure sensor 180C to assist positioning and navigation.
  • the magnetic sensor 180D includes a Hall sensor.
  • the mobile phone 100 can use the magnetic sensor 180D to detect the opening and closing of the flip holster.
  • the mobile phone 100 can detect the opening and closing of the flip according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the acceleration of the mobile phone 100 in various directions (generally three axes). When the mobile phone 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
  • the distance sensor 180F is used to measure the distance.
  • the mobile phone 100 can measure the distance by infrared or laser. In some embodiments, when shooting a scene, the mobile phone 100 can use the distance sensor 180F for distance measurement to achieve fast focusing.
  • Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes.
  • the mobile phone 100 can use the proximity light sensor 180G to detect that the user is holding the mobile phone 100 close to the ear to make a call, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, automatic unlock and lock screen in pocket mode.
  • the ambient light sensor 180L is used for sensing ambient light brightness.
  • the mobile phone 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness.
  • the ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures.
  • the ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the mobile phone 100 is in the pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the mobile phone 100 can use the collected fingerprint features to realize fingerprint unlocking, access to the application lock, take pictures with the fingerprint, answer calls with the fingerprint, and the like.
  • the temperature sensor 180J is used to detect temperature.
  • the mobile phone 100 uses the temperature detected by the temperature sensor 180J to implement a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds the threshold, the mobile phone 100 may reduce the performance of the processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection.
  • the mobile phone 100 when the temperature is lower than another threshold, the mobile phone 100 heats the battery 142 to avoid abnormal shutdown of the mobile phone 100 due to low temperature.
  • the mobile phone 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
  • the touch sensor 180K is also called “touch device”.
  • the touch sensor 180K can be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”.
  • the touch sensor 180K is used to detect a touch operation on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • Visual output related to the touch operation can be provided through the display screen 194 .
  • the touch sensor 180K may also be disposed on the surface of the mobile phone 100 , which is different from the position of the display screen 194 .
  • the keys 190 include a power key, a volume key and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the mobile phone 100 can receive key input and generate key signal input related to user settings and function control of the mobile phone 100 .
  • the motor 191 can generate a vibrating reminder.
  • the motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback.
  • touch operations applied to different applications may correspond to different vibration feedback effects.
  • the motor 191 may also correspond to different vibration feedback effects for touch operations acting on different areas of the display screen 194 .
  • Different application scenarios for example: time reminder, receiving information, alarm clock, games, etc.
  • the touch vibration feedback effect can also support customization.
  • the indicator 192 can be an indicator light, and can be used to indicate charging status, power change, and can also be used to indicate messages, missed calls, notifications, and the like.
  • the SIM card interface 195 is used for connecting a SIM card.
  • FIG. 4 shows a schematic flowchart of a mobile phone 100 implementing the display method of the present application.
  • the process shown in Figure 4 first determines whether the content to be displayed on the dynamic panel includes a sliding control with a sliding conflict, and determines the size of the sliding hot zone of the sliding control; if there is a sliding control with a sliding conflict in the content to be displayed and the If the size of the sliding hot zone of the control is large, it means that the sliding control with sliding conflict in the content to be displayed is enough to cause the user to misjudge the sliding operation of the dynamic panel, and then further determine the amount of content to be displayed to determine the display mode of the dynamic panel; If there are many contents to be displayed, it is determined that the display mode of the dynamic panel is a full-screen mode.
  • the display mode of the dynamic panel is a similar half-screen mode.
  • the process includes the following steps 401 to 406 , and each step of the process may be executed by the mobile phone 100 .
  • the user can call another application program to open the dynamic panel through a preset shortcut gesture, such as the shortcut gesture operation of pressing and holding the screen of the mobile phone 100 with two fingers as shown in FIG. 2A above.
  • a preset shortcut gesture such as the shortcut gesture operation of pressing and holding the screen of the mobile phone 100 with two fingers as shown in FIG. 2A above.
  • the processor 110 of the mobile phone 100 can obtain the content to be displayed corresponding to the operation, for example, the content displayed in the text recognition window 105 shown in FIG. 2A, and then continue to perform the following steps 402.
  • the processor 110 of the mobile phone 100 acquires the content to be displayed, for example, through a window manager in the system of the mobile phone 100 that manages and displays dynamic panels, and there is no limitation here.
  • the original display interface of the mobile phone 100 may be an interface of any application running on the mobile phone 100, for example, the original display interface may be a setting interface, an interface of WeChat TM , an interface of a player, an interface of a browser, or an interface of a gallery , the interface of the camera, the interface of WeiboTM , the interface of the reader, the interface of the mail, or the interface of the game, etc.
  • the smart screen recognition scene corresponding to the shortcut gesture of two-finger long press shown in FIG. 2A is realized on the premise that the mobile phone 100 has enabled the smart screen recognition function. If the smart screen recognition function is not enabled on the mobile phone 100, the user can operate the mobile phone 100 to enable the function in the following manner.
  • the interface change process corresponding to the user's operation of opening the dynamic panel on the original display interface of the mobile phone 100 may refer to FIG. 5A to FIG. 5D , for example.
  • the smart screen recognition setting interface 530 includes a function introduction area 531, and various function setting buttons are set below the function introduction area 531, including a smart screen recognition switch button 532, a personalized experience switch button 533, and gallery active suggestions Buttons 534, etc.
  • the function introduction area 531 can display the shortcut calling method of the smart screen recognition function, for example, the function introduction area 531 shows an example picture of a shortcut gesture of pressing the text or picture on the screen with two fingers and "two-finger Literacy, extract text from pictures" and other text introductions. The user can turn on the smart screen recognition function by clicking the smart screen recognition switch button 532.
  • the user can call the smart screen recognition function by long pressing the screen with two fingers on the interface of other applications.
  • other applications The interface is the original display interface of the mobile phone 100 above. It can be understood that in some embodiments, the desktop of the mobile phone 100 cannot be used as the original display interface.
  • the user operates the mobile phone 100 to open an article pushed by a certain official account in the WeChat TM application, and the mobile phone 100 displays a text browsing interface 104 .
  • the mobile phone 100 can detect the operation of the user opening the dynamic panel (that is, the text recognition window 105 shown in the above-mentioned FIG. 2A or FIG.
  • the mobile phone 100 Before displaying the corresponding dynamic panel, the content to be displayed can be obtained, and the following steps 402 to 406 can be performed to further determine whether the display mode of the dynamic panel is the half-screen mode shown in the above-mentioned Figure 2A or the similar mode shown in Figure 2B. Displayed in full screen mode.
  • step 402 Determine whether the content to be displayed on the dynamic panel includes a sliding control with a sliding conflict. If the judgment result is yes, it indicates that the content to be displayed may cause the user to misjudge the sliding operation on the dynamic panel, so it is necessary to continue to step 403 to further determine whether the content to be displayed will cause the user to misjudge the sliding operation on the dynamic panel ; If the judgment result is no, it means that there is no problem in the content to be displayed that causes the user to misjudge the sliding operation of the dynamic panel, and step 406 can be performed to determine that the display mode of the dynamic panel is a half-screen-like mode.
  • the processor 110 of the mobile phone 100 may obtain the content to be displayed in the dynamic panel corresponding to the process in which the window manager is about to manage the window to display the dynamic panel, and based on whether there is a sliding control nested with a sliding conflict in the content to be displayed Corresponding label information, etc., to determine whether there is a sliding control that conflicts with sliding in the content to be displayed on the dynamic panel. If the displayed content includes the control label corresponding to the sliding control with sliding conflict, for example, the sliding hot area of the sliding control is also realized by responding to the user's up and down sliding operation to interact with the user, then the mobile phone 100 can determine that the dynamic panel is to be displayed The content of contains a swipe control with a swipe conflict.
  • the controls displayed on the dynamic panel of the mobile phone 100 can provide users with various interactive forms, including but not limited to the check control 610 shown in FIG. 6A , the left and right sliding controls 620 shown in FIG. Ring slide control 630, and up and down slide control 640 shown in FIG. 6D.
  • the mobile phone 100 can also display the text content through the sliding control for the user to slide up and down to view the part that is not displayed, such as the participle display area 106 shown in Figure 2A or 2B above. Slide the displayed participle up and down in the participle display area 106 to view the participle not displayed, which is not limited here.
  • the content to be displayed includes a sliding control and the sliding hot zone of the control realizes interaction with the user by responding to the user's sliding operation up and down, such as the sliding control 640 shown in FIG.
  • the sliding hotspot of 640 will overlap with the sliding hotspot of the dynamic panel, and the sliding hotspot of the up and down sliding control 640 is located on the upper layer of the sliding hotspot of the dynamic panel, and both are performed by responding to the user's up and down sliding operation.
  • the up and down sliding control 640 is a sliding control with sliding conflict.
  • the mobile phone 100 may misjudge that the object of the user's sliding operation is the sliding up and down control 640, and the judgment process of the following step 403 needs to be further performed to further determine Whether sliding the control 640 up and down will cause the user's sliding operation on the dynamic panel to be misjudged.
  • the sliding hot zone of the above-mentioned up and down sliding control 640 is located on the upper layer of the sliding hot zone of the dynamic panel, reference may be made to the coordinate schematic diagram shown in FIG.
  • the upper and lower edges of the screen the Y-axis is parallel to the left and right edges of the screen of the mobile phone 100
  • the Z-axis is a coordinate axis perpendicular to the screen surface of the mobile phone 100
  • the positive direction of the Z-axis is the direction in which points on the screen of the mobile phone 100 point to points outside the screen (ie OZ direction).
  • the sliding hot zone of the up and down sliding control 640 is located on the upper layer of the sliding hot zone of the dynamic panel means that the sliding hot zone of the up and down sliding control 640 is located on the plane where the sliding hot zone of the dynamic panel is located and extends along the OZ direction.
  • step 403 Determine whether the size of the sliding hotspot of the sliding control with sliding conflict in the content to be displayed exceeds a size threshold. If the judgment result is yes, it means that the content to be displayed will cause the user to misjudge the sliding operation of the dynamic panel, and it is necessary to continue to step 404 to further confirm the length of the content to be displayed through the dynamic panel of the display size; if judged If the result is no, it means that the content to be displayed will not cause the user's sliding operation on the dynamic panel to be misjudged, and step 406 can be executed to determine that the display mode of the dynamic panel is a half-screen-like mode.
  • the mobile phone 100 judges that the content to be displayed on the dynamic panel includes a sliding control with a sliding conflict, and the processor 110 of the mobile phone 100 may further determine whether the size of the sliding hot zone of the sliding control with a sliding conflict exceeds
  • the preset size threshold wherein the preset size threshold may be the width threshold in the "L" direction shown in FIG. No restrictions. In some other embodiments, the preset size threshold may also be the height threshold in the "H" direction shown in FIG. 6D above, for example, set to 1/8 of the screen display height of the mobile phone 100, or a dynamic half-screen mode. 1/4 of the display height of the panel 102 is not limited here. In some other embodiments, the preset size threshold may also be an area threshold or the like, which is not limited here.
  • the size of the sliding hotspot of the sliding control with sliding conflict exceeds the preset size threshold, it indicates that the sliding control with sliding conflict in the content to be displayed is enough to cause the user to misjudge the sliding operation on the dynamic panel, or cause The object of the sliding operation has a high probability of being misjudged, so it is necessary to further confirm the length of the content to be displayed through the dynamic panel of the size; if the size of the sliding control with sliding conflicts does not exceed the preset size threshold, it indicates that The sliding controls with sliding conflicts in the display content are not enough to cause the user to misjudge the sliding operation of the dynamic panel, or the probability of the object causing the sliding operation to be misjudged is relatively small, so the display mode of the dynamic panel can be determined to be half-screen mode, even if the dynamic panel has a lot of content to be displayed, the user can swipe up and down on the dynamic panel to view the undisplayed content, or swipe up on the dynamic panel to switch from the half-screen mode to the full-screen mode, and
  • the above preset size threshold can be reasonably set according to user experience data, for example, the preset size threshold can be determined according to the position and range of the user's finger on the screen of the mobile phone 100 or the frequently slid operation area on the displayed dynamic panel For example, the user's finger often slides the area within 1cm from the left and right edges of the screen of the mobile phone 100 on the screen of the mobile phone 100 or the displayed dynamic panel, then the preset size threshold (width threshold) can be set as (width of the screen of the mobile phone 100-2* 1cm) as the preset width threshold.
  • step 404 Determine whether the length of the content to be displayed exceeds a preset length threshold. If the judgment result is yes, it indicates that there are many contents to be displayed, and it needs to be displayed through a dynamic panel in quasi-full-screen mode with a larger display size, and step 405 needs to be performed to determine that the display mode of the dynamic panel is a quasi-full-screen mode; if the judgment result is If not, there is less content to be displayed, and the dynamic panel can be completely displayed in half-screen-like mode. Therefore, step 406 can be performed to determine that the display mode of the dynamic panel is half-screen-like mode.
  • the processor 110 of the mobile phone 100 executes the above steps 402 and 403, it is determined that the content to be displayed includes a sliding control with sliding conflicts and the sliding hotspot of the sliding control will cause the user to erroneously slide the dynamic panel.
  • the display size to be provided by the dynamic panel is further determined based on the obtained length of the content to be displayed, and then the display mode of the dynamic panel is determined.
  • the processor 110 can determine whether the length of the content to be displayed on the dynamic panel exceeds a preset length threshold, where the length of the content to be displayed on the dynamic panel refers to the mobile phone 100 according to the preset font, picture size, preset typesetting and according to the mobile phone 100.
  • Parameters such as screen width will be the length required when all the content to be displayed is displayed; the preset length threshold can be, for example, the upper limit of the display height of the dynamic panel in half-screen mode, or other reasonably set thresholds, which will not be discussed here. limit.
  • the length of the content to be displayed on the dynamic panel exceeds the preset length threshold, it indicates that if the mobile phone 100 uses a half-screen mode to display the dynamic panel at this time, the content to be displayed cannot be completely displayed, that is, part of the content to be displayed will be hidden and not displayed. Display, which may cause the content that is not displayed to be ignored or omitted to be viewed by the user.
  • the mobile phone 100 judges that the length of the content to be displayed on the dynamic panel exceeds the preset length threshold, it can determine that the display mode of the dynamic panel is a full-screen mode, that is, perform the following step 405; If the preset length threshold is not exceeded, it may be determined that the display mode of the dynamic panel is a half-screen-like mode, that is, the following step 406 is performed.
  • the processor 110 of the mobile phone 100 executes the judgments in the above steps 402 to 404, it determines that the content to be displayed on the dynamic panel includes a sliding control with sliding conflict and the size of the sliding hot zone of the sliding control exceeds the preset size threshold, and at the same time
  • the processor 110 of the mobile phone 100 can determine that the display mode of the dynamic panel is a full-screen-like mode, so that the content to be displayed can pass through the full-screen-like dynamic panel as much as possible. displayed to minimize the possibility of users missing content that is not displayed.
  • the length of the content to be displayed on the dynamic panel may also exceed the upper limit of the display height of the dynamic panel in full-screen mode, but since the display height of the dynamic panel in full-screen mode is larger than that in half-screen mode, generally the two The display height ratio is about 2:1, so this type of dynamic panel in full-screen mode can display more content and provide users with a larger area of sliding hotspots for sliding operations, even if there are sliding conflicts in the content to be displayed Control, when the user slides up and down, the probability of the finger sliding in the conflicting sliding hot zone is relatively low.
  • the processor 110 of the mobile phone 100 determines that the content to be displayed on the dynamic panel does not include sliding controls with sliding conflicts, or the content to be displayed on the dynamic panel contains sliding controls that have sliding conflicts. After the size of the sliding hotspot of the control does not exceed the preset size threshold, or the length of the content to be displayed on the dynamic panel does not exceed the preset length threshold, etc., it can be determined that the display mode of the dynamic panel is a half-screen mode. The occlusion of the original display interface enables users to browse the content of the original display interface and the content displayed on the dynamic panel at the same time.
  • the mobile phone 100 displays a text recognition window
  • the display mode of 105 is a similar half-screen mode, so that the part of the text browsing interface 104 displayed on the mobile phone 100 that is not blocked by the text recognition window 105 can still be browsed by the user. That is to say, at this time, the mobile phone 100 does not need to display the character recognition window 105 on a dynamic panel in a full-screen mode. Multiple contents are displayed to the user, and the visual disturbance caused by the occlusion of the dynamic panel can be reduced to the user.
  • the mobile phone 100 can further determine whether the sliding control with sliding conflict included in the content to be displayed on the dynamic panel is an infinite sliding control or an ultra-long sliding control, if , it can be further determined that the conflicting sliding control will cause the mobile phone 100 to misjudge the object of the user's sliding operation, and the mobile phone 100 will further perform the above step 404 to further confirm the length of the content to be displayed through the dynamic panel of the display size; if No, it means that when the mobile phone misjudges the object of the user's swipe operation, the user can also perform effective swipe operations on the dynamic panel after a limited number of swipe operations on the swipe control with swipe conflicts.
  • step 406 may also be performed to determine that the display mode of the dynamic panel is a half-screen-like mode. There is no limitation here.
  • the user can perform an unlimited number of up and down sliding operations on the sliding hot zone provided by the infinite sliding control.
  • the swipe operation performed is an invalid swipe operation on the dynamic panel, which makes the user experience poor. For example, when the user slides down on the sliding hot zone provided by the infinite sliding control to switch the parameters to be selected, when the last parameter to be selected is displayed on the infinite sliding control, the first parameter to the last parameter to be selected will be displayed again, continuously. Cycle, that is to say, the user can slide down endlessly to switch the controls of the parameters to be selected.
  • the user can continue to perform effective sliding up and down on the dynamic panel after performing a limited number of up and down sliding operations, the user performs a limited number of times on the sliding hot zone provided by the ultra-long sliding control.
  • the sliding operation will take a long time, which will also lead to poor user experience.
  • the display method of the present application can reasonably determine the display mode of the dynamic panel according to the content to be displayed. Displayed via a dynamic panel in a full-screen-like mode. At the same time, the display method of the present application will display the content to be displayed through the dynamic panel of the full-screen mode only when the display of the content to be displayed through the dynamic panel of the half-screen mode will lead to poor user experience, so it will not cause The mobile phone 100 frequently uses a full-screen-like dynamic panel to display the content to be displayed and completely covers the original display interface, causing visual disturbance to the user, which is beneficial to improving user experience.
  • FIGS. 8A to 8H show the process interface diagrams of the mobile phone 100 displaying the items to be set through the dynamic panel on the original display interface when the user uses the smart life application on the mobile phone 100 .
  • the user clicks on the smart life application 811 on the desktop 810 of the mobile phone 100 , the mobile phone 100 runs the smart life application 811 and opens the smart life application interface 820 shown in FIG. 8B .
  • the mobile phone 100 opens the scene creation interface 830 shown in FIG. 8C in response to the user operation.
  • the add device option 824 on the add operation window 822 can be used to add smart devices to the smart life application 811 for management, and the share device option 825 can transfer smart devices managed by the smart life 1.
  • Device 2, device 3, and device 4) are shared with other electronic devices such as mobile phones, and will not be described here.
  • the user can set the name of the scene to be created in the scene name setting box 831 on the creation scene interface 830 displayed on the mobile phone 100, for example, the scene name is "sleep well"; or click the create scene interface
  • the trigger condition adding button 832 on the 830 sets the trigger condition of the scene card created, and enters the adding condition setting interface 840 shown in FIG. Executed tasks, such as broadcasting weather, broadcasting schedule, etc., will not be repeated here.
  • the user can select the “specified time” option 841 on the adding condition setting interface 840 displayed on the mobile phone 100 to enter the specified time setting interface 850 shown in FIG. 8E .
  • the user can slide up and down in the sliding hot zone 8511 under the designated time check box 851 on the designated time setting interface 850 displayed on the mobile phone 100 to set the designated time, for example, the designated time is set to "11:00 p.m. ", the user can also click the sunrise check box 852 on the specified time setting interface 850 to set the specified time as the sunrise time, or click the sunset check box 853 to set the specified time as the sunset time; in addition, the user can click the specified time
  • the date and repeat option 854 on the setting interface 850 sets the task repetition cycle to repeat every day, every week, or on statutory working days.
  • the user can click the next button 855 on the specified time setting interface 850 to enter the "sleep well" scene interface 860 shown in FIG. 8F.
  • the user’s operation of clicking the time control 861 on the “sleep well” scene interface 860 is the “operation of the user opening the dynamic panel on the original display interface” described in step 401 above.
  • the mobile phone 100 detects When the user clicks the operation of the time control 861, it is necessary to perform the judgment process of the above steps 402 to 404, and the mobile phone 100 determines that the content to be displayed on the dynamic panel corresponding to the time control 861 includes a sliding control with a sliding conflict (that is, the above-mentioned time Check box 851), the sliding hot zone width of the sliding control with sliding conflict exceeds the preset 2/3 screen width value, and the content length corresponding to the dynamic panel of the time control 861 exceeds the preset length threshold
  • the mobile phone 100 defaults to a full-screen-like mode to display the designated time setting panel 870 shown in FIG. 8G .
  • the specified time setting panel 870 includes a specified time check box 871 and a sliding hot area 8711 below the specified time check box 871 , and the user can slide on the sliding hot area 8711 to set the specified time.
  • the specified time settings panel 870 also includes a sunrise check box 872 , a sunset check box 873 , and a date and repeat option 874 . It can be seen from FIG. 8G that the designated time setting panel 870 displayed in a quasi-full-screen mode by default can fully display various options that need to be set by the user, and the user is not easy to miss the setting.
  • the mobile phone 100 does not use the display method of the present application to determine the display mode that the mobile phone 100 needs to adopt in response to the operation of the user clicking the time control 861 to be displayed, then when the mobile phone 100 detects that the user clicks the time control 861 During operation, the designated time setting panel 870 may be displayed in a half-screen-like mode by default. Refer to the display of the designated time setting panel 870' displayed on the interface shown in FIG. 8H.
  • the implementation of the display method capable of dynamically adjusting the dynamic panel display mode provided by the present application may also be implemented according to another implementation process, which is not limited here.
  • FIG. 9 shows a specific flowchart of another mobile phone 100 implementing the display method of the present application.
  • the execution order of some steps is different, that is, in the flow shown in Figure 9, it is first executed to determine whether the length of the content to be displayed on the dynamic panel exceeds the preset length threshold, and if it exceeds, it indicates that the length of the content to be displayed on the dynamic panel exceeds the preset length threshold.
  • judge whether the content to be displayed includes sliding controls with sliding conflicts, and whether the size of the sliding hot area of sliding controls with sliding conflicts exceeds the threshold.
  • Determine whether the display mode of the dynamic panel is a full-screen-like mode or a half-screen-like mode.
  • the subject of execution of the process is the mobile phone 100, which includes the following steps:
  • step 902 Determine whether the length of the content to be displayed exceeds a preset length threshold. If the judgment result is yes, it indicates that there are many contents to be displayed, which may need to be displayed through a full-screen-like dynamic panel with a larger display size, and step 903 needs to be performed to further determine the display mode of the dynamic panel; if the judgment result is no, then It indicates that there are few contents to be displayed, and the dynamic panel can be completely displayed in half-screen-like mode, so step 906 can be executed to determine that the display mode of the dynamic panel is half-screen-like mode.
  • the process for the processor 110 of the mobile phone 100 to determine whether the length of the content to be displayed exceeds the preset length threshold can refer to the relevant description in the above step 404, and details are not repeated here.
  • step 903 Determine whether the content to be displayed on the dynamic panel includes a sliding control with a sliding conflict. If the judgment result is yes, it indicates that the content to be displayed may cause the user's sliding operation on the dynamic panel to be misjudged, so it is necessary to continue to step 904 to further determine whether the content to be displayed will cause the user's sliding operation on the dynamic panel to be misjudged ; If the judgment result is no, it means that there is no problem in the content to be displayed that causes the user to misjudge the sliding operation of the dynamic panel, and step 906 can be executed to determine that the display mode of the dynamic panel is a half-screen-like mode.
  • the process of the processor 110 of the mobile phone 100 judging whether the content to be displayed on the dynamic panel includes sliding controls with sliding conflicts can refer to the relevant description in the above step 402 , which will not be repeated here.
  • step 904 Determine whether the size of the sliding hotspot of the sliding control with sliding conflict in the content to be displayed exceeds a size threshold. If the judgment result is yes, it means that the content to be displayed will cause the user to misjudge the sliding operation of the dynamic panel, so it is necessary to continue to perform step 905 to confirm that the display mode of the dynamic panel is a full-screen mode; if the judgment result is no, it means The content to be displayed will not cause the user's sliding operation on the dynamic panel to be misjudged, and step 406 may be performed to determine that the display mode of the dynamic panel is a half-screen-like mode.
  • the process of the processor 110 of the mobile phone 100 judging whether the size of the sliding hot zone of the sliding control with sliding conflicts exceeds the size threshold may refer to the relevant description in the above step 403 , which will not be repeated here.
  • the process for the processor 110 of the mobile phone 100 to determine that the display mode of the dynamic panel is a full-screen-like mode may refer to the relevant description in the above-mentioned step 405, which will not be repeated here.
  • the process for the processor 110 of the mobile phone 100 to determine that the display mode of the dynamic panel is a half-screen-like mode may refer to the relevant description in the above step 406 , which will not be repeated here.
  • the display method provided by the present application that can dynamically adjust the display mode of the dynamic panel can also determine the display mode of the dynamic panel only according to the amount of content to be displayed on the dynamic panel, for example, only execute The above steps 901, 902, 905 and 906, that is, when the length of the content to be displayed exceeds the preset length threshold, the mobile phone 100 determines that the display mode of the dynamic panel is a full-screen mode; ) preset length threshold, the mobile phone 100 determines that the display mode of the dynamic panel is a half-screen-like mode.
  • the display mode of the dynamic panel is a full-screen mode
  • preset length threshold the mobile phone 100 determines that the display mode of the dynamic panel is a half-screen-like mode.
  • Fig. 10 shows a schematic block diagram of a software structure of a mobile phone 100 according to an embodiment of the present application.
  • the software system of the mobile phone 100 can adopt a layered architecture, an event-driven architecture, a micro-kernel architecture, a micro-service architecture, or a cloud architecture.
  • the software structure of the mobile phone 100 is illustrated by taking the Android system with a layered architecture as an example.
  • FIG. 10 is a block diagram of the software structure of the mobile phone 100 according to the embodiment of the present invention.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate through software interfaces.
  • the Android system is divided into four layers, which are respectively the application program layer, the application program framework layer, the Android runtime (Android runtime) and the system library, and the kernel layer from top to bottom.
  • the application layer can consist of a series of application packages.
  • the application package may include applications such as smart life, smart assistant, setting, calling, WeChat TM , navigation, WLAN, Bluetooth, and SMS.
  • the smart life application or the smart assistant application can respond to user operations, display a dynamic panel on the original display interface of the mobile phone 100, and respond to the user's sliding operation interaction on the dynamic panel, such as the above-mentioned Figure 8F
  • the smart life application 811 on the mobile phone 100 can respond to the user's click on the time control 861 on the "sleep well" scene interface 860 to display Figure 8G
  • the specified time setting panel 870 (dynamic panel) process is shown.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer can include window manager, content provider, phone manager, resource manager, notification manager, view system, etc.
  • a window manager is used to manage window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, capture the screen, etc.
  • Content providers are used to store and retrieve data and make it accessible to applications.
  • Said data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebook, etc.
  • the phone manager is used to provide communication functions of the mobile phone 100 . For example, the management of call status (including connected, hung up, etc.).
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify the download completion, message reminder, etc.
  • the notification manager can also be a notification that appears on the top status bar of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompting text information in the status bar issuing a prompt sound, vibrating the electronic device, and flashing the indicator light, etc.
  • the view system includes visual controls, such as controls for displaying text, controls for displaying pictures, and so on.
  • the view system can be used to build applications.
  • a display interface can consist of one or more views.
  • a display interface including a text message notification icon may include a view for displaying text and a view for displaying pictures.
  • the view system and the window manager can monitor the bus event and control the display of the corresponding interface, for example, when a sliding operation event is detected, the type of the sliding operation can be judged, such as a left-right sliding operation or an up-down sliding operation, etc., and then respond accordingly Display the information corresponding to different sliding events; when listening to the operation event of opening the dynamic panel to draw the dynamic panel, you can determine the dynamic according to the type of control to be displayed on the dynamic panel, whether there is a sliding control with sliding conflict, and the length of the content, etc. Different display modes of the panel, etc.
  • the Android Runtime includes core library and virtual machine. The Android runtime is responsible for the scheduling and management of the Android system.
  • the core library consists of two parts: one part is the function function that the java language needs to call, and the other part is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application program layer and the application program framework layer as binary files.
  • the virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
  • a system library can include multiple function modules. For example: surface manager (surface manager), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), event bus, etc.
  • surface manager surface manager
  • media library Media Libraries
  • 3D graphics processing library eg: OpenGL ES
  • event bus etc.
  • the surface manager is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of various commonly used audio and video formats, as well as still image files, etc.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing, etc.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • the event bus is used to broadcast notifications in the system of the mobile phone 100 on corresponding events such as sliding operations and clicking operations of the user on the original display interface or dynamic panel of the mobile phone 100, and execute a default processing flow.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer includes at least a display driver, a camera driver, an audio driver, and a sensor driver.
  • the display driver and the touch driver can drive the hardware structures such as the screen and the touch sensor of the mobile phone 100 to perform corresponding functions, and package and transmit the hardware signals generated by the hardware structures such as the screen and the touch sensor.
  • a corresponding hardware interrupt is sent to the kernel layer.
  • the kernel layer processes touch operations into original input events (including touch coordinates, time stamps of touch operations, and other information).
  • Raw input events are stored at the kernel level.
  • the application framework layer obtains the original input event from the kernel layer, and identifies the control corresponding to the input event. Take the touch operation as an operation of double-finger long press on text or pictures, and this two-finger long press operation corresponds to enabling the smart screen recognition function in the smart assistant application, for example, the smart assistant application calls the interface of the application framework layer to start the smart screen recognition function , to identify the text or picture content selected by the user.
  • the present disclosure also relates to means for performing operations in text.
  • This apparatus may be specially constructed for the required purposes or it may comprise a general purpose computer selectively activated or reconfigured by a computer program stored in the computer.
  • a computer program may be stored on a computer readable medium such as, but not limited to, any type of disk including floppy disk, compact disk, CD-ROM, magneto-optical disk, read-only memory (ROM), random-access memory (RAM) , EPROM, EEPROM, magnetic or optical card, application specific integrated circuit (ASIC), or any type of medium suitable for storing electronic instructions, and each may be coupled to a computer system bus.
  • computers referred to in the specification may comprise a single processor or may be architectures involving multiple processors for increased computing power.

Landscapes

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

Abstract

一种显示方法、电子设备及存储介质,该方法包括:电子设备上显示有第一界面;电子设备接收到用户指令在第一界面上方显示第二界面的显示指令;响应于显示指令,在第一界面上方显示第二界面,其中,第二界面的显示尺寸是基于第二界面的显示内容确定的。该方法通过确认动态面板的待显示内容的多少,并确定待显示内容中是否存在具有滑动冲突的滑动控件,然后,根据待显示内容的多少和待显示内容中是否存在具有滑动冲突的滑动控件,确认适用当前显示情况的动态面板的显示模式(或者说显示尺寸),既能确保充分显示待显示内容,又能合理避免滑动冲突导致误判用户滑动操作的对象而给用户造成的不佳体验。

Description

显示方法、电子设备及存储介质
本申请要求于2021年09月08日提交中国专利局、申请号为202111051771.X、申请名称为“显示方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及智能终端技术领域,具体涉及一种显示方法、电子设备及存储介质。
背景技术
动态面板(Dynamic Panel)是手机等电子设备响应于用户操作在屏幕原有显示界面之上悬浮显示的交互窗口,其中,手机等电子设备的原有显示界面可以是正在运行的应用程序界面。例如,手机当前显示的是正在运行的微信 TM的应用界面,用户如果在该应用界面上进行双指长按图片或文字的快捷手势操作识别文字或图片内容,则手机响应于用户操作在原有的微信 TM界面之上显示动态面板来展示所识别的内容。
目前手机等电子设备所显示的动态面板的显示模式为类半屏模式,其中类半屏模式是指动态面板的窗口尺寸大约是手机屏幕显示尺寸的一半,参考图1B所示的手机100所显示的类半屏模式动态面板102。可以理解,手机等电子设备上显示动态面板的模式还包括窗口尺寸更小的小尺寸模式和窗口尺寸较大的类全屏模式,分别参考图1A所示的手机100所显示的小尺寸模式动态面板101、以及图1C所示的手机100所显示的类全屏模式动态面板103,如图1C所示,类全屏模式动态面板103的窗口尺寸可以覆盖大部分或者全部手机屏幕的显示区域。
可以理解,当动态面板上待显示内容较多时,此时如果手机100默认显示类半屏模式动态面板102,则待显示内容中有一部分内容将无法显示出来,如果用户要查看未显示的内容,需要用户在显示类半屏模式动态面板102上向上滑动(参考图1B所示的操作①)才能查看,或者需要用户向上拖动类半屏模式动态面板102(参考图1B所示的操作②)以切换为类全屏模式动态面板103才能看到未显示的内容;另外,在用户进行上述操作①或操作②时,如果动态面板所显示的内容中包括具有滑动冲突的滑动控件等,则用户所进行的上述操作①或操作②可能会导致手机100误判用户滑动操作的对象为对所显示内容中的滑动控件,而导致用户体验不佳。
发明内容
本申请实施例提供了一种显示方法、电子设备及存储介质,通过确认动态面板的待显示内容的多少,并确定待显示内容中是否存在具有滑动冲突的滑动控件,然后,根据待显示内容的多少和待显示内容中是否存在具有滑动冲突的滑动控件,确认适用当前显示情况的动态面板的显示模式,其中,不同的显示模式所对应的动态面板的显示尺寸是不同的。如此,手机响应于用户操作显示动态面板时,能够基于待显示内容合理确定动态面板的显示模式(或者说显示尺寸),既能确保充分显示待显示内容,又能合理避免滑动冲突导致误判用户滑动操作的对象而给用户造成的不佳体验。
第一方面,本申请实施例提供了一种显示方法,应用于电子设备,该方法包括:电子设备上显示有第一界面;电子设备接收到用户指令在第一界面上方显示第二界面的显示指令;响应于显示指令,在第 一界面上方显示第二界面,其中,第二界面的显示尺寸是基于第二界面的显示内容确定的。
即电子设备能够响应用户操作,在原有显示界面(即第一界面)上显示另一界面(即第二界面),用于展示对应于用户操作结果的内容(即显示内容),第二界面显示内容即是下文具体实施方式中所描述的待显示内容,电子设备显示第二界面的尺寸可以根据第二界面上的显示内容来动态确定。电子设备例如可以是下文具体实施例中描述的手机100,第一界面例如可以是下文具体实施方式中图2A所示的文字浏览界面104;第二界面例如可以是下文具体实施方式中图2B所示的文字识别窗口105,文字识别窗口105的显示尺寸可以根据文字识别窗口105的显示内容来确定,该显示内容例如包括图2B所示的分词显示区域106,分词显示区域106下方的操作按钮,例如搜索按钮108、复制按钮109、翻译按钮111、分享按钮112,以及推荐阅读区域107。
在上述第一方面的一种可能的实现中,该显示指令包括下列中的任一项:用户在第一界面上的手势操作或者用户向电子设备发出的语音指令。
即用户指令在第一界面上方显示第二界面的显示指令,可以是用户对电子设备进行手势操作所对应的操作指令,也可以是用户发出的语音指令,用户对电子设备进行手势操作例如可以是下文具体实施例中描述的在图2A所示的文字浏览界面104上双指长按屏幕的操作、或者是下文具体实施例中描述的在图8F所示的“睡个好觉”场景界面860上点击时间控件861的操作,用户发出的语音指令可以是在手机等电子设备中预设的语音唤醒指令,例如“小艺小艺,查询一下今天的天气”等。
在上述第一方面的一种可能的实现中,第二界面的显示内容越多,第二界面的显示尺寸越大。
即电子设备可以根据第二界面的显示内容的多少来确定第二界面的显示尺寸,显示内容越多,显示尺寸越大。显示内容较多的情形,例如可以对应于下文具体实施方式中所描述的待显示内容的长度超过预设长度阈值的情形。
在上述第一方面的一种可能的实现中,该方法包括通过以下方式确定第二界面的显示尺寸:在显示内容的长度大于第一长度阈值的情况下,确定采用电子设备屏幕中的第一部分区域显示第二界面;在显示内容的长度小于第一长度阈值的情况下,确定采用电子设备屏幕中的第二部分区域显示第二界面;其中,第一部分区域大于第二部分区域。
其中,第一长度阈值即下文具体实施方式中描述的预设长度阈值,第二界面的显示内容的长度大于第一长度阈值,例如是下文具体实施方式中描述的动态面板待显示的内容的长度超过预设长度阈值,此时手机等电子设备通过屏幕中的第一部分区域显示第二界面,第一部分区域例如是下文具体实施方式中描述的类全屏模式动态面板,具有较大的显示尺寸;第二界面的显示内容的长度小于第一长度阈值,例如是下文具体实施方式中描述的动态面板待显示的内容的长度未超过预设长度阈值,此时,手机等电子设备通过屏幕中的第二部分区域显示第二界面,第二部分区域例如是下文具体实施方式中描述的类半屏模式动态面板,其显示尺寸较类全屏模式动态面板的显示尺寸小。
在上述第一方面的一种可能的实现中,第一部分区域占电子设备屏幕的50%至100%;第二部分区域占电子设备屏幕的25%至75%。
第一部分区域例如是下文具体实施方式中描述的类全屏模式动态面板,即类全屏模式动态面板的显示尺寸可以占手机屏幕的50%至100%,或者说可以设置为手机屏幕的50%至100%,例如类全屏模式动态面板的显示尺寸设置为手机屏幕的90%,在另一些实施例中,类全屏模式动态面板的显示尺寸也可以设置为其他合理值,在此不做限制。
第二部分区域例如是下文具体实施方式中描述的类半屏模式动态面板,即类半屏模式动态面板的显示尺寸可以占手机屏幕的25%至75%,或者说可以设置为手机屏幕的25%至75%,例如类半屏模式动态 面板的显示尺寸设置为手机屏幕的50%,在另一些实施例中,类半屏模式动态面板的显示尺寸也可以设置为其他合理值,在此不做限制。
在上述第一方面的一种可能的实现中,第一部分区域的底边与电子设备屏幕底边相接,并且第一部分区域的高度大于电子设备屏幕的高度的1/2。
即第一部分区域的底部与电子设备屏幕的底部对齐,第一部分区域例如可以是从电子设备屏幕底部向上打开。可以理解,第一部分区域例如是下文具体实施方式中描述的类全屏模式动态面板,则类全屏模式动态面板的高度大于手机屏幕的1/2,对应地,类全屏模式动态面板的显示尺寸可以占手机屏幕的50%至100%。在一些实施例中的,类全屏模式动态面板的宽度可以与手机屏幕的宽度相等,或者类全屏模式动态面板的宽度略小于手机屏幕的宽度等,在此不做限制。
在上述第一方面的一种可能的实现中,第二部分区域的底边与电子设备屏幕的底边相接,并且第二部分区域的高度处于电子设备屏幕的高度的1/4至3/4之间。
即第二部分区域的底部与电子设备屏幕的底部对齐,第二部分区域例如可以是从电子设备屏幕底部向上打开。可以理解,第二部分区域例如是下文具体实施方式中描述的类半屏模式动态面板,则类半屏模式动态面板的高度位于手机屏幕的1/4至3/4之间,对应地,类半屏模式动态面板的显示尺寸可以占手机屏幕的25%至75%。在一些实施例中的,类半屏模式动态面板的宽度可以与手机屏幕的宽度相等,或者类半屏模式动态面板的宽度略小于手机屏幕的宽度等,在此不做限制。
可以理解,在一些实施例中,电子设备例如具有多个屏幕,比如折叠屏手机,此时电子设备屏幕例如可以是该折叠屏手机的两个屏幕中的任一个、或者是该折叠屏手机的主屏幕,用户例如可以在主屏幕上操作快捷手势,使该折叠屏手机的主屏幕上显示动态面板。在另一些实施例中,该折叠屏手机的两个屏幕合为一个屏幕显示第一界面时,用户也可以在所显示的第一界面上操作快捷手势,使该折叠屏手机的组合屏幕显示动态面板,此时,动态面板如果是类全屏模式,则该动态面板的显示尺寸可以设置为该折叠屏手机的组合屏幕尺寸的50%至100%,例如是85%或90%等;动态面板如果是类半屏模式,则该动态面板的显示尺寸可以设置为该折叠屏手机的组合屏幕尺寸的25%至75%,例如是45%或50%等,在此不做限制。
在上述第一方面的一种可能的实现中,第二界面的显示尺寸是基于第二界面的显示内容、第二界面中是否存在具有滑动冲突的滑动控件、以及滑动控件的滑动热区尺寸确定的。
即电子设备可以根据第二界面的显示内容多少、第二界面中是否存在具有滑动冲突的滑动控件、以及该滑动控件的滑动热区尺寸是否超过预设尺寸阈值来确定第二界面的显示尺寸。例如下文具体实施方式中图4或图9所示流程中,手机100判断动态面板的待显示内容的长度是否超过预设长度阈值、判断动态面板的待显示内容中是否存在具有滑动冲突的滑动控件、以及该滑动控件的滑动热区尺寸是否超过预设尺寸阈值,来确定动态面板的显示模式为类全屏模式还是类半屏模式。
在上述第一方面的一种可能的实现中,该方法通过以下方式确定第二界面的显示尺寸:在第二界面中存在具有滑动冲突的滑动控件、滑动控件的滑动热区宽度大于预设宽度阈值、并且显示内容的长度大于第二长度阈值的情况下,确定采用电子设备屏幕中的第三部分区域显示第二界面;其中,第三部分区域占电子设备屏幕的50%至100%。
例如,下文具体实施方式中图4或图9所示流程中,当手机100判断动态面板的待显示内容的长度超过了预设长度阈值、动态面板的待显示内容中存在具有滑动冲突的滑动控件、并且该滑动控件的滑动热区尺寸超过了预设尺寸阈值,则可以确定动态面板的显示模式为类全屏模式,上述第三部分区域即为类全屏模式显示的动态面板,也就是说类全屏模式显示的动态面板的显示尺寸可以设置为电子设备屏 幕(例如手机屏幕)的50%至100%,例如可以设置为手机屏幕的90%,在此不做限制。
在上述第一方面的一种可能的实现中,第三部分区域的底边与电子设备屏幕底边相接,并且第三部分区域的高度大于电子设备屏幕的高度的1/2。
例如上述第三部分区域为类全屏模式显示的动态面板,该动态面板显示时底部可以与手机屏幕底部相接,例如该动态面板可以从手机屏幕底部向上展开,该动态面板在类全屏模式下显示时所对应的界面高度大于手机屏幕的1/2,相应地,该动态面板在类全屏模式下显示时所对应的显示尺寸大于手机屏幕的50%,或者说占手机屏幕的50%至100%。
在上述第一方面的一种可能的实现中,该方法通过以下方式确定第二界面的显示尺寸:在第二界面中不存在具有滑动冲突的滑动控件、滑动控件的滑动热区宽度小于预设宽度阈值、或者显示内容的长度小于第二长度阈值的情况下,确定采用电子设备屏幕中的第四部分区域显示第二界面;其中,第四部分区域占电子设备屏幕25%至75%。
例如,下文具体实施方式中图4或图9所示流程中,当手机100判断动态面板的待显示内容的长度未超过预设长度阈值、动态面板的待显示内容中不存在具有滑动冲突的滑动控件、并且该滑动控件的滑动热区尺寸未超过预设尺寸阈值,则可以确定动态面板的显示模式为类半屏模式,上述第四部分区域即为类半屏模式显示的动态面板,也就是说类半屏模式显示的动态面板的显示尺寸可以设置为电子设备屏幕(例如手机屏幕)的25%至75%,例如可以设置为手机屏幕的50%,在此不做限制。
在上述第一方面的一种可能的实现中,第四部分区域的底边与电子设备屏幕的底边相接,并且第四部分区域的高度处于电子设备屏幕的高度的1/4至3/4之间。
例如上述第四部分区域为类半屏模式显示的动态面板,该动态面板显示时底部可以与手机屏幕底部相接,例如该动态面板可以从手机屏幕底部向上展开,该动态面板在类半屏模式下显示时所对应的界面高度为手机屏幕的1/4至3/4,相应地,该动态面板在类半屏模式下显示时所对应的显示尺寸为手机屏幕的25%至75%。
可以理解,在一些实施例中,电子设备例如具有多个屏幕,比如折叠屏手机,此时电子设备屏幕例如可以是该折叠屏手机的两个屏幕中的任一个、或者是该折叠屏手机的主屏幕,用户例如可以在主屏幕上操作快捷手势,使该折叠屏手机的主屏幕上显示动态面板。在另一些实施例中,该折叠屏手机的两个屏幕合为一个屏幕显示第一界面时,用户也可以在所显示的第一界面上操作快捷手势,使该折叠屏手机的组合屏幕显示动态面板,此时,动态面板如果是类全屏模式,则该动态面板的显示尺寸可以设置为该折叠屏手机的组合屏幕尺寸的50%至100%,例如是85%或90%等;动态面板如果是类半屏模式,则该动态面板的显示尺寸可以设置为该折叠屏手机的组合屏幕尺寸的25%至75%,例如是45%或50%等,在此不做限制。
在上述第一方面的一种可能的实现中,第一界面为第一应用的显示界面、第二界面为第二应用的显示界面;或者第一界面和第二界面为第三应用的不同功能对应的不同显示界面。
即第一界面与第二界面可以是不同应用的显示界面,也可以是同一应用的不同显示界面或者不同功能对应的不同显示界面。例如第一界面是微信 TM应用中打开的订阅号页面上的某篇文章对应的文字浏览界面104(参考下文图2A所示),第二界面是在该文字浏览界面104上双指长按文字对应显示的文字识别窗口105(参考下文图2B所示)。又例如,第一界面是智慧生活应用的“睡个好觉”场景界面860(参考下文图8F所示),第二界面是在该场景界面860上点击时间控件861对应显示的指定时间设置面板870(参考下文图8G所示)。
在上述第一方面的一种可能的实现中,第二界面为动态面板。
第二方面,本申请实施例提供了一种电子设备,该设备包括:一个或多个处理器;一个或多个存储器;一个或多个存储器存储有一个或多个程序,当一个或者多个程序被一个或多个处理器执行时,使得电子设备执行上述显示方法。
第三方面,本申请实施例提供了一种计算机可读存储介质,该存储介质上存储有指令,指令在计算机上执行时使计算机执行上述显示方法。
第四方面,本申请实施例提供了一种计算机程序产品,其特征在于,包括计算机程序或指令;计算机程序或指令在计算机上被处理器执行时使计算机执行上述显示方法。
附图说明
图1A至1C所示为本申请实施例提供的手机100所显示的动态面板的各种显示模式所对应的界面示意图。
图2A为本申请实施例提供的示例手机100响应于用户操作默认以类半屏模式动态面板102显示待显示内容的界面示意图。
图2B为本申请实施例提供的手机100响应于用户操作默认以类全屏模式动态面板102显示待显示内容的界面示意图。
图3所示为本申请实施例提供的一种手机100的结构示意图。
图4所示为本申请实施例提供的一种手机100实施本申请的显示方法的具体流程示意图。
图5A至5C所示为本申请实施例提供的手机100设置开启智慧助手的智能识屏功能的相关界面示意图。
图5D所示为本申请实施例提供的手机100运行的其他应用界面上调用智慧识屏功能所对应的界面示意图。
图6A至6D所示为本申请实施例提供的手机100的动态面板所显示的控件界面示意图。
图7所示为本申请实施例提供的用于描述手机100所显示界面位置关系的坐标示意图。
图8A至8H为本申请实施例提供的用户在使用手机100上的智慧生活应用时,手机100在原有显示界面上通过动态面板显示待设置项目的过程界面示意图。
图9所示为本申请实施例提供的另一种手机100实施本申请的显示方法的具体流程示意图。
图10所示为本申请实施例提供的一种手机100的软件结构示意框图。
具体实施方式
下面结合具体实施例和附图对本申请做进一步说明。可以理解的是,此处描述的具体实施例仅仅是为了解释本申请,而非对本申请的限定。此外,为了便于描述,附图中仅示出了与本申请相关的部分而非全部的结构或过程。应注意的是,在本说明书中,相似的标号和字母在下面的附图中表示类似项。
本申请的说明性实施例包括但不限于一种可以动态调整动态面板的显示模式的显示方法、电子设备及存储介质等。
如前文所述,在目前手机100等电子设备显示动态面板的场景中,存在当待显示内容较长时默认的类半屏模式动态面板显示内容不完全导致部分内容容易被用户忽略、或者待显示内容中存在具有滑动冲突的滑动控件而导致电子设备误判用户滑动操作的对象的问题。其中,具有滑动冲突的滑动控件是指该滑动控件的滑动热区与动态面板的滑动热区重叠、并且二者与用户交互的方式相同,例如滑动控件的滑动热区与动态面板的滑动热区,都是通过响应用户的上下滑动操作实现与用户的交互。具体还可以参 考下文中图6D及相关描述,在此不再赘述。
为了解决上述问题,本申请提出了一种可以动态调整动态面板的显示模式的显示方法,具体地,该方法通过确认动态面板的待显示内容的多少,并确定待显示内容中是否存在具有滑动冲突的滑动控件,然后,根据待显示内容的多少和待显示内容中是否存在具有滑动冲突的滑动控件,确认适用当前显示情况的动态面板的显示模式。例如,如果待显示内容较少、或者待显示内容中不存在具有滑动冲突的滑动控件,则手机可以确定动态面板的显示模式为类半屏模式;如果待显示内容较多、并且待显示内容中存在具有滑动冲突的滑动控件,则手机可以确定动态面板的显示模式为类全屏模式。如此,手机响应于用户操作显示动态面板时,能够基于待显示内容合理确定动态面板的显示模式,既能确保充分显示待显示内容,又能合理避免滑动冲突导致误判用户滑动操作的对象而给用户造成的不佳体验。
例如,图2A示出了手机100响应于用户操作默认以类半屏模式动态面板102显示待显示内容的界面示意图。
如图2A所示,用户在手机100所显示的文字浏览界面104上进行双指长按屏幕上的文字或图片对应的快捷手势操作,使手机100显示对应于该快捷手势的动态面板,例如图2A所示的文字识别窗口105。如图2A所示,文字识别窗口105所显示的内容包括:分词显示区域106,分词显示区域106下方的操作按钮,例如搜索按钮108、复制按钮109、翻译按钮111、分享按钮112,以及推荐阅读区域107,此时用户操作所选择的待识别文字113较少,因此分词显示区域106所显示的分词内容也较少,因此文字识别窗口105待显示的内容较少,或者说文字识别窗口105待显示内容的篇幅长度(以下简称长度)也较小。
此种情形下,手机100响应于用户快捷手势操作而在原有显示界面(即文字浏览界面104)上显示动态面板(即文字识别窗口105),手机100可以获取文字识别窗口105待显示的内容、并基于待显示内容的(篇幅)长度,例如图2A所示的分词显示区域106、分词显示区域106下方的操作按钮、以及推荐阅读区域107对应的文字、控件、排版等确定待显示内容的长度,确定文字识别窗口105的显示模式为类半屏模式,即图2A所示的文字识别窗口105的显示模式。
图2B示出了手机100响应于用户操作以类全屏模式显示动态面板102的界面示意图。
如图2B所示,当用户在手机100所显示的文字浏览界面104上进行双指长按屏幕上的文字或图片对应的快捷手势操作时,如果用户操作所选择的文字113较多时,分词显示区域106相应显示的分词较多,例如图2B所示的分词显示区域106中所显示的分词,因此,文字识别窗口105待显示的内容,即图2B所示的分词显示区域106,分词显示区域106下方的搜索按钮108、复制按钮109、翻译按钮111、分享按钮112,以及推荐阅读区域107所对应的内容长度也较大。其中可以理解,图2B所示的待显示内容如果以类半屏模式的文字识别窗口105显示,分词显示区域106中的部分分词则不显示、同时分词显示区域106中显示分词的区域内设置有滑动控件供用户上下滑动查看未显示分词,此时分词现实区域106内所设置的滑动控件与文字识别窗口105对应的滑动控件之间存在滑动冲突。
因此,在图2B所示界面场景中,手机100获取文字识别窗口105待显示的内容、并基于待显示内容的长度,如图2B所示的待显示内容的长度,确定文字识别窗口105的显示模式为类全屏模式,即图2B所示的文字识别窗口105的显示模式。
可以理解,上述响应于用户操作在原有显示界面上显示动态面板的电子设备,包括但不限于手机、智慧屏、台式计算机、平板电脑、膝上型计算机、可穿戴设备、头戴式显示器、移动电子邮件设备、便携式游戏机、便携式音乐播放器、阅读器设备、个人数字助理(personaldigital assistant,PDA)、虚拟现实(virtual reality,VR)或者增强现实(augmented reality,AR)设备、超级移动个人计算机 (ultra-mobile personal computer,UMPC)、上网本、其中嵌入或耦接有一个或多个处理器的电视机等电子设备。为了便于描述,下面以电子设备为手机100为例来描述本申请的动态调整动态面板显示模式的显示方法具体实施方式的各方面。
示例性地,图3示出了一种手机100的结构示意图。
如图3所示,手机100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L等。
可以理解的是,本发明实施例示意的结构并不构成对手机100的具体限定。在本申请另一些实施例中,手机100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成调取指令和执行指令的控制。例如,在本申请实施例中,处理器110可以通过控制器控制完成本申请的显示方法的相关指令的调取和执行,以实现本申请的显示方法。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为手机100充电,也可以用于手机100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。
可以理解的是,本发明实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对手机100的结构限定。在本申请另一些实施例中,手机100也可以采用上述实施例中不同的接口连接方式, 或多种接口连接方式的组合。
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过手机100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。
手机100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。
移动通信模块150可以提供应用在手机100上的包括2G/3G/4G/5G等无线通信的解决方案。
无线通信模块160可以提供应用在手机100上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。
手机100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。例如,在本申请实施例中,手机100通过GPU、显示屏194以及应用处理器等实现动态面板的显示功能,同时手机100可以根据应用处理器或者处理器110对需要动态面板显示的内容多少以及是否存在具有滑动冲突的滑动控件等方面的判断结果来确定动态面板的显示模式,手机100通过GPU、显示屏194以及应用处理器等以最终确定的显示模式显示动态面板需要显示的内容。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Mini-LED,Micro-LED,Micro-OLED,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机100可以包括1个或N个显示屏194,N为大于1的正整数。
手机100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。ISP用于处理摄像头193反馈的数据。摄像头193用于捕获静态图像或视频。在一些实施例中,手机100可以包括1个或N个摄像头193,N为大于1的正整数。视频编解码器用于对数字视频压缩或解压缩。手机100可以支持一种或多种视频编解码器。这样,手机100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行手机100的各种功能应用以及数据处理。例如,在本申请实施例中,本申请所提供的显示方法的相应指令存储在内部存储器121中,手机100的处理器110通过运行存储在内部存储器121中的显示方法相应指令,执行手机100判断即将显示的动态面板上的内容是否超过预设长度阈值以及判断即将显示的内容是否包括具有滑动冲突的滑动控件等过程来确定动态面板的显示模式。
手机100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。耳机接口170D用于连接有线耳机。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。手机100根据电容的变化确定压力的强度。当有触摸操作 作用于显示屏194,手机100根据压力传感器180A检测所述触摸操作强度。手机100也可以根据压力传感器180A的检测信号计算触摸的位置。例如,在本申请实施例中,手机100可以根据压力传感器180A的检测信号计算得到两处触摸位置来判断用户的双指长按屏幕上的图片或文字的操作,从而响应于用户操作显示文字识别界面105的过程。
在另一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定手机100的运动姿态。
气压传感器180C用于测量气压。在一些实施例中,手机100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。手机100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当手机100是翻盖机时,手机100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测手机100在各个方向上(一般为三轴)加速度的大小。当手机100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。手机100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,手机100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。手机100可以利用接近光传感器180G检测用户手持手机100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。
环境光传感器180L用于感知环境光亮度。手机100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测手机100是否在口袋里,以防误触。
指纹传感器180H用于采集指纹。手机100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。
温度传感器180J用于检测温度。在一些实施例中,手机100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,手机100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,手机100对电池142加热,以避免低温导致手机100异常关机。在其他一些实施例中,当温度低于又一阈值时,手机100对电池142的输出电压执行升压,以避免低温导致的异常关机。
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于手机100的表面,与显示屏194所处的位置不同。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。手机100可以接收按键输入,产生与手机100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如, 作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。SIM卡接口195用于连接SIM卡。
基于上述图2A至2B所示的界面场景、以及图3所示的手机100的示例性结构,下面结合其他附图详细说明本申请的显示方法的具体实施过程。
图4示出了一种手机100实施本申请的显示方法的具体流程示意图。图4所示流程通过先判断动态面板待显示的内容中是否包括具有滑动冲突的滑动控件、以及确定该滑动控件的滑动热区尺寸大小;如果待显示内容中存在具有滑动冲突的滑动控件并且该控件的滑动热区尺寸较大,则表明待显示内容中的具有滑动冲突的滑动控件足够导致用户对动态面板的滑动操作被误判,再进一步确定待显示内容多少来确定动态面板的显示模式;如果待显示内容较多,则确定动态面板的显示模式为类全屏模式。反之,如果待显示内容中不存在具有滑动冲突的滑动控件、或者具有滑动冲突的滑动控件的滑动热区尺寸较小不足以导致用户对动态面板的滑动操作被误判、又或者待显示内容较少时,则可以确定动态面板的显示模式为类半屏模式。
具体地,如图4所示,该流程包括以下步骤401至406,该流程的各步骤执行主体可以均为手机100。
401:检测到用户在原有显示界面上打开动态面板的操作,获取动态面板待显示的内容。
示例性地,用户在手机100的原有显示界面上可以通过预设的快捷手势调用另一应用程序打开动态面板,例如上述图2A所示的双指长按手机100屏幕的快捷手势操作,手机100在检测到用户的该操作后,手机100的处理器110可以获取对应于该操作的待显示内容,例如是上述图2A所示的文字识别窗口105所显示的内容,进而继续执行下述步骤402。其中,手机100的处理器110获取待显示内容例如可以通过手机100系统内管理显示动态面板的窗口管理器获取,在此不做限制。
可以理解,手机100的原有显示界面可以是手机100运行的任意应用的界面,例如,该原始显示界面可以是设置界面,微信 TM的界面,播放器的界面,浏览器的界面,图库的界面,相机的界面,微博 TM的界面,阅读器的界面,邮件的界面,或游戏的界面等等。
可以理解,上述图2A所示例的对应双指长按的快捷手势的智慧识屏场景,是以手机100已开启智慧识屏功能为前提实现的。如果手机100未开启智慧识屏功能,则用户可以通过下述方式操作手机100开启该功能。
示例性地,用户在手机100的原有显示界面上打开动态面板的操作所对应的界面变化过程例如可以参考图5A至图5D所示。
具体地,如图5A,在手机100的设置界面510上点击智慧助手应用选项511,可以进入图5B所示的智慧助手应用界面520。
如图5B所示,在手机100显示的智慧助手应用界面520上点击智慧识屏选项521,可以进入图5C所示的智慧识屏设置界面530。
如图5C所示,智慧识屏设置界面530包括功能介绍区域531,功能介绍区域531的下方设置有各种功能设置按钮,包括智慧识屏开关按钮532、个性化体验开关按钮533以及图库主动建议按钮534等,如图5C所示,功能介绍区域531可以展示智慧识屏功能的快捷调用方式,例如功能介绍区域531展示有双指长按屏幕上文字或图片的快捷手势示例图片以及“双指识文,提取图片文字”等文字介绍。用户 可以通过点击智慧识屏开关按钮532开启智慧识屏功能,当智慧识屏功能开启后,用户在其他应用的界面上便可以通过双指长按屏幕操作调用智慧识屏功能,其中,其他应用的界面即上述手机100的原始显示界面。可以理解,在一些实施例中,手机100的桌面不能作为原始显示界面。
手机100开启智慧识屏功能后,继续参考图5D所示,用户操作手机100打开微信 TM应用中某个公众号推送的文章,手机100显示文字浏览界面104。当用户在手机100所显示的文字浏览界面104双指长按文字时,手机100则可以检测到用户打开动态面板(即上述图2A或图2B所示的文字识别窗口105)的操作,手机100在显示相应的动态面板之前,可以获取待显示的内容,继续执行下述步骤402至406来进一步确定动态面板的显示模式为上述图2A所示的类半屏模式还是上述图2B所示的类全屏模式显示。
402:判断动态面板待显示的内容中是否包括具有滑动冲突的滑动控件。如果判断结果为是,则表明待显示内容可能会导致用户对动态面板的滑动操作被误判,因此需要继续执行步骤403,进一步确定待显示内容是否会导致用户对动态面板的滑动操作被误判;如果判断结果为否,则表明待显示内容不存在导致用户对动态面板的滑动操作被误判的问题,则可以执行步骤406,确定动态面板的显示模式为类半屏模式。
示例性地,手机100的处理器110可以获取窗口管理器即将管理窗口显示动态面板的过程中所对应的动态面板待显示内容,并基于待显示内容中是否具有嵌套有具有滑动冲突的滑动控件所对应的标签信息等,来判断动态面板待显示内容中是否具有滑动冲突的滑动控件,示例性地,由于用户在手机100的动态面板上一般通过上下滑动来查看更多内容,因此动态面板待显示的内容中如果包括具有滑动冲突的滑动控件所对应的控件标签,例如该滑动控件的滑动热区也是通过响应于用户的上下滑动操作实现与用户交互的,则手机100可以确定动态面板待显示的内容中包括具有滑动冲突的滑动控件。
可以理解,手机100的动态面板所显示的控件可以提供给用户多种交互形式,包括但不限于图6A所示的复选控件610、图6B所示的左右滑动控件620、图6C所示的环形滑动控件630、以及图6D所示的上下滑动控件640。在另一些实施例中,手机100还可以通过滑动控件显示文字内容供用户上下滑动查看未显示的部分,例如上述图2A或2B所示的分词显示区域106,当分词内容较多时,用户可以在分词显示区域106中上下滑动所显示的分词以查看未显示的分词,在此不做限制。
因此可以理解,当待显示内容中包括滑动控件并且该控件的滑动热区通过响应于用户的上下滑动操作实现与用户的交互时,例如图6D所示的上下滑动控件640,此时上下滑动控件640的滑动热区会与动态面板的滑动热区之间产生重叠,并且上下滑动控件640的滑动热区位于动态面板的滑动热区的上层,而二者均是通过响应用户的上下滑动操作进行交互,此种情形下的上下滑动控件640即为具有滑动冲突的滑动控件。此时,如果用户在此重叠区域内试图对动态面板进行上下滑动操作,手机100可能会误判用户滑动操作的对象为上下滑动控件640,需要进一步进行下述步骤403的判断过程,以进一步确定上下滑动控件640是否会导致用户对动态面板的滑动操作被误判的问题。
其中,对于上述上下滑动控件640的滑动热区位于动态面板的滑动热区的上层的理解,可以参考图7所示的坐标示意图,XOY平面平行于手机100屏幕表面,X轴平行于手机100的屏幕的上下边缘,Y轴平行于手机100的屏幕的左右边缘,Z轴为垂直于手机100屏幕表面的坐标轴,并且Z轴的正方向为手机100屏幕上的点指向屏幕外部的点的方向(即OZ方向)。因此可以理解,上下滑动控件640的滑动热区位于动态面板的滑动热区上层是指上下滑动控件640的滑动热区位于动态面板的滑动热区所在平面延OZ方向扩展的平面上。
403:判断待显示内容中具有滑动冲突的滑动控件的滑动热区尺寸是否超过尺寸阈值。如果判断结 果为是,则表明待显示内容会导致用户对动态面板的滑动操作被误判,需要继续执行步骤404,进一步确认待显示内容的长度需要通过多大显示尺寸的动态面板进行显示;如果判断结果为否,则表明待显示内容不会导致用户对动态面板的滑动操作被误判,可以执行步骤406,确定动态面板的显示模式为类半屏模式。
示例性地,在上述步骤402中手机100判断动态面板待显示的内容中包括具有滑动冲突的滑动控件,则手机100的处理器110可以进一步判断具有滑动冲突的滑动控件的滑动热区尺寸是否超过预设尺寸阈值,其中,预设尺寸阈值可以是上述图6D所示的“L”方向上的宽度阈值,例如设置为手机100的屏幕显示宽度的1/3,或者例如设置为2cm,在此不做限制。在另一些实施例中,预设尺寸阈值也可以是上述图6D所示的“H”方向上的高度阈值,例如设置为手机100的屏幕显示高度的1/8,或者是类半屏模式动态面板102的显示高度的1/4,在此不做限制。在另一些实施例中,预设尺寸阈值还可以是面积阈值等,在此不做限制。
可以理解,如果具有滑动冲突的滑动控件的滑动热区尺寸超过预设的尺寸阈值,则表明待显示内容中具有滑动冲突的滑动控件足以导致用户对动态面板的滑动操作被误判,或者说导致滑动操作的对象被误判的概率较大,则需要进一步确认待显示内容的长度需要通过多大尺寸的动态面板显示;如果具有滑动冲突的滑动控件的尺寸未超过预设的尺寸阈值,则表明待显示内容中具有滑动冲突的滑动控件不足以导致用户对动态面板的滑动操作被误判,或者说导致滑动操作的对象被误判的概率较小,则可以确定动态面板的显示模式为类半屏模式,即便动态面板待显示的内容较多,用户在动态面板上可以通过上下滑动查看未显示内容、或者向上滑动动态面板将类半屏模式切换为类全屏模式,用户操作流畅则不会影响用户体验。
可以理解,上述预设尺寸阈值可以根据用户体验数据进行合理设定,例如可以根据用户手指在手机100屏幕或者所显示的动态面板上的经常滑动操作区域的位置和范围来确定预设的尺寸阈值,例如用户手指在手机100屏幕或者所显示的动态面板上经常滑动在距离手机100屏幕左右边缘1cm范围内的区域,则可以设置预设尺寸阈值(宽度阈值)为(手机100屏幕宽度-2*1cm)的值作为预设宽度阈值。这是因为,当具有滑动冲突的滑动控件的滑动热区宽度等尺寸较小并且该滑动热区不在用户的经常滑动区域内时,用户还可以正常在经常滑动区域进行上下滑动操作来调整热区面板显示模式或显示未显示内容的;但如果具有滑动冲突的滑动控件的滑动热区宽度等尺寸较大、与用户的经常滑动区域重叠程度较高,则手机100对用户在动态面板上的滑动操作则较容易产生误判。
404:判断待显示内容的长度是否超过预设长度阈值。如果判断结果为是,则表明待显示内容较多,需要通过具有较大显示尺寸的类全屏模式动态面板进行显示,需要执行步骤405,确定动态面板的显示模式为类全屏模式;如果判断结果为否,则待显示内容较少,通过类半屏模式动态面板即可完全显示,因此可以执行步骤406,确定动态面板的显示模式为类半屏模式。
示例性地,手机100的处理器110在执行完上述步骤402和403之后,确定待显示内容包括具有滑动冲突的滑动控件并且该滑动控件的滑动热区会导致用户对动态面板的滑动操作被误判之后,进一步基于所获取的待显示内容长度来确定动态面板需提供的显示尺寸大小,进而确定动态面板的显示模式。例如,处理器110可以判断动态面板待显示内容的长度是否超过预设长度阈值,其中动态面板待显示内容的长度是指手机100按照预设的字体、图片大小、预设排版以及根据手机100的屏幕宽度等参数将待显示内容全部显示时所需要的长度;预设长度阈值例如可以是类半屏模式动态面板的显示高度上限值,也可以是其他合理设定的阈值,在此不做限制。
当动态面板待显示内容的长度超过预设长度阈值时,表明手机100此时如果采用类半屏模式显示 动态面板,则会导致待显示内容不能完全显示,即部分待显示内容会被隐藏而未显示,从而可能导致未显示的内容被用户忽略或者遗漏查看。因此,如果手机100判断动态面板待显示内容的长度超过预设长度阈值,则可以确定动态面板的显示模式为类全屏模式,即执行下述步骤405;如果手机100判断动态面板待显示内容的长度未超过预设长度阈值,则可以确定动态面板的显示模式为类半屏模式,即执行下述步骤406。
405:确定动态面板的显示模式为类全屏模式。
示例性地,手机100的处理器110在执行完上述步骤402至404的判断,确定动态面板待显示内容包括具有滑动冲突的滑动控件并且该滑动控件的滑动热区尺寸超过预设尺寸阈值、同时动态面板待显示内容的长度超过了预设长度阈值的情况下,手机100的处理器110可以确定动态面板的显示模式为类全屏模式,从而使待显示内容尽可能充分的通过类全屏模式动态面板显示出来,以尽量避免用户遗漏未显示内容。
可以理解,动态面板待显示内容的长度也可能会超过类全屏模式动态面板的显示高度上限值,但由于类全屏模式动态面板的显示高度相较于半屏模式动态面板更大,一般二者的显示高度比例约为2:1,因此类全屏模式动态面板能够显示的内容更多、并且提供给用户进行滑动操作的滑动热区面积也更大,即便待显示内容中存在具有滑动冲突的滑动控件,用户进行上下滑动操作时手指滑动在冲突的滑动热区内的概率相对也较低。
参考上述图2B所示,当分词显示区域106中的分词较多时,手机100所显示的文字识别界面105采用类全屏模式时,可以完全展示分词显示区域106中的全部分词,分词显示区域106下方的搜索按钮108、复制按钮109、翻译按钮111、分享按钮112,以及推荐阅读区域107。而图2B所示的文字识别界面105上的待显示内容如果通过图2A所示界面显示,则可能会导致待显示内容不能完全显示、并且滑动冲突影响用户体验。
406:确定动态面板的显示模式为类半屏模式。
示例性地,手机100的处理器110在执行完上述步骤402至404的判断,确定动态面板待显示的内容不包括具有滑动冲突的滑动控件、或者动态面板待显示的内容中具有滑动冲突的滑动控件的滑动热区尺寸未超过预设尺寸阈值、或者动态面板待显示内容的长度未超过预设长度阈值等之后,可以确定动态面板的显示模式为类半屏模式,如此,可以减少动态面板对原有显示界面的遮挡,使用户可以同时浏览原有显示界面内容以及动态面板所显示的内容。
参考上述图2A所示的场景,如果用户在手机100所显示的文字浏览界面104进行操作①所选中的文字较少,进而识别得到的待展示分词也较少时,则手机100显示文字识别窗口105的显示模式为类半屏模式,如此,手机100所显示的文字浏览界面104上未被文字识别窗口105遮挡的部分仍可以供用户阅览。也就是说,此时手机100无需采用类全屏模式动态面板展示文字识别窗口105,此种场景下手机100默认采用类半屏模式动态面板显示文字识别窗口105还能够使文字浏览界面104上的更多内容展示给用户、并且能够降低动态面板的遮挡给用户造成的视觉打扰。
可以理解,在另一些实施例中,在上述步骤403之后,手机100还可以进一步判断动态面板待显示内容中所包括的具有滑动冲突的滑动控件,是否为无极滑动控件或者超长滑动控件,若是,则可以进一步确定该冲突的滑动控件会导致手机100误判用户滑动操作的对象,手机100再进一步执行上述步骤404,进一步确认待显示内容的长度需要通过多大显示尺寸的动态面板进行显示;若否,则表明当手机误判用户滑动操作的对象时,用户还可以在具有滑动冲突的滑动控件进行较少的有限次数的滑动操作后实现对动态面板的有效滑动操作,此种情形对用户的使用体验影响较小,也可以执行步骤406,确定 动态面板的显示模式为类半屏模式。在此不做限制。
其中,上述无极滑动控件提供的滑动热区上用户可以进行无限次数的上下滑动操作,如果手机100此时以将用户对动态面板的滑动操作误判为对无极滑动控件的滑动操作,则用户所进行的滑动操作为对动态面板的无效滑动操作,从而使得用户体验不佳。例如用户在无极滑动控件提供的滑动热区上向下滑动切换待选参数时,当无极滑动控件上显示最后一个待选参数之后会再次显示第一个待选参数至最后一个待选参数,不断循环,也就是说,用户可以无止尽的向下滑动切换待选参数的控件。而在超长滑动控件提供的滑动热区上,用户虽然进行有限次数的上下滑动操作之后可以继续执行对动态面板的有效上下滑动,但用户在超长滑动控件提供的滑动热区上进行有限次数的滑动操作会耗费较长时间,这也会导致用户的使用体验变差。
因此,可以理解,本申请的显示方法可以根据待显示内容合理确定动态面板的显示模式,当待显示内容不适合通过类半屏模式动态面板显示时,手机100等电子设备可以将待显示内容默认通过类全屏模式动态面板进行显示。同时,本申请的显示方法,仅在待显示内容通过类半屏模式动态面板显示会导致用户体验不佳的情况下,才会将待显示内容通过类全屏模式动态面板进行显示,因此不会导致手机100频繁采用类全屏模式动态面板显示待显示内容而完全覆盖原有显示界面对用户造成视觉打扰的问题,利于提高用户体验。
下面结合另一场景,结合上述步骤401至406所描述的本申请的显示方法的具体实施过程,进一步说明本申请的显示方法所能呈现的技术效果。
图8A至8H示出了用户在使用手机100上的智慧生活应用时,手机100在原有显示界面上通过动态面板显示待设置项目的过程界面示意图。
如图8A所示,用户在手机100的桌面810上点击智慧生活应用811,手机100运行智慧生活应用811,并打开图8B所示的智慧生活应用界面820。
如图8B所示,用户在手机100显示的智慧生活应用界面820上点击右上角的添加按钮821,可以调出添加操作窗口822,用户点击添加操作窗口822中的创建场景选项823可以创建一个智慧场景,手机100响应于用户操作打开图8C所示的创建场景界面830。另外,添加操作窗口822上的添加设备选项824可以用于添加智能设备至智慧生活应用811中进行管理、共享设备选项825可以将智慧生活应用811所管理的智能设备(例如图8B所示的设备1、设备2、设备3、设备4)共享给其他手机等电子设备使用,在此不再赘述。
如图8C所示,用户在手机100显示的创建场景界面830上,可以在场景名称设置框831内设置即将创建的场景名称,例如场景名称为“睡个好觉”;也可以点击创建场景界面830上的触发条件添加按钮832设置创建的场景卡片的触发条件,进入图8D所示的添加条件设置界面840;还可以点击创建场景界面830上的执行任务选项下的添加任务按钮833,添加待执行的任务、例如播报天气、播报日程等,在此不再赘述。
如图8D所示,用户在手机100显示的添加条件设置界面840,可以选择“指定时间”选项841,进入图8E所示的指定时间设置界面850。
如图8E所示,用户在手机100显示的指定时间设置界面850上的指定时间复选框851下的滑动热区8511内可以上下滑动操作设置指定时间,例如指定时间设置为“下午11:00”,用户也可以在指定时间设置界面850上点击日出复选框852将指定时间设置为日出时间,或者点击日落复选框853将指定时间设置为日落时间;另外,用户可以点击指定时间设置界面850上的日期与重复选项854将任务重复周期设置每天重复、每周重复或者法定工作日重复等。完成设置后,用户可以点击指定时间设置界面850 上的下一步按钮855,进入图8F所示“睡个好觉”场景界面860。
如图8F所示,用户在“睡个好觉”场景界面860上点击时间控件861的操作即为上述步骤401所描述的“用户在原有显示界面上打开动态面板的操作”,当手机100检测到用户点击时间控件861的操作时,需要执行上述步骤402至404的判断过程,在手机100确定对应于时间控件861的动态面板待显示的内容中包括具有滑动冲突的滑动控件(即上述的时间复选框851)、具有滑动冲突的滑动控件的滑动热区宽度超过了预设的2/3屏幕宽度值、并且对应于时间控件861的动态面板待显示的内容长度超过预设长度阈值的情况下,手机100默认采用类全屏模式显示图8G所示的指定时间设置面板870。
如图8G所示,指定时间设置面板870包括指定时间复选框871以及指定时间复选框871下方的滑动热区8711,用户可以在滑动热区8711上滑动操作以设置指定时间。指定时间设置面板870还包括日出复选框872、日落复选框873、以及日期与重复选项874。由图8G可见,默认采用类全屏模式显示的指定时间设置面板870能够充分显示需要用户设置的各个选项,用户不容易遗漏设置。
可以理解,如果手机100未采用本申请的显示方法来判断手机100响应于上述用户点击时间控件861的操作待显示的动态面板需要采用的显示模式,则当手机100检测到用户点击时间控件861的操作时,可能会默认采用类半屏模式显示指定时间设置面板870,参考图8H所示界面上显示的显示指定时间设置面板870’。
对比图8G和图8H所示界面可见,图8H所示的指定时间设置面板870’上未显示日出选项、日落选项以及日期与重复选项,因此图8H所示的指定时间设置面板870’将可能导致用户遗漏对其他相关选项的设置,例如遗漏对日期与重复选项的设置。另外,如果用户意图通过在图8H所示的指定时间设置面板870’向上滑动操作(参考图8H所示的操作③)以切换至图8G所示的指定时间设置面板870对应的显示模式,手机100则可能会将用户的向上滑动操作误判在时间复选框871下方的滑动热区8711上的上下滑动操作,从而导致用户体验不佳。
可以理解,在另一些实施例中,本申请所提供的可以动态调整动态面板显示模式的显示方法的实施也可以按照另一实施流程执行,在此不做限制。
作为示例,图9示出了另一种手机100实施本申请的显示方法的具体流程示意图。与上述图4所示的流程示意图的不同之处在于部分步骤的执行顺序不同,即图9所示流程中先执行判断动态面板待显示内容的长度是否超过预设长度阈值,如果超过则表明待显示内容较多、可能需要采用类全屏模式动态面板来展示,此时再判断待显示内容中是否包括具有滑动冲突的滑动控件、以及具有滑动冲突的滑动控件的滑动热区尺寸是否超过阈值,来确定动态面板的显示模式采用类全屏模式还是类半屏模式。
具体地,如图9所示,该流程的执行主体均为手机100,包括以下步骤:
901:检测到用户在原有显示界面上打开动态面板的操作,获取动态面板待显示的内容。
具体地,用户打开动态面板的操作以及手机100获取待显示内容的过程,可以参考上述步骤401中相关描述,在此不再赘述。
902:判断待显示内容的长度是否超过预设长度阈值。如果判断结果为是,则表明待显示内容较多,可能需要通过具有较大显示尺寸的类全屏模式动态面板进行显示,需要执行步骤903进一步确定动态面板的显示模式;如果判断结果为否,则表明待显示内容较少,通过类半屏模式动态面板即可完全显示,因此可以执行步骤906,确定动态面板的显示模式为类半屏模式。
具体地,手机100的处理器110判断待显示内容的长度是否超过预设长度阈值的过程,可以参考上述步骤404中相关描述,在此不再赘述。
903:判断动态面板待显示的内容中是否包括具有滑动冲突的滑动控件。如果判断结果为是,则表 明待显示内容可能会导致用户对动态面板的滑动操作被误判,因此需要继续执行步骤904,进一步确定待显示内容是否会导致用户对动态面板的滑动操作被误判;如果判断结果为否,则表明待显示内容不存在导致用户对动态面板的滑动操作被误判的问题,则可以执行步骤906,确定动态面板的显示模式为类半屏模式。
具体地,手机100的处理器110判断动态面板待显示的内容中是否包括具有滑动冲突的滑动控件的过程,可以参考上述步骤402中相关描述,在此不再赘述。
904:判断待显示内容中具有滑动冲突的滑动控件的滑动热区尺寸是否超过尺寸阈值。如果判断结果为是,则表明待显示内容会导致用户对动态面板的滑动操作被误判,因此需要继续执行步骤905,确认动态面板的显示模式为类全屏模式;如果判断结果为否,则表明待显示内容不会导致用户对动态面板的滑动操作被误判,可以执行步骤406,确定动态面板的显示模式为类半屏模式。
具体地,手机100的处理器110判断具有滑动冲突的滑动控件的滑动热区尺寸是否超过尺寸阈值的过程,可以参考上述步骤403中相关描述,在此不再赘述。
905:确定动态面板的显示模式为类全屏模式。
具体地,手机100的处理器110确定动态面板的显示模式为类全屏模式的过程可以参考上述步骤405中相关描述,在此不再赘述。
906:确定动态面板的显示模式为类半屏模式。
具体地,手机100的处理器110确定动态面板的显示模式为类半屏模式的过程可以参考上述步骤406中相关描述,在此不再赘述。
另外,可以理解,在另一些实施例中,本申请所提供的可以动态调整动态面板显示模式的显示方法,也可以仅根据动态面板待显示内容的多少来确定动态面板的显示模式,例如仅执行上述步骤901、902、905和906,即当待显示内容的长度超过预设长度阈值时,手机100确定动态面板的显示模式为类全屏模式;当待显示内容的长度小于或等于(即未超过)预设长度阈值时,手机100确定动态面板的显示模式为类半屏模式。在此不做限制。
图10根据本申请实施例示出了一种手机100的软件结构示意框图。
手机100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本发明实施例以分层架构的Android系统为例,示例性说明手机100的软件结构。
图10是本发明实施例的手机100的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图10所示,应用程序包可以包括智慧生活,智慧助手,设置,通话,微信 TM,导航,WLAN,蓝牙,短信息等应用程序。在本申请实施例中,智慧生活应用或智慧助手应用可以响应用户操作,手机100的原有显示界面上显示动态面板,以及响应用户在动态面板上的滑动操作交互,例如上述图8F所示的智慧生活应用811上创建的“睡个好觉”场景界面860上,手机100上的智慧生活应用811可以响应于用户点击“睡个好觉”场景界面860上的时间控件861的操作显示图8G所示的指定时间设置面板870(动态面板)的过程。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图10所示,应用程序框架层可以包括窗口管理器,内容提供器,电话管理器,资源管理器,通知管理器,视图系统等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
电话管理器用于提供手机100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
在本申请实施例中,视图系统和窗口管理器可以监听总线事件并控制显示相应界面,例如在监听到滑动操作事件时判断滑动操作的类型,例如是左右滑动操作还是上下滑动操作等,进而相应的显示不同滑动事件所对应的信息;在监听到打开动态面板的操作事件进行绘制动态面板时,可以根据动态面板上需要展示的控件类型、是否具有滑动冲突的滑动控件、以及内容长度等确定动态面板的不同显示模式等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),事件总线等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
事件总线用于将用户在手机100的原有显示界面或者动态面板等界面上的滑动操作、点击操作等对应的事件在手机100的系统内进行广播通知,并执行默认的处理流程。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。在本申请实施例中,显示驱动和触摸驱动可以驱动手机100的屏幕和触摸传感器等硬件结构执行相应功能,并包装和传递屏幕和触摸传感器等硬件结构产生的硬件信号。
下面结合智慧识屏场景,示例性说明手机100软件以及硬件的工作流程。
当触摸传感器180K接收到触摸操作,相应的硬件中断被发给内核层。内核层将触摸操作加工成原 始输入事件(包括触摸坐标,触摸操作的时间戳等信息)。原始输入事件被存储在内核层。应用程序框架层从内核层获取原始输入事件,识别该输入事件所对应的控件。以该触摸操作是双指长按文字或图片的操作,该双指长按操作对应开启智慧助手应用中的智慧识屏功能为例,智慧助手应用调用应用框架层的接口,启动智慧识屏功能,识别用户所选择的文字或图片内容。
在说明书对“一个实施例”或“实施例”的引用意指结合实施例所描述的具体特征、结构或特性被包括在根据本申请公开的至少一个范例实施方案或技术中。说明书中的各个地方的短语“在一个实施例中”的出现不一定全部指代同一个实施例。
本申请公开还涉及用于执行文本中的操作装置。该装置可以专门处于所要求的目的而构造或者其可以包括被存储在计算机中的计算机程序选择性地激活或者重新配置的通用计算机。这样的计算机程序可以被存储在计算机可读介质中,诸如,但不限于任何类型的盘,包括软盘、光盘、CD-ROM、磁光盘、只读存储器(ROM)、随机存取存储器(RAM)、EPROM、EEPROM、磁或光卡、专用集成电路(ASIC)或者适于存储电子指令的任何类型的介质,并且每个可以被耦合到计算机系统总线。此外,说明书中所提到的计算机可以包括单个处理器或者可以是采用针对增加的计算能力的多个处理器涉及的架构。
本文所提出的过程和显示器固有地不涉及任何具体计算机或其他装置。各种通用系统也可以与根据本文中的教导的程序一起使用,或者构造更多专用装置以执行一个或多个方法步骤可以证明是方便的。在一下描述中讨论了用于各种这些系统的结构。另外,可以使用足以实现本申请公开的技术和实施方案的任何具体编程语言。各种编程语言可以被用于实施本公开,如本文所讨论的。
另外,在本说明书所使用的语言已经主要被选择用于可读性和指导性的目的并且可能未被选择为描绘或限制所公开的主题。因此,本申请公开旨在说明而非限制本文所讨论的概念的范围。

Claims (16)

  1. 一种显示方法,应用于电子设备,其特征在于,包括:
    所述电子设备上显示有第一界面;
    所述电子设备接收到用户指令在所述第一界面上方显示第二界面的显示指令;
    响应于所述显示指令,在所述第一界面上方显示所述第二界面,其中,所述第二界面的显示尺寸是基于所述第二界面的显示内容确定的。
  2. 根据权利要求1所述的方法,其特征在于,所述显示指令包括下列中的任一项:
    用户在所述第一界面上的手势操作或者用户向所述电子设备发出的语音指令。
  3. 根据权利要求1所述的方法,其特征在于,所述第二界面的显示内容越多,所述第二界面的显示尺寸越大。
  4. 根据权利要求3所述的方法,其特征在于,通过以下方式确定所述第二界面的显示尺寸:
    在所述显示内容的长度大于第一长度阈值的情况下,确定采用所述电子设备屏幕中的第一部分区域显示所述第二界面;
    在所述显示内容的长度小于所述第一长度阈值的情况下,确定采用所述电子设备屏幕中的第二部分区域显示所述第二界面;
    其中,所述第一部分区域大于第二部分区域。
  5. 根据权利要求4所述的方法,其特征在于,所述第一部分区域占所述电子设备屏幕的50%至100%;
    所述第二部分区域占所述电子设备屏幕的25%至75%。
  6. 根据权利要求4或5所述的方法,其特征在于,所述第一部分区域的底边与所述电子设备屏幕底边相接,并且,
    所述第一部分区域的高度大于所述电子设备屏幕的高度的1/2。
  7. 根据权利要求4或5所述的方法,其特征在于,所述第二部分区域的底边与所述电子设备屏幕的底边相接,并且,
    所述第二部分区域的高度处于所述电子设备屏幕的高度的1/4至3/4之间。
  8. 根据权利要求1所述的方法,其特征在于,所述第二界面的显示尺寸是基于所述第二界面的显示内容、所述第二界面中是否存在具有滑动冲突的滑动控件、以及所述滑动控件的滑动热区尺寸确定的。
  9. 根据权利要求8所述的方法,其特征在于,通过以下方式确定所述第二界面的显示尺寸:
    在所述第二界面中存在具有滑动冲突的滑动控件、所述滑动控件的滑动热区宽度大于预设宽度阈值、并且所述显示内容的长度大于第二长度阈值的情况下,确定采用所述电子设备屏幕中的第三部分区域显示所述第二界面;
    其中,所述第三部分区域占所述电子设备屏幕的50%至100%。
  10. 根据权利要求9所述的方法,其特征在于,通过以下方式确定所述第二界面的显示尺寸:
    在所述第二界面中不存在具有滑动冲突的滑动控件、所述滑动控件的滑动热区宽度小于预设宽度阈值、或者所述显示内容的长度小于第二长度阈值的情况下,确定采用所述电子设备屏幕中的第四部分区域显示所述第二界面;
    其中,所述第四部分区域占所述电子设备屏幕25%至75%。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第三部分区域的底边与所述电子设备屏幕底边相接,并且,
    所述第三部分区域的高度大于所述电子设备屏幕的高度的1/2。
  12. 根据权利要求10所述的方法,其特征在于,所述第四部分区域的底边与所述电子设备屏幕的底边相接,并且,
    所述第四部分区域的高度处于所述电子设备屏幕的高度的1/4至3/4之间。
  13. 根据权利要求1至12中任一项所述的方法,其特征在于,所述第一界面为第一应用的显示界面、所述第二界面为第二应用的显示界面;或者,
    所述第一界面和第二界面为第三应用的不同功能对应的不同显示界面。
  14. 根据权利要求1至13中任一项所述的方法,其特征在于,所述第二界面为动态面板。
  15. 一种电子设备,其特征在于,包括:一个或多个处理器;一个或多个存储器;所述一个或多个存储器存储有一个或多个程序,当所述一个或者多个程序被所述一个或多个处理器执行时,使得所述电子设备执行权利要求1至14中任一项所述的显示方法。
  16. 一种计算机可读存储介质,其特征在于,所述存储介质上存储有指令,所述指令在计算机上执行时使所述计算机执行权利要求1至14中任一项所述的显示方法。
PCT/CN2022/113062 2021-09-08 2022-08-17 显示方法、电子设备及存储介质 Ceased WO2023035888A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US18/690,151 US12613623B2 (en) 2021-09-08 2022-08-17 Display method, electronic device, and storage medium
EP22866361.3A EP4373062A4 (en) 2021-09-08 2022-08-17 Display method, electronic device, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111051771.XA CN115801943B (zh) 2021-09-08 2021-09-08 显示方法、电子设备及存储介质
CN202111051771.X 2021-09-08

Publications (1)

Publication Number Publication Date
WO2023035888A1 true WO2023035888A1 (zh) 2023-03-16

Family

ID=85416833

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/113062 Ceased WO2023035888A1 (zh) 2021-09-08 2022-08-17 显示方法、电子设备及存储介质

Country Status (3)

Country Link
EP (1) EP4373062A4 (zh)
CN (1) CN115801943B (zh)
WO (1) WO2023035888A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240054834A (ko) * 2022-10-19 2024-04-26 주식회사 카카오 인스턴트 메시징 서비스 방법 및 장치
CN115981517B (zh) * 2023-03-22 2023-06-02 北京同创蓝天云科技有限公司 Vr多端协同交互方法及相关设备
CN117453085B (zh) * 2023-12-22 2024-06-25 荣耀终端有限公司 显示方法、电子设备及存储介质
WO2026000452A1 (zh) * 2024-06-29 2026-01-02 荣耀终端股份有限公司 界面显示方法和装置
CN120111638B (zh) * 2025-05-06 2025-09-12 荣耀终端股份有限公司 显示方法、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100105441A1 (en) * 2008-10-23 2010-04-29 Chad Aron Voss Display Size of Representations of Content
CN103870119A (zh) * 2014-02-21 2014-06-18 联想(北京)有限公司 一种信息处理方法和电子设备
CN109343916A (zh) * 2018-08-10 2019-02-15 北京微播视界科技有限公司 显示界面切换方法、装置及电子设备
CN110326277A (zh) * 2017-02-24 2019-10-11 三星电子株式会社 用于多任务的界面提供方法和实施该方法的电子设备
CN110989905A (zh) * 2019-12-18 2020-04-10 深圳市商汤科技有限公司 信息处理方法及装置、电子设备和存储介质
CN111290680A (zh) * 2020-01-21 2020-06-16 腾讯科技(深圳)有限公司 列表显示方法、装置、终端及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103713824B (zh) * 2013-12-30 2017-07-25 北京猎豹移动科技有限公司 终端管理方法及装置
KR20160019760A (ko) * 2014-08-12 2016-02-22 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
CN106941000A (zh) * 2017-03-21 2017-07-11 百度在线网络技术(北京)有限公司 基于人工智能的语音交互方法和装置
CN110865865B (zh) * 2019-11-22 2023-01-13 科大讯飞股份有限公司 一种弹窗位置确定方法、装置、设备及存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100105441A1 (en) * 2008-10-23 2010-04-29 Chad Aron Voss Display Size of Representations of Content
CN103870119A (zh) * 2014-02-21 2014-06-18 联想(北京)有限公司 一种信息处理方法和电子设备
CN110326277A (zh) * 2017-02-24 2019-10-11 三星电子株式会社 用于多任务的界面提供方法和实施该方法的电子设备
CN109343916A (zh) * 2018-08-10 2019-02-15 北京微播视界科技有限公司 显示界面切换方法、装置及电子设备
CN110989905A (zh) * 2019-12-18 2020-04-10 深圳市商汤科技有限公司 信息处理方法及装置、电子设备和存储介质
CN111290680A (zh) * 2020-01-21 2020-06-16 腾讯科技(深圳)有限公司 列表显示方法、装置、终端及存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4373062A4

Also Published As

Publication number Publication date
EP4373062A4 (en) 2024-11-13
CN115801943A (zh) 2023-03-14
EP4373062A1 (en) 2024-05-22
CN115801943B (zh) 2024-06-14
US20240377933A1 (en) 2024-11-14

Similar Documents

Publication Publication Date Title
CN110910872B (zh) 语音交互方法及装置
CN110489043B (zh) 一种悬浮窗口的管理方法及相关装置
CN112671976B (zh) 电子设备的控制方法、装置及电子设备、存储介质
CN110543287B (zh) 一种屏幕显示方法及电子设备
CN110119296B (zh) 切换父页面和子页面的方法、相关装置
CN111669459B (zh) 键盘显示方法、电子设备和计算机可读存储介质
EP4156664B1 (en) Interaction method for electronic device, and electronic device
CN110647274A (zh) 一种界面显示方法及设备
WO2023035888A1 (zh) 显示方法、电子设备及存储介质
CN115866122A (zh) 应用界面交互方法、电子设备和计算机可读存储介质
WO2021000881A1 (zh) 一种分屏方法及电子设备
CN115297200A (zh) 一种具有折叠屏的设备的触控方法与折叠屏设备
EP4209874A1 (en) Application startup method and apparatus, and electronic device
CN113994317A (zh) 一种用户界面布局方法及电子设备
US20220300129A1 (en) Split-screen processing method and terminal device
CN110138959A (zh) 显示人机交互指令的提示的方法及电子设备
CN113986070A (zh) 一种应用卡片的快速查看方法及电子设备
CN113885973B (zh) 翻译结果显示方法、装置及电子设备
US20220214891A1 (en) Interface display method and electronic device
WO2021190524A1 (zh) 截屏处理的方法、图形用户接口及终端
CN117008772B (zh) 一种应用窗口的显示方法及电子设备
WO2023051511A1 (zh) 一种图标移动方法、相关图形界面及电子设备
CN110471604A (zh) 一种多应用切换方法和相关装置
CN114244951B (zh) 应用程序打开页面的方法及其介质和电子设备
WO2024007966A1 (zh) 一种多窗口显示方法及设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22866361

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022866361

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022866361

Country of ref document: EP

Effective date: 20240216

WWE Wipo information: entry into national phase

Ref document number: 18690151

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE