[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN118012557A - Split screen display method and device, electronic equipment and storage medium - Google Patents

Split screen display method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN118012557A
CN118012557A CN202410140683.4A CN202410140683A CN118012557A CN 118012557 A CN118012557 A CN 118012557A CN 202410140683 A CN202410140683 A CN 202410140683A CN 118012557 A CN118012557 A CN 118012557A
Authority
CN
China
Prior art keywords
interface
application
split
screen
target application
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
CN202410140683.4A
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.)
SAIC GM Wuling Automobile Co Ltd
Original Assignee
SAIC GM Wuling Automobile 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 SAIC GM Wuling Automobile Co Ltd filed Critical SAIC GM Wuling Automobile Co Ltd
Priority to CN202410140683.4A priority Critical patent/CN118012557A/en
Publication of CN118012557A publication Critical patent/CN118012557A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/14Display of multiple viewports
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/30Control of display attribute

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a split screen display method, a split screen display device, electronic equipment and a storage medium, wherein when abnormal starting phenomena such as a black screen and the like possibly occur to an application meeting the split screen condition are detected, the split screen is used for covering an interface to shield a split screen area in the whole process during the loading of an application interface, so that the abnormal starting phenomena are prevented from being displayed on a screen, the phenomenon that a user perceives the black screen is avoided, and the visual experience of the user is improved. The split screen display method comprises the following steps: in response to detecting that the at least one application satisfies the split screen condition, creating at least one split screen region; responding to the existence of at least one target application matched with the abnormal starting application list in all applications, and displaying a corresponding split-screen coverage interface in a corresponding split-screen area when an application interface of the target application starts to be loaded in the corresponding split-screen area; and responding to the completion of loading of the application interface corresponding to the target application, displaying the application interface on the corresponding split screen area, and deleting the corresponding split screen coverage interface.

Description

Split screen display method and device, electronic equipment and storage medium
[ Field of technology ]
The embodiment of the application relates to the technical field of terminals, in particular to a split screen display method and device, electronic equipment and a storage medium.
[ Background Art ]
The current terminal equipment generally supports an application split screen function, namely, a display screen is divided into a plurality of split screens, so that the requirement that a user operates a plurality of applications simultaneously is met.
However, when the single screen mode is required to be switched to the split screen mode, or when additional split screens are required to be created in the split screen mode, abnormal phenomena such as the black screen in the split screen area in a short time occur due to limited operation performance of the terminal, so that the visual experience of a user is poor.
[ Invention ]
The embodiment of the application provides a split screen display method, a split screen display device, electronic equipment and a storage medium, wherein when abnormal starting phenomena such as a black screen and the like possibly occur to an application meeting a split screen condition are detected, a split screen coverage interface is used for shielding a split screen area in the whole process during loading of an application interface, so that the abnormal starting phenomena are prevented from being displayed on a screen, the phenomenon that a user perceives the black screen is avoided, and the visual experience of the user is improved.
In a first aspect, an embodiment of the present application provides a split screen display method, which is applied to a terminal side, where the method includes:
In response to detecting that at least one application meets a split screen condition, creating at least one split screen area, each split screen area corresponding to one of the applications;
responding to the existence of at least one target application matched with an abnormal starting application list in all the applications, and displaying a corresponding split screen coverage interface in a corresponding split screen area when an application interface of the target application starts to be loaded in the corresponding split screen area, wherein the display size of the split screen coverage interface is equal to the size of the split screen area, and the opacity is larger than zero;
and responding to the completion of the loading of the application interface corresponding to the target application, displaying the application interface on the corresponding split screen area, and deleting the corresponding split screen coverage interface.
In the embodiment of the application, when at least one application needs to be displayed in the split screen area, all the applications needing to be displayed in the split screen are matched with the abnormal starting application list, and the corresponding split screen coverage interfaces are displayed in the split screen area corresponding to the matched target application so as to shield the abnormal phenomena such as black screen and the like which possibly occur, thereby avoiding users from perceiving the abnormal phenomena and improving the visual experience of the users.
Optionally, the split-screen coverage interface corresponding to the target application adopts a preset first interface layout and a first appearance style, where the first interface layout is used to indicate an arrangement mode of at least one interface element in the split-screen coverage interface, the interface element includes text, a picture, a video or an interactive button, and the first appearance style is at least used to indicate a background color, a display resolution and a font format of the split-screen coverage interface.
According to the embodiment of the application, the split screen coverage interface of the target application is displayed according to the preset first appearance style and the first interface layout, so that all applications which are likely to have black screens are displayed by using the uniform split screen coverage interface, a user obtains uniform visual experience when starting different target applications, and the design cost of the split screen coverage interface is reduced.
Optionally, the split-screen coverage interface corresponding to the target application adopts a second interface layout and a second appearance style, wherein the second interface layout is consistent with the application interface layout of the target application, and the second appearance style is consistent with the application interface appearance style of the target application; or alternatively
The split-screen coverage interface corresponding to the target application adopts a third interface layout and a third appearance style, wherein the third interface layout is consistent with the system interface layout of the terminal side, and the third appearance style is consistent with the system interface appearance style of the terminal side.
In the embodiment of the application, the split-screen coverage interface of the target application is loaded by using the second interface layout and the second appearance style consistent with the application interface of the target application or using the third interface layout and the third appearance style consistent with the system interface of the terminal, so that a user does not feel abrupt of interface switching when using the split-screen function, and more coherent visual experience is obtained.
Optionally, in response to at least one target application matching with an abnormally started application list in all the applications, when an application interface of the target application starts to be loaded in the corresponding split screen area, displaying a corresponding split screen coverage interface in the corresponding split screen area, including:
Adding an overlay tag for the target application in response to at least one target application matched with the abnormal starting application name in all the applications;
in response to the detection of the coverage label, an interface resource file for loading the split-screen coverage interface corresponding to the target application is searched from a preset resource library;
Loading the corresponding split-screen coverage interface in the split-screen area corresponding to the target application added with the coverage label according to the searched interface resource file;
and displaying the loaded split screen coverage interface in the split screen area corresponding to the target application.
According to the embodiment of the application, the overlay label is added for the target application, so that the system can quickly identify the target application needing to display the split-screen overlay interface, and the split-screen overlay interface corresponding to the target application is displayed according to the overlay label, so that when abnormal phenomena such as black screen and the like possibly occur in the target application, the system can directly find the corresponding target application according to the overlay label, quick response to the abnormal phenomena is realized, and the display speed of the split-screen overlay interface is accelerated.
Optionally, in response to at least one target application matching with the abnormally started application list in all the applications, when an application interface of the target application starts to be loaded in the corresponding split screen area, before the corresponding split screen area displays the corresponding split screen coverage interface, the method further includes:
Responding to the first starting of the application, and acquiring the starting time of the application;
Responding to the completion of the display of the application interface corresponding to the application, and recording the interface display time of the application;
calculating a time difference between the interface display time and the starting time;
and in response to the time difference value being greater than a first set time threshold, adding the application corresponding to the time difference value to the list of abnormally-started applications.
In the embodiment of the application, the time difference between the starting time of the target application and the interface display time is obtained, whether the time difference is larger than the first set time threshold is judged, whether the application is likely to have abnormal phenomena such as black screen and the like is confirmed, so that the target application which is likely to have abnormal phenomena is timely checked, the automatic update of the abnormal starting application list is realized, and the complexity of manually maintaining the abnormal starting application list is saved.
Optionally, in response to completion of loading of the application interface corresponding to the target application and displaying the application interface on the corresponding split screen area, deleting the corresponding split screen coverage interface includes:
responding to the completion of loading of the application interface corresponding to the target application, and displaying the application interface of the target application under the corresponding split screen coverage interface;
in response to the completion of the display of the application interface corresponding to the target application, periodically reducing the opacity of the corresponding split-screen coverage interface based on a preset reduction amount until the opacity of the split-screen coverage interface is reduced to zero, wherein the reduction amount is any number between zero and one;
And deleting the corresponding split-screen coverage interface from the split-screen area corresponding to the target application.
In the embodiment of the application, before deleting the split screen coverage interface, the opacity of the split screen coverage interface is adjusted, and the fade-out effect of the split screen coverage interface is manufactured, so that the fade-in fade-out switching effect between the split screen coverage interface and the application interface is realized, and the visual continuity of the split screen switching is enhanced.
Optionally, in response to at least one target application matching with a preset abnormal starting application list in all the applications, when an application interface starts to be loaded, after the corresponding split-screen coverage interface is displayed in the split-screen area corresponding to the target application, the method further includes:
Detecting whether the process of the target application is in an abnormal state or not according to the fact that the loading time of the application interface corresponding to the target application is larger than a second set time threshold, wherein the abnormal state at least comprises a process terminated state and an unresponsive state;
And restarting the target application and loading an application interface corresponding to the target application in response to the abnormal state of the process of the target application.
In the embodiment of the application, whether the application is in an abnormal state or not is primarily determined by judging whether the loading time of the application interface is greater than the second set time threshold, and further whether the target application is in a temporary stuck state caused by overlarge calculation amount or in a state that the process needing restarting is stopped or cannot respond is determined by detecting the application process, so that the effect of automatically restarting the application in the abnormal state under the shielding of the split screen coverage interface is realized, the abnormal state is prevented from being perceived by a user, and the operation experience of the user is further improved.
In a second aspect, an embodiment of the present application provides a split-screen display device, provided at a terminal side, where the device includes:
a split screen area creating unit, configured to create at least one split screen area in response to detecting that at least one application meets a split screen condition, where each split screen area corresponds to one application;
The display unit is used for responding to the existence of at least one target application matched with an abnormal starting application list in all the applications, when an application interface of the target application starts to be loaded in the corresponding split screen area, a corresponding split screen coverage interface is displayed in the corresponding split screen area, the display size of the split screen coverage interface is equal to the size of the split screen area, and the opacity is larger than zero;
And the deleting unit is used for responding to the completion of the loading of the application interface corresponding to the target application, displaying the application interface on the corresponding split screen area and deleting the corresponding split screen coverage interface.
Optionally, the split-screen coverage interface corresponding to the target application adopts a preset first interface layout and a first appearance style, where the first interface layout is used to indicate an arrangement mode of at least one interface element in the split-screen coverage interface, the interface element includes text, a picture, a video or an interactive button, and the first appearance style is at least used to indicate a background color, a display resolution and a font format of the split-screen coverage interface.
Optionally, the split-screen coverage interface corresponding to the target application adopts a second interface layout and a second appearance style, wherein the second interface layout is consistent with the application interface layout of the target application, and the second appearance style is consistent with the application interface appearance style of the target application; or alternatively
The split-screen coverage interface corresponding to the target application adopts a third interface layout and a third appearance style, wherein the third interface layout is consistent with the system interface layout of the terminal side, and the third appearance style is consistent with the system interface appearance style of the terminal side.
Optionally, the display unit is specifically configured to:
Adding an overlay tag for the target application in response to at least one target application matched with the abnormal starting application name in all the applications;
in response to the detection of the coverage label, an interface resource file for loading the split-screen coverage interface corresponding to the target application is searched from a preset resource library;
Loading the corresponding split-screen coverage interface in the split-screen area corresponding to the target application added with the coverage label according to the searched interface resource file;
and displaying the loaded split screen coverage interface in the split screen area corresponding to the target application.
Optionally, the apparatus further includes:
The time acquisition unit is used for responding to the first starting of the application and acquiring the starting time of the application;
The time acquisition unit is further used for responding to the completion of the display of the application interface corresponding to the application and recording the interface display time of the application;
the calculating unit is used for calculating the time difference between the interface display time and the starting time;
And the list adding unit is used for adding the application corresponding to the time difference value to the abnormal starting application list in response to the time difference value being larger than a first set time threshold value.
Optionally, the deleting unit is specifically configured to:
responding to the completion of loading of the application interface corresponding to the target application, and displaying the application interface of the target application under the corresponding split screen coverage interface;
in response to the completion of the display of the application interface corresponding to the target application, periodically reducing the opacity of the corresponding split-screen coverage interface based on a preset reduction amount until the opacity of the split-screen coverage interface is reduced to zero, wherein the reduction amount is any number between zero and one;
And deleting the corresponding split-screen coverage interface from the split-screen area corresponding to the target application.
Optionally, the apparatus further includes:
the abnormal state detection unit is used for detecting whether the process of the target application is in an abnormal state or not according to the fact that the loading time of the application interface corresponding to the target application is larger than a second set time threshold, and the abnormal state at least comprises a process terminated state and an unresponsive state;
And the application restarting unit is used for restarting the target application and loading an application interface corresponding to the target application in response to the abnormal state of the process of the target application.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes at least one processor and a memory connected to the at least one processor, where the at least one processor is configured to implement the steps of the method according to the first aspect when executing a computer program stored in the memory.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method according to the first aspect.
It should be understood that, the second to fourth aspects of the embodiments of the present application are consistent with the technical solutions of the first aspect of the embodiments of the present application, and the beneficial effects obtained by each aspect and the corresponding possible implementation manner are similar, and are not repeated.
[ Description of the drawings ]
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present specification, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of a split screen display method according to an embodiment of the present application;
FIGS. 2 (a) -2 (b) are schematic diagrams illustrating a split-screen area display mode according to an embodiment of the present application;
fig. 3 is a schematic view of a display effect of a split-screen coverage interface according to an embodiment of the present application;
fig. 4 is a schematic view of a display effect of another split-screen coverage interface according to an embodiment of the present application;
fig. 5 is a schematic view of a display effect of another split-screen coverage interface according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a modification effect of a split-screen overlay interface according to an embodiment of the present application;
Fig. 7 is a schematic diagram of a display effect of another split-screen coverage interface according to an embodiment of the present application;
FIG. 8 is a schematic diagram of a display effect of another split-screen overlay interface according to an embodiment of the present application;
fig. 9 is a flow chart of a method for displaying a split-screen coverage interface according to an embodiment of the present application;
fig. 10 is a flowchart of a method for adding an abnormal start application list according to an embodiment of the present application;
FIG. 11 is a flowchart of a method for deleting a split-screen overlay interface according to an embodiment of the present application;
Fig. 12 is a flowchart of a method for detecting abnormal states of a target application according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a split-screen display device according to an embodiment of the present application;
Fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
[ Detailed description ] of the invention
For a better understanding of the technical solutions of the present specification, the following detailed description of the embodiments of the present application refers to the accompanying drawings.
It should be understood that the described embodiments are only some, but not all, of the embodiments of the present description. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present disclosure.
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The current terminal equipment generally supports an application split screen function, namely, a display screen is divided into a plurality of split screens, so that the requirement that a user operates a plurality of applications simultaneously is met.
According to the research of the inventor, when the single screen mode is required to be switched to the split screen mode or when additional split screens are required to be created in the split screen mode, abnormal phenomena such as the blank screen of a split screen area in a short time and the like often occur due to limited operation performance of the terminal, so that the visual experience of a user is poor.
In view of this, the embodiment of the application provides a split screen display method, which uses a split screen to cover an interface to shield a split screen area in the whole process during loading of an application interface when detecting that abnormal starting phenomena such as a black screen and the like possibly occur in an application meeting the split screen condition, so as to ensure that the abnormal starting phenomena can not be displayed on a screen, thereby avoiding a user from perceiving the black screen phenomenon and improving the visual experience of the user.
The following describes the scheme provided by the embodiment of the application with reference to the attached drawings:
Fig. 1 is a schematic flow chart of a split screen display method according to an embodiment of the present application. The method is applied to a terminal side, the types of the terminal side comprise but not limited to a desktop computer, a notebook computer, a palm computer, a mobile phone, an apple computer, a smart watch, a tablet computer, a vehicle-mounted computer and other terminals, and the method comprises the following steps:
Step 101: in response to detecting that the at least one application satisfies the split-screen condition, at least one split-screen region is created.
In the embodiment of the application, the screen splitting conditions which can be met by various applications at least comprise the following three types:
(1) Selecting at least one application by a split screen operation instruction of a user, so that the selected at least one application needs to execute split screen display;
(2) The user launches at least one application and certain functional modules within the at least one launched application need to perform split-screen display (e.g., when launching a video playback application and selecting to play multiple videos simultaneously, it may be necessary to perform split-screen display to display multiple video playback interfaces simultaneously);
(3) The user sets certain preset conditions which are automatically executed when triggered, and triggers one or more preset conditions under specific conditions (for example, when a music playing interface is started when map navigation is started, the mode is automatically switched to a split screen mode so as to display the music playing interface and the map navigation interface simultaneously).
When it is detected that at least one application satisfies the split-screen condition, the creation of the split-screen region may be started immediately. Generally, each application satisfying the split-screen condition is allocated a corresponding split-screen area for displaying the visual interface of the application in the split-screen mode.
But may also be allocated to multiple split screen areas when there is a special function or display need for an application (e.g., there may be multiple videos or audios to be played at the same time for a media play function; or multiple windows may be established to support multi-user split screen operation for a game play function).
Specifically, one possible way to create a split screen region is as follows:
Presetting a display mode of a plurality of split screen areas, and when a user selects one of the split screen area display modes or sets one of the split screen area display modes as a default, automatically creating one or more corresponding split screen areas on a screen according to the arrangement mode, the size and the shape of the split screen areas corresponding to the selected split screen area display mode so as to display a corresponding number of application interfaces.
Fig. 2 (a) -2 (b) are schematic diagrams of a split screen area display mode according to an embodiment of the present application, for example, for a rectangular screen with a length of 16cm and a width of 12cm, a center point of the screen is taken as an origin of a coordinate system, a horizontal direction of the screen is taken as an X-axis of the coordinate system, a vertical direction is taken as a Y-axis of the coordinate system, and a unit coordinate distance is 1cm. A user selectable split screen area display mode is shown in fig. 2 (a):
Two rectangular split screen areas of length 8cm and width 12cm are created on the rectangular screen respectively, wherein the center point coordinate of one split screen area ① is (-4, 0), and the center point coordinate of the other split screen area ② is AND (4, 0).
Or a user selectable split screen area display mode as shown in fig. 2 (b):
Four rectangular split screen areas of length 8cm and width 6cm are created on the rectangular screen respectively, wherein the center point coordinates of the first split screen area ③ are (-4, 3), the center point coordinates of the second split screen area ④ are (4, 3), the center point coordinates of the third split screen area ⑤ are (-4, -3), and the center point coordinates of the fourth split screen area ⑥ are (4, -3).
The display modes of the split screen area can be various according to different settings of manufacturers or users, and the detailed description is omitted here.
In the split screen display mode, abnormal phenomena such as black screen, flower screen, interface messy codes and the like of the application are easy to occur, so that a user obviously perceives that the application is loaded unsmoothly, and the use experience of the user is reduced. Therefore, the abnormal phenomena such as black screen and the like are required to be shielded by adopting a split screen coverage interface.
Step 102: and responding to at least one target application matched with the abnormal starting application list in all applications, and displaying a corresponding split-screen coverage interface in a corresponding split-screen area when an application interface of the target application starts to be loaded in the corresponding split-screen area.
In the embodiment of the application, when the split screen mode is detected to be started, the abnormal starting application list in the system can be used for matching with at least one application which needs to be displayed in the split screen mode. The abnormal starting application list is internally recorded with one or more applications which may have abnormal phenomena such as black screen, screen pattern or interface messy code, and the source of the abnormal starting application list can be a fixed list preset in the terminal side or a variable list which is preset with initial content and can be set by a user by the user, so that different matching requirements are met.
Specifically, one possible way of matching is as follows:
Comparing application names of all applications recorded in the abnormal starting application list with those of the applications to be started through the split screen mode, and when the application names of a certain application recorded in the abnormal starting application list are consistent with those of a certain application to be started through the split screen mode, considering the application to be started through the split screen mode as a target application with the possibility of abnormal starting phenomena such as black screen.
In some embodiments, the parameters used to compare between the list of abnormally launched applications and the at least one application that satisfies the split-screen condition may also be an application signature, an application identification code, or any of the three comparison parameters mentioned above.
After the target application needing to display the split-screen coverage interface is determined, loading the corresponding split-screen coverage interface for covering the application interface in the split-screen area corresponding to the target application, and displaying the split-screen coverage interface on the application interface of the corresponding target application after loading is completed. And during a particular loading process, the particular appearance of the displayed split-screen overlay interface should also be determined.
Generally, for a split-screen coverage interface corresponding to a target application, the opacity of the split-screen coverage interface is defaulted to be larger than a preset value of 0, and the display size is defaulted to be equal to the size of a split-screen area corresponding to the target application, so that the purpose of completely covering the application interface and avoiding the abnormal phenomenon perceived by a user is achieved.
For example, for a target application, the display size of the application interface in the split screen mode is 720×960, and the display size of the split screen overlay interface should also be 720×960. Meanwhile, the opacity of the split-screen overlay interface is set to 1 according to a preset value.
It should be understood that, because the split screen coverage interface often has fewer interface elements and simpler functional content than the application interface, the loading speed is faster than that of the application interface of the target application, and when the target application starts to load the application interface, the split screen coverage interface can be quickly displayed on the split screen area corresponding to the target application in a parallel loading or preferential loading mode of the split screen coverage interface.
For example, when the split-screen overlay of the target application displays only one interface element (i.e., has a relatively simplest display mode), the loading speed can be generally shortened to within 50 milliseconds on the premise that the split-screen overlay is preferentially loaded.
Therefore, since the split-screen overlay interface has more simplified interface elements (generally within 1-10) and the corresponding application interface often needs to display more interface elements (generally within 10-50 or more) in order to enable the split-screen overlay interface to be displayed on the corresponding split-screen area at a speed which is an order of magnitude faster than that of the application interface under the condition of parallel loading or preferential loading of the application interface, so that the possible occurrence time of abnormal phenomena such as black screens is shortened to a range which is almost imperceptible to users.
Meanwhile, because of fewer interface elements, the probability of abnormal phenomena such as black screen and the like when the split-screen coverage interface is loaded is nearly an order of magnitude lower than that of the corresponding application interface.
By the mode, the effect that the split screen area is shielded by using the split screen coverage interface can be achieved, and abnormal phenomena such as black screen and the like perceived by a user are avoided.
On the basis, aiming at different system settings, application settings and user use habits, the displayed split-screen coverage interface can be further divided into different interface types according to different interface layouts and appearance styles.
As a possible implementation manner, the split-screen coverage interface corresponding to the target application adopts a preset first interface layout and a first appearance style, wherein the first interface layout is used for indicating an arrangement mode of at least one interface element in the split-screen coverage interface, the interface element comprises a text, a picture, a video or an interactive button, and the first appearance style is at least used for indicating a background color, a display resolution and a font format of the split-screen coverage interface.
In the embodiment of the application, considering the simplicity and design cost of the split screen display method, a standard split screen coverage interface setting mode is as follows: and distributing the same split-screen coverage interface to the applications in the abnormal starting application list, so that all target applications load the same preset split-screen coverage interface.
It should be appreciated that, since such a preset split-screen coverage interface needs to ensure that the abnormal phenomenon displayed on the split-screen area is fully blocked when the split-screen mode is started, the visual experience and the operation experience of the user are improved. Therefore, in order to enable the preset split-screen coverage interface to not feel boring to the user while shielding abnormal phenomena such as a black screen, the preset interface elements can be set as one or more of the following forms:
(1) Text information which can be read by a user, such as system operation prompt information, weather forecast information, hot news information and the like.
(2) Pictures which can be appreciated by users, such as wallpaper pictures, random pictures in terminal side photo albums, hot news pictures, book illustrations and the like.
(3) Videos which can be appreciated by users, such as dynamic landscape videos, random videos in terminal side photo albums, hot news videos, entertainment videos recommended by a recommendation algorithm and the like.
(4) Interactive buttons that can perform simple interactive functions, such as a text information switching button, a split screen area position adjustment button, an application basic function execution button (e.g., a music play button of a music play application), and the like.
Specifically, since the preset split screen coverage interface is a split screen coverage interface common to all target applications, and the corresponding first interface layout and first appearance style are all preset parameters, the default preset parameters can be changed by receiving a user-defined command. Therefore, the interface layout and the appearance style of the split-screen coverage interface can be fixed or changed at will according to the user-defined command.
For example, fig. 3 is a schematic diagram of a display effect of a split-screen coverage interface provided in an embodiment of the present application, where as shown in the drawing, for a split-screen coverage interface 2 of a target application a and a split-screen coverage interface 3 of a target application B displayed on a screen 1, the split-screen coverage interface has the same first interface layout, that is, a preset text message 4 is displayed at a central position of the split-screen coverage interface, and meanwhile, the split-screen coverage interface has the same first appearance style, that is, the background color of the split-screen coverage interface is all preset gray.
Meanwhile, fig. 4 is a schematic display effect diagram of another split-screen coverage interface provided in the embodiment of the present application, as shown in fig. 4, for an application 5, an application 6, a target application C and a target application D that are simultaneously displayed on a screen 1 in a split-screen mode, where the application 5 and the application 6do not need to load the split-screen coverage interface, the target application C needs to display the split-screen coverage interface 7, the target application D needs to display the split-screen coverage interface 8, and the split-screen coverage interface 7 and the split-screen coverage interface 8 have the same first interface layout and first appearance style. The first interface layout is that a preset picture 9 is displayed at the central position of the split-screen coverage interface, and the first appearance style is that the background color of the split-screen coverage interface is preset gray.
It should be understood that, similar to the display effect schematic diagram shown in fig. 4, in a case where multiple split screen areas need to be displayed simultaneously, any target application needing to display a split screen overlay interface may display the same split screen overlay interface, and the split screen overlay interfaces all have the same first interface layout and first appearance style.
In some embodiments, each application in the abnormal start application list may correspond to a different split-screen overlay interface, and each application corresponds to a split-screen overlay interface having a different interface layout and appearance style.
Specifically, fig. 5 is a schematic view of a display effect of another split-screen coverage interface according to an embodiment of the present application. As shown in fig. 5, in some embodiments, for a target application E and a target application F that are simultaneously displayed on a screen 1 in a split screen mode, the target application F needs to display a split screen overlay interface 10, the target application G needs to display a split screen overlay interface 11, and the interface layout of the split screen overlay interface 10 is that a preset picture 12 is displayed at a central position, and the interface layout of the split screen overlay interface 11 is that a preset video 13 is displayed at a central position; in the appearance style of the split-screen overlay interface 10, the background color is displayed as white, and in the appearance style of the split-screen overlay interface 11, the background color is displayed as gray.
For a scheme of modifying a split-screen overlay interface by a user through a custom command, fig. 6 is a schematic diagram of a modification effect of the split-screen overlay interface according to an embodiment of the present application. As shown in fig. 6, in some embodiments, for the split-screen overlay interface 14 of the target application G displayed on the screen 1 in the split-screen mode, the interface layout and appearance style of the split-screen overlay interface 14 may be modified by a user-defined command. The generation mode of the custom command includes but is not limited to: and operating the graphical operation interface displayed on the terminal side, inputting any instruction into the terminal side, or running a specific configuration file.
For example, when the terminal side initiates the user-defined operation of the split-screen overlay interface at the user, the user-defined command generated by the user for the split-screen overlay interface 14 is received through the displayed graphical operation interface, and the content of the user-defined command is that the picture 15 designated by the first interface layout of the split-screen overlay interface 14 is modified to be the video 16 with the same display size and the same display position, and the background color designated by the first appearance style of the split-screen overlay interface 14 is modified from white to gray, so that the modification effect of the split-screen overlay interface 14 is as shown in fig. 6.
And when the terminal receives the self-defined command for the split-screen coverage interface 14, and modifies the split-screen coverage interface 14 of the target application G according to the self-defined command, the modified content is updated to the first interface layout and the first appearance style, and the updated first interface layout and the first appearance style are saved.
In addition, in order to further improve the visual consistency of the split-screen coverage interface, the split-screen coverage interface and the application interface of the corresponding target application or the system interface at the terminal side can have the same interface layout and appearance style.
Fig. 7 is a schematic diagram of a display effect of another split-screen coverage interface provided by an embodiment of the present application, where, as a possible implementation manner, a second interface layout and a second appearance style are adopted for a split-screen coverage interface corresponding to a target application, where the second interface layout is consistent with an application interface layout of the target application, and the second appearance style is consistent with an application interface appearance style of the target application; or alternatively
The split screen coverage interface corresponding to the target application adopts a third interface layout and a third appearance style, the third interface layout is consistent with the system interface layout of the terminal side, and the third appearance style is consistent with the system interface appearance style of the terminal side.
In the embodiment of the present application, as shown in fig. 7, in order to make the split-screen coverage interface 17 corresponding to the target application H have a similar visual effect to the application interface 18 of the target application H, to improve visual consistency when switching from the split-screen coverage interface 17 to the application interface 18, a second interface layout and a second appearance style consistent with those of the application interface 18 of the target application H may be adopted for the split-screen coverage interface 17 of the target application H.
For example, if the application interface 18 (dashed box) of the target application H has an interactable button 19 displayed in the center of the interface and a picture 20 of a fixed size displayed in the lowest center of the interface, then in the split overlay interface 17 (solid box) of the target application, the same interactable button 19 may be displayed in the center of the interface and a picture 20 of the same size as the picture 20 in the application interface 18 may be displayed in the lowest center of the interface.
When an application is added to an abnormally started application list, an application interface of the newly added application is read at the same time, an application interface layout and an application interface appearance style are obtained, the application interface layout is stored as a corresponding second interface layout, and the application interface appearance style is stored as a second appearance style.
In addition, in order to reduce the loading calculation amount of the split screen coverage interface and the risk of abnormal starting phenomena such as black screen and the like in loading, the situation that the user visual experience is influenced is avoided in the loading process of the split screen coverage interface like an application interface, and one or two of the following arbitrary solutions can be adopted:
(1) Multiplexing a second interface layout and a second appearance style which are the same as the application interface in the split screen coverage interface so as to maintain a visual effect similar to the application interface. But all interface elements (such as interactable buttons) only have the appearance consistent with the corresponding interface elements (such as interactable buttons in the same position) in the application interface, and are used for displaying the interface appearance to the user instead of executing any actual functions, so that the loading of codes or resources for executing the corresponding functions on the split-screen overlay interface is avoided, and the actual functions of the split-screen overlay interface are greatly simplified.
Specifically, when the target application loads the application interface, the files used by the application interface generally need to be loaded into the memory of the terminal side. Therefore, when the interface element at the corresponding position in the corresponding application interface is displayed in the split screen coverage interface, the file corresponding to the appearance of the interface element in the memory can be directly called, so that the appearance of the corresponding interface element is loaded in the split screen coverage interface, and the resource occupation caused by repeated reading and calling of the same file is reduced.
Meanwhile, as functions corresponding to the interface elements do not need to be loaded in the split-screen coverage interface, the loading of some function processes associated with the interface elements in the background can be avoided, and therefore occupation of memory resources is further reduced.
In conclusion, as the related functions corresponding to the interface elements are reduced, the memory occupation caused by the related functions is saved, and the probability of abnormal phenomena such as black screen and the like of the split screen interface can be reduced.
(2) The split-screen coverage interface adopts a second interface layout and a second appearance style which are the same as those of the application interface, but the displayed at least one interface element only comprises main elements (such as a preset picture and a preset video which are positioned at the central position of the page) in the application interface, so that the split-screen coverage interface has a visual effect similar to that of the application interface.
Specifically, the main elements to be reserved in the split-screen coverage interface can be set manually or can be selected through preset automatic screening rules.
On the other hand, fig. 8 is a schematic diagram of a display effect of another split-screen coverage interface according to an embodiment of the present application. As shown in fig. 8, in order to make the split-screen coverage interface 21 corresponding to the target application I have a similar visual effect as the system interface 22 on the terminal side, to improve visual continuity when switching from the system interface 22 to the split-screen coverage interface 21, a third interface layout and a third appearance style consistent with those of the system interface 22 on the terminal side may be adopted for the split-screen coverage interface 21 of the target application I.
For example, if the system interface 22 (dotted line frame) on the terminal side has a plurality of application icons 23 arranged at equal intervals, the same plurality of application icons 23 as the system interface 22 may be displayed on the same position as the system interface 22 for the split screen overlay interface 21 (solid line frame).
The specific implementation thought of the display mode is similar to the implementation thought when the split screen coverage interface of the target application adopts the second interface layout and the second appearance style, so that the detailed description is omitted here.
It should be understood that, when the third interface layout and the third appearance style are adopted, the split-screen coverage interface may also have abnormal phenomena such as black screen, so that either or both of the following solutions are required to be adopted, so that the visual experience of the user is not affected:
(1) Multiplexing a third interface layout and a third appearance style which are the same as those of the terminal side system interface in the split screen coverage interface so as to maintain a visual effect similar to that of the system interface. But all interface elements (such as interactable buttons) only have the same appearance as interface elements corresponding to the system interface (such as interactable buttons in the same position) for showing the interface appearance to the user without performing any actual functions, thereby avoiding loading codes or resources for performing the corresponding functions on the split-screen overlay interface and simplifying the actual functions and resource loading of the split-screen overlay interface.
(2) The split screen coverage interface adopts a third interface layout and a third appearance style which are the same as those of the system interface at the terminal side, but the displayed at least one interface element only comprises main elements (such as a preset picture and a preset video positioned at the central position of the page) in the system interface, so that the split screen coverage interface has a visual effect similar to that of the system interface at the terminal side.
Specifically, the main elements to be reserved in the split-screen coverage interface can be set manually or can be selected through preset automatic screening rules.
In addition, for the split-screen coverage interface of the target application, in order to accelerate the display speed of the split-screen coverage interface as much as possible, the specific display mode of the split-screen coverage interface needs to be optimized.
Fig. 9 is a flowchart of a display method of a split-screen overlay interface according to an embodiment of the present application, and as a possible implementation manner, step 102 may be further implemented by executing sub-steps 1021 to 1024.
Step 1021: and adding an overlay label for the target application in response to at least one target application matched with the abnormal starting application list in all the applications.
In the embodiment of the application, when at least one target application matched with the abnormal starting application list (for example, the application name is consistent or the application signature is consistent) is detected, a corresponding overlay label can be allocated for the target application, and the overlay label is associated with (bound to) the process of the target application, so that the terminal side can synchronously identify the corresponding overlay label when the target application needs to be identified; instead of identifying the target application, all the added overlay labels may be identified directly.
Step 1022: and in response to the detection of the coverage label, searching an interface resource file for loading a split-screen coverage interface corresponding to the target application from a preset resource library.
When the split-screen coverage interface is loaded, the split-screen coverage interface corresponding to which target application needs to be loaded and the split-screen area corresponding to the target application, which is needed to be displayed by the split-screen coverage interface, can be rapidly judged according to the added coverage label, so that the response speed of the split-screen coverage interface in display is accelerated.
And then, searching an interface resource file required by loading the split screen coverage interface in a resource library preset at the terminal side. The preset resource library can be located in a volatile readable storage medium or a nonvolatile readable storage medium at the terminal side and is used for storing any interface resource file for loading the split-screen coverage interface.
Step 1023: and loading the corresponding split-screen coverage interface in the split-screen area corresponding to the target application added with the coverage label according to the searched interface resource file.
And after the interface resource file corresponding to the target application is found, loading the corresponding split-screen coverage interface according to the found interface resource file and the determined split-screen area corresponding to the target application bound with the coverage label.
Specifically, the split-screen coverage interface of the target application needs to be loaded with the appearance style, at least one interface element and other contents of the split-screen coverage interface successively according to the execution sequence specified in the interface resource file. The specific loading principle of the split-screen coverage interface is similar to that of the application interface of the target application, so that the detailed description is omitted here.
Step 1024: and displaying the loaded split screen coverage interface in a split screen area corresponding to the target application.
And after the split-screen coverage interface is loaded, displaying the split-screen coverage interface on a split-screen area corresponding to the target application. Specifically, one possible split-screen overlay interface display method is to overlay a cover interface over an application interface in a split-screen area by the addView method of WindowManager.
In addition, since the method of manually updating the abnormal start application list only by the user or the manufacturer may have the defect of untimely list updating, a method of automatically updating the abnormal start application list is also required to be introduced.
Fig. 10 is a flowchart of a method for adding an abnormal start application list according to an embodiment of the present application, as a possible implementation manner, steps 104 to 106 may be further performed before step 101.
Step 104: and responding to the first starting of the application, and acquiring the starting time of the application.
In the embodiment of the application, when detecting that a certain application is started for the first time, the starting time of the application can be immediately acquired and used as one of judging indexes for judging whether abnormal phenomena such as black screen and the like possibly exist in the starting of the application.
Specifically, the detection of whether an application is first started or not and the acquisition of the starting time of the application can be realized by methods such as reading a system running log and establishing a background monitoring mechanism.
Step 105: and responding to the completion of the display of the application interface corresponding to the application, and recording the interface display time of the application.
And after the display of the application interface corresponding to the application is completed, the application interface can be realized by detecting the loading condition of the application. Specifically, one possible way is to obtain the lifecycle of the application Activity, and when the lifecycle goes to onResume, i.e. the terminal side determines that the application is ready at the backend, it can be considered that the application interface has been created.
Step 106: and calculating the time difference between the interface display time and the starting time.
After the interface display time and the starting time are obtained, the two values can be subjected to difference, so that a time difference value used for representing the total duration from starting to finishing of interface loading and displaying is obtained and is used as a judging index of whether abnormal starting phenomena such as black screen exist in the application or not.
Step 107: and in response to the time difference value being greater than the first set time threshold, adding an application corresponding to the time difference value to the list of abnormally-started applications.
In the embodiment of the application, for the application started for the first time, a first set time threshold value for judging whether abnormal phenomena such as black screen, screen pattern, interface messy code exist in the application or not can be set. The first set time threshold may be average starting time consumption corresponding to all the applications after a large number of tests are performed on a plurality of applications in a terminal of a certain model, that is, when the starting time of a certain application in the terminal of the certain model is longer than the average starting time consumption, the application can be considered to have overlong starting time consumption, and the phenomena such as black screen may occur in the starting process.
After obtaining a time difference value according to the difference between the starting time and the interface display time, comparing the magnitude relation between the first set time threshold value and the time difference value, and if the time difference value is relatively larger, considering that the application may have abnormal phenomena such as a black screen and the like when being started, and adding the abnormal phenomena into an abnormal starting application list; and when the first set time threshold is relatively larger, the application is considered to be free from the risk of abnormal phenomena such as black screen and the like when being started, and the application is not processed.
Step 103: and responding to the completion of loading of the application interface corresponding to the target application, displaying the application interface on the corresponding split screen area, and deleting the corresponding split screen coverage interface.
In the embodiment of the application, after the application interface of the target application is loaded, the split screen coverage interface always covers the conventional application interface, and when the application interface is loaded and displayed on the split screen interface, the split screen coverage interface can shield the application interface, so that the application function cannot be normally used by a user.
In order to avoid the situation that the user experience is influenced, the split screen coverage interface covered on the application interface needs to be deleted in time, so that the normal use of the application is ensured.
Fig. 11 is a flowchart of a method for deleting a split-screen overlay interface according to an embodiment of the present application, and as a possible implementation manner, step 103 may be further implemented by performing sub-steps 1031 to 1034.
Step 1031: and responding to the completion of loading of the application interface corresponding to the target application, and displaying the application interface of the target application under the corresponding split-screen coverage interface.
In the embodiment of the application, considering that the split screen coverage interface corresponding to the target application is deleted directly, the problem that the switching between the split screen coverage interface and the application interface is too abrupt possibly exists, and the visual experience of a user is affected, so that a transitional display mode is adopted to execute the switching from the split screen coverage interface to the application interface.
Specifically, in order to avoid that the application interface of the target application is directly presented to the user, the application interface needs to be displayed under the corresponding split screen coverage interface first, so that the split screen coverage interface being displayed on the upper layer temporarily shields the already displayed application interface.
Step 1032: and responding to the completion of the display of the application interface corresponding to the target application, and periodically reducing the opacity of the corresponding split-screen coverage interface based on a preset reduction amount until the opacity of the split-screen coverage interface is reduced to zero, wherein the reduction amount is any number between zero and one.
And then, immediately starting to adjust the opacity of the corresponding split-screen coverage interface after the completion of the display of the application interface of the target application, so that the opacity of the split-screen coverage interface is changed from 1 to 0 (namely, from visible to invisible) based on a periodically decreasing mode, and the fade-out transition effect of the split-screen coverage interface is realized.
In some embodiments, the opacity of the split-screen overlay interface may also decrease from 1 to 0 in a periodic, non-linear decreasing manner based on a plurality of preset decreases, with a non-linear relationship between the plurality of preset decreases.
For example, for the target application 7, its split-screen overlay interface may be based on three preset reductions: 0.5, 0.3, 0.2, the opacity is decremented from 1 to 0.5 in a first second, the opacity is decremented from 0.5 to 0.2 in a second, and the opacity is decremented from 0.2 to 0 in a third second.
Step 1033: and deleting the corresponding split-screen coverage interface from the split-screen area corresponding to the target application.
And after the opacity of the split-screen coverage interface becomes 0, that is, the split-screen coverage interface is invisible on the corresponding split-screen area, the transition process of switching the split-screen coverage interface to the application interface can be considered to be completed, the corresponding split-screen coverage interface is deleted, and the related resource files are released from the memory.
In addition, when the application interface of the target application is loaded, the phenomena of process termination and process blocking caused by sudden faults in the loading process can also exist. Therefore, there is also a need for a split screen display improvement that addresses this phenomenon.
Fig. 12 is a flowchart of a method for detecting an abnormal state of a target application according to an embodiment of the present application. As a possible implementation, after step 102, steps 108 to 109 may be further performed.
Step 108: and detecting whether the process of the target application is in an abnormal state or not according to the fact that the loading time of the application interface corresponding to the target application is larger than a second set time threshold, wherein the abnormal state at least comprises a process terminated state and an unresponsive state.
In the embodiment of the application, by recording the loading time of the application interface corresponding to the target application (namely, the total time elapsed after the application interface starts to be loaded on the premise that the application interface is not loaded yet), and comparing the loading time with the second set time threshold, whether the application has an abnormal state in the loading process or not can be primarily judged, and the situation that the application interface cannot be loaded normally is caused.
Specifically, when the loading time is greater than the second set time threshold, reasons that may cause the application interface to be loaded too long include, but are not limited to:
(1) Meanwhile, the application displayed by the split screen is too many, so that the calculation resources which can be called by the application interface of a single target application are reduced, and the loading time is relatively prolonged.
(2) The process of the target application either has an unresponsive state (application stuck) or has an end state (which may be that the application has flashed back or that the application has been automatically turned off).
In the first case, the application interface is only loaded for a prolonged period of time, and is still in a normal loading state, so that no processing needs to be performed.
In the second case, since the abnormal state of the application interface has occurred, active intervention on the terminal side is required for processing.
In order to further determine which of the two conditions the current state of the application process is, the terminal side needs to detect the application process to determine whether an abnormal state exists in the loading process of the application interface.
Step 109: and restarting the target application and loading an application interface corresponding to the target application in response to the abnormal state of the process of the target application.
In the embodiment of the application, when the abnormal state of the target application is detected, the target application can be restarted and the corresponding application interface can be reloaded while the split screen coverage interface is kept to be displayed on the corresponding split screen area under the condition that the visual experience of a user is not influenced.
And after the application interface is reloaded, the deleting step of the normal split-screen coverage interface can be re-executed.
In some embodiments, when it is detected that the process of the target application is in an abnormal state, a preset prompt message is displayed on the corresponding split screen coverage interface, so as to inform the user that the target application displayed in the current split screen area has an abnormal state, and enable the user to process the abnormal state by himself.
Referring to fig. 13, based on the same inventive concept, the embodiment of the present application further provides a schematic structural diagram of a split screen display device, which is disposed on a terminal side, and the specific structure of the device is as follows:
a split screen area creating unit 201, configured to create at least one split screen area in response to detecting that at least one application satisfies a split screen condition, where each split screen area corresponds to one application;
A display unit 202, configured to respond to the presence of at least one target application matching with the abnormal start application list in all applications, and when an application interface of the target application starts to be loaded in a corresponding split screen area, display a corresponding split screen coverage interface in the corresponding split screen area, where the display size of the split screen coverage interface is equal to the size of the split screen area, and the opacity is greater than zero;
And the deleting unit 203 is configured to respond to completion of loading of the application interface corresponding to the target application, and display the application interface on the corresponding split screen area, and delete the corresponding split screen coverage interface.
Optionally, the split-screen coverage interface corresponding to the target application adopts a preset first interface layout and a first appearance style, wherein the first interface layout is used for indicating an arrangement mode of at least one interface element in the split-screen coverage interface, the interface element comprises a text, a picture, a video or an interactive button, and the first appearance style is at least used for indicating a background color, a display resolution and a font format of the split-screen coverage interface.
Optionally, the split-screen coverage interface corresponding to the target application adopts a second interface layout and a second appearance style, the second interface layout is consistent with the application interface layout of the target application, and the second appearance style is consistent with the application interface appearance style of the target application; or alternatively
The split screen coverage interface corresponding to the target application adopts a third interface layout and a third appearance style, the third interface layout is consistent with the system interface layout of the terminal side, and the third appearance style is consistent with the system interface appearance style of the terminal side.
Optionally, the display unit 202 is specifically configured to:
Adding an overlay tag for the target application in response to at least one target application matched with the abnormal starting application list in all the applications;
in response to detection of the coverage label, an interface resource file for loading a split-screen coverage interface corresponding to the target application is searched from a preset resource library;
According to the found interface resource file, loading a corresponding split-screen coverage interface in a split-screen area corresponding to the target application added with the coverage label;
And displaying the loaded split screen coverage interface in a split screen area corresponding to the target application.
Optionally, the apparatus further comprises:
The time acquisition unit is used for responding to the first starting of the application and acquiring the starting time of the application;
The time acquisition unit is also used for responding to the completion of the display of the application interface corresponding to the application and recording the interface display time of the application;
the calculating unit is used for calculating the time difference between the interface display time and the starting time;
And the list adding unit is used for adding the application corresponding to the time difference value to the abnormal starting application list in response to the time difference value being larger than the first set time threshold value.
Optionally, the deleting unit 203 is specifically configured to:
Responding to the completion of loading of the application interface corresponding to the target application, and displaying the application interface of the target application under the corresponding split screen coverage interface;
In response to completion of display of the application interface corresponding to the target application, periodically reducing the opacity of the corresponding split-screen coverage interface based on a preset reduction amount until the opacity of the split-screen coverage interface is reduced to zero, wherein the reduction amount is any number between zero and one;
And deleting the corresponding split-screen coverage interface from the split-screen area corresponding to the target application.
Optionally, the apparatus further comprises:
the abnormal state detection unit is used for detecting whether the process of the target application is in an abnormal state or not according to the fact that the loading time of the application interface corresponding to the target application is larger than a second set time threshold, and the abnormal state at least comprises a process terminated state and an unresponsive state;
And the application restarting unit is used for restarting the target application and loading an application interface corresponding to the target application in response to the abnormal state of the process of the target application.
Referring to fig. 14, based on the same inventive concept, an electronic device 300 is further provided in an embodiment of the present application, where the electronic device 300 may include at least one processor, and the at least one processor is configured to execute a computer program stored in a memory, to implement the steps of the split-screen display method shown in fig. 1, 9-12 provided in the embodiment of the present application.
In the alternative, the processor may be a central processing unit, a specific ASIC, or one or more integrated circuits for controlling the execution of the program.
Optionally, the electronic device 300 may further include a memory coupled to the at least one processor, the memory may include ROM, RAM, and disk memory. The memory is used for storing data required by the processor when running, i.e. instructions are stored which can be executed by at least one processor, which by executing the instructions stored by the memory performs the method as shown in fig. 1, 9-12. Wherein the number of memories is one or more.
The entity devices corresponding to the split screen area creating unit 201, the display unit 202, and the deleting unit 203 may be the aforementioned processors. The electronic device may be used to perform the methods provided by the embodiments shown in fig. 1, 9-12. Therefore, for the functions that can be implemented by each functional module in the electronic device, reference may be made to corresponding descriptions in the embodiments shown in fig. 1 and fig. 9 to fig. 12, which are not repeated.
The electronic device 300 may be an intelligent electronic device such as a smart phone or a tablet computer, and the form of the electronic device is not limited in this embodiment.
By way of example, fig. 14 illustrates a schematic diagram of a structure of an electronic device 300 using a smart phone as an example, as shown in fig. 14, the electronic device 300 may include a processor 310, an external memory interface 320, an internal memory 321, a universal serial bus (universal serial bus, USB) interface 330, a charge management module 340, a power management module 341, a battery 342, an antenna 1, an antenna 2, a mobile communication module 350, a wireless communication module 360, an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an earphone interface 370D, a sensor module 380, keys 390, a motor 391, an indicator 392, a camera 393, a display screen 394, and a subscriber identity card (subscriber identification module, SIM) card interface 395, etc.
It should be understood that the illustrated structure of the embodiment of the present application does not constitute a specific limitation on the electronic device 300. In other embodiments of the application, electronic device 300 may include more or less components than illustrated, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 310 may include one or more processing units, such as: the processor 310 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural-Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 310 for storing instructions and data. In some embodiments, the memory in the processor 310 is a cache memory. The memory may hold instructions or data that the processor 310 has just used or recycled. If the processor 310 needs to reuse the instruction or data, it may be called directly from the memory. Repeated accesses are avoided, reducing the latency of the processor 410 and thus improving the efficiency of the system.
In some embodiments, processor 310 may include one or more interfaces. The interfaces may include an integrated circuit (inter-INTEGRATED CIRCUIT, I2C) interface, an integrated circuit built-in audio (inter-INTEGRATED CIRCUIT SOUND, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The charge management module 340 is configured to receive a charge input from a charger.
The power management module 341 is configured to connect the battery 342, the charge management module 340 and the processor 310.
In some embodiments, antenna 1 and mobile communication module 350 of electronic device 300 are coupled, and antenna 2 and wireless communication module 360 are coupled, such that electronic device 300 may communicate with a network and other devices via wireless communication techniques. The wireless communication techniques can include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (GENERAL PACKET radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation SATELLITE SYSTEM, GLONASS), a beidou satellite navigation system (beidou navigation SATELLITE SYSTEM, BDS), a quasi zenith satellite system (quasi-zenith SATELLITE SYSTEM, QZSS) and/or a satellite based augmentation system (SATELLITE BASED AUGMENTATION SYSTEMS, SBAS).
The electronic device 300 implements display functions through a GPU, a display screen 394, an application processor, and the like.
The display screen 394 is used for displaying images, videos, and the like. The display screen 394 includes a display panel.
The ISP is used to process the data fed back by camera 393.
Camera 393 is used to capture still images or video.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 300 is selecting a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 300 may support one or more video codecs. Thus, the electronic device 300 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The external memory interface 320 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 300. The external memory card communicates with the processor 310 through an external memory interface 320 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 321 may be used to store computer executable program code comprising instructions. The internal memory 321 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 300 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 321 may include a high-speed random access memory, and may also include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 310 performs various functional applications of the electronic device 300 and data processing by executing instructions stored in the internal memory 321, and/or instructions stored in a memory provided in the processor.
The electronic device 300 may implement audio functionality through an audio module 370, a speaker 370A, a receiver 370B, a microphone 370C, an ear-headphone interface 370D, and an application processor, among others. Such as music playing, recording, etc.
The audio module 370 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal.
Speaker 370A, also known as a "horn," is used to convert audio electrical signals into sound signals.
A receiver 370B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal.
Microphone 370C, also referred to as a "microphone," is used to convert sound signals into electrical signals.
The earphone interface 370D is for connecting a wired earphone. The headset interface 370D may be a USB interface 330 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The keys 390 include a power on key, a volume key, etc.
The motor 391 may generate a vibration alert.
The indicator 392 may be an indicator light, which may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 395 is for interfacing with a SIM card. In some embodiments, the electronic device 300 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 300 and cannot be separated from the electronic device 300.
Embodiments of the present application also provide a computer storage medium storing computer instructions that, when executed on a computer, cause the computer to perform the methods described in fig. 1, 9-12.
The foregoing description of the preferred embodiments is provided for the purpose of illustration only, and is not intended to limit the scope of the disclosure, since any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the disclosure are intended to be included within the scope of the disclosure.

Claims (10)

1. A split screen display method, which is applied to a terminal side, the method comprising:
In response to detecting that at least one application meets a split screen condition, creating at least one split screen area, each split screen area corresponding to one of the applications;
responding to the existence of at least one target application matched with an abnormal starting application list in all the applications, and displaying a corresponding split screen coverage interface in a corresponding split screen area when an application interface of the target application starts to be loaded in the corresponding split screen area, wherein the display size of the split screen coverage interface is equal to the size of the split screen area, and the opacity is larger than zero;
and responding to the completion of the loading of the application interface corresponding to the target application, displaying the application interface on the corresponding split screen area, and deleting the corresponding split screen coverage interface.
2. The method of claim 1, wherein the split-screen overlay interface corresponding to the target application adopts a preset first interface layout and a first appearance style, the first interface layout is used for indicating an arrangement mode of at least one interface element in the split-screen overlay interface, the interface element comprises a text, a picture, a video or an interactive button, and the first appearance style is at least used for indicating a background color, a display resolution and a font format of the split-screen overlay interface.
3. The method of claim 1, wherein the split-screen overlay interface corresponding to the target application adopts a second interface layout and a second appearance style, the second interface layout being consistent with an application interface layout of the target application, the second appearance style being consistent with an application interface appearance style of the target application; or alternatively
The split-screen coverage interface corresponding to the target application adopts a third interface layout and a third appearance style, wherein the third interface layout is consistent with the system interface layout of the terminal side, and the third appearance style is consistent with the system interface appearance style of the terminal side.
4. The method of claim 1, wherein in response to at least one target application matching the list of abnormally launched applications being present in all of the applications, displaying a corresponding split overlay interface in a corresponding split area when an application interface of the target application begins to load in the corresponding split area, comprises:
Adding an overlay tag for the target application in response to at least one target application matched with the abnormal starting application name in all the applications;
in response to the detection of the coverage label, an interface resource file for loading the split-screen coverage interface corresponding to the target application is searched from a preset resource library;
Loading the corresponding split-screen coverage interface in the split-screen area corresponding to the target application added with the coverage label according to the searched interface resource file;
and displaying the loaded split screen coverage interface in the split screen area corresponding to the target application.
5. The method of claim 1, wherein in response to at least one target application matching an abnormally launched application list being present in all of the applications, when an application interface of the target application begins to load at a corresponding one of the split screen regions, before displaying a corresponding split screen overlay interface at the corresponding split screen region, the method further comprises:
Responding to the first starting of the application, and acquiring the starting time of the application;
Responding to the completion of the display of the application interface corresponding to the application, and recording the interface display time of the application;
calculating a time difference between the interface display time and the starting time;
and in response to the time difference value being greater than a first set time threshold, adding the application corresponding to the time difference value to the list of abnormally-started applications.
6. The method of claim 1, wherein deleting the corresponding split overlay interface in response to the application interface loading for the target application being completed and displayed on the corresponding split area comprises:
responding to the completion of loading of the application interface corresponding to the target application, and displaying the application interface of the target application under the corresponding split screen coverage interface;
in response to the completion of the display of the application interface corresponding to the target application, periodically reducing the opacity of the corresponding split-screen coverage interface based on a preset reduction amount until the opacity of the split-screen coverage interface is reduced to zero, wherein the reduction amount is any number between zero and one;
And deleting the corresponding split-screen coverage interface from the split-screen area corresponding to the target application.
7. The method according to claim 1, wherein in response to at least one target application matching a preset abnormal start application list being present in all the applications, after the application interface starts to be loaded and the corresponding split screen coverage interface is displayed in the split screen area corresponding to the target application, the method further comprises:
Detecting whether the process of the target application is in an abnormal state or not according to the fact that the loading time of the application interface corresponding to the target application is larger than a second set time threshold, wherein the abnormal state at least comprises a process terminated state and an unresponsive state;
And restarting the target application and loading an application interface corresponding to the target application in response to the abnormal state of the process of the target application.
8. A split screen display device, the device comprising:
a split screen area creating unit, configured to create at least one split screen area in response to detecting that at least one application meets a split screen condition, where each split screen area corresponds to one application;
The display unit is used for responding to the existence of at least one target application matched with an abnormal starting application list in all the applications, when an application interface of the target application starts to be loaded in the corresponding split screen area, a corresponding split screen coverage interface is displayed in the corresponding split screen area, the display size of the split screen coverage interface is equal to the size of the split screen area, and the opacity is larger than zero;
And the deleting unit is used for responding to the completion of the loading of the application interface corresponding to the target application, displaying the application interface on the corresponding split screen area and deleting the corresponding split screen coverage interface.
9. An electronic device comprising at least one processor and a memory coupled to the at least one processor, the at least one processor being configured to implement the steps of the method of claims 1-7 when executing a computer program stored in the memory.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to claims 1-7.
CN202410140683.4A 2024-01-31 2024-01-31 Split screen display method and device, electronic equipment and storage medium Pending CN118012557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410140683.4A CN118012557A (en) 2024-01-31 2024-01-31 Split screen display method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410140683.4A CN118012557A (en) 2024-01-31 2024-01-31 Split screen display method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN118012557A true CN118012557A (en) 2024-05-10

Family

ID=90942214

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410140683.4A Pending CN118012557A (en) 2024-01-31 2024-01-31 Split screen display method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN118012557A (en)

Similar Documents

Publication Publication Date Title
US11722449B2 (en) Notification message preview method and electronic device
US20220400305A1 (en) Content continuation method and electronic device
US11934352B2 (en) Card rendering method and electronic device
US12019942B2 (en) Multi-screen collaboration method and system, and electronic device
CN111694475B (en) Terminal control method and device and terminal equipment
CN106406940B (en) System upgrading method, device and terminal
CN114356258A (en) Electronic device, screen projection method thereof and medium
US20230179698A1 (en) Application Display Continuing Method and Device
CN116450251A (en) Method for adapting page layout of multiple devices and electronic device
CN114489529A (en) Screen projection method of electronic device, medium thereof and electronic device
CN115480834A (en) Display method and electronic equipment
EP4365722A1 (en) Method for displaying dock bar in launcher and electronic device
EP4354270A1 (en) Service recommendation method and electronic device
CN114879894B (en) Function starting method, user interface and electronic equipment
CN113835802A (en) Device interaction method, system, device and computer readable storage medium
CN118012557A (en) Split screen display method and device, electronic equipment and storage medium
CN116521283A (en) Interface display method, device, equipment and storage medium
CN117631950A (en) Split screen display method and related device
CN113170014B (en) Alarm clock playing method and device and electronic equipment
CN113760192A (en) Data reading method, data reading apparatus, storage medium, and program product
CN113760191A (en) Data reading method, data reading apparatus, storage medium, and program product
WO2024113999A1 (en) Game management method and terminal device
CN118012554A (en) Split screen display method and device, electronic equipment and storage medium
EP4394569A1 (en) Photo hiding method and apparatus
CN115878179A (en) Information processing method, information processing device, computer equipment and storage medium

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