Nothing Special   »   [go: up one dir, main page]

WO2020108356A1 - 一种应用显示方法及电子设备 - Google Patents

一种应用显示方法及电子设备 Download PDF

Info

Publication number
WO2020108356A1
WO2020108356A1 PCT/CN2019/119574 CN2019119574W WO2020108356A1 WO 2020108356 A1 WO2020108356 A1 WO 2020108356A1 CN 2019119574 W CN2019119574 W CN 2019119574W WO 2020108356 A1 WO2020108356 A1 WO 2020108356A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
electronic device
area
application
display
Prior art date
Application number
PCT/CN2019/119574
Other languages
English (en)
French (fr)
Inventor
江秀萍
方杰
王波
Original Assignee
华为技术有限公司
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
Priority to KR1020227045759A priority Critical patent/KR102630338B1/ko
Priority to JP2021529290A priority patent/JP7044943B2/ja
Priority to KR1020217018831A priority patent/KR102522266B1/ko
Priority to KR1020227045761A priority patent/KR102575123B1/ko
Priority to BR122022006833-2A priority patent/BR122022006833B1/pt
Priority to EP19890725.5A priority patent/EP3872609B1/en
Priority to ES19890725T priority patent/ES2981860T3/es
Priority to BR122022006826-0A priority patent/BR122022006826B1/pt
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to BR112021010030-0A priority patent/BR112021010030B1/pt
Priority to US17/296,841 priority patent/US11567623B2/en
Priority to EP24155422.9A priority patent/EP4383055A3/en
Publication of WO2020108356A1 publication Critical patent/WO2020108356A1/zh
Priority to JP2022042562A priority patent/JP7473101B2/ja
Priority to US17/985,442 priority patent/US20230115868A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • 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/04886Interaction 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 by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces
    • G06Q30/0643Graphical representation of items or shoppers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/163Indexing scheme relating to constructional details of the computer
    • G06F2200/1637Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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

Definitions

  • Embodiments of the present application relate to the field of electronic technology, and in particular, to an application display method and electronic equipment.
  • the user uses the application on the electronic device in the vertical screen state of the electronic device, and the application on the electronic device can generally support the vertical screen display.
  • the vertical screen state the height of the display screen is greater than the width, that is, the vertical length of the display screen is greater than the horizontal length.
  • the width of the display screen is greater than the height, that is, the horizontal length of the display screen is greater than the vertical length, and some applications cannot display normally.
  • Embodiments of the present application provide an application display method and an electronic device, which can display an application interface normally in a landscape state of the electronic device.
  • an embodiment of the present application provides an application display method, which is applied to an electronic device including the first application.
  • the application display method includes: the electronic device detects the first operation; in response to the first operation, the electronic device displays the first interface of the first application in the first area of the display screen in a landscape state.
  • the electronic device detects a second operation on the first interface, and the second operation is used to open the second interface of the first application.
  • the electronic device displays the second interface in the second area in response to the second operation.
  • the display screen includes at least two areas, and the at least two areas include a first area and a second area, and there is no overlap between different areas.
  • the display screen in the landscape state of the electronic device, the display screen is divided into a narrow first area and a second area, and the electronic device can display the first interface of the first application in the first area, and the second area
  • the second interface of the second application is displayed inside.
  • the second area is not displayed
  • a pattern (such as a wallpaper pattern) may be displayed in the second area; or a desktop background is displayed, that is, a part of the desktop background is exposed; or the second area may be blank.
  • the absolute value of the difference between the aspect ratio of each area and the preset ratio is less than or equal to the first preset value, and the aspect ratio is the ratio of the vertical length of the area to the horizontal length in the landscape state .
  • the aspect ratio of each area divided by the display screen is smaller than the preset ratio, the area is in the form of a vertical bar, and the interface of the first application can be normally displayed in each area.
  • the electronic device displays the second interface in the second area in response to the second operation, including: if the second interface corresponds to the same level as the first interface, the electronic device responds to the second operation, The second interface is displayed in the second area.
  • the method further includes: if the second interface is the next level of the first interface, the electronic device displays the second interface in the first area in response to the second operation.
  • the electronic device displays the second interface in the second area in response to the second operation
  • the first interface is still displayed in the first area, that is, the content displayed in the second area remains unchanged .
  • the horizontal screen state is a state where the angle between the long side of the display screen and the horizontal plane is less than or equal to the second preset value.
  • the display screen of the electronic device is basically in the shape of a horizontal bar.
  • the method before the electronic device detects the first operation, the method further includes: the electronic device displays the desktop in full screen in the landscape state; the first operation is an operation for opening the first application.
  • the electronic device when the electronic device displays the desktop on the horizontal screen, it can display the interface of the first application in the area divided by the display screen in response to the user's operation.
  • the method before the electronic device detects the first operation, the method further includes: the electronic device displays the first interface in full screen in the vertical screen state; the first operation is to switch from the vertical screen state to the horizontal screen state Operation.
  • the electronic device may display the first interface in the area divided by the display screen.
  • the method further includes: the electronic device detects a third operation on the first interface, and the third operation is used to open the third interface of the first application; if the third interface and the first interface Corresponding to the same level, the electronic device displays the third interface in the first area in response to the third operation, and still displays the second interface in the second area. Or, if the third interface is the interface below the first interface, the electronic device displays the third interface in the second area in response to the third operation, and the first interface is still displayed in the first area.
  • the first interface and the interface at the same level are displayed in the first area, and the interface at the next level of the first interface is displayed in the second area.
  • the electronic device displays the third interface in the first area, and the second interface still displays the second interface; or, the electronic device The third interface is displayed in the first area, and the first interface is displayed in the second area.
  • the method further includes: the electronic device detects a fourth operation on the second interface, and the fourth operation is used to open the fourth interface of the first application; if the fourth interface and the second interface Corresponding to the same level, or the fourth interface is the interface of the next level of the second interface, the electronic device displays the fourth interface in the second area in response to the fourth operation, and the first interface is still displayed in the first area.
  • the method further includes: the electronic device detects a fourth operation on the second interface, and the fourth operation is used to open the fourth interface of the first application; if the fourth interface and the second interface Corresponding to the same level, the electronic device displays the fourth interface in the second area in response to the fourth operation, and the interface displayed in the first area remains unchanged; if the fourth interface is the interface of the next level of the second interface, then The electronic device displays the fourth interface in the second area and the second interface in the first area in response to the fourth operation.
  • the interface of the first application displayed in the second area is the interface of the next level of the interface of the first application displayed in the first area.
  • the method further includes: the electronic device detects a fifth operation on the second interface, and the fifth operation is used to open the fifth interface of the first application; if the fifth interface is the second interface Interface of the previous level, the electronic device displays the fifth interface in the second area in response to the fifth operation, and the interface displayed in the first area remains unchanged; or, if the fifth interface is the upper level of the second interface Interface, the electronic device displays the fifth interface in the first area in response to the fifth operation, and the interface displayed in the second area remains unchanged.
  • the electronic device stops displaying the second interface in the second area in response to the fifth operation, (the second area The content displayed inside may be the desktop), and the first interface is still displayed in the first area.
  • the second area when the user faces the display screen of the electronic device, the second area is located to the right of the first area.
  • the interface displayed in the second area on the right is the next level of the interface displayed in the first area on the left, it is possible to compare and operate with respect to users, and is more in line with the usage habits of most users.
  • the first interface of the first application is displayed on the left, and the second interface of the second application is displayed on the right, which is more in line with the usage habits of most users.
  • the method further includes: the electronic device detects a sixth operation on the first interface, the sixth operation is used to open a sixth interface of the first application; the electronic device responds to the sixth operation, The sixth interface is displayed in the second area, and the first interface is still displayed in the first area.
  • the method further includes: the electronic device detects a seventh operation in the first area or the second area, and the seventh operation is used to open a seventh interface of the first application; the electronic device responds In the seventh operation, the seventh interface is displayed in the second area, and the first interface is still displayed in the first area.
  • the method further includes: if the electronic device detects an eighth operation in the first area, the eighth operation is used to open an eighth interface of the first application; then the electronic device responds to the eighth Operation, the eighth interface is displayed in the second area, and the first interface is still displayed in the first area; if the electronic device detects the ninth operation in the second area, the ninth operation is used to open the ninth interface of the first application ; In response to the ninth operation, the electronic device displays the ninth interface in the first area, and the second interface is still displayed in the second area.
  • the interface opened on the interface of the current area of the display screen is displayed in another area.
  • the electronic device detects the eighth operation in the first area, the eighth operation is used to open the eighth interface of the first application; then the electronic device responds to the eighth operation, in the first The eighth interface is displayed in the area, and the second interface is still displayed in the second area; if the electronic device detects the ninth operation in the second area, the ninth operation is used to open the ninth interface of the first application; then the electronic device responds In the ninth operation, the ninth interface is displayed in the second area, and the first interface is still displayed in the first area.
  • the interface opened on the interface of the current area of the display screen is still displayed in the current area.
  • the electronic device displays the first interface of the first application in the first area of the display screen of the electronic device, including: if the first application does not support the full-screen display of the horizontal screen, the electronic device is on the display screen The first interface of the first application is displayed in the first area; if the first application supports full-screen display in landscape mode, the electronic device prompts the user to select the display mode.
  • the display mode includes the full-screen display mode in horizontal mode and the area display mode; In the area display mode, the electronic device displays the first interface of the first application in the first area of the display screen.
  • the user can decide whether to display the interface of the first application in a landscape full-screen display mode or an area display mode.
  • the method further includes: if the electronic device is switched to the vertical screen state, the electronic device displays the tenth interface of the first application in full screen in the vertical screen state.
  • the vertical screen state is a state where the angle between the long side of the display screen and the horizontal plane is greater than the second preset value.
  • the tenth interface displayed on the full screen of the electronic device in the vertical screen state may be the latest interface displayed by the electronic device in the horizontal screen state; or, it may be It is the interface that the electronic device has recently detected the user operation in the horizontal screen state; or, it may be the interface that is the latest display in the preset area of the electronic device in the horizontal screen state.
  • the technical solution of the present application provides an application display device, which is included in an electronic device, and the device has a function of implementing the behavior of the electronic device in any method of the first aspect and the possible implementation manners of the first aspect .
  • This function can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules or units corresponding to the above functions. For example, display modules or units, detection modules or units, etc.
  • an embodiment of the present application provides an electronic device, including one or more processors and one or more memories.
  • the one or more memories are coupled to one or more processors.
  • the one or more memories are used to store computer program code.
  • the computer program codes include computer instructions.
  • the one or more processors execute the computer instructions, the electronic device is executed.
  • the application display method in any possible implementation of the first aspect above.
  • an embodiment of the present application provides a computer storage medium, including computer instructions, which, when the computer instructions run on an electronic device, cause the electronic device to execute the application display method in any possible implementation of the first aspect.
  • an embodiment of the present application provides a computer program product that, when the computer program product runs on a computer, causes an electronic device to execute the application display method in any possible implementation of the first aspect.
  • FIG. 1 is a schematic diagram of a horizontal screen state and a vertical screen state of an electronic device provided by an embodiment of the present application;
  • FIG. 2A is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • 2B is a schematic diagram of a software structure of an electronic device provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a display process provided by an embodiment of the present application.
  • 4A is a flowchart of a display method provided by an embodiment of the present application.
  • 4B is a flowchart of another display method provided by an embodiment of this application.
  • 5A is a schematic diagram of an interface of an electronic device provided by an embodiment of the present application.
  • 5B is a schematic diagram of another electronic device interface provided by an embodiment of the present application.
  • 5C is a schematic diagram of another electronic device interface provided by an embodiment of the present application.
  • 5D is a schematic diagram of an interface of another electronic device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a group of display areas provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a setting interface provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of a set of setting interfaces provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another setting interface provided by an embodiment of the present application.
  • 10A is a schematic diagram of an interface of another electronic device provided by an embodiment of the present application.
  • 10B is a schematic diagram of an interface of another electronic device provided by an embodiment of the present application.
  • 11A is a schematic diagram of an interface of another electronic device provided by an embodiment of the present application.
  • 11B is a schematic diagram of an interface of another electronic device provided by an embodiment of the present application.
  • 11C is a schematic diagram of another electronic device interface provided by an embodiment of the present application.
  • FIG. 12 is a flowchart of determining a display mode provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of an interface of another electronic device provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram of another electronic device interface provided by an embodiment of the present application.
  • 15 is a schematic diagram of a display area division provided by an embodiment of the present application.
  • 16 is a schematic diagram of another display area division provided by an embodiment of the present application.
  • 17 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • first and second are used for description purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features.
  • the features defined as “first” and “second” may explicitly or implicitly include one or more of the features.
  • “multiple” means two or more.
  • the electronic device When a user uses an electronic device, the electronic device may be in a landscape state or a portrait state.
  • the display screen of the electronic device may include four sides, and the four sides include two parallel and equal long sides, which may be referred to as the long sides of the display; the four sides also include two parallel and equal short sides The side of a point can be called the short side of the display.
  • the long side of the display screen of the electronic device In the horizontal screen state, the long side of the display screen of the electronic device is parallel to the horizontal plane (for example, as shown in (a) in FIG.
  • the display screen of the electronic device is basically in the shape of a horizontal bar.
  • the height of the display screen of the electronic device is less than the width, and the aspect ratio of the display screen (that is, the ratio of height to width) is less than 1.
  • the height of the display screen is the length of the side with the smaller angle between the display screen and the vertical plane
  • the width of the display screen is the length of the side with the smaller angle between the display screen and the horizontal plane.
  • the height of the display screen can also be understood as the vertical length of the display screen
  • the width of the display screen can also be understood as the horizontal length of the display screen
  • the aspect ratio of the display screen can also be understood as the aspect ratio of the display screen (that is, the vertical length and The ratio of lateral length).
  • the long side of the display screen of the electronic device is perpendicular to the horizontal plane (for example, as shown in (c) in FIG. 1); or the projection 02 of the long side 01 and the long side 01 of the display on the horizontal plane
  • the included angle 03 is greater than the preset value 1 (for example, as shown in (d) in FIG. 1, the preset value 1 is greater than or equal to 45°).
  • the height of the display screen of the electronic device is greater than the width, and the aspect ratio of the display screen is greater than 1, and the display screen of the electronic device is basically in the form of a vertical bar.
  • the aspect ratio of the display screen is usually 16:9, 18:9, 20:9 or 16:10 and other conventional ratios.
  • the display configuration of most applications on electronic devices is also compatible with this conventional ratio.
  • the aspect ratio of the display screen of the electronic device is equal to or less than the normal ratio, and the electronic device can normally display the application interface.
  • the aspect ratio of the display screen of the electronic device differs greatly from the conventional ratio, which may cause the electronic device to fail to display the application interface normally.
  • An embodiment of the present application provides an application display method.
  • a horizontal-strip display screen of an electronic device may be divided into a plurality of vertical strip-shaped, narrow areas, which are used for display by the electronic device. Therefore, these areas can also be referred to as display areas.
  • display areas There is no overlap between different display areas, and the difference between the aspect ratio of each display area and the preset ratio is small, for example, the absolute value of the difference between the aspect ratio of each display area and the preset ratio is less than or equal to the preset value 2 (Ie, the first preset value), the electronic device can normally display the interface of the application in the vertical bar-shaped display area.
  • the preset value 2 Ie, the first preset value
  • the aspect ratio of the display area may be the ratio of the height to the width of the display area.
  • the height of the display area is the length of the side with the smaller angle between the display area and the vertical plane
  • the width of the display area is the length of the side with the smaller angle between the display area and the horizontal plane.
  • the height of the display area is the length of the side of the display area parallel to the vertical plane
  • the width of the display area is the length of the side of the display area parallel to the horizontal plane
  • the height of the display area can also be understood as the vertical length of the display area
  • the width of the display area can also be understood as the horizontal length of the display area
  • the aspect ratio of the display area can also be understood as the aspect ratio of the display area.
  • the display method provided in the embodiments of the present application can be applied to tablets, mobile phones, wearable devices, vehicle-mounted devices, augmented reality (augmented reality (AR)/virtual reality (VR) devices, notebook computers, and ultra-mobile personal computers ( For ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDAs), and other electronic devices, the embodiments of the present application do not limit the specific types of electronic devices.
  • augmented reality augmented reality
  • VR virtual reality
  • UMPC ultra-mobile personal computers
  • PDAs personal digital assistants
  • the embodiments of the present application do not limit the specific types of electronic devices.
  • FIG. 2A shows a schematic structural diagram of the electronic device 100.
  • the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , Mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyro 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, and ambient light Sensor 180L, bone conduction sensor 180M, gravity sensor, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100.
  • the electronic device 100 may include more or fewer components than shown, or combine some components, or split some components, or arrange different components.
  • the illustrated components can be implemented 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 processor (graphics processing unit, GPU), and an image signal processor (image)signal processor (ISP), controller, memory, video codec, digital signal processor (DSP), baseband processor, and/or neural-network processing unit (NPU) Wait.
  • application processor application processor
  • AP application processor
  • modem processor graphics processor
  • GPU graphics processor
  • ISP image signal processor
  • controller memory
  • video codec video codec
  • DSP digital signal processor
  • NPU neural-network processing unit
  • different processing units may be independent devices, or may be integrated in one or more processors.
  • the controller may be the nerve center and command center of the electronic device 100.
  • the controller can generate the operation control signal according to the instruction operation code and the timing signal to complete the control of fetching instructions and executing instructions.
  • the processor 110 may also be provided with a memory for storing instructions and data.
  • the memory in the processor 110 is a cache memory.
  • the memory may store 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 directly called from the memory. Avoid repeated access, reduce the waiting time of the processor 110, thus improving the efficiency of the system.
  • the processor 110 may include one or more interfaces.
  • Interfaces can include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit, sound, I2S) interface, pulse code modulation (pulse code modulation (PCM) interface, universal asynchronous transceiver (universal asynchronous) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and And/or 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 transceiver
  • MIPI mobile industry processor interface
  • GPIO general-purpose input/output
  • SIM subscriber identity module
  • USB universal serial bus
  • the I2C interface is a bidirectional synchronous serial bus, including a serial data line (serial data line, SDA) and a serial clock line (derail clock line, SCL).
  • the processor 110 may include multiple sets of I2C buses.
  • the processor 110 may respectively couple the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces.
  • the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate through the I2C bus interface to realize the touch function of the electronic device 100.
  • the I2S interface can be used for audio communication.
  • the processor 110 may include multiple sets of I2S buses.
  • the processor 110 may be coupled to the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, to realize the function of answering the phone call through the Bluetooth headset.
  • the PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals.
  • the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface.
  • the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface to realize the function of answering the phone call through the Bluetooth headset. Both I2S interface and PCM interface can be used for audio communication.
  • the UART interface is a universal serial data bus used for asynchronous communication.
  • the bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
  • the UART interface is generally used to connect the processor 110 and the wireless communication module 160.
  • the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function.
  • the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
  • the MIPI interface can be used to connect the processor 110 to peripheral devices such as the display screen 194 and the camera 193.
  • MIPI interface includes camera serial interface (camera serial interface, CSI), display serial interface (display serial interface, DSI) and so on.
  • the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100.
  • the processor 110 and the display screen 194 communicate through the DSI interface to realize the display function of the electronic device 100.
  • the GPIO interface can be configured via software.
  • the GPIO interface can be configured as a control signal or a data signal.
  • the GPIO interface may be used to connect the processor 110 to the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like.
  • GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
  • the USB interface 130 is an interface that conforms to the USB standard, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and so on.
  • the USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones and play audio through the headphones.
  • the interface can also be used to connect other electronic devices, such as AR devices.
  • the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic description, and does not constitute a limitation on the structure of the electronic device 100.
  • the electronic device 100 may also use different interface connection methods in the foregoing embodiments, or a combination of multiple interface connection methods.
  • the charging management module 140 is used to receive charging input from the charger.
  • the charger may be a wireless charger or a wired charger.
  • the charging management module 140 may receive the charging input of the wired charger through the USB interface 130.
  • the charging management module 140 may receive wireless charging input through the wireless charging coil of the electronic device 100. While the charging management module 140 charges the battery 142, it can also supply power to the electronic device through the power management module 141.
  • the power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110.
  • the power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, internal memory 121, external memory, display screen 194, camera 193, wireless communication module 160, and the like.
  • the power management module 141 can also be used to monitor battery capacity, battery cycle times, battery health status (leakage, impedance) and other parameters.
  • 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 electronic device 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 the electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide a wireless communication solution including 2G/3G/4G/5G and the like applied to the electronic device 100.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), and so on.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1 and filter, amplify, etc. the received electromagnetic waves, and transmit them to the modem processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it to electromagnetic wave radiation through the antenna 1.
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110.
  • at least part of the functional modules of the mobile communication module 150 and at least part of the modules of the processor 110 may be provided in the same device.
  • the modem processor may include a modulator and a demodulator.
  • the modulator is used to modulate the low-frequency baseband signal to be transmitted into a high-frequency signal.
  • the demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal.
  • the demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing.
  • the low-frequency baseband signal is processed by the baseband processor and then passed to the application processor.
  • the application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194.
  • the modem processor may be an independent device.
  • the modem processor may be independent of the processor 110, and may be set in the same device as the mobile communication module 150 or other functional modules.
  • the wireless communication module 160 can provide wireless local area networks (wireless local area networks, WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (bluetooth, BT), and global navigation satellites that are applied to the electronic device 100.
  • System global navigation satellite system, GNSS
  • frequency modulation frequency modulation, FM
  • near field communication technology near field communication, NFC
  • infrared technology infrared, IR
  • 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 electromagnetic wave signals, and transmits the processed signals to the processor 110.
  • the wireless communication module 160 may also receive the signal to be transmitted from the processor 110, frequency-modulate it, amplify it, and convert it to electromagnetic wave radiation through the antenna 2.
  • Wireless communication technology may include global mobile communication system (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 technology, etc.
  • GSM global system for mobile communications
  • general packet radio service general packet radio service
  • 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
  • TD-SCDMA time division code division multiple access
  • long-term evolution long term evolution
  • LTE long term evolution
  • GNSS can include global positioning system (GPS), global navigation satellite system (global navigation system (GLONASS), Beidou satellite navigation system (beidou navigation, satellite system, BDS), 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 satellite navigation system beidou navigation, satellite system, BDS
  • quasi-zenith satellite system quasi-zenith satellite system
  • QZSS quasi-zenith satellite system
  • SBAS satellite-based augmentation systems
  • the electronic device 100 realizes a display function through a GPU, a display screen 194, and an application processor.
  • the GPU is a microprocessor for image processing, connecting the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations, and is used for graphics rendering.
  • the processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
  • the display screen 194 is used to display images, videos and the like.
  • the display screen 194 includes a display panel.
  • the display panel may use 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 (FLED), Miniled, MicroLed, Micro-oLed, quantum dot light emitting diode (QLED), etc.
  • the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the display screen 194 may include multiple display areas, and different display areas may simultaneously display different interfaces of the same application.
  • the electronic device 100 can realize a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
  • the ISP processes the data fed back by the camera 193. For example, when taking a picture, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, which is converted into an image visible to the naked eye.
  • ISP can also optimize the image noise, brightness, and skin color. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be set in the camera 193.
  • the camera 193 is used to capture still images or video.
  • the object generates an optical image through the lens and projects it onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (charge coupled device, CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CCD charge coupled device
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other image signals.
  • the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
  • the digital signal processor is used to process digital signals. In addition to digital image signals, it can also process other digital signals. For example, when the electronic device 100 is selected at a frequency point, the digital signal processor is used to perform Fourier transform on the energy at the frequency point.
  • Video codec is used to compress or decompress digital video.
  • the electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos in various encoding formats, for example: moving picture experts group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG moving picture experts group
  • NPU is a neural-network (NN) computing processor.
  • NN neural-network
  • the NPU can realize applications such as intelligent recognition of the electronic device 100, such as image recognition, face recognition, voice recognition, and text understanding.
  • 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 electronic device 100.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example, save music, video and other files in an external memory card.
  • the internal memory 121 may be used to store computer executable program code, and the executable program code includes instructions.
  • the processor 110 executes instructions stored in the internal memory 121 to execute various functional applications and data processing of the electronic device 100.
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area may store an operating system, at least one function required application programs (such as sound playback function, image playback function, etc.).
  • the storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100 and the like.
  • 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 disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and so on.
  • a non-volatile memory such as at least one disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and so on.
  • the electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headphone interface 170D, and an application processor. For example, music playback, recording, etc.
  • the audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal.
  • the audio module 170 can also be used to encode and decode audio signals.
  • the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
  • the speaker 170A also called “speaker” is used to convert audio electrical signals into sound signals.
  • the electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
  • the receiver 170B also known as "handset" is used to convert audio electrical signals into sound signals.
  • the voice can be received by bringing the receiver 170B close to the ear.
  • the microphone 170C also called “microphone”, “microphone”, is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a person's mouth, and input a sound signal to the microphone 170C.
  • the electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C. In addition to collecting sound signals, it may also achieve a noise reduction function. In other embodiments, the electronic device 100 may further include three, four, or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the headset interface 170D is used to connect wired headsets.
  • the earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device (open terminal) platform (OMTP) standard interface, and the American Telecommunications Industry Association (cellular telecommunications industry association of the United States, CTIA) standard interface.
  • OMTP open mobile electronic device
  • CTIA American Telecommunications Industry Association
  • the pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal.
  • the pressure sensor 180A may be provided on the display screen 194.
  • the capacitive pressure sensor may be at least two parallel plates with conductive materials. When force is applied to the pressure sensor 180A, the capacitance between the electrodes changes.
  • the electronic device 100 determines the strength of the pressure according to the change in capacitance.
  • the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A.
  • the electronic device 100 may also calculate the touched position based on the detection signal of the pressure sensor 180A.
  • touch operations that act on the same touch position but have 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 the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.
  • the gyro sensor 180B may be used to determine the movement posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
  • the gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the jitter angle of the electronic device 100, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the jitter of the electronic device 100 through reverse movement to achieve anti-shake.
  • the gyro sensor 180B can also be used for navigation and somatosensory game scenes.
  • the air pressure sensor 180C is used to measure air pressure.
  • the electronic device 100 calculates the altitude using 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 electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D.
  • the electronic device 100 may detect the opening and closing of the clamshell according to the magnetic sensor 180D.
  • features such as automatic unlocking of the flip cover are set.
  • the acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the magnitude and direction of gravity can be detected. It can also be used to recognize the posture of electronic devices, and be used in applications such as horizontal and vertical screen switching and pedometers.
  • the distance sensor 180F is used to measure the distance.
  • the electronic device 100 can measure the distance by infrared or laser. In some embodiments, when shooting scenes, the electronic device 100 may use the distance sensor 180F to measure distance to achieve fast focusing.
  • the proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode.
  • the light emitting diode may be an infrared light emitting diode.
  • the electronic device 100 emits infrared light outward through the light emitting diode.
  • the electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it may be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100.
  • the electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power.
  • the proximity light sensor 180G can also be used in leather case mode, pocket mode automatically unlocks and locks the screen.
  • the ambient light sensor 180L is used to sense the brightness of ambient light.
  • the electronic device 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 electronic device 100 is in a pocket to prevent accidental touch.
  • the fingerprint sensor 180H is used to collect fingerprints.
  • the electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, access to application locks, fingerprint photographing, and fingerprint answering calls.
  • the temperature sensor 180J is used to detect the temperature.
  • the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs performance reduction of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In some other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the abnormal shutdown of the electronic device 100 due to the low temperature. In some other embodiments, when the temperature is below another threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
  • Touch sensor 180K also known as "touch panel”.
  • the touch sensor 180K may be provided on the display screen 194, and the touch sensor 180K and the display screen 194 constitute a touch screen, also called a "touch screen”.
  • the touch sensor 180K is used to detect a touch operation acting on or near it.
  • the touch sensor can pass the detected touch operation to the application processor to determine the type of touch event.
  • the visual output related to the touch operation may be provided through the display screen 194.
  • the touch sensor 180K may also be disposed on the surface of the electronic device 100, which is different from the location where the display screen 194 is located.
  • the bone conduction sensor 180M can acquire vibration signals.
  • the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice.
  • the bone conduction sensor 180M can also contact the pulse of the human body and receive a blood pressure beating signal.
  • the bone conduction sensor 180M may also be provided in the earphone and combined into a bone conduction earphone.
  • the audio module 170 may parse out the voice signal based on the vibration signal of the vibrating bone block of the voice part acquired by the bone conduction sensor 180M to realize the voice function.
  • the application processor can analyze the heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, and realize the heart rate detection function.
  • the electronic device 100 may determine whether the electronic device is currently in a landscape state or a portrait state through one or more sensors of an acceleration sensor 180E, a gyro sensor 180B, a gravity sensor, or the like.
  • the key 190 includes a power-on key, a volume key, and the like.
  • the key 190 may be a mechanical key. It can also be a touch button.
  • the electronic device 100 can receive key input and generate key signal input related to user settings and function control of the electronic device 100.
  • the motor 191 may generate a vibration prompt.
  • the motor 191 can be used for vibration notification of incoming calls 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 can also correspond to different vibration feedback effects.
  • Different application scenarios for example: time reminder, receiving information, alarm clock, game, etc.
  • Touch vibration feedback effect can also support customization.
  • the indicator 192 may be an indicator light, which may be used to indicate a charging state, a power change, and may also be used to indicate a message, a missed call, a notification, and the like.
  • the SIM card interface 195 is used to connect a SIM card.
  • the SIM card can be inserted into or removed from the SIM card interface 195 to achieve contact and separation with the electronic device 100.
  • the electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1.
  • the SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, etc.
  • the same SIM card interface 195 can insert multiple cards at the same time. The types of multiple cards can be the same or different.
  • the SIM card interface 195 can also be compatible with different types of SIM cards.
  • the SIM card interface 195 can also be compatible with external memory cards.
  • the electronic device 100 interacts with the network through the SIM card to realize functions such as call and data communication.
  • the electronic device 100 uses eSIM, that is, an embedded SIM card.
  • the eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
  • the software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture.
  • the embodiment of the present application takes an Android system with a layered architecture as an example to exemplarily explain the software structure of the electronic device 100.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor.
  • the layers communicate with each other through a software interface.
  • the Android system is divided into four layers, from top to bottom are the application layer, the application framework layer, the Android runtime and the system library, and the kernel layer.
  • the application layer may include a series of application packages.
  • the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and desktop launcher.
  • applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, and desktop launcher.
  • the application will be referred to as an application for short below.
  • the application on the electronic device may be a native application or a third-party application, which is not limited in the embodiments of the present application.
  • the application framework layer provides an application programming interface (application programming interface) and programming framework for applications at the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include a window management server (window management service, VMS), an activity management server (activity management service, AMS), an input event management server (input management service, IMS), and a content provider. View system, phone manager, resource manager, notification manager, etc.
  • VMS window management service
  • AMS activity management server
  • IMS input management server
  • content provider a content provider. View system, phone manager, resource manager, notification manager, etc.
  • the window management server is used to manage the window program.
  • the window management server can obtain the size of the display screen, determine whether there is a status bar, lock the screen, intercept the screen, etc.
  • the activity management server (activity management service, AMS) is used to manage the Activity, and is responsible for the startup, switching, scheduling, and application management and scheduling of various components in the system.
  • the input event management server (input management service, IMS) can be used to translate and encapsulate the original input events to obtain input events containing more information and send them to the window management server.
  • IMS input management service
  • Each application is stored in the window management server Clickable area of the program (such as controls), position information of the focus window, etc. Therefore, the window management server can correctly distribute input events to the specified control or focus window.
  • Content providers are used to store and retrieve data, and make these data accessible to applications.
  • Data can include videos, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • the view system includes visual controls, such as controls for displaying text and controls for displaying pictures.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes an SMS notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the electronic device 100. For example, the management of the call state (including connection, hang 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 applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear after a short stay without user interaction.
  • the notification manager is used to notify the completion of downloading, message reminders, etc.
  • the notification manager can also be a notification that appears in the status bar at the top 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.
  • the text message is displayed in the status bar, a prompt sound is emitted, the electronic device vibrates, and the indicator light flashes.
  • Android Runtime includes core library and virtual machine. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library contains two parts: one part is the function function that 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 the virtual machine.
  • the virtual machine executes the java files of the application layer and the application framework layer into binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
  • the system library may include multiple functional modules. For example: surface manager (surface manager), media library (Media library), 3D graphics processing library (for example: OpenGL ES), 2D graphics engine (for example: SGL), etc.
  • surface manager surface manager
  • media library Media library
  • 3D graphics processing library for example: OpenGL ES
  • 2D graphics engine for example: SGL
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports a variety of commonly used audio, video format playback and recording, and still image files.
  • the media library can support multiple audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the 2D graphics engine is a drawing engine for 2D drawing.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer may include display drivers, input/output device drivers (for example, keyboard, touch screen, headphones, speakers, microphones, etc.), device nodes, camera drivers, audio drivers, and sensor drivers.
  • input/output device drivers for example, keyboard, touch screen, headphones, speakers, microphones, etc.
  • device nodes for example, camera drivers, audio drivers, and sensor drivers.
  • the user performs input operations through the input device, and the kernel layer can generate corresponding original input events according to the input operations and store them in the device node.
  • the application framework layer may further include an activity start policy manager (ASPM), which is used to determine information such as activation parameters of the activity (Activity).
  • APM activity start policy manager
  • the input/output device driver can detect user input events. For example, a user clicks on an icon of an application to open an input event of an application, or a user's voice instruction opens an input event of an interface, etc.
  • the input/output device driver reports user input events to IMS.
  • IMS distributes input events to corresponding applications.
  • the application calls the startActivity interface in AMS to start the activity corresponding to the input event.
  • AMS requests the ASPM to obtain startup parameters.
  • ASPM determines the startup parameters and returns the startup parameters to AMS.
  • AMS calls the WMS interface according to the startup parameters. WMS draws the window corresponding to the Activity according to the startup parameters, and calls the display driver to realize the display of the interface.
  • the WMS After the WMS obtains the startup parameters, it can determine whether there is an Activity window in the background that matches the startup parameters according to the startup parameters. If there is, WMS sets the background Activity window that matches the startup parameters to be visible. If not, WMS creates a new Activity window according to the startup parameters and draws the window content, and calls the display driver to display the drawn window content, thereby presenting the interface to the user.
  • ASPM can determine the activation parameters of the Activity according to the Activity startup scenario.
  • the startup parameters of the Activity include information such as the display method of the Activity window, the location where the Activity window is started, the stack to start the Activity window, and the width and height in the application startup config.
  • the display mode includes full-screen display or area display.
  • Activity startup scenarios include whether the Activity is launched from the desktop, from within the application, or from other applications, and whether the electronic device is currently in landscape or portrait mode, and whether the electronic device is currently displayed in full screen or area.
  • ASPM can modify the previously saved startup parameters to the startup parameters currently determined by ASPM.
  • the window startup position may be the position of the i-th display area on the touch screen when the screen is landscape, for example, when the touch screen includes the first display area and the second display area ,
  • the window startup position can be the first display area or the second display area;
  • the startup window stack (Stack) is Freeform Stack (that is, Android native multi-window dedicated Stack stack);
  • the application startup config width and height information can be the first i Display the width information and height information of the area.
  • the window startup position is full-screen;
  • the stack of the startup window can be a full-screen stack;
  • information such as the width and height in the application startup config can be It is the width information and height information of the display screen when full screen.
  • the following will take an electronic device as a tablet computer (hereinafter referred to as a tablet) as an example, take the state shown in (a) in FIG. 1 as a horizontal screen state, and (c) in FIG. 1 as a vertical screen state as an example, Taking the display screen divided into the first display area and the second display area in the landscape state of the tablet as an example, the technical solutions provided by the embodiments of the present application will be specifically described.
  • a tablet computer hereinafter referred to as a tablet
  • the display method provided by the embodiment of the present application may include:
  • the tablet when the tablet is in the horizontal screen state, the horizontal length of the flat screen is larger than the vertical length of the display, and the display is in the shape of a horizontal bar.
  • the tablet can display the desktop 500 in full screen in a landscape state.
  • the desktop 500 may include a status bar 503, a time and weather widget, and a plurality of application icons such as a headline icon 502, a Taobao icon 505, a Weibo icon 502, and a WeChat icon 501, etc. .
  • the status bar 503 may include time, signal strength (for example, Wi-Fi icon) and current remaining power.
  • the status bar 503 may further include a Bluetooth icon, an alarm clock icon, an external device icon, and so on.
  • the desktop 500 may further include a Dock bar, and the Dock bar may include icons of commonly used applications (applications, apps), and the like.
  • the tablet detects the first operation.
  • the first operation is an operation instructed by the user to open the first application.
  • the first operation may be a user's gesture operation on the desktop or a user's voice operation.
  • the gesture operation may be a touch gesture operation or a floating gesture operation.
  • Touch gesture operations can be operations such as tapping, double-clicking, long-pressing or re-pressing (that is, pressing harder).
  • the first application is a headline application (a news application), and the first operation may be an operation in which the user clicks the headline icon 502 on the desktop; or, the first operation may also be a user's voice instruction to open the headline The operation of the application.
  • the first operation may be an operation in which the user clicks the headline icon 502 on the desktop; or, the first operation may also be a user's voice instruction to open the headline The operation of the application.
  • the tablet displays the first interface of the first application in the first display area of the display screen in the landscape mode.
  • the aspect ratio of the first display area is smaller than the preset ratio.
  • the absolute value of the difference between the aspect ratio of the first display area and the preset ratio is less than or equal to the preset value 2, which means that the aspect ratio of the first display area is within the range corresponding to the preset ratio ⁇ the preset value 2 .
  • the preset value 2 may be small, for example, 0.7, and the value of the preset value 2 may be specifically set according to actual application scenarios.
  • the preset value 2 can be set by the user, or it can be set by default in the system.
  • the preset ratio may be the normal aspect ratio of the display screen when the mobile phone is in a vertical screen such as 16:9, 16:8 or 18:9, or the preset ratio may be the conventional screen when the vertical screen of a flat screen such as 16:10 aspect ratio.
  • the tablet can normally display the application interface in the entire display area of the display screen.
  • the tablet can also be in the first display area
  • the interface of the application is displayed normally. That is, in response to the user's instruction to open the first application, the tablet may normally display the first interface of the first application in the first display area of the display screen.
  • the tablet may display the first interface 507 in the first display area 506 of the display screen.
  • the first interface may be the homepage of the first application. That is, in response to the user's operation of opening the first application, the tablet normally displays the homepage of the first application in the first display area.
  • the first interface 507 shown in FIG. 5B is the homepage of the headline (application).
  • displaying the homepage of the first application in the first display area by the tablet includes: after the tablet displays the advertisement page of the first application in the first display area, the first display The home page of the first application is displayed in the area.
  • the tablet displays the advertisement page of the first application in the first display area, and after the display duration of the advertisement page is greater than or equal to the preset duration, the tablet stops displaying the advertisement page and displays the home page of the first application in the first display area .
  • the tablet displays the advertisement page of the first application in the first display area, and after detecting an operation instructed by the user to skip the advertisement page, the tablet stops displaying the advertisement page and displays the home page of the first application in the first display area.
  • the tablet displays the first interface of the first application in the first display area of the display screen in a landscape state in response to the first operation
  • the interface of the first application is not displayed in the second display area.
  • a pattern (such as a wallpaper pattern) may be displayed in the second display area; or a desktop background is displayed, that is, a part of the desktop background is exposed; or the second display area may be blank.
  • the tablet detects a second operation of the user on the first interface of the first display area, and the second operation is used to open the second interface of the first application.
  • the second operation is a user's touch operation on the first interface of the first display area, and the second operation is used to instruct to open the second interface of the first application.
  • the second operation may be an operation in which the user clicks a piece of information on the homepage of the headline shown in FIG. 5B (for example, clicks on the strong attack of typhoon "Mangosteen").
  • the tablet displays the second interface in the second display area in response to the second operation.
  • the aspect ratio of the second display area is smaller than the preset ratio.
  • the absolute value of the difference between the aspect ratio of the second display area and the preset ratio is less than or equal to the preset value 2, that is, the aspect ratio of the second display area is within the range corresponding to the preset ratio ⁇ the preset value 2.
  • the tablet can normally display the second interface of the first application in the second display area of the display screen.
  • the tablet may display the second interface 509 shown in FIG. 5C in the second display area 508.
  • the second interface 509 The detailed page of the information that the user clicked.
  • the content of the first display area 506 is basically unchanged.
  • the display effect of the content clicked by the user changes, for example, one or more of the color, brightness, contrast, grayscale or display form of the information content clicked by the user changes To indicate that the piece of information is currently opened or has been opened.
  • the method may further include:
  • the first operation in step 402 may be an operation for the user to switch the tablet from the vertical screen state to the horizontal screen state. That is to say, in the vertical screen state, the tablet has opened the first interface of the first application.
  • the first application is a headline application, and a schematic diagram of the first interface of the first application displayed on the tablet in a full-screen state can be seen in FIG. 5D.
  • the tablet displays the first interface in the first display area of the display screen in the landscape state.
  • the tablet in the landscape state, can normally display different interfaces of the first application in the first display area and the second display area.
  • the tablet displays multiple interfaces of the first application in multiple display areas, so that it can take full advantage of the large horizontal length of the tablet in landscape mode. By displaying multiple Interface to provide users with a greater amount of information.
  • the display screen of the tablet in a landscape state, may include multiple display areas, and the aspect ratio of the display area is smaller than the preset ratio. Since the tablet can normally display the interface of the application on a display screen with an aspect ratio of a preset ratio, the tablet can also normally display the interface of the application in a display area where the aspect ratio is smaller than the preset ratio. Therefore, in the landscape state, the tablet can normally display the application interface in the display area divided by the display screen.
  • the first display area on the display screen is located to the left of the second display area.
  • the tablet displays the first interface (such as the homepage of the first application) displayed on the left after the first application is opened, which is more in line with the usage habits of most users.
  • the first display area on the display screen is located to the right of the second display area.
  • the tablet displays the first interface (for example, the homepage of the first application) displayed on the right after the first application is opened.
  • the foregoing preset ratio may include at least one ratio, and the difference between the aspect ratio of each display area on the display screen and any one of the preset ratios is less than or equal to the preset value 2.
  • the aspect ratio and size of different display areas included in the display screen may be the same or different.
  • the preset ratio includes 16:9 and 16:8, see (a), (b) or (c) in FIG. 6, the aspect ratio and size of the first display area 601 and the second display area 602 are the same Both the aspect ratio of the first display area 601 and the second display area 602 are 16:9, and the difference from the preset ratio 16:9 is 0. It should be noted that when the first display area 601 and the second display area 602 cannot fill the display screen, see (a) in FIG. Gap; or, see (b) in FIG.
  • gaps may be left on both sides of the first display area 601 and the second display area 602; or, see (c) in FIG. 6, the first display area 601 and the first A gap may be left between the two display areas 602, and on both sides of the first display area 601 and the second display area 602.
  • the hatched portions indicate gaps between display areas.
  • the space next to the display area on the display screen may display a pattern (such as a wallpaper pattern), or display a desktop background, that is, a portion of the desktop background is exposed.
  • the preset ratio includes 16:9 and 16:8.
  • the aspect ratio is 16:8, the difference from the preset ratio 16:8 is 0, and the difference is less than the preset value 2; the aspect ratio of the second display area 602 is 4:3, and the preset ratio 16:9
  • the difference is less than the preset value 2; the longitudinal lengths of the first display area 601 and the second display area 602 are equal, and the lateral lengths of the first display area 601 and the second display area 602 are not equal.
  • the longitudinal lengths of the first display area and the second display area are equal to the longitudinal length of the flat display screen in the horizontal screen state. In this way, different interfaces of the first application have the same display height when displayed in the first display area and the second display area.
  • the longitudinal length of the first display area and the second display area may also be smaller than the longitudinal length of the display screen in the landscape state.
  • the multiple display areas included in the display screen of the tablet in the landscape mode may be preset.
  • the preset ratio is 16:9
  • the preset value 2 is 0.7
  • the aspect ratio of the display screen when the tablet is in landscape mode is 10:16.
  • the display screen includes a first display area and a second display area.
  • the first display area The aspect ratio of the second display area is 16:12 (that is, 4:3), and the absolute value of the difference between 16:12 and the preset ratio of 16:9 is less than the preset value of 2.
  • the display area included in the display screen of the tablet in the landscape mode may be set by the user.
  • the setting interface 701 of the tablet (the setting interface can be displayed in the vertical screen state or the horizontal screen state) is displayed with a setting control of the display area, and the user can set the The aspect ratio of a display area and the aspect ratio of a second display area, or the user can select the aspect ratio of the first display area and the aspect ratio of the second display area from the setting interface.
  • the setting interface 801 of the tablet displays a display area number setting control 802 and a display area range setting control 803 in a landscape state.
  • the tablet can prompt the user to set the range of the first display area, and the user can drag on the display to set the first A range of display area.
  • the tablet may display a control 804 that determines the range of the first display area and a control 805 that cancels the setting.
  • the tablet may prompt the user to set the range of the second display area.
  • the first dividing line 901 and the second dividing line 902 are displayed on the setting interface of the tablet .
  • the user can drag the first dividing line to set the size and aspect ratio of the first display area, and drag the second dividing line to set the size and aspect ratio of the second display area.
  • the tablet may prompt the user that the lateral length of the first display area is too wide or too narrow, so that the first display set by the user The aspect ratio of the area differs slightly from the preset ratio.
  • the tablet may prompt the user that the lateral length of the second display area is too wide or too narrow, so that the user sets The aspect ratio of the second display area is smaller than the preset ratio.
  • the first boundary line, the second boundary line, the third boundary line, and the fourth boundary line are displayed on the setting interface of the tablet.
  • the user can drag the first dividing line and the second dividing line to set the size and aspect ratio of the first display area, the user can drag the third dividing line and the fourth dividing line to set the size and aspect of the second display area ratio.
  • the user can also set the display area included in the display screen in the landscape mode in other ways, which is not limited in the embodiments of the present application.
  • the tablet can display the interface to be displayed in the display area of the display screen according to the hierarchical relationship between the interface to be displayed and the displayed interface.
  • different interfaces of the same application can correspond to the same activity (Activity) or different activities.
  • Activity Activity
  • these interfaces can correspond to the same level.
  • different interfaces correspond to different levels.
  • the interface can call another interface.
  • the active interface and the called interface correspond to the same Activity
  • the active interface and the called interface can correspond to the same level; when the active interface and the called interface correspond to different Activities, the called interface is active The next level of the interface called.
  • the actively invoked interface may be the interface 507 in FIG. 5C, and the invoked interface may be the interface 509 in FIG. 5C.
  • the interface 509 and the interface 507 correspond to different activities. .
  • the process of calling between the interfaces by the tablet can be realized through the stack after advanced. For example, when the tablet calls and displays interface 1, the interface 1 is put on the stack; when the interface 1 calls the interface 2, the interface 2 is put on the stack; when the user returns from the current interface 2 to the interface 1, the current interface 2 is pushed off the stack.
  • the tablet detects the user's return operation on the current interface (for example, the operation that the user clicks the return control on the current interface), in response to the operation, the interface of the current interface is actively called before returning.
  • a hierarchical relationship between different activities is preset on the tablet.
  • the interface corresponding to an activity with a high level is also high, and the interface corresponding to an activity with a low level is also low.
  • the activity level corresponding to the information list interface of attention, recommendation, hotspot, video, and headline is higher than the activity level corresponding to the information detail page (the detail page is an interface); attention, recommendation, hotspot , The video, and the headline's information list interface level is also higher than the level of the information detail page.
  • the above step 405 may specifically include: if the second interface is the interface of the next level of the first interface, the tablet displays the second interface in the second display area. That is, the tablet displays the interface one level below the first interface in the second display area.
  • the tablet displays the detailed page of the information in the second display area.
  • the method may further include: if the second interface corresponds to the same level as the first interface, the tablet displays the second interface in the first display area. That is, the tablet displays an interface at the same level as the first interface in the first display area. Exemplarily, when the user clicks on the "hot spot” in FIG. 5B, the tablet displays the "hot spot" interface in the first display area.
  • the tablet may determine the hierarchical relationship between the interface to be displayed and the displayed interface To display the interface to be displayed in the display area of the display.
  • the tablet displays other interfaces of the first application corresponding to the same level as the first interface of the first application in the first display area, and displays an interface one level below the first interface in the second display area .
  • the method may further include:
  • the tablet detects a third operation on the first interface, and the third operation is used to open the third interface of the first application.
  • the tablet displays the third interface in the first display area in response to the third operation, and the second interface is still displayed in the second display area.
  • the first interface in the first display area is the interface 507
  • the interface in the second display area is the interface 509
  • the third operation may be the user on the first interface 507 in FIG. 5C Click the operation of the "hotspot" control
  • the third interface can be the "hotspot” information list interface.
  • the "hotspot" information list interface corresponds to the same activity as the interface 507, and belongs to the same level. Therefore, referring to FIG. 10A, the tablet can update the interface 507 (ie, the first interface) to the "hotspot" information list interface 1001 in the first display area. And the interface 509 (ie the second interface) is still displayed in the second display area.
  • an Activity may correspond to a window, and different interfaces corresponding to the Activity may be referred to as sub-windows or flags of the window.
  • the tablet displays the third interface in the second display area in response to the third operation, and the first interface is still displayed in the first display area.
  • the first interface in the first display area is interface 507
  • the interface in the second display area is interface 509
  • the third operation may be that the user clicks another on interface 507 in FIG. 5C
  • the operation of a piece of information such as "*** makes important instructions to the first "Chinese Doctor's Day”
  • the third interface can be the detailed page of "*** makes important instructions to the first "Chinese Doctor's Day”” (the The detail page is an interface).
  • the detailed page of "***Make important instructions for the first "Chinese Doctor's Day”” corresponds to different activities and different levels on the first interface 507; and the interface 507 calls “*** on the first "Chinese Doctor's Day”
  • the detailed page of "Make important instructions”, the detailed page of "*** Make important instructions to the first "Chinese Physician's Day”” is the interface below the interface 507; therefore, referring to FIG. 10B, the tablet can be in the second display area
  • the detailed page 1002 of "*** Make important instructions to the first "Chinese Physician's Day”” is displayed, and the interface 507 (ie, the first interface) is still displayed in the first display area.
  • the first display area is only used to display the homepage of the first application and the page at the same level of the homepage, and the second display area is used to The other interface of the first application is displayed.
  • the first application may be a news information application, such as a headline application, Sohu News, Netease News, and an application that may include an interface of two levels (or two Activities).
  • the first application is a headline
  • the first display area is located on the left side of the second display area
  • the first display area can be used to display the homepage of the headline (eg, the left display area in FIG. 5C Interface displayed on the screen) or the same level page of the Toutiao homepage (for example, the interface displayed by the tablet after the user clicks the "hotspot" control on the interface displayed in the left area of FIG. 5C) to facilitate the user to frequently be in the first display area Click the information on the headline's homepage or the same level page of the homepage to view the detailed information of different information in the second display area.
  • the homepage of the headline eg, the left display area in FIG. 5C Interface displayed on the screen
  • the same level page of the Toutiao homepage for example, the interface displayed by the tablet after the user clicks the "hotspot" control on the interface displayed in the left area of FIG. 5C
  • the tablet displays the third interface in the first display area and the first interface in the second display area in response to the third operation; or, the tablet In response to the third operation, the third interface is displayed in the first display area, and the second interface is still displayed in the second display area.
  • the tablet may be based on the interface between the interface to be displayed and the displayed interface
  • the hierarchical relationship is displayed in the display area of the display screen.
  • step 405 or step 408 when the tablet detects the user's operation on the second interface to instruct to open a new interface of the first application, whether the new interface corresponds to the same level as the second interface, or The new interface is the next level interface of the second interface, and the tablet displays the new interface in the second display area in response to the operation.
  • the method may further include:
  • the tablet detects a fourth operation on the second interface, and the fourth operation is used to open the fourth interface of the first application.
  • the tablet displays the fourth interface in the second display area in response to the fourth operation, and The interface displayed in the display area remains unchanged.
  • the interface displayed in the first display area does not change means that if the first interface is displayed in the first display area before the tablet detects the fourth operation, in response to the fourth operation, in the second display area When displaying the fourth interface, the first interface is also displayed in the first display area; if the third interface is displayed in the first display area before the tablet detects the fourth operation, the second display is displayed in response to the fourth operation When the fourth interface is displayed in the area, the third interface is also displayed in the first display area.
  • the first interface may be the homepage 1101 of Taobao
  • the second interface may be a hat list interface 1102 displayed after the user searches for hats on the first interface, and the first interface is displayed in the first display area, The second interface is displayed in the second display area.
  • the fourth operation may be an operation in which the user clicks one of the hat links on the second interface of FIG. 11A, and the fourth interface may be a detailed page of the hat link (the detailed page is an interface), The detailed page of the hat link is the next level interface of the hat list interface 1102. Therefore, referring to FIG. 11B, the tablet can display the detailed page 1103 of the hat link in the second display area (that is, the fourth interface).
  • the homepage 1101 of Taobao ie the first interface
  • steps 401A/401B-410 when the first interface is the homepage of the first application, the first display area is only used to display the homepage of the first application and the page at the same level of the homepage, and the second display area is used to The other interface of the first application is displayed. In this way, it is convenient for the user to frequently operate on the homepage or the same level page of the homepage, without having to frequently call up the homepage or the homepage and then perform the operation.
  • the interface displayed by the tablet in the second display area is the interface one level below the interface displayed in the first display area.
  • the user can browse the content of the interface of two adjacent levels on the display screen, which is convenient for the user to compare and operate the content of the interface of the two adjacent levels.
  • the method may further include:
  • the tablet displays the fourth interface in the second display area in response to the fourth operation, and the interface displayed in the first display area remains unchanged.
  • the first interface may be the homepage 1101 of Taobao
  • the second interface may be the hat list interface 1102
  • the fourth operation may be for the user to click the "Tmall" control on the interface 1102 of FIG. 11A
  • the fourth interface may be a hat list interface of "Tmall”
  • the tablet may display the hat list interface of "Tmall” in the second display area, and the interface 1101 is still displayed in the first display area.
  • the tablet displays the fourth interface in the second display area in response to the fourth operation.
  • the tablet displays the second interface in the first display area in response to the fourth operation.
  • the first interface may be Taobao’s homepage 1101
  • the second interface may be a hat list interface 1102
  • the fourth operation may be that the user clicks one of the hat links on the interface 1102 of FIG. 11A
  • the fourth interface can be the detailed page of the hat link.
  • the detailed page of the hat link is the next level interface of the hat list interface 1102. Therefore, referring to FIG. 11C, the tablet can display the detailed information of the hat link in the second display area.
  • Page 1103 (ie, the fourth interface) updates Taobao's homepage 1101 (ie, the first interface) in the first display area to a hat list interface 1102 (ie, the second interface).
  • the user can see the pictures and links of various hats in the first display area at the same time, and the picture and detailed information of one of the currently opened hats in the second display area, so that the user can compare the materials and prices of different hats , Origin and other characteristics, easy for users to understand and purchase.
  • the first application may be a shopping application, such as Taobao, Amazon Shopping, JD Shopping, and an application that may include interfaces of three or more levels (or multiple Activities).
  • a shopping application such as Taobao, Amazon Shopping, JD Shopping
  • an application that may include interfaces of three or more levels (or multiple Activities).
  • the correspondence between different display solutions and applications is stored on the tablet.
  • the interface of the application can be displayed according to the display mode corresponding to the tablet in the correspondence.
  • the display scheme described in the above steps 401-410 (referred to as display scheme one) can correspond to applications such as Toutiao, Sohu News, Netease News; the display scheme described in the above steps 401-407, steps 411-413 (referred to as display scheme two) ) Corresponding to Taobao, Amazon shopping, Jingdong shopping and other applications.
  • the user may also actively set the correspondence between the application and the display solution.
  • step 408 step 410 or step 413
  • the tablet detects the fifth operation for opening the fifth interface of the first application on the second interface, if the fifth interface is the second interface In the previous interface, the tablet responds to the fifth operation, and the display solutions that can be executed include:
  • the fifth interface is displayed in the second display area, and the interface displayed in the first display area is unchanged.
  • the second interface in the second display area is interface 1103
  • the interface in the first display area is interface 1101
  • the fifth operation is that the user clicks on the return control (for example Back operation)
  • the fifth interface is interface 1102.
  • the tablet displays the interface 1102 in the second display area, and still displays the interface 1101 in the first display area.
  • the tablet displays the fifth interface in the first display area, and the interface displayed in the second display area does not change.
  • the second interface displayed in the second display area is interface 1103
  • the interface displayed in the first display area is interface 1101
  • the fifth operation is that the user clicks the return control on interface 1103.
  • the fifth interface is interface 1102.
  • the tablet displays the interface 1102 in the first display area and still displays the interface 1103 in the second display area.
  • the tablet stops displaying the second interface in the second display area, and the content displayed in the second display area is the desktop, that is, a part of the desktop background is exposed, and the first interface is still displayed in the first display area.
  • the second interface in the second display area is interface 1102
  • the interface in the first display area is interface 1101
  • the fifth operation is the operation of the user clicking the return control on interface 1103
  • the fifth interface is interface 1101.
  • the tablet still displays the interface 1101 in the first display area and displays the desktop in the second display area, that is, a part of the desktop background is exposed in the second display area.
  • the method may further include the following display schemes:
  • the tablet detects the sixth operation on the first interface, and the sixth operation is used to open the sixth interface of the first application.
  • the tablet displays the sixth interface in the second display area, and the first interface is still displayed in the first display area. That is, the tablet always displays the first interface of the first application in the first display area, and displays other interfaces of the first application called by the first interface in the second display area. Therefore, when the first interface is the homepage of the first application, the homepage can be kept displayed in the first display area, which is convenient for the user to frequently operate the homepage.
  • the first interface in the first display area is the interface 507
  • the second interface in the second display area is the interface 509. If the tablet detects that the user clicks the "hotspot" control on the interface 507, the information list interface of "hotspot" is displayed in the second display area; if the tablet detects that the user clicks a piece of information on the interface 507, the The second display area displays detailed information of the news link.
  • the tablet detects the seventh operation in the first display area or the second display area, and the seventh operation is used to open the seventh interface of the first application.
  • the tablet displays the sixth interface in the second display area, and the first interface is still displayed in the first display area. That is, the tablet always displays the first interface of the first application in the first display area, and displays other interfaces of the first application except the first interface in the second display area. Therefore, when the first interface is the homepage of the first application, the homepage can be kept displayed in the first display area, which is convenient for the user to frequently operate the homepage.
  • the interface in the first display area may be the homepage 1101 of Taobao
  • the interface in the second display area may be the hat list interface 1102. If the tablet detects the user's operation on the interface 1101 in the first display area or the interface 1102 in the second display area for opening another interface of the first application, the other interface is displayed in the second display area, The display interface 1101 is maintained in the first display area.
  • the tablet detects the eighth operation in the first display area, and the eighth operation is used to open the eighth interface of the first application, the tablet displays the eighth in the second display area in response to the eighth operation Interface, the first interface is still displayed in the first display area. If the tablet detects the ninth operation in the second display area, the ninth operation is used to open the ninth interface of the first application, the tablet displays the ninth interface in the first display area in response to the ninth operation, the second The second interface is still displayed in the display area. That is, other interfaces of the first application called by the tablet through the interface in the first display area are displayed in the second display area; other interfaces called by the tablet through the interface in the second display area are displayed in the first display area Inside. That is, the tablet is displayed in another display area through other interfaces called on the interface in a certain display area, which can facilitate comparison between the actively called interface and the called interface.
  • the interface in the first display area may be the homepage 1101 of Taobao
  • the interface in the second display area may be the hat list interface 1102. If the tablet detects the user's operation on the interface 1101 in the first display area for opening another interface of the first application, the other interface is displayed in the second display area, while the display remains in the first display area Interface 1101. If the tablet detects that the user is on the interface 1102 in the second display area and is used to open other interface operations of the first application, the other interface is displayed in the first display area and remains displayed in the second display area Interface 1102.
  • the tablet detects the eighth operation in the first display area, and the eighth operation is used to open the eighth interface of the first application, the tablet displays the eighth in the first display area in response to the eighth operation Interface, the second interface is still displayed in the second display area. If the tablet detects the ninth operation in the second display area, which is used to open the ninth interface of the first application, the tablet displays the ninth interface in the second display area in response to the ninth operation, the first The first interface is still displayed in the display area. That is, other interfaces of the first application called by the tablet through the interface in the first display area are displayed in the first display area; other interfaces called by the tablet through the interface in the second display area are displayed in the second display area Inside. That is, other interfaces called by the tablet through the interface in a certain display area are still displayed in the display area. In this way, the interface with the calling relationship is displayed in the same display area.
  • the interface in the first display area may be the homepage 1101 of Taobao
  • the interface in the second display area may be the hat list interface 1102. If the tablet detects the user's operation on the interface 1101 in the first display area for opening another interface of the first application, the other interface is displayed in the first display area, and remains displayed in the second display area Interface 1102. If the tablet detects that the user is on the interface 1102 in the second display area and is used to open other interface operations of the first application, the other interface is displayed in the second display area, and the display remains in the first display area Interface 1101.
  • the tablet displays the first The interface of the application is the same, and the tablet can display the interface of the second application. For example, after the tablet displays the interface of the first application, if the tablet returns to the desktop and detects a touch operation on the desktop used by the user to instruct to open the second application, the tablet displays the interface of the second application.
  • the tablet when the tablet detects that the user is instructing to open the second application on the interface of the first application, the tablet may display the second in the second display area Application interface.
  • the first application is Toutiao
  • the second application is WeChat.
  • the tablet detects that the user is instructing to open WeChat on the interface of the Toutiao application.
  • the WeChat interface is displayed in the display area, and the content displayed in the first display area is unchanged.
  • the tablet when exiting the interface of the second application displayed in the second display area, the tablet may prompt the user whether to return to the first application or stay in the second application.
  • the tablet resumes displaying the interface of the first application in the second display area (the interface of the first application before displaying the interface of the second application), and the content displayed in the first display area remains unchanged ; If the user instructs to stay in the second application, the tablet no longer displays the interface of the first application, but displays the homepage of the second application in the first display area, and displays other interfaces of the second application according to steps 404-413, here I won't go into details.
  • the tablet may display the first interface according to the display mode selected by the user.
  • the above step 403 may include:
  • the tablet determines whether the first application supports full-screen display in landscape. If not supported, go to step 1202; if supported, go to step 1203.
  • the tablet displays the first interface of the first application in the first display area of the display screen.
  • the tablet prompts the user to select a display mode.
  • the display mode includes a horizontal full-screen display and an area display, and then step 1204 is executed.
  • the tablet determines the display mode selected by the user. If the tablet detects that the user selects to use the area display mode, step 1202 is performed, and if the tablet detects that the user selects to use the landscape full screen display method, step 1205 is performed.
  • the tablet displays the first interface in full screen in the landscape state.
  • the area display mode refers to a mode provided by an embodiment of the present application, and in a landscape state, a tablet displays an application interface in a display area of a display screen. That is to say, before displaying the interface of the first application, the tablet may first determine whether the first application supports full-screen display in landscape mode. If the first application does not support the full-screen display in landscape mode, the tablet uses the area display method provided in the embodiment of the present application to display the first interface of the first application in the first display area and display other interfaces of the first application.
  • the tablet can display the interface of the first application by default in landscape full-screen display; in another case, the tablet can ask the user whether to use landscape full-screen display or The area display method provided by the embodiment of the present application is adopted. If the user instructs to use the landscape full screen display mode, the tablet displays the interface of the first application in the landscape full screen display mode; if the user instructs the area display mode, the tablet uses the display method provided by the embodiment of the present application to display the first application Interface. For example, referring to FIG. 13, the tablet may prompt the user which display mode to adopt through the prompt box 1301. Or, the user can set some white lists, and the applications in the white list adopt the area display mode when the tablet is horizontally screened. Or, the applications in the white list use the full-screen display mode when the tablet is in landscape mode.
  • the tablet displays the interface of the first application in the area display mode in the landscape mode. After the tablet is switched from the landscape state to the portrait state, the tablet can display the first application in full screen in the portrait state. interface.
  • the interface of the first application displayed in full screen by the tablet in the portrait screen state may be the latest interface displayed in the display area of the tablet in the landscape screen state.
  • the latest interface displayed in the display area of the tablet in the landscape state is the interface 1102.
  • the tablet After the tablet is switched from the landscape state to the portrait state, the tablet can be full screen in the portrait state Display interface 1102.
  • the interface of the first application displayed in full screen by the tablet in the portrait screen state may be an interface where the user operation is newly detected in the display area of the tablet in the landscape screen state.
  • the latest interface detected by the tablet in the display area in the landscape state is the interface 1101.
  • the interface 1101 can be displayed in full screen in the vertical screen state.
  • the interface of the first application displayed in full screen by the tablet in the portrait screen state may be the latest interface displayed in the preset display area of the tablet in the landscape screen state.
  • the preset display area is the first display area.
  • the interface in the first display area is the interface 1101. After the tablet is switched from the horizontal screen state to the vertical screen state, the tablet may be in the vertical screen In the state of full screen display interface 1101.
  • the absolute value of the difference between the aspect ratio of the flat panel display and the preset ratio is usually less than or equal to the preset value 2, that is, the aspect ratio of the flat panel display is smaller than the preset ratio, so the tablet can
  • the interface of the application is normally displayed in the vertical screen state.
  • the tablet displays the interface of the first application in the landscape state
  • the tablet displays the interface of the first application normally in the portrait state (full screen display in portrait).
  • the tablet when the tablet detects the user's operation for opening another interface, the tablet normally displays the other interface in a portrait state. That is, the tablet can normally display the application interface in both the vertical screen state and the horizontal screen state.
  • the display screen of the tablet includes two display areas in the landscape mode.
  • the display screen of the tablet in the landscape state, may also include one display area or more than two display areas.
  • the flat panel display in a landscape state, includes a display area 1501, and the absolute value of the difference between the aspect ratio of the display area and the preset ratio is less than or equal to the preset value 2, which is the display area The aspect ratio of is smaller than the preset ratio.
  • the tablet can normally display the interface of the application in the display area of the display screen.
  • the tablet when displaying the first interface of the first application, the tablet includes a display area 1501 shown in FIG. 13, and the first interface is displayed in the display area 1501.
  • the display screen includes the display area 601 and the display area 602 shown in FIG. 6, the first interface of the first application is displayed in the first display area 601, and the tablet is described according to the above embodiment
  • the display method of FIG. displays other interfaces of the first application in the display area 601 and the display area 602.
  • the display screen of the tablet includes three display areas, namely, display area 1601, display area 1602, and display area 1603.
  • the tablet can display different applications in these three display areas. interface. For example, if a user operation requests to open a new interface corresponding to the interface in the current display area at the same level, the new interface is displayed in this display area. If the user operation requests to open a new interface one level above the interface in the current display area, the new interface is displayed in another display area on the left side of the current display area; if there is no other display area on the left side of the current display area, the current interface The new interface is displayed in the display area.
  • the new interface is displayed in another display area on the right side of the current display area; if there is no other display area on the right side of the current display area, the current interface The new interface is displayed in the display area.
  • the electronic device includes hardware and/or software modules corresponding to performing each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed by hardware or computer software driven hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered beyond the scope of the present application.
  • the electronic device may be divided into function modules according to the above method example.
  • each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
  • the above integrated module can be implemented in the form of hardware. It should be noted that the division of the modules in this embodiment is schematic, and is only a division of logical functions. In actual implementation, there may be another division manner.
  • FIG. 17 shows a schematic diagram of a possible composition of the electronic device 1700 involved in the above embodiment.
  • the electronic device 1700 may include: a display unit 1701 ⁇ detection unit 1702.
  • the display unit 1701 may be used to support the electronic device 1700 to perform the above steps 401A, 401B, 403, 405, 407, 408, 410, 411, 412, 413, etc., and/or Other processes of the technology described in this article.
  • the processing unit 1702 may be used to support the electronic device 1700 to perform the above steps 402, 404, 406, 409, etc., and/or other processes for the technology described herein.
  • the electronic device 1700 provided in this embodiment is used to execute the above-mentioned application display method, and therefore can achieve the same effect as the above-mentioned implementation method.
  • the electronic device 1700 may include a processing module, a storage module, and a communication module.
  • the processing module may be used to control and manage the actions of the electronic device 1700, for example, it may be used to support the electronic device 1700 to perform the steps performed by the display unit 1701 and the detection unit 1702.
  • the storage module may be used to support the electronic device 1700 to store program codes and data.
  • the communication module may be used to support communication between the electronic device 1700 and other devices.
  • the processing module may be a processor or a controller. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of the present application.
  • the processor may also be a combination of computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, and so on.
  • the storage module may be a memory.
  • the communication module may specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, or a Wi-Fi chip.
  • the electronic device involved in this embodiment may be a device having the structure shown in FIG. 2A.
  • Embodiments of the present application also provide a computer storage medium that stores computer instructions.
  • the computer instructions run on an electronic device, the electronic device executes the above-mentioned related method steps to realize the application display in the above embodiment method.
  • An embodiment of the present application also provides a computer program product, which, when the computer program product runs on a computer, causes the computer to perform the above-mentioned relevant steps to implement the application display method executed by the electronic device in the above embodiment.
  • the embodiments of the present application also provide an apparatus.
  • the apparatus may specifically be a chip, a component, or a module.
  • the apparatus may include a connected processor and a memory; wherein the memory is used to store computer-executed instructions.
  • the processor can execute computer execution instructions stored in the memory to cause the chip to execute the application display method executed by the electronic device in the foregoing method embodiments.
  • the electronic devices, computer storage media, computer program products, or chips provided in this embodiment are used to perform the corresponding methods provided above. Therefore, for the beneficial effects that can be achieved, refer to the corresponding The beneficial effects in the method will not be repeated here.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the modules or units is only a division of logical functions.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places . Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a readable storage medium.
  • the technical solutions of the embodiments of the present application may essentially be part of or contribute to the existing technology, or all or part of the technical solutions may be embodied in the form of software products, which are stored in a storage medium
  • several instructions are included to enable a device (which may be a single-chip microcomputer, chip, etc.) or processor to execute all or part of the steps of the methods described in the embodiments of the present application.
  • the foregoing storage media include various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Digital Computer Display Output (AREA)

Abstract

本申请实施例提供一种应用显示方法及电子设备,涉及电子技术领域,能够在电子设备的横屏状态下正常显示应用的界面。具体方案为:电子设备包括第一应用;电子设备检测到第一操作,响应于第一操作,在横屏状态下,在电子设备的显示屏的第一区域内显示第一应用的第一界面;电子设备检测到在第一界面上的第二操作,第二操作用于打开第一应用的第二界面;响应于第二操作,在第二区域内显示第二界面;其中,显示屏包括至少两个区域,至少两个区域包括第一区域和第二区域,不同区域之间未重叠。本申请实施例用于显示应用界面。

Description

一种应用显示方法及电子设备 技术领域
本申请实施例涉及电子技术领域,尤其涉及一种应用显示方法及电子设备。
背景技术
随着电子技术的发展,越来越多的业务可以通过手机、平板等便携式电子设备进行处理,电子设备上可使用的应用也越来越多。通常情况下,用户在电子设备的竖屏状态下使用电子设备上的应用,电子设备上的应用一般都可以支持竖屏显示。在竖屏状态下,显示屏的高大于宽,也即显示屏的纵向长度大于横向长度。当电子设备处于横屏状态时,显示屏的宽大于高,即显示屏的横向长度大于纵向长度,有些应用无法正常显示。
发明内容
本申请实施例提供一种应用显示方法及电子设备,能够在电子设备的横屏状态下正常显示应用的界面。
为达到上述目的,本申请实施例采用如下技术方案:
第一方面,本申请实施例提供了一种应用显示方法,应用于包括第一应用的电子设备。该应用显示方法包括:电子设备检测到第一操作;响应于第一操作,在横屏状态下,电子设备在显示屏的第一区域内显示第一应用的第一界面。电子设备检测到在第一界面上的第二操作,第二操作用于打开第一应用的第二界面。电子设备响应于第二操作,在第二区域内显示第二界面。其中,显示屏包括至少两个区域,至少两个区域包括第一区域和第二区域,不同区域之间未重叠。在该方案中,在电子设备的横屏状态下,显示屏划分为较窄的第一区域和第二区域,电子设备可以在第一区域内显示第一应用的第一界面,在第二区域内显示第二应用的第二界面。
在一种可能的实现中,当电子设备响应于第一操作,在横屏状态下,在电子设备的显示屏的第一区域内显示第一应用的第一界面时,第二区域内不显示第一应用的界面。例如,第二区域内可以显示图案(例如壁纸图案);或者显示桌面背景,即露出部分桌面背景;或者第二区域可以为空白。
在另一种可能的实现中,每个区域的纵横比与预设比例的差值的绝对值小于或者等于第一预设值,纵横比为横屏状态下区域的纵向长度与横向长度的比值。
这样,显示屏划分的每个区域的纵横比与预设比例相差较小,该区域呈竖条形,可以在每个区域内正常显示第一应用的界面。
在另一种可能的实现中,电子设备响应于第二操作,在第二区域内显示第二界面,包括:若第二界面与第一界面对应同一层级,则电子设备响应于第二操作,在第二区域内显示第二界面。该方法还包括:若第二界面为第一界面的下一层级,则电子设备响应于第二操作,在第一区域内显示第二界面。
在另一种可能的实现中,当电子设备响应于第二操作,在第二区域内显示第二界面时,第一区域内仍显示第一界面,即第二区域内显示的内容保持不变。
在另一种可能的实现中,横屏状态为:显示屏的长边与水平面的夹角小于或者等于第二预设值的状态。
即,在横屏状态下,对于用户来说,电子设备的显示屏基本呈横条形。
在另一种可能的实现中,在电子设备检测到第一操作之前,该方法还包括:电子设备在 横屏状态下全屏显示桌面;第一操作为用于打开第一应用的操作。
也就是说,电子设备在横屏显示桌面时,可以响应于用户的操作,在显示屏划分的区域内显示第一应用的界面。
在另一种可能的实现中,在电子设备检测到第一操作之前,该方法还包括:电子设备在竖屏状态下全屏显示第一界面;第一操作为从竖屏状态切换为横屏状态的操作。
也就是说,在电子设备竖屏显示第一界面的情况下,在切换到横屏状态后,电子设备可以在显示屏划分的区域内显示该第一界面。
在另一种可能的实现中,该方法还包括:电子设备检测到在第一界面上的第三操作,第三操作用于打开第一应用的第三界面;若第三界面与第一界面对应相同的层级,则电子设备响应于第三操作,在第一区域内显示第三界面,第二区域内仍显示第二界面。或者,若第三界面为第一界面的下一层级的界面,则电子设备响应于第三操作,在第二区域内显示第三界面,第一区域内仍显示第一界面。
也就是说,第一界面及同层级的界面显示在第一区域内,第一界面下一层级的界面显示在第二区域。
在另一种可能的实现中,若第三界面为第一界面的上一层级,则电子设备在第一区域内显示第三界面,第二区域内仍显示第二界面;或者,电子设备在第一区域内显示第三界面,在第二区域内显示第一界面。
在另一种可能的实现中,该方法还包括:电子设备检测到在第二界面上的第四操作,第四操作用于打开第一应用的第四界面;若第四界面与第二界面对应相同的层级,或者第四界面为第二界面的下一层级的界面,则电子设备响应于第四操作,在第二区域内显示第四界面,第一区域内仍显示第一界面。
在该方案中,第二区域内显示第二界面同层级的界面以及第二界面下一层级的界面。
在另一种可能的实现中,该方法还包括:电子设备检测到在第二界面上的第四操作,第四操作用于打开第一应用的第四界面;若第四界面与第二界面对应相同的层级,则电子设备响应于第四操作,在第二区域内显示第四界面,第一区域内显示的界面不变;若第四界面为第二界面的下一层级的界面,则电子设备响应于第四操作,在第二区域内显示第四界面,在第一区域内显示第二界面。
在该方案中,第二区域内显示的第一应用的界面,是第一区域内显示的第一应用的界面的下一层级的界面。
在另一种可能的实现中,该方法还包括:电子设备检测到在第二界面上的第五操作,第五操作用于打开第一应用的第五界面;若第五界面为第二界面的上一层级的界面,则电子设备响应于第五操作,在第二区域内显示第五界面,第一区域内显示的界面不变;或者,若第五界面为第二界面的上一层级的界面,则电子设备响应于第五操作,在第一区域内显示第五界面,第二区域内显示的界面不变。
在另一种可能的实现中,若第五界面为第二界面的上一层级的第一界面,则电子设备响应于第五操作,停止在第二区域内显示第二界面,(第二区域内显示的内容可以为桌面),仍在第一区域内显示第一界面。
在另一种可能的实现中,当用户面对电子设备的显示屏时,第二区域位于第一区域的右边。
这样,当右边第二区域内显示的界面为左边第一区域内显示的界面的下一个层级时,可以方面用户对比和操作,更能符合多数用户的使用习惯。并且,第一应用的第一界面先显示 在左边,第二应用的第二界面再显示到右边,从而更能符合多数用户的使用习惯。
在另一种可能的实现中,该方法还包括:电子设备检测到在第一界面上的第六操作,第六操作用于打开第一应用的第六界面;电子设备响应于第六操作,在第二区域内显示第六界面,第一区域内仍显示第一界面。
在另一种可能的实现中,该方法还包括:电子设备检测到在第一区域或第二区域内的第七操作,第七操作用于打开第一应用的第七界面;电子设备响应于第七操作,在第二区域内显示第七界面,第一区域内仍显示第一界面。
在另一种可能的实现中,该方法还包括:若电子设备检测到在第一区域内的第八操作,第八操作用于打开第一应用的第八界面;则电子设备响应于第八操作,在第二区域内显示第八界面,第一区域内仍显示第一界面;若电子设备检测到在第二区域内的第九操作,第九操作用于打开第一应用的第九界面;则电子设备响应于第九操作,在第一区域内显示第九界面,第二区域内仍显示第二界面。
也就是说,在横屏状态下显示第一应用的第一界面和第二界面后,在显示屏的当前区域的界面上打开的界面显示在另一区域内。
在另一种可能的实现中,若电子设备检测到在第一区域内的第八操作,第八操作用于打开第一应用的第八界面;则电子设备响应于第八操作,在第一区域内显示第八界面,第二区域内仍显示第二界面;若电子设备检测到在第二区域内的第九操作,第九操作用于打开第一应用的第九界面;则电子设备响应于第九操作,在第二区域内显示第九界面,第一区域内仍显示第一界面。
也就是说,在横屏状态下显示第一应用的第一界面和第二界面后,在显示屏的当前区域的界面上打开的界面,仍显示在当前区域内。
在另一种可能的实现中,电子设备在电子设备的显示屏的第一区域内显示第一应用的第一界面,包括:若第一应用不支持横屏全屏显示,则电子设备在显示屏的第一区域内显示第一应用的第一界面;若第一应用支持横屏全屏显示,则电子设备提示用户选择显示方式,显示方式包括横屏全屏显示方式和区域显示方式;响应于用户选择区域显示方式,电子设备在显示屏的第一区域内显示第一应用的第一界面。
也就是说,用户可以决定显示第一应用的界面的方式为横屏全屏显示方式,还是区域显示方式。
在另一种可能的实现中,该方法还包括:若电子设备切换到竖屏状态,则电子设备在竖屏状态下全屏显示第一应用的第十界面。其中,竖屏状态为:显示屏的长边与水平面的夹角大于第二预设值的状态。
在另一种可能的实现中,若电子设备切换到竖屏状态,则电子设备在竖屏状态下全屏显示的第十界面,可以为电子设备在横屏状态下最新显示的界面;或者,可以为电子设备在横屏状态下最新检测到用户操作的界面;或者,可以为电子设备在横屏状态下的预设区域内最新显示的界面。
第二方面,本申请技术方案提供了一种应用显示装置,该装置包含在电子设备中,该装置具有实现上述第一方面及第一方面的可能实现方式中任一方法中电子设备行为的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块或单元。例如,显示模块或单元、检测模块或单元等。
第三方面,本申请实施例提供了一种电子设备,包括一个或多个处理器和一个或多个存储器。该一个或多个存储器与一个或多个处理器耦合,一个或多个存储器用于存储计算机程 序代码,计算机程序代码包括计算机指令,当一个或多个处理器执行计算机指令时,使得电子设备执行上述第一方面任一项可能的实现中的应用显示方法。
第四方面,本申请实施例提供了一种计算机存储介质,包括计算机指令,当计算机指令在电子设备上运行时,使得电子设备执行上述第一方面任一项可能的实现中的应用显示方法。
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在计算机上运行时,使得电子设备执行上述第一方面任一项可能的实现中的应用显示方法。
附图说明
图1为本申请实施例提供的电子设备的横屏状态和竖屏状态的示意图;
图2A为本申请实施例提供的一种电子设备的硬件结构示意图;
图2B为本申请实施例提供的一种电子设备的软件结构示意图;
图3为本申请实施例提供的一种显示过程示意图;
图4A为本申请实施例提供的一种显示方法流程图;
图4B为本申请实施例提供的另一种显示方法流程图;
图5A为本申请实施例提供的一种电子设备的界面示意图;
图5B为本申请实施例提供的另一种电子设备的界面示意图;
图5C为本申请实施例提供的另一种电子设备的界面示意图;
图5D为本申请实施例提供的另一种电子设备的界面示意图;
图6为本申请实施例提供的一组显示区域的划分示意图;
图7为本申请实施例提供的一种设置界面示意图;
图8为本申请实施例提供的一组设置界面示意图;
图9为本申请实施例提供的另一种设置界面示意图;
图10A为本申请实施例提供的另一种电子设备的界面示意图;
图10B为本申请实施例提供的另一种电子设备的界面示意图;
图11A为本申请实施例提供的另一种电子设备的界面示意图;
图11B为本申请实施例提供的另一种电子设备的界面示意图;
图11C为本申请实施例提供的另一种电子设备的界面示意图;
图12为本申请实施例提供的一种确定显示方式的流程图;
图13为本申请实施例提供的另一种电子设备的界面示意图;
图14为本申请实施例提供的另一种电子设备的界面示意图;
图15为本申请实施例提供的一种显示区域的划分示意图;
图16为本申请实施例提供的另一种显示区域的划分示意图;
图17为本申请实施例提供的一种电子设备的结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本实施例的描述中,除非另有说明,“多个”的含义是 两个或两个以上。
用户在使用电子设备时,电子设备可能是横屏状态或竖屏状态。电子设备的显示屏可以包括四条边,这四条边中包括相互平行且相等的两条长一点的边,可以称为显示屏的长边;这四条边中还包括相互平行且相等的两条短一点的边,可以称为显示屏的短边。在横屏状态下,电子设备的显示屏的长边与水平面平行(例如,如图1中的(a)所示),即显示屏的长边与水平面的夹角为0;或者显示屏的长边01与长边01在水平面上的投影02之间的夹角03小于或者等于预设值1(例如,如图1中的(b)所示),即显示屏的长边与水平面的夹角小于或者等于预设值1。其中,该预设值1(即第二预设值)小于或者等于45°,该预设值1的具体数值可以根据实际应用场景进行设定,例如该预设值1可以为20°。在横屏状态下,电子设备的显示屏基本呈横条形。
在横屏状态下,电子设备的显示屏的高小于宽,显示屏的高宽比(即高和宽的比)小于1。显示屏的高为显示屏与竖平面夹角较小的边的长度,显示屏的宽为显示屏与水平面夹角较小的边的长度。其中,显示屏的高也可以理解为显示屏的纵向长度,显示屏的宽也可以理解为显示屏的横向长度,显示屏的高宽比也可以理解为显示屏的纵横比(即纵向长度与横向长度的比)。
在竖屏状态下,电子设备的显示屏的长边与水平面垂直(例如,如图1中的(c)所示);或者显示屏的长边01与长边01在水平面上的投影02之间的夹角03大于预设值1(例如,如图1中的(d)所示,该预设值1大于或者等于45°)。在竖屏状态下,电子设备的显示屏的高大于宽,显示屏的高宽比大于1,电子设备的显示屏基本呈竖条形。
目前,在电子设备为竖屏状态时,显示屏的高宽比通常为16:9、18:9、20:9或16:10等常规比例。电子设备上大多数应用的显示配置也是与这个常规比例相适配的。在竖屏状态下,电子设备的显示屏的高宽比与常规比例相等或相差不大,电子设备可以正常显示应用的界面。在电子设备为横屏状态时,电子设备的显示屏的高宽比与常规比例相差较大,可能导致电子设备无法正常显示应用的界面。
本申请实施例提供了一种应用显示方法,在横屏状态下,电子设备横条形的显示屏可以划分为多个竖条形的、较窄的区域,这些区域用于电子设备进行显示,因而这些区域也可以称为显示区域。不同显示区域之间没有重叠,每个显示区域的高宽比与预设比例相差较小,例如每个显示区域的高宽比与预设比例的差值的绝对值小于或者等于预设值2(即第一预设值),电子设备可以在竖条形的显示区域内正常显示应用的界面。
其中,显示区域的高宽比可以为该显示区域的高与宽的比例。该显示区域的高为该显示区域与竖平面的夹角较小的边的长度,该显示区域的宽为该显示区域与水平面的夹角较小的边的长度。在图1中的(a)所示的横屏状态下,该显示区域的高为该显示区域与竖平面平行的边的长度,该显示区域的宽为该显示区域与水平面平行的边的长度。其中,显示区域的高也可以理解为显示区域的纵向长度,显示区域的宽也可以理解为显示区域的横向长度,显示区域的高宽比也可以理解为显示区域的纵横比。
本申请实施例提供的显示方法,可以应用于平板、手机、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等电子设备上,本申请实施例对电子设备的具体类型不作任何限制。
示例性的,图2A示出了电子设备100的结构示意图。电子设备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,骨传导传感器180M,重力传感器等。
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
其中,控制器可以是电子设备100的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。
处理器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)接口等。
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。 I2S接口和PCM接口都可以用于音频通信。
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。
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中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制 解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。
无线通信模块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,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。在本申请实施例中,在横屏状态下,显示屏194可以包括多个显示区域,不同显示区域可以同时显示同一应用的不同界面。
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递 到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行电子设备100的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两 个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备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所处的位置不同。
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。
其中,电子设备100可以通过加速度传感器180E、陀螺仪传感器180B或重力传感器等中的一个或多个传感器,确定电子设备当前是横屏状态还是竖屏状态。
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示消息,未接来电,通知等。
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。
电子设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构, 或云架构。本申请实施例以分层架构的Android系统为例,示例性说明电子设备100的软件结构。
图2B是本申请实施例的电子设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。
如图2B所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息以及桌面启动(Launcher)等应用程序。为方便描述,以下将应用程序简称为应用。电子设备上的应用可以是原生的应用,也可以是第三方应用,本申请实施例不予限定。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2B所示,应用程序框架层可以包括窗口管理服务器(window manager service,VMS),活动管理服务器(activity manager service,AMS)、输入事件管理服务器(input manager service,IMS)、内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
其中,窗口管理服务器用于管理窗口程序。窗口管理服务器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。
活动管理服务器(activity manager service,AMS)用于负责管理Activity,负责系统中各组件的启动、切换、调度及应用程序的管理和调度等工作。
输入事件管理服务器(input manager service,IMS)可以用于对原始输入事件进行翻译、封装等处理,得到包含更多信息的输入事件,并发送到窗口管理服务器,窗口管理服务器中存储有每个应用程序的可点击区域(比如控件)、焦点窗口的位置信息等。因此,窗口管理服务器可以正确的将输入事件分发到指定的控件或者焦点窗口。
内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电子设备100的通信功能。例如通话状态的管理(包括接通,挂断等)。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
2D图形引擎是2D绘图的绘图引擎。
内核层是硬件和软件之间的层。内核层可以包含显示驱动,输入/输出设备驱动(例如,键盘、触摸屏、耳机、扬声器、麦克风等),设备节点,摄像头驱动,音频驱动以及传感器驱动等。用户通过输入设备进行输入操作,内核层可以根据输入操作产生相应的原始输入事件,并存储在设备节点中。
本申请实施例提供的显示方案基于google的自由窗口(freeform)特性和多窗口多任务基础架构实现。在本申请实施例中,参见图2B,应用程序框架层还可以包括活动启动策略管理器(activity start policy manager,ASPM),用于确定活动(Activity)的启动参数等信息。
基于上述软件模块,本申请实施例提供的显示流程可以参见图3。具体的,输入/输出设备驱动可以检测到用户的输入事件。例如,用户点击某个应用的图标以打开某个应用的输入事件,或者用户语音指示打开某一界面的输入事件等。输入/输出设备驱动将用户的输入事件上报给IMS。IMS将输入事件分发给相应的应用。应用调用AMS中的startActivity接口以启动输入事件对应的Activity。AMS向ASPM请求获取启动参数。ASPM确定启动参数,并将启动参数返回给AMS。AMS根据启动参数调用WMS接口。WMS根据启动参数绘制Activity对应的窗口,并调用显示驱动实现界面的显示。
其中,在WMS获取到启动参数后,可以根据启动参数确定后台是否有与启动参数匹配的Activity窗口。如果有,则WMS将与启动参数匹配的后台Activity窗口设置为可见。如果没有,则WMS根据启动参数创建新的Activity窗口并绘制窗口内容,调用显示驱动显示所绘制的窗口内容,从而将界面展现给用户。
具体的,ASPM可以根据Activity启动场景确定Activity的启动参数。Activity的启动参数包括Activity窗口显示方式、Activity窗口启动的位置、启动Activity窗口的栈、应用启动config中的宽高等信息。其中,显示方式包括全屏显示或区域显示。Activity启动场景包括Activity是从桌面启动、从本应用内启动,还是其他应用调用启动,以及电子设备当前是横屏状态还是竖屏状态,电子设备当前是全屏显示方式还是区域显示方式等。
若电子设备上已保存有该Activity的启动参数(例如应用程序开发时设置的启动参数,或电子设备竖屏时对应的启动参数等),则当ASPM确定的启动参数与保存的启动参数不同时,ASPM可以将之前保存的启动参数修改为ASPM当前确定的启动参数。例如,若采用区域显示方式,则在ASPM确定的启动参数中,窗口启动的位置可以是横屏时触摸屏上的第i显示区域的位置,例如当触摸屏包括第一显示区域和第二显示区域时,窗口启动的位置可以是第一显示区域或第二显示区域;启动窗口的栈(Stack)为Freeform Stack(即Android原生的多窗口专用Stack栈);应用启动config中的宽高等信息可以是第i显示区域的宽度信息和高度信息。又例如,若采用全屏显示方式,则在ASPM确定的启动参数中,窗口启动的位置是全屏;启动窗口的栈(Stack)可以是全屏堆栈(fullscreen stack);应用启动config中的宽高等信息可以是全屏时显示屏的宽度信息和高度信息。
以下将以电子设备为平板电脑(以下简称为平板)为例,以图1中的(a)所示状态为横屏状态,图1中的(c)所示状态为竖屏状态为例,以平板在横屏状态下显示屏划分为第一显示区域和第二显示区域为例,对本申请实施例提供的技术方案进行具体阐述。
参见图4A,本申请实施例提供的显示方法可以包括:
401A、平板在横屏状态下,全屏显示桌面。
其中,在平板为横屏状态时,平板显示屏的横向长度大于显示屏的纵向长度,显示屏呈横条形。参见图5A,平板可以在横屏状态下全屏显示桌面500。
如图5A所示,桌面500中可以包括状态栏503、时间和天气Widget,还有多个应用程序的图标例如头条的图标502、淘宝的图标505、微博的图标502以及微信的图标501等。其中,状态栏503中可以包括时间、信号强度(例如Wi-Fi图标)和当前的剩余电量等。此外,可以理解的是,在其他一些实施例中,状态栏503中还可以包括蓝牙图标、闹钟图标和外接设备图标等。还可以理解的是,在其他一些实施例中,桌面500中还可以包括Dock栏,Dock栏中可以包括常用的应用程序(application,App)的图标等。
402、平板检测到第一操作。
其中,第一操作为用户指示打开第一应用的操作。该第一操作可以是用户在桌面上的手势操作,也可以是用户的语音操作。手势操作可以是触摸手势操作,也可以是悬浮手势操作。触摸手势操作可以是点击、双击、长按或重按(即按压的力度较大)等操作。
示例性的,第一应用为头条应用(一种新闻类应用),该第一操作可以是用户在桌面上点击头条的图标502的操作;或者,该第一操作也可以是用户语音指示打开头条应用的操作。
403、平板响应于第一操作,在横屏状态下,在显示屏的第一显示区域内显示第一应用的第一界面。
其中,第一显示区域的纵横比与预设比例相差较小。例如,第一显示区域的纵横比与预设比例的差值的绝对值小于或者等于预设值2,也就是说第一显示区域的纵横比在预设比例±预设值2对应的范围内。其中,该预设值2可以较小,例如可以为0.7,预设值2的数值具体可以根据实际应用场景的需要进行设定。预设值2可以由用户设定,也可以系统默认设置。示例性的,预设比例可以为16:9、16:8或18:9等手机竖屏时显示屏的常规纵横比,或者预设比例可以为16:10等平板竖屏时显示屏的常规纵横比。
在显示屏的纵横比为预设比例的情况下,平板可以在显示屏的整个显示区域内正常显示应用的界面。当第一显示区域的纵横比与预设比例的差值的绝对值小于或者等于预设值2,即第一显示区域的纵横比与预设比例相差较小时,平板也可以在第一显示区域内正常显示应用的界面。也就是说,响应于用户指示打开第一应用的操作,平板可以在显示屏的第一显示区域内正常显示第一应用的第一界面。
示例性的,响应于用户在图5A上点击头条的图标502的操作,参见图5B,平板可以在显示屏的第一显示区域506内显示第一界面507。
可选地,该第一界面可以是第一应用的主页。也就是说,响应于用户打开第一应用的操作,平板在第一显示区域内正常显示第一应用的主页。示例性的,图5B中所示的第一界面507为头条(应用)的主页。
可选地,响应于用户打开第一应用的操作,平板在第一显示区域内显示第一应用的主页包括:平板在第一显示区域内显示第一应用的广告页面后,再在第一显示区域内显示第一应用的主页。例如,平板在第一显示区域内显示第一应用的广告页面,在广告页面的显示时长大于或者等于预设时长后,平板停止显示广告页面,并在第一显示区域内显示第一应用的主 页。或者,平板在第一显示区域内显示第一应用的广告页面,在检测到用户指示跳过广告页面的操作后,平板停止显示广告页面,并在第一显示区域内显示第一应用的主页。
当平板响应于第一操作,在横屏状态下,在显示屏的第一显示区域内显示第一应用的第一界面时,第二显示区域内不显示第一应用的界面。具体的,第二显示区域内可以显示图案(例如壁纸图案);或者显示桌面背景,即露出部分桌面背景;或者第二显示区域可以为空白。
404、平板检测到用户在第一显示区域的第一界面上的第二操作,该第二操作用于打开第一应用的第二界面。
其中,第二操作为用户在第一显示区域的第一界面上的触摸操作,第二操作用于指示打开第一应用的第二界面。示例性的,该第二操作可以是用户在图5B中所示的头条的主页上点击一条资讯(例如,点击台风“山竹”强势来袭)的操作。
405、平板响应于第二操作,在第二显示区域内显示第二界面。
其中,第二显示区域的纵横比与预设比例相差较小。例如,第二显示区域的纵横比与预设比例的差值的绝对值小于或者等于预设值2,即第二显示区域的纵横比在预设比例±预设值2对应的范围内。这样,平板可以在显示屏的第二显示区域内正常显示第一应用的第二界面。
示例性的,响应于用户在图5B中所示的头条的主页上点击一条资讯的操作,平板可以在第二显示区域508内显示如图5C所示的第二界面509,该第二界面509为用户所点击的资讯的详细页面。此时第一显示区域506的内容基本不变。或者,第一显示区域506中,被用户点击的内容的显示效果发生变化,例如:被用户点击的资讯内容的颜色、亮度、对比度、灰度或显示形式等中的一项或多项发生变化,以表示该条资讯当前被打开或者已经被打开过。
在另一实施例中,作为步骤401A的替换步骤,在步骤402之前,该方法还可以包括:
401B、平板在竖屏状态下,全屏显示第一应用的第一界面。
基于步骤401B,步骤402中的第一操作可以为用户将平板从竖屏状态切换为横屏状态的操作。也就是说,在竖屏状态下,平板已经打开第一应用的第一界面。示例性的,第一应用为头条应用,平板在竖屏状态下全屏显示第一应用的第一界面的示意图可以参见图5D。而后,响应于用户将平板从竖屏状态切换到横屏状态的操作(例如用户将平板从图5D所示的状态旋转至图1中的(a)所示的状态的操作),参见图5B,在步骤403中,平板在横屏状态下,在显示屏的第一显示区域内显示该第一界面。
可见,在横屏状态下,平板可以在第一显示区域和第二显示区域内正常显示第一应用的不同界面。并且,在横屏状态下,平板通过在多个显示区域中显示第一应用的多个界面,可以充分利用横屏状态下平板的横向长度大的特点,通过在显示屏上为用户显示多个界面,来为用户提供更大的信息量。
在本申请实施例中,在横屏状态下,平板的显示屏可以包括多个显示区域,该显示区域的纵横比与预设比例相差较小。由于平板可以在纵横比为预设比例的显示屏上正常显示应用的界面,因而在纵横比与预设比例相差较小的显示区域内,平板也可以正常显示应用的界面。因此,在横屏状态下,平板可以在显示屏划分的显示区域内正常显示应用的界面。
可选地,当用户面对显示屏时,显示屏上的第一显示区域位于第二显示区域的左边。也就是说,平板将打开第一应用后显示的第一界面(例如第一应用的主页)显示在左边,这样更符合多数用户的使用习惯。
可选地,当用户面对显示屏时,显示屏上的第一显示区域位于第二显示区域的右边。也就是说,平板将打开第一应用后显示的第一界面(例如第一应用的主页)显示在右边。
需要说明的是,上述预设比例可以包括至少一个比例,显示屏中每个显示区域的纵横比与预设比例中的任意一个比例的差值小于或者等于预设值2。
在本申请实施例中,在横屏状态下,显示屏包括的不同显示区域的纵横比和尺寸可以相同也可以不同。示例性的,预设比例包括16:9和16:8,参见图6中的(a)、(b)或(c),第一显示区域601与第二显示区域602的纵横比和尺寸相同,第一显示区域601和第二显示区域602的纵横比均为16:9,与预设比例16:9的差值为0。需要注意的是,当第一显示区域601和第二显示区域602未能占满显示屏时,参见图6中的(a),第一显示区域601和第二显示区域602之间可以留有空隙;或者,参见图6中的(b),第一显示区域601和第二显示区域602的两侧可以留有空隙;或者,参见图6中的(c),第一显示区域601与第二显示区域602之间,以及第一显示区域601和第二显示区域602的两侧均可以留有空隙。在图6中,斜线填充部分表示显示区域之间的空隙。
在一些实施例中,为了美观,显示屏上显示区域旁边的空隙可以显示有图案(例如壁纸图案),或者显示桌面背景,即露出部分桌面背景。
再示例性的,预设比例包括16:9和16:8,参见图6中的(d),第一显示区域601与第二显示区域602的纵横比和尺寸不同,第一显示区域601的纵横比为16:8,与预设比例16:8的差值为0,该差值小于预设值2;第二显示区域602的纵横比为4:3,与预设比例16:9的差值小于预设值2;第一显示区域601与第二显示区域602的纵向长度相等,第一显示区域601与第二显示区域602的横向长度不相等。
为了美观和整齐,并充分利用显示屏的纵向长度,第一显示区域和第二显示区域的纵向长度与横屏状态下平板显示屏的纵向长度相等。这样,第一应用的不同界面在第一显示区域和第二显示区域内显示时的显示高度相同。
可以理解的是,第一显示区域和第二显示区域的纵向长度也可以小于横屏状态下显示屏的纵向长度。
在一些实施例中,平板在横屏状态下的显示屏包括的多个显示区域可以是预设的。举例来说,预设比例为16:9,预设值2为0.7,平板横屏时显示屏的纵横比为10:16,显示屏包括第一显示区域和第二显示区域,第一显示区域和第二显示区域的纵横比均为16:12(即4:3),16:12与预设比例16:9的差值的绝对值小于预设值2。
在另一些实施例中,平板在横屏状态下的显示屏包括的多个显示区域可以是用户设置的。示例性的,如图7所示,平板的设置界面701(该设置界面可以在竖屏状态下显示,也可以在横屏状态下显示)上显示有显示区域的设置控件,用户可以自行设置第一显示区域的纵横比和第二显示区域的纵横比,或者用户可以从设置界面上选择第一显示区域的纵横比和第二显示区域的纵横比。
再示例性的,如图8中的(a)所示,平板的设置界面801上显示有横屏状态下的显示区域数量设置控件802和显示区域的范围设置控件803。在用户设置显示区域的数量为2,并点击控件803之后,如图8中的(b)所示,平板可以提示用户设置第一显示区域的范围,用户可以在显示屏上拖动以设置第一显示区域的范围。在用户停止拖动后,如图8中的(c)所示,平板可以显示确定第一显示区域的范围的控件804和取消设置的控件805。在用户点击控件804后,参见图8中的(d),平板可以提示用户设置第二显示区域的范围。
再示例性的,在用户于设置界面801上设置显示区域的数量为2,并点击控件803之后,如图9所示,平板的设置界面上显示有第一分界线901和第二分界线902,用户可以拖动第一分界线以设定第一显示区域的尺寸和纵横比,拖动第二分界线以设定第二显示区域的尺寸 和纵横比。当第一显示区域的纵横比与预设比例的差值的绝对值大于预设值2时,平板可以提示用户第一显示区域的横向长度过宽或过窄,以使得用户设置的第一显示区域的纵横比与预设比例相差较小。同样地,当第二显示区域的纵横比与预设比例的差值的绝对值大于预设值2时,平板可以提示用户第二显示区域的横向长度过宽或过窄,以使得用户设置的第二显示区域的纵横比与预设比例相差较小。
再示例性的,作为图9的一种替换方案,平板的设置界面上显示有第一分界线、第二分界线、第三分界线和第四分界线。用户可以拖动第一分界线和第二分界线以设定第一显示区域的尺寸和纵横比,用户可以拖动第三分界线和第四分界线以设定第二显示区域的尺寸和纵横比。
当然,用户还可以通过其他方式设置横屏状态下显示屏包括的显示区域,本申请实施例不予限定。
在本申请实施例中,同一应用的不同界面之间可以有上、下层级之分。平板可以根据待显示界面与已显示界面之间的层级关系,在显示屏的显示区域内显示待显示界面。
例如,同一应用的不同界面可以对应相同的活动(Activity),也可以对应不同的Activity。当不同界面对应同一活动Activity时,这些界面可以对应同一层级。当不同界面对应不同的活动Activity时,这些界面对应不同的层级。响应于用户在一个界面上的操作,该界面可以调用另一个界面。当主动调用的界面与被调用界面对应相同的Activity时,主动调用的界面与被调用界面可以对应相同的层级;当主动调用的界面与被调用界面对应不同的Activity时,被调用的界面为主动调用的界面的下一个层级。
示例性的,主动调用的界面可以为图5C中的界面507,被调用的界面可以为图5C中的界面509,界面509与界面507对应不同的Activity,界面509为界面507下一层级的界面。
在一种技术方案中,平板对界面间的调用的过程可以通过先进后出的栈来实现。举例来说,当平板调用并显示界面1时,该界面1入栈;当界面1调用界面2时,界面2入栈;当用户从当前的界面2返回界面1时,当前界面2出栈。此外,当平板检测到用户在当前界面上的返回操作(例如用户在当前界面上点击返回控件的操作)时,响应于该操作,返回之前主动调用当前界面的界面。
再例如,平板上预设有不同Activity之间的层级关系,层级高的Activity对应的界面的层级也高,层级低的Activity对应的界面的层级也低。例如,头条应用中,关注、推荐、热点、视频、头条号的资讯列表界面对应的Activity的层级,高于资讯详细页面(该详细页面是一个界面)对应的Activity的层级;关注、推荐、热点、视频、头条号的资讯列表界面的层级,也高于资讯详细页面的层级。
基于界面间的层级关系,在上述步骤404之后,上述步骤405具体可以包括:若第二界面为第一界面的下一层级的界面,则平板在第二显示区域内显示第二界面。即,平板在第二显示区域内显示第一界面下一层级的界面。示例性的,当用户在图5B中所示的头条的主页上点击一条资讯(例如,点击台风“山竹”强势来袭)时,该条资讯的详细页面的层级低于头条的主页的层级,平板在第二显示区域内显示该条资讯的详细页面。此外,在上述步骤404之后,该方法还可以包括:若第二界面与第一界面对应同一层级,则平板在第一显示区域内显示第二界面。即,平板在第一显示区域内显示与第一界面同一层级的界面。示例性的,当用户点击图5B中的“热点”时,平板在第一显示区域内显示“热点”的界面。
基于界面间的层级关系,在上述步骤405之后,当平板再接收到用户在第一界面上打开第一应用的其他界面的操作时,平板可以根据待显示界面与已显示界面之间的层级关系,在 显示屏的显示区域内显示待显示界面。
例如,在上述步骤405之后,平板在第一显示区域内显示与第一应用的第一界面对应同一层级的第一应用的其他界面,在第二显示区域内显示第一界面下一层级的界面。具体的,参见图4B,在步骤405之后,该方法还可以包括:
406、平板检测到在第一界面上的第三操作,第三操作用于打开第一应用的第三界面。
407、若第三界面与第一界面对应相同的层级,则平板响应于第三操作,在第一显示区域内显示第三界面,第二显示区域内仍显示第二界面。
示例性的,在图5C的基础上,第一显示区域内的第一界面为界面507,第二显示区域内的界面为界面509,第三操作可以为用户在图5C的第一界面507上点击“热点”控件的操作,第三界面可以为“热点”资讯列表界面。“热点”资讯列表界面与界面507对应相同的Activity,属于同一层级,因而参见图10A,平板可以在第一显示区域内将界面507(即第一界面)更新为“热点”资讯列表界面1001,并在第二显示区域内仍然显示界面509(即第二界面)。
在一些实施例中,一个Activity可以对应一个窗口,该Activity对应的不同界面可以称为该窗口的子窗口或碎片(flagment)。
408、若第三界面为第一界面的下一层级的界面,则平板响应于第三操作,在第二显示区域内显示第三界面,第一显示区域内仍显示第一界面。
示例性的,在图5C的基础上,第一显示区域内的第一界面为界面507,第二显示区域内的界面为界面509,第三操作可以为用户在图5C的界面507上点击另一条资讯(比如“***对首个“中国医师节”作出重要指示”)的操作,第三界面可以为“***对首个“中国医师节”作出重要指示”的详细页面(该详细页面是一个界面)。“***对首个“中国医师节”作出重要指示”的详细页面与第一界面507对应不同的Activity,对应不同的层级;且界面507调用了“***对首个“中国医师节”作出重要指示”的详细页面,“***对首个“中国医师节”作出重要指示”的详细页面为界面507下一层级的界面;因而参见图10B,平板可以在第二显示区域内显示“***对首个“中国医师节”作出重要指示”的详细页面1002,并在第一显示区域内仍然显示界面507(即第一界面)。
在步骤401A/401B-408描述的方案中,当第一界面为第一应用的主页时,第一显示区域仅用于显示第一应用的主页和主页的同层级页面,第二显示区域用于显示第一应用的其他界面。这样,可以便于用户在主页或主页的同级页面上频繁操作,而不需要频繁调出主页或主页后再进行操作。在该种显示方法下,第一应用可以为新闻资讯类应用,比如可以为头条应用、搜狐新闻、网易新闻,以及可以包括两个层级(或两个Activity)的界面的应用等。
示例性的,对比图5C和图10B,第一应用为头条,第一显示区域位于第二显示区域的左边,第一显示区域可以用于显示头条的主页(如,图5C中左边的显示区域内显示的界面)或头条主页的同级页面(如,用户点击图5C中左边区域内显示的界面上的“热点”控件后平板显示的界面),以方便用户频繁地在第一显示区域内头条的主页或主页的同级页面上点击资讯,从而在第二显示区域内查看不同资讯的详细信息。
此外,若第三界面为第一界面的上一层级的界面,则平板响应于第三操作,在第一显示区域内显示第三界面,在第二显示区域内显示第一界面;或者,平板响应于第三操作,在第一显示区域内显示第三界面,第二显示区域内仍显示第二界面。
基于界面间的层级关系,在上述步骤405或步骤408之后,当平板再接收到用户在第二界面上打开第一应用的其他界面的操作时,平板可以根据待显示界面与已显示界面之间的层级关系,在显示屏的显示区域内显示待显示界面。
例如,在上述步骤405或步骤408之后,在平板检测到用户在第二界面上用于指示打开第一应用的新的界面的操作时,无论该新的界面与第二界面对应同一层级,还是该新的界面为第二界面的下一层级的界面,平板均响应于该操作,在第二显示区域内显示该新的界面。具体的,在步骤405或步骤408之后,该方法还可以包括:
409、平板检测到在第二界面上的第四操作,第四操作用于打开第一应用的第四界面。
410、若第四界面与第二界面对应相同的层级,或者第四界面为第二界面的下一层级的界面,则平板响应于第四操作,在第二显示区域内显示第四界面,第一显示区域内显示的界面不变。
其中,第一显示区域内显示的界面不变是指,若在平板检测到第四操作之前,第一显示区域内显示的是第一界面,则响应于第四操作,在第二显示区域内显示第四界面时,第一显示区域内还显示第一界面;若在平板检测到第四操作之前,第一显示区域内显示的是第三界面,则响应于第四操作,在第二显示区域内显示第四界面时,第一显示区域内还显示第三界面。
示例性的,参见图11A,第一界面可以是淘宝的主页1101,第二界面可以是用户在第一界面上搜索帽子后显示的帽子列表界面1102,第一界面显示在第一显示区域内,第二界面显示在第二显示区域内。
在图11A的基础上,第四操作可以为用户在图11A的第二界面上点击其中一个帽子的链接的操作,第四界面可以为该帽子链接的详细页面(该详细页面是一个界面),帽子链接的详细页面是帽子列表界面1102的下一层级的界面,因而参见图11B,平板可以在第二显示区域内显示帽子链接的详细页面1103(即第四界面),第一显示区域内仍显示淘宝的主页1101(即第一界面)。
在步骤401A/401B-410描述的方案中,当第一界面为第一应用的主页时,第一显示区域仅用于显示第一应用的主页和主页的同层级页面,第二显示区域用于显示第一应用的其他界面。这样,可以便于用户在主页或主页的同级页面上频繁操作,而不需要频繁调出主页或主页后再进行操作。
再例如,在上述步骤405或步骤408之后,平板在第二显示区域内显示的界面是在第一显示区域内显示的界面的下一层级的界面。这样,用户可以在显示屏上浏览两个相邻层级的界面的内容,方便用户对两个相邻层级的界面内容进行对比和操作。具体的,在步骤409之后,该方法还可以包括:
411、若第四界面与第二界面对应相同的层级,则平板响应于第四操作,在第二显示区域内显示第四界面,第一显示区域内显示的界面不变。
示例性的,在图11A的基础上,第一界面可以是淘宝的主页1101,第二界面可以是帽子列表界面1102,第四操作可以为用户在图11A的界面1102上点击“天猫”控件的操作,第四界面可以是“天猫”的帽子列表界面,平板可以在第二显示区域内显示“天猫”的帽子列表界面,并在第一显示区域内仍然显示界面1101。
412、若第四界面为第二界面的下一层级的界面,则平板响应于第四操作,在第二显示区域内显示第四界面。
413、平板响应于第四操作,在第一显示区域内显示第二界面。
示例性的,在图11A的基础上,第一界面可以是淘宝的主页1101,第二界面可以是帽子列表界面1102,第四操作可以为用户在图11A的界面1102上点击其中一个帽子的链接的操作,第四界面可以为该帽子链接的详细页面,帽子链接的详细页面是帽子列表界面1102的下 一层级的界面,因而参见图11C,平板可以在第二显示区域内显示帽子链接的详细页面1103(即第四界面),将第一显示区域内的淘宝的主页1101(即第一界面)更新为帽子列表界面1102(即第二界面)。这样,用户可以同时看到第一显示区域内的各种帽子的图片和链接,和第二显示区域内当前打开的其中一种帽子的图片和详细信息,从而方便用户对比不同帽子的材质、价格、产地等特性,便于用户了解和购买。
示例性的,在该种显示方式下,第一应用可以是购物类应用,比如淘宝、亚马逊购物、京东购物,以及可以包括3个或以上层级(或多个Activity)的界面的应用等。
在一些实施例中,平板上保存有不同显示方案与应用的对应关系。当平板打开一个应用时,可以根据该对应关系中该平板对应的显示方式来显示该应用的界面。例如,上述步骤401-410描述的显示方案(称为显示方案一)可以对应头条、搜狐新闻、网易新闻等应用;上述步骤401-407、步骤411-413描述的显示方案(称为显示方案二)对应淘宝、亚马逊购物、京东购物等应用。在另一些实施例中,用户也可以主动设置应用与显示方案的对应关系。
在上述步骤405、步骤408、步骤410或步骤413之后,在平板检测到在第二界面上,用于打开第一应用的第五界面的第五操作后,若第五界面为第二界面的上一层级的界面,则平板响应于第五操作,可以执行的显示方案包括:
在第二显示区域内显示第五界面,第一显示区域内显示的界面不变。示例性的,在图11B的基础上,第二显示区域内的第二界面为界面1103,第一显示区域内的界面为界面1101,第五操作为用户在界面1103上点击返回控件(例如回退back键)的操作,第五界面为界面1102。平板响应于第五操作,在第二显示区域内显示界面1102,在第一显示区域内仍显示界面1101。
或者,平板在第一显示区域内显示第五界面,第二显示区域内显示的界面不变。示例性的,在图11B的基础上,第二显示区域内显示的第二界面为界面1103,第一显示区域内显示的界面为界面1101,第五操作为用户在界面1103上点击返回控件的操作,第五界面为界面1102。平板响应于第五操作,在第一显示区域内显示界面1102,在第二显示区域内仍显示界面1103。
或者,平板停止在第二显示区域内显示第二界面,第二显示区域内显示的内容为桌面,即露出部分桌面背景,且仍在第一显示区域内显示第一界面。示例性的,在图11A的基础上,第二显示区域内的第二界面为界面1102,第一显示区域内的界面为界面1101,第五操作为用户在界面1103上点击返回控件的操作,第五界面为界面1101。平板响应于第五操作,在第一显示区域内仍然显示界面1101,在第二显示区域内显示桌面,即第二显示区域内露出部分桌面背景。
在不考虑界面间层级关系的情况下,在上述步骤405之后,该方法还可以包括以下几种显示方案:
(1)、平板检测到在第一界面上的第六操作,第六操作用于打开第一应用的第六界面。平板响应于第六操作,在第二显示区域内显示第六界面,第一显示区域内仍显示第一界面。也就是说,平板始终在第一显示区域内显示第一应用的第一界面,而在第二显示区域内显示第一界面调用的第一应用的其他界面。从而,当第一界面为第一应用的主页时,主页可以保持显示在第一显示区域内,方便用户频繁地对主页进行操作。
示例性的,在图5C的基础上,第一显示区域内的第一界面为界面507,第二显示区域内的第二界面为界面509。若平板检测到用户在界面507上点击“热点”控件的操作,则在第二显示区域内显示“热点”的资讯列表界面;若平板检测到用户在界面507上点击一条资讯的操作,则在第二显示区域内显示该资讯链接的详细信息。
(2)、平板检测到在第一显示区域或第二显示区域内的第七操作,第七操作用于打开第一应用的第七界面。平板响应于第七操作,在第二显示区域内显示第六界面,第一显示区域内仍显示第一界面。也就是说,平板始终在第一显示区域内显示第一应用的第一界面,而在第二显示区域内显示第一应用的除第一界面以外的其他界面。从而,当第一界面为第一应用的主页时,主页可以保持显示在第一显示区域内,方便用户频繁地对主页进行操作。
示例性的,在图11A的基础上,第一显示区域内的界面可以是淘宝的主页1101,第二显示区域内的界面可以是帽子列表界面1102。若平板在检测到用户在第一显示区域内的界面1101或第二显示区域内的界面1102上,用于打开第一应用的其他界面的操作,则在第二显示区域内显示该其他界面,而在第一显示区域内保持显示界面1101。
(3)、若平板检测到在第一显示区域内的第八操作,第八操作用于打开第一应用的第八界面,则平板响应于第八操作,在第二显示区域内显示第八界面,第一显示区域内仍显示第一界面。若平板检测到在第二显示区域内的第九操作,第九操作用于打开第一应用的第九界面,则平板响应于第九操作,在第一显示区域内显示第九界面,第二显示区域内仍显示第二界面。也就是说,平板通过第一显示区域内的界面调用的第一应用的其他界面,显示在第二显示区域内;平板通过第二显示区域内的界面调用的其他界面,显示在第一显示区域内。即,平板通过某一显示区域内的界面上调用的其他界面,显示在另一显示区域内,这样可以方便对比主动调用的界面和被调用界面。
示例性的,在图11A的基础上,第一显示区域内的界面可以是淘宝的主页1101,第二显示区域内的界面可以是帽子列表界面1102。若平板在检测到用户在第一显示区域内的界面1101上,用于打开第一应用的其他界面的操作,则在第二显示区域内显示该其他界面,而在第一显示区域内保持显示界面1101。若平板在检测到用户在第二显示区域内的界面1102上,用于打开第一应用的其他界面的操作,则在第一显示区域内显示该其他界面,而在第二显示区域内保持显示界面1102。
(4)、若平板检测到在第一显示区域内的第八操作,第八操作用于打开第一应用的第八界面,则平板响应于第八操作,在第一显示区域内显示第八界面,第二显示区域内仍显示第二界面。若平板检测到在第二显示区域内的第九操作,第九操作用于打开第一应用的第九界面,则平板响应于第九操作,在第二显示区域内显示第九界面,第一显示区域内仍显示第一界面。也就是说,平板通过第一显示区域内的界面调用的第一应用的其他界面,显示在第一显示区域内;平板通过第二显示区域内的界面调用的其他界面,显示在第二显示区域内。即,平板通过某一显示区域内的界面上调用的其他界面,仍显示在该显示区域内。这样具有调用关系的界面显示在同一显示区域内。
示例性的,在图11A的基础上,第一显示区域内的界面可以是淘宝的主页1101,第二显示区域内的界面可以是帽子列表界面1102。若平板在检测到用户在第一显示区域内的界面1101上,用于打开第一应用的其他界面的操作,则在第一显示区域内显示该其他界面,而在第二显示区域内保持显示界面1102。若平板在检测到用户在第二显示区域内的界面1102上,用于打开第一应用的其他界面的操作,则在第二显示区域内显示该其他界面,而在第一显示区域内保持显示界面1101。
进一步地,当平板退出第一应用回到桌面后,若检测到用户在桌面上用于指示打开第二应用的操作,或者检测到用户语音指示打开第二应用的操作时,与平板显示第一应用的界面的方式相同,平板可以显示第二应用的界面。例如,在平板显示第一应用的界面后,若平板返回到桌面,并且检测到用户在桌面上用于指示打开第二应用的触摸操作,则平板显示第二 应用的界面。
在一些实施例中,在步骤401-410描述的方案中,当平板检测到用户在第一应用的界面上用于指示打开第二应用的操作时,平板可以在第二显示区域内显示第二应用的界面。例如,第一应用为头条,第二应用为微信,用户在头条应用的界面上指示通过微信分享时,平板检测到用户在头条应用的界面上用于指示打开微信的操作,平板可以在第二显示区域内显示微信的界面,第一显示区域内显示的内容不变。而后,在退出第二显示区域内显示的第二应用的界面时,平板可以提示用户是返回第一应用还是留在第二应用。若用户指示返回第一应用,则平板在第二显示区域内恢复显示第一应用的界面(在显示第二应用的界面之前的第一应用的界面),第一显示区域内显示的内容不变;若用户指示留在第二应用,则平板不再显示第一应用的界面,而在第一显示区域内显示第二应用的主页,并根据步骤404-413显示第二应用的其他界面,这里不予赘述。
在一些实施例中,平板可以根据用户选择的显示方式显示第一界面。具体的,参见图12,上述步骤403可以包括:
1201、平板确定第一应用是否支持横屏全屏显示。若不支持则执行步骤1202;若支持则执行步骤1203。
1202、平板在显示屏的第一显示区域内显示第一应用的第一界面。
1203、平板提示用户选择显示方式,显示方式包括横屏全屏显示和区域显示,然后执行步骤1204。
1204、平板确定用户选择的显示方式。若平板检测到用户选择采用区域显示方式,则执行步骤1202,若平板检测到用户选择采用横屏全屏显示方式,则执行步骤1205。
1205、平板在横屏状态下全屏显示第一界面。
其中,区域显示方式是指本申请实施例提供的,在横屏状态下,平板在显示屏的显示区域内显示应用的界面的方式。也就是说,平板在显示第一应用的界面之前,可以先确定第一应用是否支持横屏全屏显示。若第一应用不支持横屏全屏显示,则平板采用本申请实施例提供的区域显示方法,在第一显示区域内显示第一应用的第一界面,并显示第一应用的其他界面。
若第一应用支持横屏全屏显示,则一种情况下,平板可以默认通过横屏全屏显示的方式显示第一应用的界面;另一种情况下,平板可以询问用户采用横屏全屏显示方式还是采用本申请实施例提供的区域显示方式。如果用户指示采用横屏全屏显示方式,则平板通过横屏全屏显示的方式显示第一应用的界面;如果用户指示采用区域显示的方式,则平板采用本申请实施例提供的显示方法显示第一应用的界面。例如,参见图13,平板可以通过提示框1301来提示用户采用何种显示方式。或者,用户可以设置一些白名单,白名单中的应用在平板横屏时采用区域显示方式。或者,白名单中的应用在平板横屏时采用全屏显示方式。
在另一些实施例中,平板在横屏状态下通过区域显示方式显示第一应用的界面,当平板由横屏状态切换到竖屏状态之后,平板可以在竖屏状态下全屏显示第一应用的界面。
此时,平板在竖屏状态下全屏显示的第一应用的界面可以为,平板在横屏状态下的显示区域内最新显示的界面。示例性的,在图11A的基础上,平板在横屏状态下的显示区域内最新显示的界面为界面1102,当平板由横屏状态切换到竖屏状态之后,平板可以在竖屏状态下全屏显示界面1102。
或者,平板在竖屏状态下全屏显示的第一应用的界面可以为,平板在横屏状态下的显示区域内最新检测到用户操作的界面。示例性的,在图11A的基础上,平板在横屏状态下的显 示区域内最新检测到用户操作的界面为界面1101,当平板由横屏状态切换到竖屏状态之后,参见图14,平板可以在竖屏状态下全屏显示界面1101。
或者,平板在竖屏状态下全屏显示的第一应用的界面可以为,平板在横屏状态下的预设显示区域内最新显示的界面。示例性的,预设显示区域为第一显示区域,在图11A的基础上,第一显示区域内的界面为界面1101,当平板由横屏状态切换到竖屏状态之后,平板可以在竖屏状态下全屏显示界面1101。
由于在竖屏状态下,平板显示屏的纵横比与预设比例的差值的绝对值通常小于或者等于预设值2,即平板显示屏的纵横比与预设比例相差较小,因而平板可以在竖屏状态下正常显示应用的界面。平板在横屏状态下显示第一应用的界面之后,若平板切换到竖屏状态,则平板在竖屏状态下正常显示(竖屏全屏显示)第一应用的界面。并且,平板在检测到用户用于打开另一界面的操作时,在竖屏状态下正常显示另一界面。即,平板在竖屏状态和横屏状态均可以正常显示应用的界面。
以上是以在横屏状态下,平板的显示屏包括两个显示区域为例进行说明的。在其他一些实施例中,在横屏状态下,平板的显示屏也可以包括一个显示区域或两个以上的显示区域。
例如,参见图15,在横屏状态下,平板的显示屏包括一个显示区域1501,该显示区域的纵横比与预设比例的差值的绝对值小于或者等于预设值2,即该显示区域的纵横比与预设比例相差较小,在显示应用的界面时,平板可以在显示屏的该显示区域内正常显示应用的界面。
在一些实施例中,在横屏状态下,在显示第一应用的第一界面时,平板包括一个图13所示的显示区域1501,第一界面显示在该显示区域1501内。当平板继续显示第一应用的其他界面时,显示屏包括图6所示的显示区域601和显示区域602,第一应用的第一界面显示在第一显示区域601内,平板根据上述实施例描述的显示方法在显示区域601和显示区域602内显示第一应用的其他界面。
再例如,参见图16,在横屏状态下,平板的显示屏包括3个显示区域,即显示区域1601、显示区域1602和显示区域1603,平板可以在这3个显示区域内显示一个应用的不同界面。例如,若用户操作请求打开与当前显示区域内的界面对应同一层级的新界面,则在本显示区域显示该新界面。若用户操作请求打开当前显示区域内的界面上一层级的新界面,则在当前显示区域左侧的另一显示区域内显示该新界面;若当前显示区域左侧没有其他显示区域,则在当前显示区域内显示该新界面。若用户操作请求打开当前显示区域内的界面下一层级的新界面,则在当前显示区域右侧的另一显示区域内显示该新界面;若当前显示区域右侧没有其他显示区域,则在当前显示区域内显示该新界面。
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例描述的各示例的算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本实施例可以根据上述方法示例对电子设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块可以采用硬件的形式实现。需要说明的是,本实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图17示出了上述实施例中涉及的电子设备1700的一种可能的组成示意图,如图17所示,该电子设备1700可以包括:显示单元 1701和检测单元1702。
其中,显示单元1701可以用于支持电子设备1700执行上述步骤401A、步骤401B、步骤403、步骤405、步骤407、步骤408、步骤410、步骤411、步骤412、步骤413等,和/或用于本文所描述的技术的其他过程。
处理单元1702可以用于支持电子设备1700执行上述步骤402、步骤404、步骤406、步骤409等,和/或用于本文所描述的技术的其他过程。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
本实施例提供的电子设备1700,用于执行上述应用显示方法,因此可以达到与上述实现方法相同的效果。
在采用集成的单元的情况下,电子设备1700可以包括处理模块、存储模块和通信模块。其中,处理模块可以用于对电子设备1700的动作进行控制管理,例如,可以用于支持电子设备1700执行上述显示单元1701和检测单元1702执行的步骤。存储模块可以用于支持电子设备1700存储程序代码和数据等。通信模块,可以用于支持电子设备1700与其他设备的通信。
其中,处理模块可以是处理器或控制器。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,数字信号处理(digital signal processing,DSP)和微处理器的组合等等。存储模块可以是存储器。通信模块具体可以为射频电路、蓝牙芯片、Wi-Fi芯片等与其他电子设备交互的设备。
在一个实施例中,当处理模块为处理器,存储模块为存储器时,本实施例所涉及的电子设备可以为具有图2A所示结构的设备。
本申请的实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在电子设备上运行时,使得电子设备执行上述相关方法步骤实现上述实施例中的应用显示方法。
本申请的实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中电子设备执行的应用显示方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中电子设备执行的应用显示方法。
其中,本实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的 相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (18)

  1. 一种应用显示方法,其特征在于,所述方法包括:
    电子设备检测到第一操作,所述电子设备包括第一应用;
    所述电子设备响应于所述第一操作,在横屏状态下,在所述电子设备的显示屏的第一区域内显示第一应用的第一界面;
    其中,所述显示屏包括至少两个区域,所述至少两个区域包括所述第一区域和第二区域,不同区域之间未重叠;
    所述电子设备检测到在所述第一界面上的第二操作,所述第二操作用于打开所述第一应用的第二界面;
    所述电子设备响应于所述第二操作,在所述第二区域内显示所述第二界面。
  2. 根据权利要求1所述的方法,其特征在于,当所述电子设备响应于所述第一操作,在横屏状态下,在所述电子设备的显示屏的第一区域内显示第一应用的第一界面时,所述第二显示区域内不显示所述第一应用的界面。
  3. 根据权利要求1或2所述的方法,其特征在于,每个区域的纵横比与预设比例的差值的绝对值小于或者等于第一预设值,所述纵横比为横屏状态下区域的纵向长度与横向长度的比值。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,当所述电子设备响应于所述第二操作,在所述第二区域内显示所述第二界面时,所述第一区域内仍显示所述第一界面。
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述横屏状态为:所述显示屏的长边与水平面的夹角小于或者等于第二预设值的状态。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,在所述电子设备检测到所述第一操作之前,所述方法还包括:
    所述电子设备在所述横屏状态下全屏显示桌面;
    所述第一操作为用于打开所述第一应用的操作。
  7. 根据权利要求1-5任一项所述的方法,其特征在于,在所述电子设备检测到所述第一操作之前,所述方法还包括:
    所述电子设备在竖屏状态下全屏显示所述第一界面;
    所述第一操作为从所述竖屏状态切换为所述横屏状态的操作。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到在所述第一界面上的第三操作,所述第三操作用于打开所述第一应用的第三界面;
    若所述第三界面与所述第一界面对应相同的层级,则所述电子设备响应于所述第三操作,在所述第一区域内显示所述第三界面,所述第二区域内仍显示所述第二界面;或者
    若所述第三界面为所述第一界面的下一层级的界面,则所述电子设备响应于所述第三操作,在所述第二区域内显示所述第三界面,所述第一区域内仍显示所述第一界面。
  9. 根据权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到在所述第二界面上的第四操作,所述第四操作用于打开所述第一应用的第四界面;
    若所述第四界面与所述第二界面对应相同的层级,或者所述第四界面为所述第二界面的下一层级的界面,则所述电子设备响应于所述第四操作,在所述第二区域内显示所述第四界 面,所述第一区域内仍显示所述第一界面。
  10. 根据权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到在所述第二界面上的第四操作,所述第四操作用于打开所述第一应用的第四界面;
    若所述第四界面与所述第二界面对应相同的层级,则所述电子设备响应于所述第四操作,在所述第二区域内显示所述第四界面,所述第一区域内显示的界面不变;
    若所述第四界面为所述第二界面的下一层级的界面,则所述电子设备响应于所述第四操作,在所述第二区域内显示所述第四界面,在所述第一区域内显示所述第二界面。
  11. 根据权利要求9或10所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到在所述第二界面上的第五操作,所述第五操作用于打开所述第一应用的第五界面;
    若所述第五界面为所述第二界面的上一层级的界面,则所述电子设备响应于所述第五操作,在所述第二区域内显示所述第五界面,所述第一区域内显示的界面不变;
    或者,若所述第五界面为所述第二界面的上一层级的界面,则所述电子设备响应于所述第五操作,在所述第一区域内显示所述第五界面,所述第二区域内显示的界面不变。
  12. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到在所述第一界面上的第六操作,所述第六操作用于打开所述第一应用的第六界面;
    所述电子设备响应于所述第六操作,在所述第二区域内显示所述第六界面,所述第一区域内仍显示所述第一界面。
  13. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备检测到在所述第一区域或所述第二区域内的第七操作,所述第七操作用于打开所述第一应用的第七界面;
    所述电子设备响应于所述第七操作,在所述第二区域内显示所述第七界面,所述第一区域内仍显示所述第一界面。
  14. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:
    若所述电子设备检测到在所述第一区域内的第八操作,所述第八操作用于打开所述第一应用的第八界面;
    则所述电子设备响应于所述第八操作,在所述第二区域内显示所述第八界面,所述第一区域内仍显示所述第一界面;
    若所述电子设备检测到在所述第二区域内的第九操作,所述第九操作用于打开所述第一应用的第九界面;
    则所述电子设备响应于所述第九操作,在所述第一区域内显示所述第九界面,所述第二区域内仍显示所述第二界面。
  15. 根据权利要求1-14任一项所述的方法,其特征在于,所述电子设备在所述电子设备的显示屏的第一区域内显示第一应用的第一界面,包括:
    若所述第一应用不支持横屏全屏显示,则所述电子设备在所述显示屏的第一区域内显示所述第一应用的第一界面;
    若所述第一应用支持横屏全屏显示,则所述电子设备提示用户选择显示方式,所述显示方式包括横屏全屏显示方式和区域显示方式;响应于用户选择所述区域显示方式,所述电子设备在所述显示屏的第一区域内显示所述第一应用的第一界面。
  16. 根据权利要求1-15任一项所述的方法,其特征在于,所述方法还包括:
    若所述电子设备切换到竖屏状态,则所述电子设备在竖屏状态下全屏显示所述第一应用的第十界面;
    其中,所述竖屏状态为:所述显示屏的长边与水平面的夹角大于第二预设值的状态。
  17. 根据权利要求16所述的方法,其特征在于,
    所述第十界面为所述电子设备在横屏状态下最新显示的界面;
    或者,所述第十界面为所述电子设备在横屏状态下最新检测到用户操作的界面;
    或者,所述第十界面为所述电子设备在横屏状态下的预设区域内最新显示的界面。
  18. 一种电子设备,包括显示屏,存储器,一个或多个处理器,多个应用程序,以及一个或多个程序;其中所述一个或多个程序被存储在所述存储器中;其特征在于,所述一个或多个处理器在执行所述一个或多个程序时,使得所述电子设备实现如权利要求1至17中任一项所述的应用显示方法。
PCT/CN2019/119574 2018-11-26 2019-11-20 一种应用显示方法及电子设备 WO2020108356A1 (zh)

Priority Applications (13)

Application Number Priority Date Filing Date Title
ES19890725T ES2981860T3 (es) 2018-11-26 2019-11-20 Método de exposición de aplicación y dispositivo electrónico
KR1020217018831A KR102522266B1 (ko) 2018-11-26 2019-11-20 애플리케이션 디스플레이 방법 및 전자 장치
KR1020227045761A KR102575123B1 (ko) 2018-11-26 2019-11-20 애플리케이션 디스플레이 방법 및 전자 장치
BR122022006833-2A BR122022006833B1 (pt) 2018-11-26 2019-11-20 Método de exibição de aplicação, dispositivo eletrônico e meio de armazenamento em computador
EP19890725.5A EP3872609B1 (en) 2018-11-26 2019-11-20 Application display method and electronic device
KR1020227045759A KR102630338B1 (ko) 2018-11-26 2019-11-20 애플리케이션 디스플레이 방법 및 전자 장치
BR122022006826-0A BR122022006826B1 (pt) 2018-11-26 2019-11-20 Método de exibição de aplicação, dispositivo eletrônico e meio de armazenamento de computador
JP2021529290A JP7044943B2 (ja) 2018-11-26 2019-11-20 アプリケーション表示方法及び電子デバイス
BR112021010030-0A BR112021010030B1 (pt) 2018-11-26 2019-11-20 Método de exibição de aplicação, dispositivo eletrônico e meio de armazenamento em computador
US17/296,841 US11567623B2 (en) 2018-11-26 2019-11-20 Displaying interfaces in different display areas based on activities
EP24155422.9A EP4383055A3 (en) 2018-11-26 2019-11-20 Application display method and electronic device
JP2022042562A JP7473101B2 (ja) 2018-11-26 2022-03-17 アプリケーション表示方法及び電子デバイス
US17/985,442 US20230115868A1 (en) 2018-11-26 2022-11-11 Displaying Interfaces in Different Display Areas Based on Activities

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811420187.5A CN109814766B (zh) 2018-11-26 2018-11-26 一种应用显示方法及电子设备
CN201811420187.5 2018-11-26

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US17/296,841 A-371-Of-International US11567623B2 (en) 2018-11-26 2019-11-20 Displaying interfaces in different display areas based on activities
US17/985,442 Continuation US20230115868A1 (en) 2018-11-26 2022-11-11 Displaying Interfaces in Different Display Areas Based on Activities

Publications (1)

Publication Number Publication Date
WO2020108356A1 true WO2020108356A1 (zh) 2020-06-04

Family

ID=66601621

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/119574 WO2020108356A1 (zh) 2018-11-26 2019-11-20 一种应用显示方法及电子设备

Country Status (8)

Country Link
US (2) US11567623B2 (zh)
EP (2) EP4383055A3 (zh)
JP (2) JP7044943B2 (zh)
KR (3) KR102575123B1 (zh)
CN (9) CN114397982A (zh)
BR (3) BR112021010030B1 (zh)
ES (1) ES2981860T3 (zh)
WO (1) WO2020108356A1 (zh)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114397982A (zh) * 2018-11-26 2022-04-26 华为技术有限公司 一种应用显示方法及电子设备
CN110456951B (zh) * 2019-06-26 2021-10-26 华为技术有限公司 一种应用显示方法及电子设备
CN114816620A (zh) 2019-07-29 2022-07-29 华为技术有限公司 一种显示方法及电子设备
CN110515685A (zh) * 2019-08-02 2019-11-29 上海掌门科技有限公司 一种信息流展示方法与设备
CN114006625B (zh) * 2019-08-26 2023-03-28 华为技术有限公司 一种分屏显示方法与电子设备
CN110633043A (zh) * 2019-08-26 2019-12-31 华为技术有限公司 一种分屏处理方法及终端设备
CN112653958B (zh) * 2019-10-11 2023-07-14 Oppo广东移动通信有限公司 耳机盒、耳机装置及移动终端
CN111049976B (zh) * 2019-11-27 2021-05-28 维沃移动通信有限公司 界面显示方法、电子设备及计算机可读存储介质
CN112965642A (zh) * 2019-11-27 2021-06-15 中兴通讯股份有限公司 电子设备及其驱动方法、驱动模块、计算机可读存储介质
CN111399956B (zh) * 2020-03-12 2021-11-02 北京字节跳动网络技术有限公司 应用于显示设备的内容展示方法、装置和电子设备
CN111580718A (zh) * 2020-04-30 2020-08-25 北京字节跳动网络技术有限公司 应用程序的页面切换方法、装置、电子设备及存储介质
CN113986408A (zh) * 2020-07-09 2022-01-28 华为技术有限公司 应用页面显示方法和电子设备
CN114356463A (zh) * 2020-09-30 2022-04-15 广州三星通信技术研究有限公司 用于电子终端的应用显示方法及设备
CN114860136A (zh) * 2021-01-18 2022-08-05 华为技术有限公司 一种微件的显示方法与电子设备
CN114968144A (zh) * 2021-02-27 2022-08-30 华为技术有限公司 一种拼接显示的方法、电子设备和系统
CN113722028B (zh) * 2021-05-28 2022-10-28 荣耀终端有限公司 动态卡片显示方法及装置
KR20220165871A (ko) * 2021-06-08 2022-12-16 삼성디스플레이 주식회사 표시 장치 및 그 구동 방법
KR20230018669A (ko) * 2021-07-30 2023-02-07 삼성전자주식회사 확장 가능한 디스플레이를 갖는 전자 장치 및 이의 스크린 표시 방법
CN115705229A (zh) * 2021-08-06 2023-02-17 北京小米移动软件有限公司 显示控制方法和系统、移动终端、存储介质
CN117795463A (zh) * 2021-08-10 2024-03-29 三星电子株式会社 一种控制屏幕的方法及装置
CN114125520A (zh) * 2021-11-12 2022-03-01 深圳康佳电子科技有限公司 可旋转电视及其显示管理方法、装置、存储介质
CN116263686A (zh) * 2021-12-15 2023-06-16 比亚迪股份有限公司 终端的显示方法以及终端的显示装置
CN114398016B (zh) * 2022-01-12 2024-06-11 金华鸿正科技有限公司 界面显示方法和装置
CN117008772B (zh) * 2022-04-28 2024-11-05 华为技术有限公司 一种应用窗口的显示方法及电子设备
CN114968013B (zh) * 2022-05-13 2024-07-02 青岛海信移动通信技术有限公司 一种终端设备、功能设置方法和存储介质
CN116088832B (zh) * 2022-07-14 2024-06-18 荣耀终端有限公司 界面处理方法和装置
CN118012299A (zh) * 2022-11-10 2024-05-10 华为终端有限公司 显示方法、电子设备以及介质
CN117519865B (zh) * 2023-09-26 2024-09-27 荣耀终端有限公司 重新加载显示界面的方法和电子设备
CN117111813B (zh) * 2023-10-19 2024-02-20 深圳市慧为智能科技股份有限公司 一种显示适配方法、装置及电子设备、存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140218321A1 (en) * 2013-02-01 2014-08-07 Samsung Display Co., Ltd. Mobile device including a flexible display device and method of operating the same
CN106201409A (zh) * 2016-07-19 2016-12-07 宇龙计算机通信科技(深圳)有限公司 一种应用程序操作界面的处理方法及系统
CN107102806A (zh) * 2017-01-25 2017-08-29 维沃移动通信有限公司 一种分屏输入方法和移动终端
CN109814766A (zh) * 2018-11-26 2019-05-28 华为技术有限公司 一种应用显示方法及电子设备

Family Cites Families (76)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3816598B2 (ja) 1996-10-15 2006-08-30 アイシン・エィ・ダブリュ株式会社 ナビゲーション装置
US7234155B1 (en) 1999-08-27 2007-06-19 Kay Matthew W Automating commerce on a broadcast programming distribution network
EP1308046A1 (en) 2000-07-27 2003-05-07 Koninklijke Philips Electronics N.V. Method and arrangement for providing access to a consumer device
AU2002366840A1 (en) 2001-12-07 2003-07-09 Insight Communications Electronic buying guide architecture
JP4145868B2 (ja) 2004-12-03 2008-09-03 株式会社ソニー・コンピュータエンタテインメント マルチメディア再生装置およびメニュー画面表示方法
US20060224951A1 (en) * 2005-03-30 2006-10-05 Yahoo! Inc. Multiple window browser interface and system and method of generating multiple window browser interface
US7596761B2 (en) 2006-01-05 2009-09-29 Apple Inc. Application user interface with navigation bar showing current and prior application contexts
JP4982505B2 (ja) * 2007-01-25 2012-07-25 シャープ株式会社 マルチウィンドウ管理装置及びプログラム、記憶媒体、並びに情報処理装置
US9933937B2 (en) 2007-06-20 2018-04-03 Apple Inc. Portable multifunction device, method, and graphical user interface for playing online videos
US20080319852A1 (en) * 2007-06-25 2008-12-25 Microsoft Corporation Interactive advertisement overlays on full-screen content
US9852761B2 (en) 2009-03-16 2017-12-26 Apple Inc. Device, method, and graphical user interface for editing an audio or video attachment in an electronic message
KR101640460B1 (ko) 2009-03-25 2016-07-18 삼성전자 주식회사 휴대 단말기의 분할 화면 운용 방법 및 이를 지원하는 휴대 단말기
KR20110014040A (ko) 2009-08-04 2011-02-10 엘지전자 주식회사 이동 단말기 및 그의 아이콘 충돌 제어방법
KR20120019603A (ko) * 2010-08-26 2012-03-07 삼성전자주식회사 터치 기반 입력 인터페이스를 가지는 터치 디바이스의 컨택트 리스트 제공 방법 및 장치
US9588545B2 (en) * 2010-10-01 2017-03-07 Z124 Windows position control for phone applications
KR20120048886A (ko) * 2010-11-08 2012-05-16 삼성전자주식회사 웹 페이지 출력 방법 및 장치
EP2469389B1 (en) 2010-12-24 2018-10-10 Lg Electronics Inc. Mobile terminal and method for changing page thereof
CN103477304A (zh) 2011-02-10 2013-12-25 三星电子株式会社 包含触摸屏显示器的便携式设备以及控制它的方法
CN102184075B (zh) * 2011-05-12 2013-08-07 北京瑞信在线系统技术有限公司 用户界面显示方法及装置
KR20120126491A (ko) 2011-05-12 2012-11-21 삼성전자주식회사 터치스크린을 구비한 휴대 단말기의 데이터 입력 방법 및 장치
EP2721467A4 (en) * 2011-06-20 2015-01-14 Alexander Buening SYSTEM AND METHOD FOR APPLICATION MANAGEMENT ON A DEVICE WITH A TOUCH SCREEN
US20130076654A1 (en) 2011-09-27 2013-03-28 Imerj LLC Handset states and state diagrams: open, closed transitional and easel
KR20130046482A (ko) 2011-10-28 2013-05-08 삼성전자주식회사 기본 화면 제어 방법 및 이를 지원하는 단말기
US9032292B2 (en) * 2012-01-19 2015-05-12 Blackberry Limited Simultaneous display of multiple maximized applications on touch screen electronic devices
US20130263042A1 (en) * 2012-03-27 2013-10-03 Alexander Buening Method And System To Manage Multiple Applications and Corresponding Display Status On A Computer System Having A Touch Panel Input Device
KR20130114336A (ko) * 2012-04-09 2013-10-17 삼성전자주식회사 단말기에서 페이지 표시 방법 및 장치
KR101917690B1 (ko) 2012-06-01 2018-11-13 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
CN103581754A (zh) * 2012-07-20 2014-02-12 腾讯科技(深圳)有限公司 一种数据显示方法及智能设备
KR20140046329A (ko) * 2012-10-10 2014-04-18 삼성전자주식회사 멀티 디스플레이 장치 및 그 디스플레이 제어 방법
KR20140068573A (ko) 2012-11-28 2014-06-09 삼성전자주식회사 디스플레이 장치 및 그 제어 방법
US10585553B2 (en) 2012-12-06 2020-03-10 Samsung Electronics Co., Ltd. Display device and method of controlling the same
KR102089951B1 (ko) 2013-03-14 2020-04-14 엘지전자 주식회사 이동 단말기 및 그것의 제어방법
JP6448062B2 (ja) 2013-05-07 2019-01-09 ノーム ザタロブスキ、ヨーニ パーソナライズされたカスタマイズ可能なスマートブラウザが動作可能なブラウジングのためのシステム
CN104182686A (zh) 2013-05-23 2014-12-03 阿里巴巴集团控股有限公司 一种Android系统Activity劫持风险检测方法及装置
CN103324435B (zh) * 2013-05-24 2017-02-08 华为技术有限公司 分屏显示的方法、装置及其电子设备
JPWO2014196063A1 (ja) 2013-06-06 2017-02-23 株式会社野村総合研究所 商品検索システムおよび商品検索プログラム
CN103309618A (zh) * 2013-07-02 2013-09-18 姜洪明 移动操作系统
KR20150039326A (ko) * 2013-10-02 2015-04-10 엘지전자 주식회사 이동 단말기 및 이의 제어 방법
KR102220085B1 (ko) 2013-10-18 2021-02-26 삼성전자주식회사 멀티윈도우 운용 방법 및 이를 지원하는 전자 장치
KR20150069184A (ko) 2013-12-13 2015-06-23 삼성전자주식회사 휴대형 전자장치의 화면 제어 방법
CN103744669B (zh) 2013-12-26 2017-07-18 世纪龙信息网络有限责任公司 安卓系统Activity插件的创建、调用方法及系统
KR20160001602A (ko) * 2014-06-26 2016-01-06 삼성전자주식회사 폴더블 전자 장치의 인터페이싱 방법 및 그 폴더블 전자 장치
CN104123498B (zh) 2014-07-18 2017-12-05 广州猎豹网络科技有限公司 一种安卓系统Activity的安全性确定方法及装置
US20160034157A1 (en) 2014-07-31 2016-02-04 Microsoft Corporation Region-Based Sizing and Positioning of Application Windows
CN105446755B (zh) 2014-08-06 2019-01-08 阿里巴巴集团控股有限公司 一种用于Android系统上快速加载Activity数据的方法和装置
JP2016062481A (ja) * 2014-09-19 2016-04-25 株式会社モバイルコマース 通信装置、その制御方法、およびプログラム
CN104461242B (zh) * 2014-12-08 2017-12-01 深圳市嘉乐派科技有限公司 一种基于Android操作系统的多窗口界面实现方法
CN105988759B (zh) * 2015-02-04 2019-04-19 华为技术有限公司 页面显示方法、装置及系统
CN106233237B (zh) * 2015-03-31 2019-09-20 华为技术有限公司 一种处理与应用关联的新消息的方法和装置
CN104750450A (zh) * 2015-04-03 2015-07-01 魅族科技(中国)有限公司 一种即时通信中的文件共享方法及终端
CN105353936B (zh) * 2015-09-14 2019-09-24 联想(北京)有限公司 一种显示方法及电子设备
CN105573755B (zh) 2015-12-15 2019-03-08 北京奇虎科技有限公司 一种应用Activity渲染时间获取方法和装置
KR20170076489A (ko) * 2015-12-24 2017-07-04 삼성전자주식회사 전자장치 및 그의 어플리케이션 프로그램 운용 방법
CN106940621B (zh) 2016-01-05 2020-03-03 腾讯科技(深圳)有限公司 图片处理的方法和装置
US20170221109A1 (en) * 2016-01-29 2017-08-03 Qualcomm Incorporated Ads management in a browser application
KR102480462B1 (ko) * 2016-02-05 2022-12-23 삼성전자주식회사 복수의 디스플레이들을 포함하는 전자 장치 및 그 동작 방법
WO2017185327A1 (zh) * 2016-04-29 2017-11-02 华为技术有限公司 一种用户界面显示方法及终端
US10353534B2 (en) * 2016-05-13 2019-07-16 Sap Se Overview page in multi application user interface
US10635299B2 (en) * 2016-06-10 2020-04-28 Apple Inc. Device, method, and graphical user interface for manipulating windows in split screen mode
CN106293584A (zh) * 2016-08-05 2017-01-04 深圳市金立通信设备有限公司 一种双屏显示方法及终端
US10976924B2 (en) * 2016-08-31 2021-04-13 Huawei Technologies Co., Ltd. Application interface display method and terminal device
CN106445514B (zh) 2016-09-13 2020-01-03 Tcl集团股份有限公司 一种管理Android平台的Activity实例的方法和装置
CN106648341B (zh) * 2016-11-18 2020-07-10 惠州Tcl移动通信有限公司 一种显示界面排版调整方法及系统
WO2018098259A1 (en) * 2016-11-22 2018-05-31 Carnegie Mellon University A search-ecosystem user interface for searching information using a software-based search tool
CN106778248B (zh) 2016-12-26 2020-07-14 北京奇虎科技有限公司 应用程序Activity启动的方法和装置
CN106708367A (zh) * 2016-12-30 2017-05-24 维沃移动通信有限公司 一种会话界面的显示方法及移动终端
CN106886413A (zh) 2017-02-21 2017-06-23 腾讯科技(深圳)有限公司 一种界面元素Activity的处理方法以及终端
US11089148B2 (en) * 2017-05-02 2021-08-10 Huawei Technologies Co., Ltd. Notification processing method and electronic device
CN107274272A (zh) 2017-06-20 2017-10-20 广州阿里巴巴文学信息技术有限公司 数据处理方法、装置和电子设备
CN108701001B (zh) * 2017-06-30 2021-05-18 华为技术有限公司 显示图形用户界面的方法及电子设备
CN107508990A (zh) * 2017-08-29 2017-12-22 北京安云世纪科技有限公司 一种分屏显示的方法以及终端设备
CN107832113A (zh) 2017-10-26 2018-03-23 青岛海信移动通信技术股份有限公司 一种Android系统应用程序的界面显示方法及装置
CN108415751B (zh) * 2018-03-12 2020-11-03 Oppo广东移动通信有限公司 消息提醒方法、装置、设备及存储介质
CN108509110A (zh) 2018-03-30 2018-09-07 广州视源电子科技股份有限公司 分屏显示和操作的方法、装置、终端设备及存储介质
CN108595100B (zh) 2018-04-19 2020-05-12 Oppo广东移动通信有限公司 分屏显示方法、装置、存储介质及电子设备
CN108614722B (zh) * 2018-05-10 2020-09-08 上海瑾盛通信科技有限公司 应用程序预加载方法、装置、存储介质及终端

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140218321A1 (en) * 2013-02-01 2014-08-07 Samsung Display Co., Ltd. Mobile device including a flexible display device and method of operating the same
CN106201409A (zh) * 2016-07-19 2016-12-07 宇龙计算机通信科技(深圳)有限公司 一种应用程序操作界面的处理方法及系统
CN107102806A (zh) * 2017-01-25 2017-08-29 维沃移动通信有限公司 一种分屏输入方法和移动终端
CN109814766A (zh) * 2018-11-26 2019-05-28 华为技术有限公司 一种应用显示方法及电子设备

Also Published As

Publication number Publication date
EP3872609A4 (en) 2021-12-29
EP3872609A1 (en) 2021-09-01
KR20230004964A (ko) 2023-01-06
JP7044943B2 (ja) 2022-03-30
CN114397983A (zh) 2022-04-26
KR20230004963A (ko) 2023-01-06
BR122022006833B1 (pt) 2023-12-05
CN114397978A (zh) 2022-04-26
JP7473101B2 (ja) 2024-04-23
EP4383055A3 (en) 2024-09-25
BR122022006826B1 (pt) 2023-12-05
KR102522266B1 (ko) 2023-04-14
CN114397979B (zh) 2022-11-22
EP3872609B1 (en) 2024-04-10
CN114397979A (zh) 2022-04-26
US20230115868A1 (en) 2023-04-13
KR20210091298A (ko) 2021-07-21
CN114397978B (zh) 2022-11-22
ES2981860T3 (es) 2024-10-10
CN109814766B (zh) 2021-11-02
EP4383055A2 (en) 2024-06-12
CN114397981A (zh) 2022-04-26
CN114397980A (zh) 2022-04-26
CN114706503A (zh) 2022-07-05
CN114546190A (zh) 2022-05-27
JP2022084769A (ja) 2022-06-07
JP2022507960A (ja) 2022-01-18
US20210405828A1 (en) 2021-12-30
CN114397980B (zh) 2024-09-24
CN114397982A (zh) 2022-04-26
BR112021010030B1 (pt) 2023-02-14
CN109814766A (zh) 2019-05-28
KR102630338B1 (ko) 2024-01-29
US11567623B2 (en) 2023-01-31
KR102575123B1 (ko) 2023-09-06
BR112021010030A2 (pt) 2021-08-17

Similar Documents

Publication Publication Date Title
WO2020108356A1 (zh) 一种应用显示方法及电子设备
WO2020259452A1 (zh) 一种移动终端的全屏显示方法及设备
WO2020103764A1 (zh) 一种语音控制方法及电子设备
WO2020000448A1 (zh) 一种柔性屏幕的显示方法及终端
WO2021000807A1 (zh) 一种应用程序中等待场景的处理方法和装置
CN115629730A (zh) 显示方法及相关装置
CN114327666B (zh) 应用启动方法、装置和电子设备
WO2020037611A1 (zh) 通知消息的处理方法及电子设备
WO2021036770A1 (zh) 一种分屏处理方法及终端设备
WO2020077540A1 (zh) 一种信息处理方法及电子设备
WO2021000804A1 (zh) 锁定状态下的显示方法及装置
CN113961157B (zh) 显示交互系统、显示方法及设备
WO2022262439A1 (zh) 网络资源的处理方法、电子设备及计算机可读存储介质
WO2021190524A1 (zh) 截屏处理的方法、图形用户接口及终端
WO2022179275A1 (zh) 终端应用控制的方法、终端设备及芯片系统
WO2023273543A1 (zh) 一种文件夹管理方法及装置
WO2022143180A1 (zh) 协同显示方法、终端设备及计算机可读存储介质
WO2024109481A1 (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: 19890725

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2021529290

Country of ref document: JP

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 122022006833

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112021010030

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 2019890725

Country of ref document: EP

Effective date: 20210528

ENP Entry into the national phase

Ref document number: 20217018831

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 112021010030

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20210524