CN108415746B - Application interface display method and device, storage medium and electronic equipment - Google Patents
Application interface display method and device, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108415746B CN108415746B CN201810150926.7A CN201810150926A CN108415746B CN 108415746 B CN108415746 B CN 108415746B CN 201810150926 A CN201810150926 A CN 201810150926A CN 108415746 B CN108415746 B CN 108415746B
- Authority
- CN
- China
- Prior art keywords
- application
- screen
- interface
- terminal
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2203/00—Indexing scheme relating to G06F3/00 - G06F3/048
- G06F2203/048—Indexing scheme relating to G06F3/048
- G06F2203/04803—Split screen, i.e. subdividing the display area or the window area into separate subareas
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a display method and device of an application interface, a storage medium and electronic equipment. The display method of the application interface comprises the following steps: monitoring the terminal within a preset time length after the terminal starts the first application; if the situation that a message of a second application pops up on a screen when the first application is in a foreground is monitored, acquiring an operation instruction input by a user; and if the operation instruction is an instruction for indicating to view the message of the second application, displaying the interface of the first application and the interface of the second application on the screen in a split mode. The method and the device can improve the flexibility of split-screen display of different application interfaces.
Description
Technical Field
The application belongs to the technical field of terminals, and particularly relates to a display method and device of an application interface, a storage medium and an electronic device.
Background
At present, with the rapid development of terminal technology, for example, an intelligent terminal is more and more deep into the life of people, various applications, such as a photographing application, a game application, a map application, and the like, can be installed on the intelligent terminal for users to use.
However, in the related art, when the terminal performs split-screen display on the interfaces of different applications, the flexibility is poor.
Disclosure of Invention
The embodiment of the application interface display method and device, the storage medium and the electronic equipment can improve the flexibility of split-screen display of different application interfaces.
The embodiment of the application provides a display method of an application interface, which comprises the following steps:
monitoring the terminal within a preset time length after the terminal starts the first application;
if the situation that a message of a second application pops up on a screen when the first application is monitored to be in the foreground is monitored, acquiring an operation instruction input by a user;
and if the operation instruction is used for indicating to view the message of the second application, displaying the interface of the first application and the interface of the second application on the screen in a split mode.
An embodiment of the present application provides a display device for an application interface, including:
the monitoring module is used for monitoring the terminal within a preset time length after the terminal starts the first application;
the acquisition module is used for acquiring an operation instruction input by a user if a message of a second application pops up on a screen when the first application is monitored to be in a foreground;
and the display module is used for displaying the interface of the first application and the interface of the second application on the screen in a split mode if the operation instruction is an instruction for indicating to view the message of the second application.
The embodiment of the application provides a storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is enabled to execute the steps in the display method of the application interface provided by the embodiment of the application.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the steps of the display method of the application interface provided in the embodiment of the present application by calling the computer program stored in the memory.
The embodiment of the application interface display method and device, the storage medium and the electronic device can display the interface of the first application and the interface of the second application on a screen in a split mode if the terminal detects that a message of the second application pops up on the interface of the first application and a user needs to check the message of the second application within a preset time length after the terminal starts the first application. Therefore, the embodiment can improve the flexibility of split-screen display of the interfaces of different applications.
Drawings
The technical solution and the advantages of the present invention will be apparent from the following detailed description of the embodiments of the present invention with reference to the accompanying drawings.
Fig. 1 is a schematic flowchart of a display method of an application interface according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of a display method of an application interface provided in the embodiment of the present application.
Fig. 3 to fig. 6 are scene schematic diagrams of a display method of an application interface according to an embodiment of the present application.
Fig. 7 is a schematic structural diagram of a display device of an application interface according to an embodiment of the present application.
Fig. 8 is another schematic structural diagram of a display device of an application interface according to an embodiment of the present disclosure.
Fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 10 is another schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present invention are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the invention and should not be taken as limiting the invention with regard to other embodiments that are not detailed herein.
It can be understood that the execution subject of the embodiment of the present application may be a terminal device such as a smart phone or a tablet computer.
Referring to fig. 1, fig. 1 is a schematic flow chart of a display method of an application interface according to an embodiment of the present application, where the flow may include:
in step S101, the terminal is monitored within a preset duration after the terminal starts the first application.
At present, with the rapid development of terminal technology, for example, an intelligent terminal is more and more deep into the life of people, various applications, such as a photographing application, a game application, a map application, and the like, can be installed on the intelligent terminal for users to use.
However, in the related art, when the terminal performs split-screen display on the interfaces of different applications, the flexibility is poor.
In step S101 of the embodiment of the present application, the terminal may monitor the terminal first within a preset time period after the terminal starts the first application.
For example, the first application may be a web application. A web application is application software that operates on the internet or an intranet using a web browser, and is an application program written in a web language (e.g., programming languages such as HTML, JavaScript, Java, etc.), and needs to be executed through the browser, for example, can be accessed uniformly through an open platform. It should be explained that the installation package of the existing web application and the cache data generated during the operation are both stored in the server of the open platform, and it is not required to install and operate in the user equipment, so as to save the memory resource of the user equipment as much as possible, and the user equipment can perform data communication with the factory server of the web application through the application interface in the open platform, so as to realize the access to the web application, at this time, the server of the open platform acts as a proxy server, and each web application corresponds to one application interface. Then, the terminal may monitor the operation status of the terminal first within a preset time period after the first application is started.
In one embodiment, the predetermined time period is 1 minute or 2 minutes, and so on. For example, within 2 minutes after the first application is started, the terminal may first monitor the operation condition of the terminal. It will be appreciated that within 1 or 2 minutes after the first application is launched, it may be considered that the user has just begun using the first application.
Of course, in another embodiment, the first application may also be a legacy application. The conventional application refers to an application that needs to install an installation file locally in the terminal. Taking an android operating system as an example, the traditional application refers to an application that needs to install an installation file (android package) to the local of the terminal.
In step S102, if it is detected that a message of a second application pops up on the screen while the first application is in the foreground, an operation instruction input by the user is obtained.
For example, within 2 minutes after the first application is started, when the terminal monitors that the first application is located in the foreground of the terminal, a message of another application (i.e., a message of the second application) other than the first application pops up on the screen of the terminal, and at this time, the terminal may obtain an operation instruction input by the user.
It can be understood that during the period that the first application is located in the foreground of the terminal, the running interface of the first application is currently displayed on the screen of the terminal. At this time, if the message of the second application pops up on the screen, the message appearing as the second application on the display effect floats on the running interface of the first application.
In some embodiments, the second application may be a legacy application, may be another web application, and so on.
In step S103, if the operation instruction is an instruction for instructing to view the message of the second application, the interface of the first application and the interface of the second application are displayed in a split manner on the screen.
For example, after acquiring an operation instruction input by the user, the terminal may detect whether the operation instruction is an instruction for instructing to view a message of the second application.
If it is detected that the operation instruction is not an instruction for instructing to view a message of the second application, the terminal may perform other operations. For example, after seeing the message of the second application popped up on the screen, the user does not click on the message of the second application, but continues to operate on the first application. In this case, the terminal may continue to perform other operations.
If the operation instruction is detected to be an instruction for instructing to view the message of the second application,
for example, after detecting that the user views the message of the second application popped up on the screen, the terminal clicks the message of the second application on the screen to view the specific content of the message of the second application. At this time, the terminal may perform split screen display on the interface of the first application and the interface of the second application on the terminal screen. For example, the terminal displays the execution interface of the first application in the upper half screen portion of the screen, and displays the execution interface of the second application in the lower half screen portion.
It can be understood that, in this embodiment, within a preset time period after the first application is started, if the terminal detects that a message of the second application pops up on the interface of the first application and the user needs to view the message of the second application, the terminal may perform screen-splitting display on the interface of the first application and the interface of the second application on the screen. Therefore, the embodiment can improve the flexibility of split-screen display of the interfaces of different applications.
In addition, the user can view the interfaces of the first application and the second application at the same time according to the embodiment, so that the problem of experience interruption when the user just starts to use the first application can be effectively solved.
Referring to fig. 2, fig. 2 is another schematic flow chart of a display method of an application interface according to an embodiment of the present application, where the flow chart may include:
in step S201, the terminal monitors itself within a preset duration after the terminal starts the first application.
For example, the terminal may monitor the terminal first within a preset time period after the first application is started. For example, the first application may be a web application. Then, the terminal may monitor the operation status of the terminal first within a preset time period after the first application is started.
In one embodiment, the predetermined time period is 1 minute or 2 minutes, and so on. For example, within 2 minutes after the first application is started, the terminal may first monitor the operation condition of the terminal. It will be appreciated that within 1 or 2 minutes after the first application is launched, it may be considered that the user has just begun using the first application.
Of course, in another embodiment, the first application may also be a legacy application.
In step S202, if it is detected that a message of a second application pops up on the screen while the first application is in the foreground, the terminal obtains an operation instruction input by the user.
For example, within 2 minutes after the first application is started, when the terminal monitors that the first application is located in the foreground of the terminal, a message of another application (i.e., a message of the second application) other than the first application pops up on the screen of the terminal, and at this time, the terminal may obtain an operation instruction input by the user.
It can be understood that during the period that the first application is located in the foreground of the terminal, the running interface of the first application is currently displayed on the screen of the terminal. At this time, if the message of the second application pops up on the screen, the message appearing as the second application on the display effect floats on the running interface of the first application.
In some embodiments, the second application may be a legacy application, a web application, or the like.
After the operation instruction input by the user is acquired, the terminal may detect whether the operation instruction is an instruction for instructing to view the message of the second application.
If it is detected that the operation instruction is not an instruction for instructing to view a message of the second application, the terminal may perform other operations. For example, after seeing the message of the second application popped up on the screen, the user does not click on the message of the second application, but continues to operate on the first application. In this case, the terminal may continue to perform other operations.
If it is detected that the operation instruction is an instruction for instructing to view a message of the second application, step S203 is entered.
In step S203, if the operation instruction is an instruction for instructing to view the message of the second application, the terminal acquires the number of messages of the second application.
For example, after detecting that the user views the message of the second application popped up on the screen, the terminal clicks the message of the second application on the screen to view the specific content of the message of the second application. At this time, the terminal may acquire the number of messages of the second application.
In step S204, the terminal acquires the split screen ratio corresponding to the number, and determines the corresponding split screen ratio as the target split screen ratio.
For example, after the number of messages of the second application is acquired, the terminal may acquire a split screen ratio corresponding to the number, and determine the corresponding split screen as the target split screen ratio.
The split screen ratio may be a ratio of dividing an area of a display region in order to display an interface of the first application and an interface of the second application in a split screen manner in a screen display region (a region for displaying contents such as characters and images). That is, the split screen ratio may be used to represent a ratio of an area occupied by the interface of the first application and the interface of the second application in the display area.
For example, a split screen ratio of 5:5 may indicate that the top half of the screen display area is used to display the interface of the first application and the bottom half of the screen display area is used to display the interface of the second application. For another example, a split screen ratio of 4:6 may indicate that two fifths of the screen display area is used to display the interface of the first application and three fifths of the screen display area is used to display the interface of the second application.
In one embodiment, the terminal may preset a correspondence between the number of messages and the screen-splitting ratio, and generate a correspondence table. Then, after the number of the messages of the second application is obtained, the terminal may query the correspondence table according to the number, so as to obtain the split-screen ratio corresponding to the number, and determine the split-screen ratio as the target split-screen ratio.
For example, when the number of messages of the second application is less than 5, the split ratio of the first application to the second application interface is 7: 3. When the number of the messages of the second application is 5-10, the split screen ratio of the first application to the second application interface is 5: 5. When the number of the messages of the second application is more than 10, the split screen ratio of the first application to the second application interface is 3:7, and the like. It is to be understood that the present embodiment is not limited thereto.
In step S205, according to the target split-screen ratio, the terminal performs split-screen display on the interface of the first application and the interface of the second application on the screen.
For example, after determining the target split-screen ratio, the terminal may perform split-screen display on the interface of the first application and the interface of the second application in the display area of the screen. For example, if the number of messages of the second application is 5 and the corresponding target split screen ratio is 5:5, the terminal may display the interface of the first application on the upper half screen of the screen display area and display the interface of the second application on the lower half screen of the screen display area.
In step S206, if it is detected that the user inputs the reply information to the message of the second application on the screen, the terminal decreases the ratio of the interface of the first application on the screen.
For example, the second application is an instant messaging application, and the message of the second application is chat information sent by a friend of the user. Then, after the interface of the first application and the interface of the second application are displayed in a split screen manner, if the terminal detects that the user inputs reply information to the message of the second application on the screen, the terminal can reduce the proportion of the interface of the first application in the screen display area.
For example, in S205, the terminal displays the interface of the first application on the upper half screen of the screen display area and the interface of the second application on the lower half screen of the screen display area according to the ratio of 5: 5. After that, the terminal detects that the user inputs a reply message to the message of the second application on the screen, at this time, the terminal may adjust the split screen ratio from 5:5 to 3.5:6.5, that is, a region portion which occupies 35% of the total area of the display region on the upper portion of the screen display region is used for displaying the interface of the first application, and a region portion which occupies 65% of the total area of the display region on the lower portion of the screen display region is used for displaying the interface of the second application.
In an embodiment, the step of monitoring the terminal within a preset time period after the terminal starts the first application in S201 may include:
after a terminal starts a first application, if the first application is detected to belong to an application of a target class, the terminal detects whether an icon of the first application exists on an operating system desktop;
and if the fact that the icon of the first application does not exist on the operating system desktop of the terminal is detected, the terminal monitors the terminal within the preset time length after the first application is started.
For example, if the first application is a web application, after the first application is launched, the terminal may detect whether the first application belongs to a target category of applications. In one embodiment, the target class of applications may be a video playback class of applications.
If it is detected that the first application does not belong to an application of the video playing class, the terminal may perform other operations.
If the first application is detected to belong to the application of the video playing class, the terminal can further detect whether an icon of the first application exists on an operating system desktop of the terminal. If it is detected that the icon of the first application does not exist on the desktop of the operating system of the terminal, it can be considered that the first application can be opened only through more complicated steps. In this case, the terminal may monitor the terminal within a preset time after the first application is started, and when it is detected that the user needs to view the message of the second application, perform screen-division display on the interface of the first application and the interface of the second application. If the icon of the first application exists on the desktop, the terminal can execute other operations.
It can be understood that for the video playing class application, the user needs to play the video or is playing the video at any time, and the experience of watching the video is not interrupted. Therefore, if the icon of the first application does not exist on the desktop, after the user jumps to the interface of the second application, a more tedious step is needed if the user needs to return to the interface of the first application again.
In an embodiment, after the number of the messages of the second application is acquired, the terminal may further detect whether the messages of the second application include messages of a video class or a picture class (including still pictures and moving pictures).
If the message of the second application is detected not to contain the messages of the video class and the picture class, the terminal can directly acquire the split screen proportion corresponding to the number of the messages of the second application, namely the first split screen proportion, and determine the first split screen proportion as the target split screen proportion. For example, if the number of the messages of the second application is 6 and the terminal detects that the messages of the video class and the picture class are not included in the messages of the second application, the terminal may acquire a split screen ratio 5:5 corresponding to the number of 6 and determine it as the target split screen ratio.
If the message of the second application is detected to contain the message of the video class and the picture class, for example, the second application is an instant messaging application, the chat message sent by the friend of the user contains the information of the picture or the video class in addition to the text information. In this case, the terminal may first acquire a first screen division ratio 5:5 corresponding to the number 6 of messages of the second application, and then the terminal may increase a number indicating a occupation ratio of an interface of the second application on the screen area on the basis of the first screen division ratio to obtain a second screen division ratio. For example, the first split screen ratio is 5:5, then the terminal may increase the ratio of the interface representing the second application in the screen from 5 to 7 on the basis of the ratio, that is, the second split screen ratio is 5: 7. Then, the terminal may determine the second split ratio as a target split ratio.
It can be understood that, when the message of the video class or the picture class is included in the message of the second application, since a larger display area is required for viewing the message of the video class or the picture class, the embodiment may improve the experience of the user viewing the message by increasing the proportion of the interface of the second application on the screen.
In one embodiment, the terminal may further determine the target split screen ratio according to the number of characters included in the message of the second application. For example, after detecting that the user sees a message of the second application popped up on the screen, the terminal clicks the message of the second application on the screen to view the specific content of the message of the second application. At this time, the terminal may obtain the number of characters included in the message of the second application, obtain the screen splitting ratio corresponding to the number of characters, and determine it as the target screen splitting ratio. And then, the terminal performs split-screen display on the interface of the first application and the interface of the second application according to the target split-screen proportion.
In an embodiment, after the interfaces of the first application and the second application are displayed in a split screen manner, if it is detected that the user performs the corresponding operation on the interface of the second application and then performs the return operation or the exit operation, the terminal may cancel the split screen display of the interfaces of the first application and the second application and only display the interface of the first application, that is, cancel the display of the interface of the second application.
Referring to fig. 3 to 6, fig. 3 to 6 are scene schematic diagrams illustrating a display method of an application interface according to an embodiment of the present application.
For example, the terminal may monitor the terminal within 2 minutes after the web application a is started. For example, since the user has been watching a video using the web application a since the web application a was started, an interface for the web application a is displayed on the terminal screen, as shown in fig. 3.
The experience of watching the video is not easy to interrupt, so the terminal can detect the terminal. For example, 1 minute after the web application a is started, the terminal monitors that a message of the instant messaging application B pops up on the screen, for example, the message is chat information sent by a friend of the user, as shown in fig. 4. At this time, the terminal may acquire an operation instruction input by the user. For example, the terminal detects that the user has clicked on the message of the instant messaging application B to view the message. This process is illustrated in fig. 4.
At this time, the terminal may obtain the number of the chat messages sent by the friends of the user. For example, a user's friend sends 5 pieces of information to the user. After acquiring the number 5, the terminal may acquire a split screen ratio corresponding to the number 5. For example, by querying a preset correspondence table between the number and the split screen ratio, the terminal acquires that the split screen ratio corresponding to the number 5 is 5: 5. The terminal can determine the split screen ratio of 5:5 as a target split screen ratio, and split screen display is performed on the interface of the webpage application A and the interface of the instant messaging application B in the display area of the screen according to the target split screen ratio. For example, the terminal may display an interface of a web application a on the upper half of the screen display area and an interface of an instant messaging application B on the lower half of the screen display area, as shown in fig. 5.
And then, the terminal detects that the user replies the chat information sent by the friend on the interface of the instant messaging application B, at the moment, the terminal can adjust the split screen proportion, and split screen display is carried out on the interface of the webpage application A and the interface of the instant messaging application according to the adjusted split screen proportion. For example, the terminal adjusts the split screen ratio from 5:5 to 3: 7. For example, as shown in fig. 6.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a display device of an application interface according to an embodiment of the present application. The display device 300 of the application interface may include: a monitoring module 301, an obtaining module 302, and a display module 303.
The monitoring module 301 is configured to monitor the terminal within a preset time period after the terminal starts the first application.
For example, the monitoring module 301 may monitor the terminal first within a preset time period after the first application is started. For example, the first application is a web application. Then, within a preset time period after the first application is started, the monitoring module 301 may monitor the operation status of the terminal first.
In one embodiment, the predetermined time period is 1 minute or 2 minutes, and so on. For example, within 2 minutes after the first application is started, the monitoring module 301 may first monitor the operation status of the terminal. It will be appreciated that within 1 or 2 minutes of starting the first application, it may be considered that the user has just started using the first application.
Of course, in another embodiment, the first application may also be a legacy application.
An obtaining module 302, configured to obtain an operation instruction input by a user if it is monitored that a message of a second application pops up on a screen while the first application is in a foreground.
For example, within 2 minutes after the first application is started, the monitoring module 301 monitors that a message of another application (i.e., a message of the second application) other than the first application pops up on the screen of the terminal while the first application is located in the foreground of the terminal, and at this time, the obtaining module 302 may obtain the operation instruction input by the user.
It can be understood that during the period that the first application is located in the foreground of the terminal, the running interface of the first application is currently displayed on the screen of the terminal. At this time, if the message of the second application pops up on the screen, the message appearing as the second application on the display effect floats on the running interface of the first application.
In some embodiments, the second application may be a legacy application, may be another web application, and so on.
After the obtaining module 302 obtains the operation instruction input by the user, the terminal may detect whether the operation instruction is an instruction for instructing to view the message of the second application.
If it is detected that the operation instruction is not an instruction for instructing to view a message of the second application, the terminal may perform other operations. For example, after seeing the message of the second application popped up on the screen, the user does not click on the message of the second application, but continues to operate on the first application. In this case, the terminal may continue to perform other operations.
A display module 303, configured to display the interface of the first application and the interface of the second application in a split screen manner on the screen if the operation instruction is an instruction for instructing to view the message of the second application.
For example, after detecting that the user views the message of the second application popped up on the screen, the terminal clicks the message of the second application on the screen to view the specific content of the message of the second application. At this time, the display module 303 may perform split screen display on the interface of the first application and the interface of the second application on the terminal screen. For example, the display module 303 displays the running interface of the first application on the upper half screen portion of the screen, and displays the running interface of the second application on the lower half screen portion.
In one embodiment, the display module 303 may be configured to:
acquiring a target screen splitting ratio;
and according to the target split screen proportion, performing split screen display on the interface of the first application and the interface of the second application on the screen.
For example, after detecting that the user views the message of the second application popped up on the screen, the terminal clicks the message of the second application on the screen to view the specific content of the message of the second application. At this time, the display module 303 may first obtain the target split ratio.
The split screen ratio may be a ratio of dividing an area of a display region in order to display an interface of the first application and an interface of the second application in a split screen manner in a screen display region (a region for displaying contents such as characters and images). That is, the split screen ratio may be used to represent a ratio of an area occupied by the interface of the first application and the interface of the second application in the display area.
For example, a split screen ratio of 5:5 may indicate that the top half of the screen display area is used to display the interface of the first application and the bottom half of the screen display area is used to display the interface of the second application. For another example, a split screen ratio of 4:6 may indicate that two fifths of the screen display area is used to display the interface of the first application and three fifths of the screen display area is used to display the interface of the second application.
After the target split-screen ratio is obtained, the display module 303 may perform split-screen display on the interface of the first application and the interface of the second application on the screen. For example, if the target split screen ratio is 5:5, the terminal displays the running interface of the first application in the upper half screen portion of the screen, and displays the running interface of the second application in the lower half screen portion.
In one embodiment, the display module 303 may be configured to:
acquiring the number of messages of the second application;
and acquiring the split screen proportion corresponding to the number, and determining the corresponding split screen proportion as a target split screen proportion.
For example, after detecting that the user views the message of the second application popped up on the screen, the terminal clicks the message of the second application on the screen to view the specific content of the message of the second application. At this time, the display module 303 may acquire the number of messages of the second application.
After the number of messages of the second application is acquired, the display module 303 may acquire a split screen ratio corresponding to the number, and determine the corresponding split screen as a target split screen ratio.
In one embodiment, the terminal may preset a correspondence between the number of messages and the screen-splitting ratio, and generate a correspondence table. Then, after the number of the messages of the second application is obtained, the terminal may query the correspondence table according to the number, so as to obtain the split-screen ratio corresponding to the number, and determine the split-screen ratio as the target split-screen ratio.
For example, when the number of messages of the second application is less than 5, the split ratio of the first application to the second application interface is 7: 3. When the number of the messages of the second application is 5-10, the split screen ratio of the first application to the second application interface is 5: 5. When the number of the messages of the second application is more than 10, the split screen ratio of the first application to the second application interface is 3:7, and the like. It is to be understood that the present embodiment is not limited thereto.
After determining the target split-screen ratio, the display module 303 may perform split-screen display on the interface of the first application and the interface of the second application in the display area of the screen according to the target split-screen ratio.
In one embodiment, the monitoring module 301 may be configured to:
after a terminal starts a first application, if the first application is detected to belong to an application of a target class, detecting whether an icon of the first application exists on an operating system desktop of the terminal;
and if the fact that the icon of the first application does not exist on the operating system desktop of the terminal is detected, monitoring the terminal within a preset time length after the first application is started.
Referring to fig. 8, fig. 8 is another schematic structural diagram of a display device of an application interface according to an embodiment of the present disclosure. In an embodiment, the display device 300 of the application interface may further include: and an adjustment module 304.
An adjusting module 304, configured to reduce a ratio of the interface of the first application on the screen if it is detected that the user inputs reply information to the message of the second application on the screen.
For example, the second application is an instant messaging application, and the message of the second application is chat information sent by a friend of the user. Then, after the interface of the first application and the interface of the second application are displayed in a split screen manner, if the terminal detects that the user inputs reply information to the message of the second application on the screen, the terminal may trigger the adjustment module 304 to reduce the proportion of the interface of the first application in the screen display area.
For example, the display module 303 may display the interface of the first application on the top half of the screen display area and the interface of the second application on the bottom half of the screen display area in a 5:5 ratio. After that, the terminal detects that the user inputs a reply message to the message of the second application on the screen, at this time, the adjusting module 304 may adjust the split screen ratio from 5:5 to 3.5:6.5, that is, a region portion which is at the upper part of the screen display region and occupies 35% of the total area of the display region is used for displaying the interface of the first application, and a region portion which is at the lower part of the screen display region and occupies 65% of the total area of the display region is used for displaying the interface of the second application.
The embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed on a computer, the computer is caused to execute the steps in the display method of the application interface provided in the embodiment.
The embodiment of the present application further provides an electronic device, which includes a memory and a processor, where the processor is configured to execute the steps in the display method of the application interface provided in this embodiment by calling the computer program stored in the memory.
For example, the electronic device may be a mobile terminal such as a tablet computer or a smart phone. Referring to fig. 9, fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
The mobile terminal 400 may include a display unit 401, memory 402, a processor 403, and the like. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 9 is not intended to be limiting of mobile terminals and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The display unit 401 may include a display screen of the terminal or the like.
The memory 402 may be used to store applications and data. The memory 402 stores applications containing executable code. The application programs may constitute various functional modules. The processor 403 executes various functional applications and data processing by running an application program stored in the memory 402.
The processor 403 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing an application program stored in the memory 402 and calling data stored in the memory 402, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the processor 403 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 402 according to the following instructions, and the processor 403 runs the application programs stored in the memory 402, thereby implementing the steps:
monitoring the terminal within a preset time length after the terminal starts the first application; if the situation that a message of a second application pops up on a screen when the first application is monitored to be in the foreground is monitored, acquiring an operation instruction input by a user; and if the operation instruction is used for indicating to view the message of the second application, displaying the interface of the first application and the interface of the second application on the screen in a split mode.
Referring to fig. 10, the mobile terminal 500 may include a display unit 501, a memory 502, a processor 503, an input unit 504, an output unit 505, and the like.
The display unit 501 may include a display screen of the terminal or the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 503 executes various functional applications and data processing by running an application program stored in the memory 502.
The processor 503 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the mobile terminal.
The input unit 504 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and to generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The output unit 505 may be used to display information input by or provided to a user and various graphic user interfaces of the mobile terminal, which may be configured by graphics, text, icons, video, and any combination thereof. The output unit may include a display panel.
In this embodiment, the processor 503 in the mobile terminal loads the executable code corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 503 runs the application programs stored in the memory 502, thereby implementing the steps:
monitoring the terminal within a preset time length after the terminal starts the first application; if the situation that a message of a second application pops up on a screen when the first application is monitored to be in the foreground is monitored, acquiring an operation instruction input by a user; and if the operation instruction is used for indicating to view the message of the second application, displaying the interface of the first application and the interface of the second application on the screen in a split mode.
In one embodiment, when the processor 503 performs the step of displaying the interface of the first application and the interface of the second application on the screen in a split manner, it may perform: acquiring a target screen splitting ratio; and according to the target split screen proportion, performing split screen display on the interface of the first application and the interface of the second application on the screen.
In one embodiment, when the processor 503 executes the step of obtaining the target split-screen ratio, it may execute: acquiring the number of messages of the second application; and acquiring the split screen proportion corresponding to the number, and determining the corresponding split screen proportion as a target split screen proportion.
In an embodiment, when the processor 503 performs the step of monitoring the terminal within a preset time period after the terminal starts the first application, it may perform: after a terminal starts a first application, if the first application is detected to belong to an application of a target class, detecting whether an icon of the first application exists on an operating system desktop of the terminal; and if the fact that the icon of the first application does not exist on the operating system desktop of the terminal is detected, monitoring the terminal within a preset time length after the first application is started.
In one embodiment, after the interface of the first application and the interface of the second application are displayed on the screen in a split manner, the processor 503 may further perform: and if the condition that the user inputs reply information of the message of the second application on the screen is detected, reducing the proportion of the interface of the first application on the screen.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and parts that are not described in detail in a certain embodiment may refer to the above detailed description of the display method for the application interface, and are not described herein again.
The display device of the application interface provided in the embodiment of the present application and the display method of the application interface in the above embodiments belong to the same concept, and any method provided in the display method embodiment of the application interface can be run on the display device of the application interface, and a specific implementation process thereof is described in detail in the display method embodiment of the application interface, and is not described herein again.
It should be noted that, for the method for displaying the application interface described in the embodiment of the present application, it can be understood by those skilled in the art that all or part of the process for implementing the method for displaying the application interface described in the embodiment of the present application can be completed by controlling the relevant hardware through a computer program, where the computer program can be stored in a computer-readable storage medium, such as a memory, and executed by at least one processor, and during the execution process, the process of the embodiment of the method for displaying the application interface can be included. The storage medium may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like.
For the display device of the application interface in the embodiment of the present application, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
The foregoing describes in detail a display method, an apparatus, a storage medium, and an electronic device of an application interface provided in an embodiment of the present application, and a specific example is applied in the present application to explain the principle and the implementation of the present invention, and the description of the foregoing embodiment is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
Claims (6)
1. A display method of an application interface is characterized by comprising the following steps:
after a terminal starts a first application, if the first application is detected to belong to an application of a target class, detecting whether an icon of the first application exists on an operating system desktop of the terminal;
if the fact that the icon of the first application does not exist on the operating system desktop of the terminal is detected, monitoring the terminal within a preset duration after the first application is started;
if the situation that a message of a second application pops up on a screen when the first application is monitored to be in the foreground is monitored, acquiring an operation instruction input by a user;
if the operation instruction is used for indicating to view the message of the second application, displaying the interface of the first application and the interface of the second application on the screen in a split-screen manner, wherein when the message of the second application is detected to contain the message of a video type or a picture type, acquiring a first split-screen ratio corresponding to the number of the message of the second application, increasing a number used for representing the proportion of the interface of the second application on the screen area on the basis of the first split-screen ratio to obtain a second split-screen ratio, and determining the proportion of the interface of the first application and the interface of the second application on the screen according to the second split-screen ratio;
and if the condition that the user inputs reply information of the message of the second application on the screen is detected, reducing the proportion of the interface of the first application on the screen.
2. The method for displaying the application interface according to claim 1, wherein the step of displaying the interface of the first application and the interface of the second application on the screen in a split manner comprises:
acquiring a target screen splitting ratio;
and according to the target split screen proportion, performing split screen display on the interface of the first application and the interface of the second application on the screen.
3. A display device for an application interface, comprising:
the terminal comprises a monitoring module and a processing module, wherein the monitoring module is used for detecting whether an icon of a first application exists on an operating system desktop of the terminal or not after the terminal starts the first application if the first application is detected to belong to an application of a target class, and monitoring the terminal within a preset time length after the first application is started if the icon of the first application does not exist on the operating system desktop of the terminal;
the acquisition module is used for acquiring an operation instruction input by a user if a message of a second application pops up on a screen when the first application is monitored to be in a foreground;
the display module is used for displaying the interface of the first application and the interface of the second application in a split screen mode on the screen if the operation instruction is an instruction for indicating to view the message of the second application, wherein when the message of the second application is detected to contain the message of a video type or a picture type, a first split screen ratio corresponding to the number of the message of the second application is obtained, on the basis of the first split screen ratio, a number for representing the proportion of the interface of the second application on the screen area is increased to obtain a second split screen ratio, and the proportion of the interface of the first application and the interface of the second application on the screen is determined according to the second split screen ratio;
and the adjusting module is used for reducing the proportion of the interface of the first application on the screen if the condition that the user inputs reply information of the message of the second application on the screen is detected.
4. The display device of the application interface according to claim 3, wherein the split-screen display of the interface of the first application and the interface of the second application on the screen comprises:
acquiring a target screen splitting ratio;
and according to the target split screen proportion, performing split screen display on the interface of the first application and the interface of the second application on the screen.
5. A storage medium having stored thereon a computer program, characterized in that the computer program, when executed on a computer, causes the computer to execute the method according to any of claims 1-2.
6. An electronic device comprising a memory, a processor, wherein the processor is configured to perform the method of any of claims 1-2 by invoking a computer program stored in the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810150926.7A CN108415746B (en) | 2018-02-13 | 2018-02-13 | Application interface display method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810150926.7A CN108415746B (en) | 2018-02-13 | 2018-02-13 | Application interface display method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108415746A CN108415746A (en) | 2018-08-17 |
CN108415746B true CN108415746B (en) | 2020-04-10 |
Family
ID=63128807
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810150926.7A Active CN108415746B (en) | 2018-02-13 | 2018-02-13 | Application interface display method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108415746B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111324262B (en) * | 2020-01-20 | 2022-04-29 | 腾讯科技(深圳)有限公司 | Application interface control method, device, terminal and medium |
CN113918256B (en) * | 2021-09-30 | 2024-09-17 | 联想(北京)有限公司 | Control method and device and electronic equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104898952A (en) * | 2015-06-16 | 2015-09-09 | 魅族科技(中国)有限公司 | Terminal screen splitting implementing method and terminal |
CN107066269A (en) * | 2017-03-29 | 2017-08-18 | 宇龙计算机通信科技(深圳)有限公司 | A kind of split screen processing method and processing device of terminal |
CN107562361A (en) * | 2017-09-06 | 2018-01-09 | 广东欧珀移动通信有限公司 | Message treatment method, device and terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008066768A (en) * | 2006-09-04 | 2008-03-21 | Fujitsu Ten Ltd | On-vehicle digital broadcast receiver |
-
2018
- 2018-02-13 CN CN201810150926.7A patent/CN108415746B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104898952A (en) * | 2015-06-16 | 2015-09-09 | 魅族科技(中国)有限公司 | Terminal screen splitting implementing method and terminal |
CN107066269A (en) * | 2017-03-29 | 2017-08-18 | 宇龙计算机通信科技(深圳)有限公司 | A kind of split screen processing method and processing device of terminal |
CN107562361A (en) * | 2017-09-06 | 2018-01-09 | 广东欧珀移动通信有限公司 | Message treatment method, device and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN108415746A (en) | 2018-08-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3623942B1 (en) | Message processing method and apparatus, storage medium, and computer device | |
CN113157906B (en) | Recommendation information display method, device, equipment and storage medium | |
EP4087258A1 (en) | Method and apparatus for displaying live broadcast data, and device and storage medium | |
JP6226394B2 (en) | Instantiable gesture object | |
US11890540B2 (en) | User interface processing method and device | |
US20230211235A1 (en) | Device control method and apparatus, computer device, and storage medium | |
US11455075B2 (en) | Display method when application is exited and terminal | |
CN108710512B (en) | Application program preloading method and device, storage medium and intelligent terminal | |
US11314391B2 (en) | Navigation bar controlling method and terminal | |
CN110457621A (en) | A kind of page display method, device and the medium of mixing application | |
EP4030371A1 (en) | Method and device for acquiring virtual resource and storage medium | |
CN111124564A (en) | Method and device for displaying user interface | |
CN108345683B (en) | Webpage display method, device, terminal and storage medium | |
CN108415746B (en) | Application interface display method and device, storage medium and electronic equipment | |
US10725797B2 (en) | Service-driven dynamic user interface technology | |
CN115390707A (en) | Sharing processing method and device, electronic equipment and storage medium | |
CN108319474B (en) | Page information generation method, device and equipment | |
CN115309470A (en) | Method, device and equipment for loading widgets and storage medium | |
US20240201830A1 (en) | Page interaction | |
KR102225476B1 (en) | Application control of embedded web content execution | |
EP4351117A1 (en) | Information display method and apparatus, and electronic device | |
CN116594616A (en) | Component configuration method and device and computer readable storage medium | |
CN112732250A (en) | Interface processing method, device and storage medium | |
CN115828845A (en) | Multimedia data viewing method, device, medium and equipment | |
CN114020396A (en) | Display method of application program and data generation method 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 | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |