[go: up one dir, main page]

CN109167875A - Interface display method, electronic equipment and computer readable storage medium - Google Patents

Interface display method, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN109167875A
CN109167875A CN201810802235.0A CN201810802235A CN109167875A CN 109167875 A CN109167875 A CN 109167875A CN 201810802235 A CN201810802235 A CN 201810802235A CN 109167875 A CN109167875 A CN 109167875A
Authority
CN
China
Prior art keywords
displayed
screen
application program
size
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810802235.0A
Other languages
Chinese (zh)
Inventor
彭彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Baoli Special Technology Co Ltd
Original Assignee
Chongqing Baoli Special Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Baoli Special Technology Co Ltd filed Critical Chongqing Baoli Special Technology Co Ltd
Priority to CN201810802235.0A priority Critical patent/CN109167875A/en
Publication of CN109167875A publication Critical patent/CN109167875A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72469User interfaces specially adapted for cordless or mobile telephones for operating the device by selecting functions from two or more displayed items, e.g. menus or icons
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present embodiments relate to electronic technology fields, disclose a kind of interface display method, applied to the electronic equipment with multiple screens, comprising: obtain the instruction of display Application Program Interface;Confirmation needs to show the screen to be shown of the Application Program Interface;Detect whether the application program has been opened at present and has shown in other screens;If the application program has been opened and has shown in other screens, restarts the application program and be laid out and show the Application Program Interface according to the size of the screen to be shown and resolution ratio.Additionally provide a kind of electronic equipment.Interface display method and electronic equipment provided by embodiment of the present invention have when some application program was after other screens were shown, are not in the advantage for showing exception when show on current screen to be shown.

Description

Interface display method, electronic device and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of electronics, in particular to an interface display method, electronic equipment and a computer readable storage medium.
Background
With the rapid development of electronic technology, various electronic devices are increasingly used in daily life of people, and among them, the mobile phone is most widely used. The mobile phone becomes an indispensable communication tool in the life of people, the technology of the mobile phone is mature at present, meanwhile, the requirement of people on the mobile phone is gradually improved, the traditional mobile phone only has one screen, and the mobile phone can be operated only in a fixed direction when receiving or making a call, so that inconvenience is brought to the use of people, and the mobile phone is not suitable for the diversified requirements of the current mobile phone market. The design purpose of the double-screen mobile phone is to meet different experience requirements of consumers, facilitate the operation of the consumers and improve the experience interest of the consumers when the smart mobile phones are used.
An existing double-screen mobile phone is generally provided with a screen with an area close to that of a main screen on the back of the mobile phone, and the front screen and the back screen can be made of the same or different materials. However, the resolution of the E-ink screen is generally small, which is inconvenient for the user to use in books or other small-font publications, and the addition of the E-ink screen makes the electronic reading function of the dual-screen mobile phone more excellent than that of the conventional mobile phone.
However, the inventor of the present invention finds that, the resolutions of two screens (for example, a front side of a mobile phone carries one screen and a back side of the mobile phone carries one screen) of a current dual-screen electronic device are generally different, and when an application program is displayed on one of the screens after the application program is displayed on the other screen, the size and the resolution of the screen are changed, so that abnormal display occurs.
Disclosure of Invention
An object of an embodiment of the present invention is to provide an interface display method, an electronic device, and a computer-readable storage medium, which are applied to an electronic device having multiple screens, so that when an application program is displayed on a current screen to be displayed after other screens are displayed, display abnormality does not occur.
In order to solve the above technical problem, an embodiment of the present invention provides an interface display method applied to an electronic device having multiple screens, including the following steps:
acquiring an instruction for displaying an application program interface; determining a screen to be displayed for displaying the application program interface according to the instruction; detecting whether the application program is opened currently and displayed on other screens; and if the application program is opened and displayed on other screens, restarting the application program and distributing and displaying the application program interface according to the size and the resolution of the screen to be displayed.
An embodiment of the present invention also provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform the aforementioned interface display method.
The embodiment of the invention also provides a computer readable storage medium, which stores a computer program, and the computer program realizes the interface display method when being executed by a processor.
Compared with the prior art, when the electronic equipment acquires the instruction for displaying the application program interface, namely, the user triggers the action of displaying the application program interface, at this time, the electronic device firstly confirms the screen on which the application program interface needs to be displayed, and uses the screen on which the application program interface needs to be displayed as the screen to be displayed, before displaying the application program interface on the screen to be displayed, detecting whether the application program is opened or not and displayed on other screens, i.e., whether it is displayed on a screen other than the screen currently to be displayed on the electronic device, if the application has been opened and displayed on the other screen, the application is restarted first, and then, according to the size and the resolution ratio of the screen to be displayed, an application program interface is arranged and displayed, so that the effect of avoiding abnormal display is achieved. In the embodiment of the invention, the application program is restarted first, the display parameters related to other screens can be cleared, and the application program interface is arranged and displayed according to the size and the resolution of the current screen to be displayed, so that the display parameters related to other screens are effectively prevented from influencing the display of the current screen to be displayed, and abnormal display can not occur when a certain application program is displayed on the current screen to be displayed after the display of other screens.
In addition, detecting whether the application program is opened currently and displayed after other screens further comprises: and if the application program is not opened, directly opening the application program, and laying out and displaying an application program interface according to the size and the resolution of the screen to be displayed. Because the application program is not opened, the application program interface is directly opened and then is arranged and displayed according to the size and the resolution ratio of the current screen to be displayed, the influence of other screens is avoided, and the problem of abnormal display is avoided.
In addition, detecting whether the application program is opened currently and displayed after other screens further comprises: if the application program is opened but not displayed on other screens, the interface of the application program is directly laid out and displayed according to the size and resolution of the current display screen. Although the application program is opened, the application program interface is displayed and the sub-station is directly displayed according to the size and the resolution of the current screen to be displayed because the application program is not displayed on other screens, the application program interface is not influenced by other screens, and the problem of abnormal display is avoided.
In addition, the method specifically includes the following steps of laying out and displaying the application program interface according to the size and the resolution of the first screen: setting a rectangular variable representing the size of a display window of an application program interface according to the size and the resolution of a screen to be displayed, and laying out the specified size and position of each view on the interface; drawing the frame data width and the frame data height of the screen to be displayed according to the size and the resolution of the screen to be displayed; and displaying the rectangular variable set according to the size and the resolution of the screen to be displayed and the frame data width and the frame data height of the screen to be displayed on the screen to be displayed in the same proportion.
In addition, a rectangular variable representing the size of a display window of an application program interface is set according to the size and the resolution of a screen to be displayed, and the designated size and the position of each view on the interface are laid out, specifically including: and a WMS module of a Framework layer of the electronic equipment sets a rectangular variable representing the size of a display window of an application program interface according to the size and the resolution of a screen to be displayed and arranges the specified size and the position of each view on the interface.
In addition, according to the size and resolution of the screen to be displayed, drawing the frame data width and the frame data height of the screen to be displayed, which specifically comprises the following steps: and an SF module in a Framework layer of the electronic equipment system draws the frame data width and the frame data height of the screen to be displayed according to the size and the resolution of the screen to be displayed.
In addition, the restarting the application program specifically includes: and closing the application program, deleting the display parameters for display acquired according to the sizes and resolutions of other screens, and then starting the application program again. After the application program is closed, the display parameters acquired according to the sizes and the resolutions of other screens are deleted, so that the influence of the display parameters of other screens on the display of the current screen to be displayed is effectively prevented, and abnormal display is prevented.
Drawings
FIG. 1 is a flowchart of a method for displaying an interface according to a first embodiment of the present invention;
fig. 2 is a first display effect diagram illustrating a first embodiment of the present invention;
fig. 3 is a second display effect diagram illustrating the first embodiment of the present invention;
fig. 4 is a third display effect diagram illustrating the first embodiment of the present invention;
FIG. 5 is a flowchart of a method for displaying an interface according to a first embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present invention in its various embodiments. However, the technical solution claimed in the present invention can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to an interface display method applied to an electronic device having a first screen and a second screen, as shown in fig. 1, including the steps of:
step S101: and acquiring an instruction for displaying the application program interface.
Specifically, in this step, when the user triggers an operation of displaying an application program interface, the electronic device obtains an instruction for displaying the application program. For example, when using the electronic device, the user may directly click an icon of an application program displayed on the electronic device, and the electronic device may obtain an instruction for displaying the application program.
Step S102: it is confirmed on which screen the application needs to be displayed.
Specifically, in this step, the electronic device may determine on which screen the application needs to be displayed. For example, it may be determined on which screen the display is required according to the instruction of the user, that is, when the user opens the application, on which screen the display is selected; or if the user does not select which screen to display on, it is possible to confirm which screen to display on based on the screen currently being used by the user. It should be understood that the above is only an illustration of the method for confirming the display screen, and in the actual use process, the method for confirming the display screen is not limited to these two methods, and may be other methods.
Step S103: judging whether the application program is opened at present, if so, executing step S104; if not, go to step S105.
Specifically, after confirming on which screen the application interface needs to be displayed in step S102, the electronic device searches for the application in its background application, determines whether the application has been opened, and if the application has been opened, performs step S104, and if the application has not been opened or has been closed, performs step S105.
Step S104: judging whether the application program is displayed on other screens, if so, executing step S106; if not, step S107 is executed.
Step S105: the application is opened.
Step S106: the application is restarted.
Specifically, in this step, when it is confirmed on which screen the application needs to be displayed, and the application is already opened and displayed on other screens, the application is restarted, that is, the application is re-opened after being closed.
Further, when the application is closed and opened again, the electronic device may delete the display parameters for display that are set and calculated according to the width, height and resolution of the other screen when the application is displayed on the other screen, including the rectangular variable for representing the window size, the position of the size of each view on the interface for drawing and layout, and the frame data width and frame data height drawn according to the size and resolution of the other screen. It is understood that the aforementioned display parameters for displaying include, but are not limited to, these three parameters, and all data parameters obtained according to information of other screens may be included, which is not listed here.
Step S107: and laying out and displaying the application program interface according to the size and the resolution of the current screen to be displayed.
Specifically, in this step, the width, height, and resolution of the current screen to be displayed are obtained, and then a WMS module in the system Framework layer sets a rectangular variable representing the size of a window according to the width and height of the current screen to be displayed, and simultaneously lays out the position of the size of each view on the interface. If the application has the function of an adaptive screen, the adaptive size and position can be laid out. It can be understood that the size and position of each view in the width and height layout of the current screen to be displayed are different from the size and position of the layout self-adaption only applied algorithm in the layout, and the display of the application program interface on the electronic equipment is not influenced; then, an SF module of a system Framework layer draws the frame data width and the frame data height of the current screen to be displayed according to the width, the height and the resolution of the current screen to be displayed; and finally, displaying the frame data width and the frame data height of the current screen to be displayed on the current screen to be displayed in a high proportion according to the rectangle variable set according to the width and the height of the current screen to be displayed and the frame data width and the frame data height of the current screen to be displayed drawn according to the width, the height and the resolution of the current screen to be displayed.
The WMS module is a service of an Android system management window, and comprises functions of adding or deleting a window, determining the size and the position of the window, realizing window switching, window animation and the like. The SF is a short name of the surface flag, and the SF module is a main part forming the Android graphic system, integrates and combines received different data sources, and finally updates the data sources to a frame buffer for display.
Preferably, in this embodiment, the screen of the electronic device may include a plurality of screens, that is, two or more screens, and the plurality of screens may be displayed by using the foregoing steps, so as to prevent the problem of abnormal display.
Compared with the prior art, the interface display method provided by the first embodiment of the present invention determines on which screen the application program needs to be displayed when the electronic device obtains an instruction to display an application program interface, determines whether the application program has been opened and displayed on other screens before displaying the application program interface on the currently determined screen to be displayed, and restarts the application program when the application program has been opened and displayed on other screens, and directly lays out and displays the application program interface according to the size and resolution of the currently screen to be displayed. Since the application program is already opened and displayed on other screens, when the application program is displayed on the current screen to be displayed, a lot of display parameters for display may be obtained through calculation according to the width, height, resolution and the like of other screens, if the application program is displayed again on the current screen to be displayed directly at this time, during the display process, the display parameters obtained through calculation according to the width, height, resolution and the like of the first screen may be directly called, since the width, height, resolution and the like of different screens of the electronic device are generally different, the display parameters of other screens are not suitable for the current screen to be displayed, and the display parameters of other screens are directly called to be used on the current screen to be displayed, a problem of display abnormality may occur, whereas in the present embodiment, the application program is restarted first, the display parameters related to other screens may be cleared, and the application program interface is arranged and displayed according to the size and the resolution ratio of the current screen to be displayed, so that the display of the current screen to be displayed is effectively prevented from being influenced by the display parameters related to other screens, and abnormal display can not occur when a certain application program is displayed on the current screen to be displayed after the other screens are displayed.
The first embodiment of the present invention is exemplified below:
assume that the two screens of a dual-screen handset are one on the front side of the handset (front side screen) and one on the back side of the handset (back side screen). When a user uses a mobile phone, the user wants to open an application program, namely APP, clicks an icon of the APP, a selection button appears at this time, the user can select to display the APP on a front screen, and also can select to display the APP on a back screen, after the user finishes selecting the display screen, for example, the user selects back screen display, at this time, in the prior art, a WMS module of a system framework (java) layer sets a window size according to the size and resolution of the back screen, that is, a window size is to represent a specified size and position or an adaptive size and position of each view on a layout interface according to back screen width and height settings, but this technical scheme is to first determine whether a process of the application has been opened before:
(1) if the APP is not opened before, the WMS module of the system framework (Java) layer directly sets the window size according to the size and resolution of the back screen, namely, the rectangle variable related to the representative window size is set and the specified size and position or the self-adaptive size and position of each view on the layout interface according to the width and height of the back screen, and the SF module of the system framework (native) layer draws the window according to the size and resolution of the back screen and finally displays the window on the back screen in an equal proportion.
(2) If the APP is opened before, whether the APP is displayed on the front screen or the back screen after the APP is opened before can be judged.
If the APP is opened before being displayed on the front screen, a background process of the APP needs to be closed, display parameters generated when the APP is displayed on the front screen before are deleted, then the application is restarted, a window size is continuously set in a WMS module of a system framework (Java) layer or according to the size and resolution of a back screen, namely a rectangular variable related to a representative window size is set according to the width and height of the back screen and the designated size and position or the adaptive size and position of each view on a layout interface, and the size and resolution of the back screen of an SF module of the system framework (native) layer are drawn and finally displayed on the screen in the same proportion;
if the APP is displayed on the back screen by opening before, setting the window size at the WMS module layer of the system framework (Java) layer or according to the size and resolution of the back screen, namely, drawing the size and resolution of the back screen of the SF module of the system framework (native) layer according to the specified size and position or the self-adaptive size and position of each view on the back screen width and height setting and layout interface and displaying the size and resolution on the screen in an equal proportion finally.
The following illustrates the effects of the embodiments of the present invention, as shown in fig. 2 to 4:
fig. 2 is an effect diagram of a front screen when the electronic device opens an application program for the first time and displays the application program on the first screen, where the display is normal;
FIG. 3 is a diagram of a prior art method for directly displaying an application program on a second screen, such as a reverse screen, where the display is abnormal and the view on the interface is significantly enlarged;
fig. 4 shows the application program displayed on a second screen after the application program is restarted, for example, a reverse screen, the display is normal, and the view on the interface is the same as the view on the interface in fig. 2 in size and position.
The second embodiment of the present invention relates to an interface display method, and is a further improvement of the first embodiment, and the main improvements are: in the first embodiment, when the application program is already opened and displayed on another screen, the application program needs to be restarted and then displayed on the current screen to be displayed. In the second embodiment of the present invention, however, the application does not need to be restarted. The specific steps are shown in fig. 5, and include:
step S201: and acquiring an instruction for displaying the application program interface.
Step S202: it is confirmed on which screen the application needs to be displayed.
Step S203: judging whether the application program is opened at present, if so, executing step S204; if not, step S205 is executed.
Step S204: judging whether the application program is displayed on other screens, if so, executing step S206; if not, step S207 is executed.
Step S205: the application is opened.
Step S206: the relevant display parameters for the application are deleted.
Specifically, in this step, when it is determined on which screen the application needs to be displayed, and the application has been opened and displayed on another screen, the relevant display parameters generated when the application is displayed on another screen are directly deleted.
Further, when deleting the relevant display parameters, the electronic device only deletes the display parameters for display set and calculated when the application is displayed on the other screen, for example, the display parameters for display set and calculated according to the width, height and resolution of the other screen, including the rectangular variable for representing the window size, the position of the size of each view on the interface of drawing and layout, and the frame data width and frame data height drawn according to the size and resolution of the other screen. It is understood that the aforementioned display parameters for displaying include, but are not limited to, these three parameters, and all data parameters obtained according to information of other screens may be included, which is not listed here. Other parameters which are not used for screen display, such as operation data of a user, operation data of an application program and the like, are reserved.
Step S207: and laying out and displaying the application program interface according to the size and the resolution of the current screen to be displayed.
Since steps S201 to S205 and S207 in this embodiment are substantially the same as steps S101 to S105 and S107 in the first embodiment, it is intended to confirm the display screen of the application program, determine whether the application program is opened and displayed on other screens after confirming the display screen, and execute corresponding steps according to the determination result, and details are not repeated herein.
Compared with the prior art, according to the interface display method provided by the second embodiment of the present invention, when the electronic device obtains an instruction for displaying an application program interface, it is determined on which screen the application program needs to be displayed, before displaying the application program interface on the currently determined screen to be displayed, it is determined whether the application program has been opened and displayed on other screens, and when the application program has been opened and displayed on other screens, display parameters related to other screens are directly deleted, and the application program interface is directly displayed according to the size and resolution of the current screen to be displayed. Since the application program is already opened and displayed on other screens, when the application program is displayed on the current screen to be displayed, a lot of display parameters for display can be calculated according to the width, height, resolution and the like of other screens, if the application program is displayed again on the current screen to be displayed directly, in the process of display, the display parameters calculated according to the width, height, resolution and the like of the first screen can be directly called, because the width, height, resolution and the like of different screens of the electronic equipment are generally different, the display parameters of other screens are not suitable for the current screen to be displayed, and the display parameters of other screens are directly called to be used on the current screen to be displayed, so that the problem of abnormal display can occur, and in the embodiment, the display parameters related to other screens are directly deleted, and the application program interface is displayed again according to the size, resolution and layout of the current screen to be displayed, therefore, the display parameters related to other screens are effectively prevented from influencing the display of the current screen to be displayed, and abnormal display can not occur when a certain application program is displayed on the current screen to be displayed after the other screens are displayed. Meanwhile, the application program does not need to be restarted, so that the display efficiency can be effectively improved, and the display time is saved; and other historical data except the display parameters are reserved, and the historical operation data of the application program can be saved, so that the operation of a user is facilitated.
A third embodiment of the present invention relates to an electronic apparatus, as shown in fig. 6, including: at least one processor 301; and a memory 302 communicatively coupled to the at least one processor 301; the memory 302 stores instructions executable by the at least one processor 301, and the instructions are executed by the at least one processor 301, so that the at least one processor 301 can execute the interface display method.
Where the memory 302 and the processor 301 are coupled in a bus, the bus may comprise any number of interconnected buses and bridges, the buses coupling one or more of the various circuits of the processor 301 and the memory 302. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor 301 is transmitted over a wireless medium through an antenna, which further receives the data and transmits the data to the processor 301.
The processor 301 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 302 may be used to store data used by processor 301 in performing operations.
A third embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, those skilled in the art can understand that all or part of the steps in the method according to the above embodiments may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps in the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (9)

1. An interface display method is applied to electronic equipment with a plurality of screens, and is characterized by comprising the following steps:
acquiring an instruction for displaying an application program interface;
determining a screen to be displayed for displaying the application program interface according to the instruction;
detecting whether the application program is opened currently and displayed on other screens;
and if the application program is opened and displayed on other screens, restarting the application program and distributing and displaying the application program interface according to the size and the resolution of the screen to be displayed.
2. The interface display method of claim 1, wherein the detecting whether the application program has been opened currently and displayed after other screens further comprises:
and if the application program is not opened, directly opening the application program, and distributing and displaying the application program interface according to the size and the resolution of the screen to be displayed.
3. The interface display method of claim 1, wherein the detecting whether the application program has been opened currently and displayed after other screens further comprises:
and if the application program is opened but not displayed on the other screens, directly laying out and displaying the application program interface according to the size and the resolution of the screen to be displayed.
4. The interface display method according to any one of claims 1 to 3, wherein the laying out and displaying the application program interface according to the size and resolution of the screen to be displayed specifically includes:
setting a rectangular variable representing the size of a display window of the application program interface according to the size and the resolution of the screen to be displayed, and laying out the specified size and position of each view on the interface;
drawing the frame data width and the frame data height of the screen to be displayed according to the size and the resolution of the screen to be displayed;
and displaying the rectangular variable set according to the size and the resolution of the screen to be displayed and the frame data width and the frame data height of the screen to be displayed on the screen to be displayed in the same proportion.
5. The interface display method according to claim 4, wherein the setting of a rectangular variable representing the size of the display window of the application program interface according to the size and resolution of the screen to be displayed and the layout of the designated size and position of each view on the interface specifically includes:
and setting a rectangular variable representing the size of a display window of the application program interface and distributing the specified size and position of each view on the interface by a WMS module of the Framework layer of the electronic equipment according to the size and resolution of the screen to be displayed.
6. The interface display method according to claim 4, wherein the step of drawing the frame data width and the frame data height of the screen to be displayed according to the size and the resolution of the screen to be displayed specifically comprises:
and drawing the frame data width and the frame data height of the screen to be displayed according to the size and the resolution of the screen to be displayed by an SF module of the Framework layer of the electronic equipment system.
7. The interface display method according to claim 1, wherein the restarting the application program specifically includes:
and closing the application program, deleting the display parameters for display acquired according to the sizes and the resolutions of the other screens, and restarting the application program.
8. An electronic device, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the interface display method of any one of claims 1 to 7.
9. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the interface display method according to any one of claims 1 to 7.
CN201810802235.0A 2018-07-20 2018-07-20 Interface display method, electronic equipment and computer readable storage medium Pending CN109167875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810802235.0A CN109167875A (en) 2018-07-20 2018-07-20 Interface display method, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810802235.0A CN109167875A (en) 2018-07-20 2018-07-20 Interface display method, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN109167875A true CN109167875A (en) 2019-01-08

Family

ID=64897951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810802235.0A Pending CN109167875A (en) 2018-07-20 2018-07-20 Interface display method, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109167875A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377260A (en) * 2019-08-29 2019-10-25 湖北亿咖通科技有限公司 A kind of Multi-screen display system and method
CN112698907A (en) * 2021-03-25 2021-04-23 湖北亿咖通科技有限公司 Application display control method and electronic equipment
CN114265653A (en) * 2021-12-20 2022-04-01 北京字跳网络技术有限公司 Interface display method, device, equipment, storage medium and program product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106058A (en) * 2013-01-25 2013-05-15 Tcl集团股份有限公司 Double-screen display method and intelligent display terminal based on android platform
CN103488456A (en) * 2013-09-30 2014-01-01 上海斐讯数据通信技术有限公司 Screen resolution adjusting method and mobile terminal
US20140359435A1 (en) * 2013-05-29 2014-12-04 Microsoft Corporation Gesture Manipulations for Configuring System Settings
CN104503655A (en) * 2014-11-28 2015-04-08 晨星半导体股份有限公司 Application program interface display control method and device
CN105573689A (en) * 2014-10-10 2016-05-11 西安三维通信有限责任公司 Double-screen switching display device under Android platform
CN106055327A (en) * 2016-05-27 2016-10-26 联想(北京)有限公司 Display method and electronic device
CN106843688A (en) * 2017-01-19 2017-06-13 宇龙计算机通信科技(深圳)有限公司 The display screen changing method and device of a kind of intelligent terminal
CN107925749A (en) * 2015-08-12 2018-04-17 三星电子株式会社 Method and apparatus for the resolution ratio for adjusting electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103106058A (en) * 2013-01-25 2013-05-15 Tcl集团股份有限公司 Double-screen display method and intelligent display terminal based on android platform
US20140359435A1 (en) * 2013-05-29 2014-12-04 Microsoft Corporation Gesture Manipulations for Configuring System Settings
CN103488456A (en) * 2013-09-30 2014-01-01 上海斐讯数据通信技术有限公司 Screen resolution adjusting method and mobile terminal
CN105573689A (en) * 2014-10-10 2016-05-11 西安三维通信有限责任公司 Double-screen switching display device under Android platform
CN104503655A (en) * 2014-11-28 2015-04-08 晨星半导体股份有限公司 Application program interface display control method and device
CN107925749A (en) * 2015-08-12 2018-04-17 三星电子株式会社 Method and apparatus for the resolution ratio for adjusting electronic equipment
CN106055327A (en) * 2016-05-27 2016-10-26 联想(北京)有限公司 Display method and electronic device
CN106843688A (en) * 2017-01-19 2017-06-13 宇龙计算机通信科技(深圳)有限公司 The display screen changing method and device of a kind of intelligent terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377260A (en) * 2019-08-29 2019-10-25 湖北亿咖通科技有限公司 A kind of Multi-screen display system and method
CN110377260B (en) * 2019-08-29 2024-01-05 亿咖通(湖北)技术有限公司 Multi-screen display system and method
CN112698907A (en) * 2021-03-25 2021-04-23 湖北亿咖通科技有限公司 Application display control method and electronic equipment
WO2022198867A1 (en) * 2021-03-25 2022-09-29 亿咖通(湖北)技术有限公司 Display control method for application and electronic device
CN114265653A (en) * 2021-12-20 2022-04-01 北京字跳网络技术有限公司 Interface display method, device, equipment, storage medium and program product

Similar Documents

Publication Publication Date Title
EP2703974B1 (en) Mobile terminal and application icon moving method thereof
CN101833418B (en) Method and device for adding icon in interface and mobile terminal
US10338788B2 (en) Apparatus and method for processing contents in portable terminal
CN104750450A (en) File sharing method in IM (Instant Messaging) and terminal
US20110078621A1 (en) Thin client system, server apparatus, client apparatus, and storage medium
EP2950204A1 (en) Method for organizing home screen and electronic device implementing the same
CN106030487A (en) For controlling method and the electronic equipment thereof of the composition of screen
US9992440B2 (en) Method, apparatus and computer program product for configuration of a display screen
EP2797297A1 (en) Multi-zone interface switching method and device
US7865215B2 (en) Magnification of currently selected menu item
CN103914314A (en) Method and device for adjusting brightness of display screen
CN109167875A (en) Interface display method, electronic equipment and computer readable storage medium
CN110231922B (en) Mobile terminal display control method and mobile terminal
US20100180229A1 (en) Method for menu performance using shortcut key in potable terminal and apparatus thereof
CN109144443A (en) Electronic equipment multi-display method, electronic equipment and computer readable storage medium
CN105468284A (en) Mobile terminal control method and apparatus and mobile terminal
US20170094500A1 (en) Subscriber identity module card managing method and electronic device
CN106325836A (en) Window widget processing method and device
EP4109229A1 (en) Notification message processing method and apparatus, and electronic device, and storage medium
EP2346262A2 (en) Method and apparatus for setting stereoscopic effect in a portable terminal
CN110879732B (en) Methods, devices and storage media for application icon desktop management
CN107368357B (en) Multi-label display method and module for resource management window
CN104918073A (en) Image display method and terminal
CN105653143B (en) Processing method of application program operation interface and mobile terminal for realizing method
CN107992338A (en) The deployment method and electronic equipment of application program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190108