WO2018228062A1 - 在分屏显示状态下显示应用界面的方法和移动终端 - Google Patents

在分屏显示状态下显示应用界面的方法和移动终端 Download PDF

Info

Publication number
WO2018228062A1
WO2018228062A1 PCT/CN2018/084665 CN2018084665W WO2018228062A1 WO 2018228062 A1 WO2018228062 A1 WO 2018228062A1 CN 2018084665 W CN2018084665 W CN 2018084665W WO 2018228062 A1 WO2018228062 A1 WO 2018228062A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
target application
application interface
mobile terminal
display state
Prior art date
Application number
PCT/CN2018/084665
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
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2018228062A1 publication Critical patent/WO2018228062A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display

Definitions

  • the present disclosure relates to the field of communications technologies, and in particular, to a method and a mobile terminal for displaying an application interface in a split screen display state.
  • the calculator interface in the mobile terminal can be divided into two forms: a common type computing interface and a scientific type computing interface.
  • the normal type computing interface can be displayed on the screen;
  • the scientific computing interface can be displayed on the screen.
  • the calculator scaled down according to a certain ratio can be displayed in the calculator display area.
  • the display effect of such a scheme is not aesthetically pleasing.
  • the display effect of displaying the application interface in the split screen display state is poor, and is not aesthetically pleasing.
  • an embodiment of the present disclosure provides a method for displaying an application interface in a split screen display state, which is applied to a mobile terminal, and the method includes:
  • an embodiment of the present disclosure further provides a mobile terminal, including:
  • a first determining module configured to determine an application interface display area of the target application if the mobile terminal is in a split screen display state
  • An obtaining module configured to obtain a length value of a horizontal side and a length value of a vertical side of the display area of the application interface
  • a calculation module configured to calculate a ratio of a length value of the lateral edge to a length value of the longitudinal edge
  • a selection module configured to select, in the at least two application interfaces included in the target application, a target application interface to be displayed corresponding to the ratio, and display the target application interface in the application interface display area.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor, a memory, and a control program displayed on the memory and operable on the processor to display an application interface in a split screen display state. And the step of implementing the method for displaying the application interface in the split screen display state when the control program for displaying the application interface is executed by the processor in the split screen display state.
  • an embodiment of the present disclosure further provides a computer readable storage medium having stored thereon a computer program, wherein the program is executed by the processor to implement the step of displaying the application interface in the split screen display state.
  • the mobile terminal if the mobile terminal is in the split screen display state, determining an application interface display area of the target application; acquiring a length value of the horizontal side and a length value of the vertical side of the display interface display area; a ratio of a length value of the lateral edge to a length value of the longitudinal edge; in at least two application interfaces included in the target application, selecting a target application interface to be displayed corresponding to the ratio, and The application interface display area displays the target application interface. If the mobile terminal is in the split screen display state, the mobile terminal may determine an application interface display area of the target application, and further obtain a length value of the horizontal side and a length value of the vertical side of the display area of the application interface, and then calculate a length value of the horizontal side. And the ratio of the length value of the longitudinal edge, and finally determining the target application interface to be displayed according to the calculated ratio, and displaying the target application interface in the application interface display area.
  • FIG. 1 is a flowchart of a method for displaying an application interface in a split screen display state according to an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of a general-type computing interface provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a scientific computing interface provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a vertical screen split screen provided by an embodiment of the present disclosure.
  • FIG. 5 is a flowchart of another method for displaying an application interface in a split screen display state according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of a horizontal screen left and right split screen provided by an embodiment of the present disclosure.
  • FIG. 7 is a structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • FIG. 8 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 9 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 10 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 11 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 12 is a structural diagram of another mobile terminal according to an embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for displaying an application interface in a split screen display state according to an embodiment of the present disclosure, which is applied to a mobile terminal. As shown in FIG. 1, the method includes the following steps 101 to 104.
  • Step 101 If the mobile terminal is in the split screen display state, determine an application interface display area of the target application.
  • step 101 there are various applications on the mobile terminal, and some applications have at least two different application interfaces.
  • the calculator interface in the mobile terminal can be divided into two forms: a common type computing interface and a scientific type computing interface.
  • the calculator interface is taken as an example for illustration.
  • a normal computing interface can contain three areas: a display area, a common arithmetic symbol area, and a digital area.
  • the normal type computing interface contains a small number of buttons, and the length of the lateral side of the normal type computing interface is generally smaller than the length of the longitudinal side.
  • FIG. 2 it is a schematic diagram of a common type computing interface.
  • the scientific computing interface can contain four areas: display area, common arithmetic symbol area, digital area, and scientific arithmetic symbol area.
  • the scientific computing interface contains a large number of buttons, and the length of the lateral side of the scientific computing interface is generally greater than the length of the longitudinal edge. As shown in Figure 3, it is a schematic diagram of a scientific computing interface.
  • the mobile terminal when the mobile terminal is in the vertical screen display state and is in the full screen display state, since the application interface display area is the entire screen, and the length value of the lateral side of the application interface display area is smaller than the length value of the vertical side, it may be on the screen.
  • the common type computing interface is displayed; when the mobile terminal is in the horizontal screen display state and is in the full screen display state, since the application interface display area is the entire screen, and the horizontal value of the horizontal side of the application interface display area is greater than the length value of the vertical side, A scientific computing interface can be displayed on the screen.
  • the application interface display area of the target application may be determined first, that is, the application interface display area of the calculator program may be determined first. For example, suppose that the mobile terminal is initially in the vertical display state and is in the full screen display state. After entering the split screen display state, after entering the vertical screen upper and lower split screen display state, the area above the dividing line can be used as a calculator program.
  • the application interface displays the area. As shown in FIG. 4, it is a schematic diagram of splitting the screen up and down. In FIG. 4, an area located above the dividing line is referred to as an A area, and an area located below the dividing line is referred to as a B area, and the A area can be used as an application interface display area of the calculator program.
  • Step 102 Obtain a length value of a lateral side and a length value of a longitudinal side of the display interface of the application interface.
  • the mobile terminal may obtain the length value and the vertical direction of the horizontal side of the application interface display area of the target application.
  • the length value of the edge that is, the length value of the lateral side of the display area of the application interface of the calculator program and the length value of the longitudinal side can be obtained, that is, the length value of the lateral side of the A area and the length value of the longitudinal side can be obtained.
  • Step 103 Calculate a ratio of a length value of the lateral side and a length value of the longitudinal side.
  • step 103 after obtaining the length value of the horizontal side and the length value of the vertical side of the application interface display area of the target application, the length value of the horizontal side of the application interface display area of the calculator program and the longitudinal side are obtained.
  • the mobile terminal can calculate the ratio of the length value of the lateral side to the length value of the longitudinal side.
  • Step 104 Select, in the at least two application interfaces included in the target application, a target application interface to be displayed corresponding to the ratio, and display the target application interface in the application interface display area.
  • step 104 after the mobile terminal calculates the ratio of the length value of the lateral edge to the length value of the longitudinal edge, the at least two application interfaces included in the target application may be selected to be displayed corresponding to the calculated ratio.
  • the target application interface that is, the target application interface to be displayed corresponding to the calculated ratio may be selected in two application interfaces included in the calculator program.
  • the length value of the lateral side of the display interface of the application program of the calculator program is greater than the length value of the longitudinal side, that is, the ratio of the length value of the lateral side and the length value of the longitudinal side is greater than 1, and can be displayed on the application interface.
  • the area displays the target application interface, that is, the scientific calculation interface can be displayed in the application interface display area of the calculator program, that is, the scientific calculation interface can be displayed in the A area.
  • the dividing line is free to move.
  • the mobile terminal can obtain the length value of the horizontal side and the length of the longitudinal side of the display interface of the application interface of the target application in real time, and then calculate the length value of the horizontal side and the length value of the vertical side in real time. ratio.
  • the calculated ratio is greater than 1
  • it may be determined that the target application interface to be displayed is a scientific computing interface, and then the scientific computing interface may be displayed in the application interface display area of the calculator program;
  • the calculated ratio is smaller than Or equal to 1
  • it can be determined that the target application interface to be displayed is a common type computing interface, and then the common type computing interface can be displayed in the application interface display area of the calculator program.
  • the mobile terminal may be a mobile phone, a tablet personal computer, a laptop computer, a personal digital assistant (PDA), or a mobile Internet device (Mobile Internet Device, MID) or wearable device (Wearable Device).
  • PDA personal digital assistant
  • Mobile Internet Device MID
  • Wearable Device Wearable Device
  • the method for displaying an application interface in a split screen display state is applied to a mobile terminal. If the mobile terminal is in the split screen display state, the application interface display area of the target application is determined; and the application interface is acquired. a length value of the lateral side of the display area and a length value of the longitudinal side; calculating a ratio of the length value of the lateral side to the length value of the longitudinal side; in at least two application interfaces included in the target application, selecting a target application interface to be displayed corresponding to the ratio, and displaying the target application interface in the application interface display area.
  • the mobile terminal may determine an application interface display area of the target application, and further obtain a length value of the horizontal side and a length value of the vertical side of the display area of the application interface, and then calculate a length value of the horizontal side. And the ratio of the length value of the longitudinal edge, and finally determining the target application interface to be displayed according to the calculated ratio, and displaying the target application interface in the application interface display area. In this way, the display interface of the display application interface in the split screen display state is better and more beautiful.
  • FIG. 5 is a flowchart of another method for displaying an application interface in a split screen display state according to an embodiment of the present disclosure, which is applied to a mobile terminal.
  • the display state of the mobile terminal can be determined first, and then the length value of the horizontal side and the length value of the vertical side of the application interface display area of the target application are determined, thereby determining the length value of the horizontal side. And the ratio of the length value of the longitudinal side, and finally determines the target application interface to be displayed according to the display state of the mobile terminal and the calculated ratio.
  • the method includes the following steps 501 to 505.
  • Step 501 If the mobile terminal is in the split screen display state, determine a display state of the mobile terminal, where the display state includes a horizontal screen display state and a vertical screen display state.
  • step 501 there are various applications on the mobile terminal, and some applications have at least two different application interfaces.
  • the calculator interface in the mobile terminal can be divided into two forms: a common type computing interface and a scientific type computing interface.
  • the calculator interface is taken as an example for illustration.
  • the scientific computing interface can be displayed on the screen at this time.
  • the display state of the mobile terminal may be determined first.
  • FIG. 6 it is a schematic diagram of a horizontal screen divided into left and right screens.
  • the area located to the left of the dividing line is referred to as a C area
  • the area located to the right of the dividing line is referred to as a D area.
  • Step 502 Determine an application interface display area of the target application.
  • step 502 after the mobile terminal is in the split screen display state and the display state of the mobile terminal is determined, the application interface display area of the target application may be further determined, that is, the application interface display area of the calculator program may be further determined.
  • the C area can be used as the application interface display area of the calculator program.
  • Step 503 Acquire a length value of a horizontal side and a length value of a vertical side of the display interface of the application interface.
  • the mobile terminal may obtain the length value and the vertical direction of the horizontal side of the application interface display area of the target application.
  • the length value of the edge that is, the mobile terminal can obtain the length value of the lateral side of the display interface of the application program of the calculator program
  • the length value of the longitudinal side that is, the mobile terminal can obtain the length value of the lateral side of the C area and the length of the longitudinal side. value.
  • Step 504 Calculate a ratio of a length value of the lateral edge to a length value of the longitudinal edge.
  • step 504 after obtaining the length value of the horizontal side and the length value of the vertical side of the application interface display area of the target application, the length value of the horizontal side of the application interface display area of the calculator program and the longitudinal side are obtained.
  • the mobile terminal After the length value, that is, after obtaining the length value of the lateral side of the C region and the length value of the longitudinal side, the mobile terminal can calculate the ratio of the length value of the lateral side and the length value of the longitudinal side.
  • Step 505 Determine, in at least two application interfaces included in the target application, a target application interface corresponding to the display state of the mobile terminal and corresponding to the ratio, and in the The application interface display area displays the target application interface.
  • the mobile terminal may include at least the target application.
  • the target application interface corresponding to the display state of the mobile terminal and corresponding to the calculated ratio is determined, and the target application interface is displayed in the application interface display area of the target application. That is, the mobile terminal may determine, in the two application interfaces included in the calculator program, the target application interface corresponding to the display state of the mobile terminal and corresponding to the calculated ratio, and apply in the calculator program.
  • the interface display area displays the target application interface.
  • the determining a target application interface that is to be displayed corresponding to the display state of the mobile terminal and corresponding to the ratio includes:
  • the ratio is less than or equal to 1, it is determined that the target application interface to be displayed is the common type computing interface.
  • the mobile terminal If it is determined that the mobile terminal is in the horizontal display state, it may be further determined whether the ratio of the length value of the lateral side of the application interface display area of the target application and the length value of the longitudinal side is greater than 1.
  • the target application interface to be displayed is determined to be a scientific computing interface, and the scientific computing interface can be displayed in the application interface display area of the calculator program, that is, the scientific computing interface can be displayed in the C region. .
  • the application interface of the calculator program has a large display area, and the corresponding scientific display interface can be displayed accordingly.
  • the scientific computing interface contains more buttons and more features that can be implemented.
  • the target application interface to be displayed is a common type computing interface
  • the normal type computing interface can be displayed in the application interface display area of the calculator program, that is, the common type can be displayed in the C area. Calculation interface.
  • the dividing line is free to move.
  • the mobile terminal can obtain the length value of the horizontal side and the length of the longitudinal side of the display interface of the application interface of the target application in real time, and then calculate the length value of the horizontal side and the length value of the vertical side in real time. ratio.
  • the calculated ratio is greater than 1
  • it may be determined that the target application interface to be displayed is a scientific computing interface, and then the scientific computing interface may be displayed in the application interface display area of the calculator program;
  • the calculated ratio is smaller than Or equal to 1
  • it can be determined that the target application interface to be displayed is a common type computing interface, and then the common type computing interface can be displayed in the application interface display area of the calculator program.
  • the mobile terminal is in the vertical display state, determine that the target application interface to be displayed is the common type computing interface.
  • the target application interface to be displayed is a common type computing interface, and then the normal type computing interface may be displayed in the application interface display area of the calculator program.
  • the dividing line is free to move.
  • the size of the normal type computing interface can be adjusted accordingly.
  • the mobile terminal enters the upper and lower split screen display state in the vertical screen display state, since the application interface display area of the calculator program is small, and the common type calculation interface contains fewer buttons, it can be used in the application interface of the calculator program.
  • the display area only displays the normal type calculation interface. This makes it easy for the user to click on the keys in the ordinary computing interface.
  • the target application is a calculator program
  • the calculator program includes a scientific computing interface and a common computing interface, where the at least two application interfaces included in the target application are selected and
  • the target application interface to be displayed corresponding to the ratio includes:
  • the ratio is less than or equal to 1, it is determined that the target application interface to be displayed is the common type computing interface.
  • the mobile terminal may first determine the application interface display area of the target application, that is, may first determine the application interface display area of the calculator program;
  • the application interface of the application displays the length value of the horizontal side of the area and the length value of the longitudinal side, that is, the length value of the horizontal side and the length of the longitudinal side of the display area of the application interface of the calculator program are acquired; then the length value of the horizontal side is calculated.
  • the ratio of the length value to the longitudinal edge Next, it can be judged whether the ratio is greater than 1.
  • the target application interface to be displayed is a scientific computing interface, and then the scientific computing interface may be displayed in the application interface display area of the calculator program; when it is determined that the calculated ratio is smaller than Or equal to 1, it can be determined that the target application interface to be displayed is a common type computing interface, and then the common type computing interface can be displayed in the application interface display area of the calculator program.
  • the method for displaying an application interface in a split screen display state is applied to a mobile terminal. If the mobile terminal is in a split screen display state, the display state of the mobile terminal may be determined first, and then the application interface of the target application may be determined. Displaying the area, obtaining the length value of the lateral side of the display area of the application interface and the length value of the longitudinal side, and then calculating the ratio of the length value of the lateral side and the length value of the longitudinal side, and finally calculating according to the display state of the mobile terminal and the calculated The ratio determines the target application interface to be displayed, and displays the target application interface in the application interface display area. In this way, the display interface of the display application interface in the split screen display state is better and more beautiful. At the same time, it is also convenient for the user to operate the buttons in the calculator interface.
  • FIG. 7 is a structural diagram of a mobile terminal provided by an implementation of the present disclosure.
  • the mobile terminal 700 includes a first determining module 701, an obtaining module 702, a calculating module 703, and a selecting module 704, where:
  • the first determining module 701 is configured to determine an application interface display area of the target application if the mobile terminal is in a split screen display state;
  • the obtaining module 702 is configured to obtain a length value of a horizontal side and a length value of a vertical side of the display interface of the application interface;
  • a calculating module 703, configured to calculate a ratio of a length value of the lateral side and a length value of the longitudinal side;
  • a selection module 704 configured to select, in the at least two application interfaces included in the target application, a target application interface to be displayed corresponding to the ratio, and display the target application interface in the application interface display area .
  • the target application is a calculator program
  • the calculator program includes a scientific computing interface and a common computing interface
  • the selecting module 704 includes:
  • a first determining sub-module 7041 configured to determine whether the ratio is greater than 1
  • a first determining sub-module 7042 configured to determine that the target application interface to be displayed is the scientific computing interface, if the ratio is greater than
  • the second determining sub-module 7043 is configured to determine that the target application interface to be displayed is the common type computing interface, if the ratio is less than or equal to 1.
  • the target application is a calculator program
  • the calculator program includes a scientific computing interface and a common computing interface
  • the mobile terminal further includes:
  • a second determining module 705, configured to determine a display state of the mobile terminal, where the display state includes: a horizontal screen display state and a vertical screen display state;
  • the selecting module 704 is specifically configured to: determine, in the at least two application interfaces included in the target application, a target application to be displayed corresponding to the display state of the mobile terminal and corresponding to the ratio interface.
  • the selecting module 704 further includes:
  • the second determining sub-module 7044 is configured to determine whether the ratio is greater than 1 if the mobile terminal is in the horizontal display state
  • a third determining sub-module 7045 configured to determine that the target application interface to be displayed is the scientific computing interface, if the ratio is greater than
  • the fourth determining sub-module 7046 is configured to determine that the target application interface to be displayed is the common type computing interface, if the ratio is less than or equal to 1.
  • the mobile terminal further includes:
  • the third determining module 706 is configured to determine that the target application interface to be displayed is the common type computing interface if the mobile terminal is in the vertical screen display state.
  • the mobile terminal 700 can implement various processes implemented by the mobile terminal in the method embodiments of FIG. 1 and FIG. 5, and details are not described herein again to avoid repetition.
  • the mobile terminal 700 can be configured to determine the display state of the mobile terminal 700 before the mobile terminal 700 is in the split screen display state, and then determine the application interface display area of the target application, and then obtain the horizontal edge of the application interface display area.
  • the display area displays the target application interface. In this way, the display interface of the display application interface in the split screen display state is better and more beautiful. At the same time, it is also convenient for the user to operate the buttons in the calculator interface.
  • FIG. 12 is a structural diagram of a mobile terminal provided by an implementation of the present disclosure.
  • the mobile terminal 1200 includes: at least one processor 1201, a memory 1202, at least one network interface 1204, and a user interface 1203, and is stored in the memory 1202 and operable on the processor 1201 in a split screen display state.
  • the various components in mobile terminal 1200 are coupled together by bus system 1205. It will be appreciated that the bus system 1205 is used to implement connection communication between these components.
  • the bus system 1205 includes a power bus, a control bus, and a status signal bus in addition to the data bus. However, for clarity of description, various buses are labeled as bus system 1205 in FIG.
  • the user interface 1203 may include a display, a keyboard, or a pointing device (eg, a mouse, a track ball, a touch pad, or a touch screen, etc.).
  • a pointing device eg, a mouse, a track ball, a touch pad, or a touch screen, etc.
  • the memory 1202 in the embodiments of the present disclosure may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read only memory (PROM), an erasable programmable read only memory (Erasable PROM, EPROM), or an electric Erase programmable read only memory (EEPROM) or flash memory.
  • the volatile memory can be a Random Access Memory (RAM) that acts as an external cache.
  • RAM Random Access Memory
  • many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (Synchronous DRAM).
  • SDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM Enhanced Synchronous Dynamic Random Access Memory
  • SDRAM Synchronous Connection Dynamic Random Access Memory
  • DRRAM direct memory bus random access memory
  • the memory 1202 stores elements, executable modules or data structures, or a subset thereof, or their extended set: an operating system 12021 and an application 12022.
  • the operating system 12021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks.
  • the application 12022 includes various applications, such as a media player (Media Player), a browser (Browser), etc., for implementing various application services.
  • a program implementing the method of the embodiments of the present disclosure may be included in the application 12022.
  • the processor 1201 by calling the program or instruction stored in the memory 1202, specifically, the program or instruction stored in the application 12022, the processor 1201 is configured to:
  • the method disclosed in the above embodiments of the present disclosure may be applied to the processor 1201 or implemented by the processor 1201.
  • the processor 1201 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the foregoing method may be completed by an integrated logic circuit of hardware in the processor 1201 or an instruction in a form of software.
  • the processor 1201 may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a Field Programmable Gate Array (FPGA), or the like. Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA Field Programmable Gate Array
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the steps of the method disclosed in connection with the embodiments of the present disclosure may be directly implemented by the hardware decoding processor, or may be performed by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium is located in the memory 1202, and the processor 1201 reads the information in the memory 1202 and completes the steps of the above method in combination with its hardware.
  • the embodiments described herein can be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof.
  • the processing unit can be implemented in one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processing (DSP), Digital Signal Processing Equipment (DSP Device, DSPD), programmable Programmable Logic Device (PLD), Field-Programmable Gate Array (FPGA), general purpose processor, controller, microcontroller, microprocessor, other for performing the functions described herein In an electronic unit or a combination thereof.
  • ASICs Application Specific Integrated Circuits
  • DSP Digital Signal Processing
  • DSP Device Digital Signal Processing Equipment
  • PLD programmable Programmable Logic Device
  • FPGA Field-Programmable Gate Array
  • the techniques described herein can be implemented by modules (eg, procedures, functions, and so on) that perform the functions described herein.
  • the software code can be stored in memory and executed by the processor.
  • the memory can be implemented in the processor or external to the processor.
  • the processor 1201 executes the target application as a calculator program, and the calculator program includes a scientific computing interface and a common computing interface, where the target application includes at least two application interfaces. Selecting a target application interface to be displayed corresponding to the ratio, including:
  • the ratio is less than or equal to 1, it is determined that the target application interface to be displayed is the common type computing interface.
  • the target application is a calculator program
  • the calculator program includes a scientific computing interface and a normal computing interface.
  • the processor 1201 Also used for:
  • Determining a display state of the mobile terminal the display state comprising: a horizontal screen display state and a vertical screen display state;
  • the target application interface to be displayed corresponding to the ratio including:
  • a target application interface to be displayed corresponding to the display state of the mobile terminal and corresponding to the ratio is determined.
  • the processor 1201 performs the determining, according to the display state of the mobile terminal, the target application interface to be displayed corresponding to the ratio, including:
  • the ratio is less than or equal to 1, it is determined that the target application interface to be displayed is the common type computing interface.
  • the processor 1201 is further configured to:
  • the target application interface to be displayed is the common type computing interface.
  • the mobile terminal 1200 can implement various processes implemented by the mobile terminal in the foregoing embodiment. To avoid repetition, details are not described herein again.
  • the mobile terminal 1200 can be configured to determine the display state of the mobile terminal 1200 before the mobile terminal 1200 is in the split screen display state, and then determine the application interface display area of the target application, and then obtain the horizontal edge of the application interface display area.
  • the length value and the length value of the longitudinal side and then calculating the ratio of the length value of the lateral side and the length value of the longitudinal side, and finally determining the target application interface to be displayed according to the display state of the mobile terminal 1200 and the calculated ratio, and in the application interface
  • the display area displays the target application interface. In this way, the display interface of the display application interface in the split screen display state is better and more beautiful. At the same time, it is also convenient for the user to operate the buttons in the calculator interface.
  • the disclosed apparatus and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the embodiments of the present disclosure.
  • each functional unit in various embodiments of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

本公开提供一种在分屏显示状态下显示应用界面的方法和移动终端。该方法包括:若移动终端处于分屏显示状态,确定目标应用程序的应用界面显示区域;获取应用界面显示区域的横向边的长度值和纵向边的长度值;计算横向边的长度值和纵向边的长度值的比值;在目标应用程序包括的至少两个应用界面中,选择与比值相对应的待显示的目标应用界面,并在应用界面显示区域显示目标应用界面。

Description

在分屏显示状态下显示应用界面的方法和移动终端
相关申请的交叉引用
本申请主张在2017年6月12日在中国提交的中国专利申请No.201710438583.X的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及通信技术领域,尤其涉及一种在分屏显示状态下显示应用界面的方法和移动终端。
背景技术
目前,移动终端上具有各种各样的应用,且某些应用具备至少两种不同的应用界面。例如:移动终端中的计算器界面可以分为两种形式:普通型计算界面与科学型计算界面。移动终端处于竖屏显示状态下,且为全屏显示状态时,屏幕上可以显示普通型计算界面;移动终端处于横屏显示状态下,且为全屏显示状态时,屏幕上可以显示科学型计算界面。
当移动终端由全屏显示状态变为分屏显示状态时,可以在计算器显示区域显示按照一定比例缩小后的计算器。但是,此种方案的显示效果并不美观。例如,当移动终端处于横屏显示状态下,且由全屏显示状态变为分屏显示状态时,如果计算器显示区域所占的区域较小,在显示科学型计算界面时就会显得比较拥挤。因此,现有技术中,当应用具备至少两种不同的应用界面时,在分屏显示状态下显示应用界面的显示效果较差,不够美观。
发明内容
第一方面,本公开实施例提供了一种在分屏显示状态下显示应用界面的方法,应用于移动终端,所述方法包括:
若所述移动终端处于所述分屏显示状态,确定目标应用程序的应用界面显示区域;
获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;
计算所述横向边的长度值和所述纵向边的长度值的比值;
在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
第二方面,本公开实施例还提供一种移动终端,包括:
第一确定模块,用于若所述移动终端处于分屏显示状态,确定目标应用程序的应用界面显示区域;
获取模块,用于获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;
计算模块,用于计算所述横向边的长度值和所述纵向边的长度值的比值;
选择模块,用于在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
第三方面,本公开实施例还提供一种移动终端,,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的在分屏显示状态下显示应用界面的控制程序,所述在分屏显示状态下显示应用界面的控制程序被所述处理器执行时实现上述在分屏显示状态下显示应用界面的方法的步骤。
第四方面,本公开实施例还提供一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现上述在分屏显示状态下显示应用界面的方法的步骤。
本公开实施例中,若所述移动终端处于所述分屏显示状态,确定目标应用程序的应用界面显示区域;获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;计算所述横向边的长度值和所述纵向边的长度值的比值;在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。如果移动终端处于分屏显示状态下,移动终端可以确定目标应用程序的应用界面显示区域,进而获取该应用界面显示区域的横向边的长度值和纵向边的长度值,然后计算横向边的长度值和纵向边的长度值的比值,最后根据计算得到的比值确定待显示的目标应用界面,并在应用界面显示区域显示该目标应用界面。
附图说明
为了更清楚地说明本公开实施例的技术方案,下面将对本公开实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。
图1是本公开实施例提供的一种在分屏显示状态下显示应用界面的方法的流程图;
图2是本公开实施例提供的普通型计算界面的示意图;
图3是本公开实施例提供的科学型计算界面的示意图;
图4是本公开实施例提供的竖屏上下分屏的示意图;
图5是本公开实施例提供的另一种在分屏显示状态下显示应用界面的方法的流程图;
图6是本公开实施例提供的横屏左右分屏的示意图;
图7是本公开实施例提供的一种移动终端的结构图;
图8是本公开实施例提供的另一种移动终端的结构图;
图9是本公开实施例提供的另一种移动终端的结构图;
图10是本公开实施例提供的另一种移动终端的结构图;
图11是本公开实施例提供的另一种移动终端的结构图;
图12是本公开实施例提供的另一种移动终端的结构图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
参见图1,图1是本公开实施例提供的一种在分屏显示状态下显示应用界面的方法的流程图,应用于移动终端。如图1所示,所述方法包括以下步骤101至104。
步骤101、若所述移动终端处于所述分屏显示状态,确定目标应用程序的 应用界面显示区域。
在步骤101中,移动终端上具有各种各样的应用,且某些应用具备至少两种不同的应用界面。例如:移动终端中的计算器界面可以分为两种形式:普通型计算界面与科学型计算界面。在接下来的叙述中,均以计算器界面为例进行阐述。
普通型计算界面可以包含3个区域:显示区域、普通运算符号区域和数字区域。普通型计算界面所包含的按键的数量较少,且普通型计算界面的横向边的长度值一般会小于纵向边的长度值。如图2所示,为普通型计算界面的示意图。
科学型计算界面可以包含4个区域:显示区域、普通运算符号区域、数字区域和科学运算符号区域。科学型计算界面所包含的按键的数量较多,且科学型计算界面的横向边的长度值一般会大于纵向边的长度值。如图3所示,为科学型计算界面的示意图。
因此,当移动终端处于竖屏显示状态下,且为全屏显示状态时,由于应用界面显示区域为整个屏幕,且应用界面显示区域的横向边的长度值小于纵向边的长度值,可以在屏幕上显示普通型计算界面;当移动终端处于横屏显示状态下,且为全屏显示状态时,由于应用界面显示区域为整个屏幕,且应用界面显示区域的横向边的长度值大于纵向边的长度值,可以在屏幕上显示科学型计算界面。
当移动终端处于分屏显示状态,即移动终端由全屏显示状态变为分屏显示状态时,可以先确定目标应用程序的应用界面显示区域,即可以先确定计算器程序的应用界面显示区域。例如,假设移动终端最开始处于竖屏显示状态下,且为全屏显示状态,进入分屏显示状态后,即进入竖屏上下分屏显示状态后,可以将位于分割线上方的区域作为计算器程序的应用界面显示区域。如图4所示,为竖屏上下分屏的示意图。在图4中,将位于分割线上方的区域记为A区域,将位于分割线下方的区域记为B区域,可以将A区域作为计算器程序的应用界面显示区域。
步骤102、获取所述应用界面显示区域的横向边的长度值和纵向边的长度值。
在步骤102中,确定了目标应用程序的应用界面显示区域之后,即确定了计算器程序的应用界面显示区域之后,移动终端可以获取目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值,即可以获取计算器程序的应用界面显示区域的横向边的长度值和纵向边的长度值,也即可以获取A区域的横向边的长度值和纵向边的长度值。
步骤103、计算所述横向边的长度值和所述纵向边的长度值的比值。
在步骤103中,获取到目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值之后,即获取到计算器程序的应用界面显示区域的横向边的长度值和纵向边的长度值之后,移动终端可以计算横向边的长度值和纵向边的长度值的比值。
步骤104、在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
在步骤104中,移动终端计算出横向边的长度值和纵向边的长度值的比值之后,可以在目标应用程序包括的至少两个应用界面中,选择与计算得到的比值相对应的待显示的目标应用界面,即可以在计算器程序包括的两个应用界面中,选择与计算得到的比值相对应的待显示的目标应用界面。
在图4中,计算器程序的应用界面显示区域的横向边的长度值大于纵向边的长度值,即横向边的长度值和纵向边的长度值的比值大于1,此时可以在应用界面显示区域显示目标应用界面,即可以在计算器程序的应用界面显示区域显示科学型计算界面,也即可以在A区域显示科学型计算界面。
需要说明的是,分割线是可以自由移动的。当用户手动移动该分割线时,移动终端可以实时获取目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值,进而实时计算横向边的长度值和纵向边的长度值的比值。当判断出计算得到的比值大于1,则可以确定待显示的目标应用界面为科学型计算界面,进而可以在计算器程序的应用界面显示区域显示科学型计算界面;当判断出计算得到的比值小于或者等于1,则可以确定待显示的目标应用界面为普通型计算界面,进而可以在计算器程序的应用界面显示区域显示普通型计算界面。
本公开实施例中,上述移动终端可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。
本公开实施例的在分屏显示状态下显示应用界面的方法,应用于移动终端,若所述移动终端处于所述分屏显示状态,确定目标应用程序的应用界面显示区域;获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;计算所述横向边的长度值和所述纵向边的长度值的比值;在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。如果移动终端处于分屏显示状态下,移动终端可以确定目标应用程序的应用界面显示区域,进而获取该应用界面显示区域的横向边的长度值和纵向边的长度值,然后计算横向边的长度值和纵向边的长度值的比值,最后根据计算得到的比值确定待显示的目标应用界面,并在应用界面显示区域显示该目标应用界面。这样,在分屏显示状态下显示应用界面的显示效果较好,比较美观。
参见图5,图5是本公开实施例提供的另一种在分屏显示状态下显示应用界面的方法的流程图,应用于移动终端。本实施例与前一个实施例的区别在于可以先确定移动终端的显示状态,再确定目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值,进而确定横向边的长度值和纵向边的长度值的比值,最后根据移动终端的显示状态以及计算得到的比值确定待显示的目标应用界面。如图5所示,所述方法包括以下步骤501至505。
步骤501、若所述移动终端处于所述分屏显示状态,确定所述移动终端的显示状态,所述显示状态包括横屏显示状态和竖屏显示状态。
在步骤501中,移动终端上具有各种各样的应用,且某些应用具备至少两种不同的应用界面。例如:移动终端中的计算器界面可以分为两种形式:普通型计算界面与科学型计算界面。在接下来的叙述中,均以计算器界面为例进行阐述。
假设移动终端最开始处于横屏显示状态下,且为全屏显示状态,此时可以在屏幕上显示科学型计算界面。当移动终端处于分屏显示状态,即移动终端由 全屏显示状态变为分屏显示状态时,可以先确定移动终端的显示状态。此时可以判断出移动终端处于横屏显示状态下。如图6所示,为横屏左右分屏的示意图。在图6中,将位于分割线左边的区域记为C区域,将位于分割线右边的区域记为D区域。
步骤502、确定目标应用程序的应用界面显示区域。
在步骤502中,当移动终端处于分屏显示状态,且确定了移动终端的显示状态之后,可以进一步确定目标应用程序的应用界面显示区域,即可以进一步确定计算器程序的应用界面显示区域。可以将C区域作为计算器程序的应用界面显示区域。
步骤503、获取所述应用界面显示区域的横向边的长度值和纵向边的长度值。
在步骤503中,确定了目标应用程序的应用界面显示区域之后,即确定了计算器程序的应用界面显示区域之后,移动终端可以获取目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值,即移动终端可以获取计算器程序的应用界面显示区域的横向边的长度值和纵向边的长度值,也即移动终端可以获取C区域的横向边的长度值和纵向边的长度值。
步骤504、计算所述横向边的长度值和所述纵向边的长度值的比值。
在步骤504中,获取了目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值之后,即获取了计算器程序的应用界面显示区域的横向边的长度值和纵向边的长度值之后,也即获取了C区域的横向边的长度值和纵向边的长度值之后,移动终端可以计算横向边的长度值和纵向边的长度值的比值。
步骤505、在所述目标应用程序包括的至少两个应用界面中,确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
在步骤505中,确定了移动终端的显示状态,且计算出目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值的比值之后,移动终端可以在目标应用程序包括的至少两个应用界面中,确定与移动终端的显示状态相对应的,且与计算得到的比值相对应的待显示的目标应用界面,并在目标应用 程序的应用界面显示区域显示目标应用界面。即移动终端可以在计算器程序包括的两个应用界面中,确定与移动终端的显示状态相对应的,且与计算得到的比值相对应的待显示的目标应用界面,并在计算器程序的应用界面显示区域显示目标应用界面。
可选的,所述确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面,包括:
若所述移动终端处于所述横屏显示状态下,则判断所述比值是否大于1;
若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
如果确定了移动终端处于横屏显示状态下,则可以进一步判断目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值的比值是否大于1。
如果判断出该比值大于1,则可以确定待显示的目标应用界面为科学型计算界面,进而可以在计算器程序的应用界面显示区域显示科学型计算界面,即可以在C区域显示科学型计算界面。此时,计算器程序的应用界面显示区域较大,相应的就可以显示科学型计算界面。科学型计算界面所包含的按键更多,可以实现的功能也更多。
如果判断出该比值小于或者等于1,则可以确定待显示的目标应用界面为普通型计算界面,进而可以在计算器程序的应用界面显示区域显示普通型计算界面,即可以在C区域显示普通型计算界面。
需要说明的是,分割线是可以自由移动的。当用户手动移动该分割线时,移动终端可以实时获取目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值,进而实时计算横向边的长度值和纵向边的长度值的比值。当判断出计算得到的比值大于1,则可以确定待显示的目标应用界面为科学型计算界面,进而可以在计算器程序的应用界面显示区域显示科学型计算界面;当判断出计算得到的比值小于或者等于1,则可以确定待显示的目标应用界面为普通型计算界面,进而可以在计算器程序的应用界面显示区域显示普通型计 算界面。
可选的,若所述移动终端处于所述竖屏显示状态下,则确定所述待显示的目标应用界面为所述普通型计算界面。
如果确定了移动终端处于竖屏显示状态下,则可以确定待显示的目标应用界面为普通型计算界面,进而可以在计算器程序的应用界面显示区域显示普通型计算界面。
需要说明的是,分割线是可以自由移动的。当用户手动移动该分割线时,相应的调整普通型计算界面的大小即可。当移动终端在竖屏显示状态下进入上下分屏显示状态时,由于计算器程序的应用界面显示区域较小,且普通型计算界面所包含的按键较少,因此可以在计算器程序的应用界面显示区域只显示普通型计算界面。这样可以方便用户对普通型计算界面中的按键进行点击操作。
可选的,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,所述在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,包括:
判断所述比值是否大于1;
若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
在前一个实施例中曾提到,当移动终端进入分屏显示状态时,移动终端可以先确定目标应用程序的应用界面显示区域,即可以先确定计算器程序的应用界面显示区域;再获取目标应用程序的应用界面显示区域的横向边的长度值和纵向边的长度值,即获取计算器程序的应用界面显示区域的横向边的长度值和纵向边的长度值;然后计算横向边的长度值和纵向边的长度值的比值。接下来,可以判断该比值是否大于1。当判断出计算得到的比值大于1,则可以确定待显示的目标应用界面为科学型计算界面,进而可以在计算器程序的应用界面显示区域显示科学型计算界面;当判断出计算得到的比值小于或者等于1,则可以确定待显示的目标应用界面为普通型计算界面,进而可以在计算器程序的应用界面显示区域显示普通型计算界面。
本公开实施例的在分屏显示状态下显示应用界面的方法,应用于移动终端,如果移动终端处于分屏显示状态下,可以先确定移动终端的显示状态,进而可以确定目标应用程序的应用界面显示区域,再获取该应用界面显示区域的横向边的长度值和纵向边的长度值,然后计算横向边的长度值和纵向边的长度值的比值,最后根据移动终端的显示状态以及计算得到的比值确定待显示的目标应用界面,并在应用界面显示区域显示该目标应用界面。这样,在分屏显示状态下显示应用界面的显示效果较好,比较美观。同时,也可以使用户在对计算器界面中的按键进行操作时更加方便。
参见图7,图7是本公开实施提供的移动终端的结构图。如图7所示,移动终端700包括第一确定模块701、获取模块702、计算模块703和选择模块704,其中:
第一确定模块701,用于若所述移动终端处于分屏显示状态,确定目标应用程序的应用界面显示区域;
获取模块702,用于获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;
计算模块703,用于计算所述横向边的长度值和所述纵向边的长度值的比值;
选择模块704,用于在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
可选的,如图8所示,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,选择模块704包括:
第一判断子模块7041,用于判断所述比值是否大于1;
第一确定子模块7042,用于若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
第二确定子模块7043,用于若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
可选的,如图9所示,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,所述移动终端还包括:
第二确定模块705,用于确定所述移动终端的显示状态,所述显示状态包括:横屏显示状态和竖屏显示状态;
所述选择模块704具体用于,在所述目标应用程序包括的至少两个应用界面中,确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面。
可选的,如图10所示,所述选择模块704还包括:
第二判断子模块7044,用于若所述移动终端处于所述横屏显示状态下,则判断所述比值是否大于1;
第三确定子模块7045,用于若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
第四确定子模块7046,用于若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
可选的,如图11所示,所述移动终端还包括:
第三确定模块706,用于若所述移动终端处于所述竖屏显示状态下,则确定所述待显示的目标应用界面为所述普通型计算界面。
移动终端700能够实现图1和图5的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。且移动终端700可以实现如果移动终端700处于分屏显示状态下,可以先确定移动终端700的显示状态,进而可以确定目标应用程序的应用界面显示区域,再获取该应用界面显示区域的横向边的长度值和纵向边的长度值,然后计算横向边的长度值和纵向边的长度值的比值,最后根据移动终端700的显示状态以及计算得到的比值确定待显示的目标应用界面,并在应用界面显示区域显示该目标应用界面。这样,在分屏显示状态下显示应用界面的显示效果较好,比较美观。同时,也可以使用户在对计算器界面中的按键进行操作时更加方便。
参见图12,图12是本公开实施提供的移动终端的结构图。如图12所示,移动终端1200包括:至少一个处理器1201、存储器1202、至少一个网络接口1204和用户接口1203及存储在存储器1202上并可在处理器1201上运行的在分屏显示状态下显示应用界面的控制程序,在分屏显示状态下显示应用界面的控制程序被处理器1201执行时实现上述在分屏显示状态下显示应用界面的方 法的步骤。移动终端1200中的各个组件通过总线系统1205耦合在一起。可理解,总线系统1205用于实现这些组件之间的连接通信。总线系统1205除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图12中将各种总线都标为总线系统1205。
其中,用户接口1203可以包括显示器、键盘或者点击设备(例如,鼠标,轨迹球(track ball)、触感板或者触摸屏等。
可以理解,本公开实施例中的存储器1202可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本文描述的系统和方法的存储器1202旨在包括但不限于这些和任意其它适合类型的存储器。
在一些实施方式中,存储器1202存储了如下的元素,可执行模块或者数据结构,或者他们的子集,或者他们的扩展集:操作系统12021和应用程序12022。
其中,操作系统12021,包含各种系统程序,例如框架层、核心库层、驱动层等,用于实现各种基础业务以及处理基于硬件的任务。应用程序12022,包含各种应用程序,例如媒体播放器(Media Player)、浏览器(Browser)等,用于实现各种应用业务。实现本公开实施例方法的程序可以包含在应用程序12022中。
在本公开实施例中,通过调用存储器1202存储的程序或指令,具体的, 可以是应用程序12022中存储的程序或指令,处理器1201用于:
若所述移动终端处于所述分屏显示状态,确定目标应用程序的应用界面显示区域;
获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;
计算所述横向边的长度值和所述纵向边的长度值的比值;
在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
上述本公开实施例揭示的方法可以应用于处理器1201中,或者由处理器1201实现。处理器1201可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器1201中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器1201可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本公开实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本公开实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器1202,处理器1201读取存储器1202中的信息,结合其硬件完成上述方法的步骤。
可以理解的是,本文描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,处理单元可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。
对于软件实现,可通过执行本文所述功能的模块(例如过程、函数等)来 实现本文所述的技术。软件代码可存储在存储器中并通过处理器执行。存储器可以在处理器中或在处理器外部实现。
可选的,处理器1201执行所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,所述在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,包括:
判断所述比值是否大于1;
若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
可选的,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,在所述确定目标应用程序的应用界面显示区域的步骤之前,处理器1201还用于:
确定所述移动终端的显示状态,所述显示状态包括:横屏显示状态和竖屏显示状态;
所述在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,包括:
在所述目标应用程序包括的至少两个应用界面中,确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面。
可选的,处理器1201执行所述确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面,包括:
若所述移动终端处于所述横屏显示状态下,则判断所述比值是否大于1;
若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
可选的,处理器1201还用于:
若所述移动终端处于所述竖屏显示状态下,则确定所述待显示的目标应用 界面为所述普通型计算界面。
移动终端1200能够实现前述实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。且移动终端1200可以实现如果移动终端1200处于分屏显示状态下,可以先确定移动终端1200的显示状态,进而可以确定目标应用程序的应用界面显示区域,再获取该应用界面显示区域的横向边的长度值和纵向边的长度值,然后计算横向边的长度值和纵向边的长度值的比值,最后根据移动终端1200的显示状态以及计算得到的比值确定待显示的目标应用界面,并在应用界面显示区域显示该目标应用界面。这样,在分屏显示状态下显示应用界面的显示效果较好,比较美观。同时,也可以使用户在对计算器界面中的按键进行操作时更加方便。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本公开的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本公开实施例方案的目的。
另外,在本公开各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以权利要求的保护范围为准。

Claims (12)

  1. 一种在分屏显示状态下显示应用界面的方法,应用于移动终端,包括:
    若所述移动终端处于所述分屏显示状态,确定目标应用程序的应用界面显示区域;
    获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;
    计算所述横向边的长度值和所述纵向边的长度值的比值;
    在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
  2. 如权利要求1所述的方法,其中,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,所述在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,包括:
    判断所述比值是否大于1;
    若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
    若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
  3. 如权利要求1所述的方法,其中,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,在所述确定目标应用程序的应用界面显示区域的步骤之前,所述方法还包括:
    确定所述移动终端的显示状态,所述显示状态包括:横屏显示状态和竖屏显示状态;
    所述在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,包括:
    在所述目标应用程序包括的至少两个应用界面中,确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面。
  4. 如权利要求3所述的方法,其中,所述确定与所述移动终端的显示状 态相对应的,且与所述比值相对应的待显示的目标应用界面,包括:
    若所述移动终端处于所述横屏显示状态下,则判断所述比值是否大于1;
    若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
    若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
  5. 如权利要求3所述的方法,还包括:
    若所述移动终端处于所述竖屏显示状态下,则确定所述待显示的目标应用界面为所述普通型计算界面。
  6. 一种移动终端,包括:
    第一确定模块,用于若所述移动终端处于分屏显示状态,确定目标应用程序的应用界面显示区域;
    获取模块,用于获取所述应用界面显示区域的横向边的长度值和纵向边的长度值;
    计算模块,用于计算所述横向边的长度值和所述纵向边的长度值的比值;
    选择模块,用于在所述目标应用程序包括的至少两个应用界面中,选择与所述比值相对应的待显示的目标应用界面,并在所述应用界面显示区域显示所述目标应用界面。
  7. 如权利要求6所述的移动终端,其中,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,所述选择模块包括:
    第一判断子模块,用于判断所述比值是否大于1;
    第一确定子模块,用于若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
    第二确定子模块,用于若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
  8. 如权利要求6所述的移动终端,其中,所述目标应用程序为计算器程序,且所述计算器程序包含科学型计算界面和普通型计算界面,所述移动终端还包括:
    第二确定模块,用于确定所述移动终端的显示状态,所述显示状态包括:横屏显示状态和竖屏显示状态;
    所述选择模块具体用于,在所述目标应用程序包括的至少两个应用界面中,确定与所述移动终端的显示状态相对应的,且与所述比值相对应的待显示的目标应用界面。
  9. 如权利要求8所述的移动终端,其中,所述选择模块还包括:
    第二判断子模块,用于若所述移动终端处于所述横屏显示状态下,则判断所述比值是否大于1;
    第三确定子模块,用于若所述比值大于1,则确定所述待显示的目标应用界面为所述科学型计算界面;
    第四确定子模块,用于若所述比值小于或者等于1,则确定所述待显示的目标应用界面为所述普通型计算界面。
  10. 如权利要求8所述的移动终端,其中,所述移动终端还包括:
    第三确定模块,用于若所述移动终端处于所述竖屏显示状态下,则确定所述待显示的目标应用界面为所述普通型计算界面。
  11. 一种移动终端,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的在分屏显示状态下显示应用界面的控制程序,所述在分屏显示状态下显示应用界面的控制程序被所述处理器执行时实现如权利要求1至5中任一项所述的在分屏显示状态下显示应用界面的方法的步骤。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如权利要求1至5中任一项所述的在分屏显示状态下显示应用界面的方法的步骤。
PCT/CN2018/084665 2017-06-12 2018-04-26 在分屏显示状态下显示应用界面的方法和移动终端 WO2018228062A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710438583.X 2017-06-12
CN201710438583.XA CN107273123B (zh) 2017-06-12 2017-06-12 在分屏显示状态下显示应用界面的方法和移动终端

Publications (1)

Publication Number Publication Date
WO2018228062A1 true WO2018228062A1 (zh) 2018-12-20

Family

ID=60066533

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084665 WO2018228062A1 (zh) 2017-06-12 2018-04-26 在分屏显示状态下显示应用界面的方法和移动终端

Country Status (2)

Country Link
CN (1) CN107273123B (zh)
WO (1) WO2018228062A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273123B (zh) * 2017-06-12 2019-06-07 维沃移动通信有限公司 在分屏显示状态下显示应用界面的方法和移动终端
WO2019127439A1 (zh) * 2017-12-29 2019-07-04 华为技术有限公司 一种计算器的运行方法以及终端
CN113010135B (zh) * 2021-04-29 2024-03-12 深圳Tcl新技术有限公司 一种数据处理方法、装置、显示终端和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105999A (zh) * 2013-01-17 2013-05-15 广东欧珀移动通信有限公司 一种视频窗口调整的方法及移动智能终端
CN105159640A (zh) * 2015-08-28 2015-12-16 小米科技有限责任公司 显示界面旋转方法、装置和移动终端
CN105573740A (zh) * 2015-06-30 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种分屏显示模式操作方法及终端
US20170139585A1 (en) * 2015-11-18 2017-05-18 Samsung Electronics Co., Ltd. Portable device and method for controlling screen thereof
CN107273123A (zh) * 2017-06-12 2017-10-20 维沃移动通信有限公司 在分屏显示状态下显示应用界面的方法和移动终端

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808782B (zh) * 2014-01-28 2019-12-03 中兴通讯股份有限公司 应用分屏方法与装置、智能终端
CN104035662A (zh) * 2014-05-15 2014-09-10 小米科技有限责任公司 一种界面显示方法、装置及终端
CN105843577B (zh) * 2016-04-29 2019-04-19 上海新案数字科技有限公司 一种车载显示屏及其显示方法
CN107168712B (zh) * 2017-05-19 2021-02-23 Oppo广东移动通信有限公司 界面绘制方法、移动终端及计算机可读存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103105999A (zh) * 2013-01-17 2013-05-15 广东欧珀移动通信有限公司 一种视频窗口调整的方法及移动智能终端
CN105573740A (zh) * 2015-06-30 2016-05-11 宇龙计算机通信科技(深圳)有限公司 一种分屏显示模式操作方法及终端
CN105159640A (zh) * 2015-08-28 2015-12-16 小米科技有限责任公司 显示界面旋转方法、装置和移动终端
US20170139585A1 (en) * 2015-11-18 2017-05-18 Samsung Electronics Co., Ltd. Portable device and method for controlling screen thereof
CN107273123A (zh) * 2017-06-12 2017-10-20 维沃移动通信有限公司 在分屏显示状态下显示应用界面的方法和移动终端

Also Published As

Publication number Publication date
CN107273123A (zh) 2017-10-20
CN107273123B (zh) 2019-06-07

Similar Documents

Publication Publication Date Title
WO2018036278A1 (zh) 消息显示的方法和终端
WO2019015582A1 (zh) 信息提示方法及移动终端
WO2018233399A1 (zh) 显示方法、移动终端及计算机可读存储介质
CN107172346B (zh) 一种虚化方法及移动终端
US10585581B2 (en) Controlling display object on display screen
CN106210354B (zh) 一种移动终端的显示方法及移动终端
US9569004B2 (en) Swipe toolbar to switch tabs
WO2018228062A1 (zh) 在分屏显示状态下显示应用界面的方法和移动终端
CN108874336B (zh) 一种信息处理方法及电子设备
CN107704157B (zh) 一种多屏界面操作方法、装置及存储介质
US8977950B2 (en) Techniques for selection and manipulation of table boarders
US10957285B2 (en) Method and system for playing multimedia data
KR20170026274A (ko) 콘텐츠 편집 장치 및 편집 방법
CN106168894B (zh) 一种内容显示方法及移动终端
WO2022121790A1 (zh) 分屏显示方法、装置、电子设备和可读存储介质
CN106780314B (zh) 一种拼图预览的方法及移动终端
WO2019015581A1 (zh) 文字删除方法及移动终端
WO2019019970A1 (zh) 分屏显示方法和终端
KR20150079380A (ko) 다수의 디바이스들의 상대적 배치를 결정하기 위한 방법과 그에 따른 장치 및 시스템
CN107678813B (zh) 一种桌面图标的主题的切换方法及移动终端
CN107368205B (zh) 一种手写输入方法及移动终端
WO2018228341A1 (zh) 页面切换处理方法、装置、用户终端及可读取存储介质
CN107562262B (zh) 一种响应触控操作的方法、终端及计算机可读存储介质
CN107124656B (zh) 一种多媒体文件的播放方法及移动终端
EP3043251A1 (en) Method of displaying content and electronic device implementing same

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: 18818077

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18818077

Country of ref document: EP

Kind code of ref document: A1