CN113556601A - Screen splitting method, system and storage medium - Google Patents

Screen splitting method, system and storage medium Download PDF

Info

Publication number
CN113556601A
CN113556601A CN202110815804.7A CN202110815804A CN113556601A CN 113556601 A CN113556601 A CN 113556601A CN 202110815804 A CN202110815804 A CN 202110815804A CN 113556601 A CN113556601 A CN 113556601A
Authority
CN
China
Prior art keywords
screen
application
splitting method
areas
mode
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
CN202110815804.7A
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.)
Shanghai Yuemao Technology Co ltd
Original Assignee
Shanghai Yuemao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yuemao Technology Co ltd filed Critical Shanghai Yuemao Technology Co ltd
Priority to CN202110815804.7A priority Critical patent/CN113556601A/en
Publication of CN113556601A publication Critical patent/CN113556601A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a screen splitting method, a system and a storage medium, wherein the screen splitting method comprises the following steps: step 1: opening the app; step 2: drawing a plurality of areas on a main interface; and step 3: clicking different areas according to the AMS and the PMS to switch back to the clicked areas; and 4, step 4: modifying android native logic for processing during operation in different areas; and 5: each area is independently a task, so that the application programs can be simultaneously operated in different areas; step 6: and exiting the app and ending the application. The invention has the beneficial effects that: the invention realizes multi-split-screen display of the same equipment, each screen can independently operate the equipment, a user can simultaneously check a plurality of interfaces in use, each interface can be independently displayed and independently operated, the complex operation is solved, the multi-purpose of one machine is realized, the office efficiency is effectively improved, and the use scene of the user is expanded.

Description

Screen splitting method, system and storage medium
Technical Field
The invention relates to a method for processing data of live broadcast equipment, in particular to a screen splitting method, a screen splitting system and a storage medium, which are used for processing data of a set of equipment shared by multiple interfaces.
Background
One digital device can only open one display interface for operation, and if the information amount is large, a user needs to switch back and forth, so that the operation is troublesome, and the user requirements cannot be met.
Disclosure of Invention
The invention provides a screen splitting method, which comprises the following steps:
step 1: opening the app;
step 2: drawing a plurality of areas on a main interface;
and step 3: clicking different areas according to the AMS and the PMS to switch back to the clicked areas;
and 4, step 4: modifying android native logic for processing during operation in different areas;
and 5: each area is independently a task, so that the application programs can be simultaneously operated in different areas;
step 6: and exiting the app and ending the application.
As a further improvement of the present invention, in said step 2, a window manager is used to divide a plurality of areas in the app main interface, and each area is clicked to launch a designated active window.
As a further improvement of the present invention, in the step 2, four regions are drawn on the main interface.
As a further improvement of the present invention, in said step 3, the response logic is: the AMS adds an interface for acquiring the uppermost active window of the click area for displaying the apk operation.
As a further improvement of the present invention, in said step 4, the native logic processing means that each small area of the multi-split application corresponds to the processing logic of one android device.
As a further improvement of the present invention, in the step 5, the individual task is used by the android system for performing split screen logical processing, and when the native system has a fixed task, that is, split screen, an app is fixed above the screen, and can be arbitrarily processed on the left and right sides.
As a further improvement of the present invention, in the step 5, each area displays displayable apks in a list form through an api of the android, clicking a responsive icon starts a specific application, and then the window manager is used to make a display limitation on the application, and when a specific operation is performed, the AMS, i.e. the activity manager, is entered to operate which apk should be specifically displayed in which area.
As a further improvement of the invention, in the step 2, a plurality of areas are drawn on the main interface first, and then the virtual keys are shielded.
The invention also provides a split screen system, comprising: a memory, a processor and a computer program stored on the memory, the computer program being configured to implement the steps of the split screen method of the invention when invoked by the processor.
The invention also provides a computer-readable storage medium storing a computer program configured to, when invoked by a processor, implement the steps of the split screen method of the invention.
The invention has the beneficial effects that: the invention realizes multi-split-screen display of the same equipment, each screen can independently operate the equipment, a user can simultaneously check a plurality of interfaces in use, each interface can be independently displayed and independently operated, the complex operation is solved, the multi-purpose of one machine is realized, the office efficiency is effectively improved, and the use scene of the user is expanded.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
The invention discloses a split screen method, which realizes multi-split screen display of the same equipment, each screen can independently operate the equipment, a user can simultaneously check a plurality of interfaces in use, each interface can be independently displayed and independently operated, the problem of complicated operation is solved, one machine has multiple functions, the office efficiency is effectively improved, and the use scene of the user is expanded.
Support for displaying a plurality of application windows simultaneously is added in Android. On a handheld device, two applications can be displayed side-by-side left-right or top-down in a "split screen" mode. On an android device, an application may continue to play video or other applications while a user interacts with another application using a "picture-in-picture" mode or a multi-screen display.
If an application is built using an SDK, a method of the application to handle multi-window display can be configured. A minimum allowable size of Activity may be specified. The multi-window display of the application may also be disabled, ensuring that the system only displays the application in full-screen mode.
Android allows multiple applications to share a screen at the same time. The application may be displayed in a split screen, viewing the web page on the left while writing the mail on the right. The user experience depends on the device:
the handheld device running Android has a split screen mode. In this mode, the system displays two applications in a split screen, either side-by-side left-to-right or side-by-side top-to-bottom manner. The user can drag the boundary between the two applications, and on the Frame Player running Android, the applications can be displayed in picture-in-picture mode, i.e., the user continues to display content while browsing a web page or interacting with other applications.
The manufacturer of the larger device may choose to enable a free-form mode in which the user is free to resize each Activity. If the manufacturer enables this functionality, the device will have both a free form mode and a split screen mode.
The user may switch to the multi-window mode by:
if the user opens the Overview screen and presses the Activity title for a long time, the Activity can be dragged to the highlighted area of the screen, so that the Activity enters the multi-window mode. If the user presses the Overview button for a long time, the current Activity on the device will enter the multi-window mode, and at the same time, the Overview screen will be opened, and the user can select another Activity to share the screen in the screen.
A user can drag and drop data between two Activities while they share the screen (before this, the user can only drag and drop data inside one Activity).
Multi-window lifecycle:
the multi-window mode does not alter the Activity lifecycle.
In the multi-window mode, only the Activity that has recently interacted with the user is active at a given time. This Activity will be considered the top Activity. All other Activities, although visible, are in a suspended state. However, these paused but visible activities enjoy a higher priority in the system than invisible activities. If the user interacts with one of the paused Activities, that Activity will resume and the previous top-level Activity will pause.
As described in handling runtime changes, when a user uses a multi-windowed mode display application, the system will notify Activity of a configuration change. This may also occur when the user resizes the application, or restores the application to full screen mode. This change is essentially the same Activity lifecycle effect as when the system notifies the application device to switch from portrait mode to landscape mode, but the device will not just swap sizes, but will change sizes. As described in handling runtime changes, Activities can handle configuration changes on their own, or allow the system to destroy Activities and recreate them in new sizes.
If the user adjusts the window size and enlarges the window size in any dimension, the system will adjust Activity to match the user operation and release the runtime change as needed. If the application lags the rendering of the newly published region, the system will temporarily fill the region with the color specified by the windowBackground attribute or the default windowBackground style attribute.
Configuring an application for a multi-window mode:
if your application is Android-oriented, you can configure whether the Activity of the application supports multi-window display and a display mode. You can set properties in the manifest file to control size and layout. The property settings of a root Activity apply to all activities in its task stack. For example, if the root Activity has android: resizeableActivity set to true, all Activities in the task stack will be resizable.
For Android, < layout > manifest element supports several properties that affect the behavior of Activity in multi-window mode:
android, default Width, the default width of Activity when started in free shape mode.
android, defaultHeight, default height of Activity when launched in free shape mode.
android, the initial location of Activity when launched in free form mode.
Minimum height and minimum width of Activity in split screen and free form modes. If the user moves the dividing line in split-screen mode so that the Activity size is below the specified minimum, the system will clip the Activity to the size requested by the user.
Running the application in the multi-window mode: android has added new functionality to support applications that can run in a multi-window mode.
Disabled functionality in the multi-window mode:
when the device is in the multi-window mode, certain functions may be disabled or ignored because they have no meaning for sharing the device screen with other activities or applications. Such functions include:
some system UI customization options will be disabled; for example, in non-full screen mode, the application cannot hide the status bar.
The system will ignore changes made to the android: sceneries property.
Multi-window change notifications and queries
The following new method is added to the Activity class to support multi-window display.
Activity.isInMultiWindowMode()
This method is invoked to confirm whether Activity is in multi-window mode.
Activity.isInPictureInPictureMode()
This method is invoked to confirm whether Activity is in picture-in-picture mode. Note: the picture-in-picture mode is a special case of the multi-window mode. If myActivity. isinPictureImode () returns true, myActivity. isinMultiWindowMode () also returns true.
Activity.onMultiWindowModeChanged()
The system will invoke this method when Activity enters or exits multi-window mode. The system passes the true value to the method when Activity enters the multi-window mode and passes the false value when exiting the multi-window mode.
Activity.onPictureInPictureModeChanged()
This method will be called by the system when Activity enters or exits picture-in-picture mode. The system passes the true value to the method when Activity enters PIP mode and passes the false value when exiting PIP mode.
Each method also has a Fragment version, such as Fragment.
Entering a picture-in-picture mode: if Activity needs to be started in picture-in-picture mode, call new method Activity. This method is not effective if the apparatus does not support picture-in-picture mode.
Launch a new Activity in the Multi-Window mode: upon launching a new Activity, the user may prompt the system that the new Activity should be displayed next to the current Activity, if possible. TO perform this operation, the flag intent _ active _ loop _ TO _ ADJACENT may be used.
Passing this flag will request the following actions:
if the device is in split screen mode, the system will attempt to create a new Activity next to the Activity that initiated the system, so that both activities will share the screen. The system does not have to do so, but if possible, the system will have both Activities in adjacent positions.
If the device is not in split screen mode, the flag is invalid.
If the device is in free-form mode, upon launching a new Activity, the user can specify the size and screen location of the new Activity by calling ActivityOptions. If the device is not in the multi-window mode, the method is not effective.
Whether you update applications for Android or not, the behavior of the applications in the multi-window mode should be verified to prevent a user from attempting to launch an application in the multi-window mode on a device running Android.
If the application makes a directional declaration, it should attempt to switch the application to a multi-window mode. Verifying and ensuring that the application remains in full screen mode after this operation is performed.
Support for multi-window mode: if your application is built using the Preview SDK and multi-window support is not disabled, the following behavior is verified in split screen and free shape modes, respectively.
The application is started in full screen mode and then switched to multi-window mode by long pressing the Overview button. Verify and ensure that the application switches normally.
And directly starting the application in the multi-window mode, verifying and ensuring the normal starting of the application. You can press the Overview button, press the title bar of the application for a long time, and drag the title bar to any highlighted area on the screen, thereby starting the application in the multi-window mode.
And dragging the boundary, and adjusting the size of the application in the split screen mode. Verify and ensure that the application resizes normally and does not crash and that the necessary UI elements are still visible.
If you specify the minimum size of the application, please try to resize the application below the minimum. Verify and ensure that the application cannot be resized below a specified minimum.
After all tests are completed, the application performance is verified and guaranteed to be acceptable.
To verify application performance in the multi-window mode, we perform the following operations. Unless otherwise stated, please perform the following operations in the split screen and multi-window modes, respectively.
Enter and exit the multi-window mode.
Switch from your application to another, verify and ensure that the application is running normally in an inactive but visible state. For example, if your application plays a video, it is verified and ensured that the video is still playing while the user is interacting with another application.
In split screen mode, an attempt is made to move the dividing line, zoom in or zoom out the application. These operations are attempted in side-by-side and top-down display modes, respectively. Verify and ensure that the application does not crash, the primary function is visible, and the adjustment operation does not take too long.
Several adjustment operations are performed in rapid succession. Verify and ensure that the application does not crash or leak memory. For information on checking the application memory usage rate, please refer to the checking memory usage rate.
The application is normally used in a plurality of different window configurations, and the application is verified and ensured to normally run. And verifying and ensuring that the text is readable, and the UI element is normal in size and does not influence interaction.
If you disable the multi-window support by setting Android: resizeable activity ═ false ", the application should be launched on the device running Android N and attempt to switch the application to free-form and split-screen mode.
Verifying and ensuring that the application remains in full screen mode after this operation is performed, and thus the multi-split screen mode is completely successful.
In summary, as shown in fig. 1, a screen splitting method includes the following steps:
step 1: opening the app;
step 2: drawing a plurality of areas on a main interface;
and step 3: clicking different areas according to the AMS and the PMS to switch back to the clicked areas;
and 4, step 4: modifying android native logic for processing during operation in different areas;
and 5: each area is independently a task, so that the application programs can be simultaneously operated in different areas;
step 6: and exiting the app and ending the application.
In the step 2, a window manager is used for dividing a plurality of areas in the main interface of the app, and each area starts a specified active window when clicking.
In step 2, four regions are drawn on the main interface.
In step 3, the response logic is: the AMS adds an interface for acquiring the uppermost active window of the click area for displaying the apk operation.
In step 4, the native logic processing means that each small area of the multi-split screen application is equivalent to the processing logic of one android device.
In step 5, the individual task is used by the android system for performing split screen logic processing, and when the native system has a fixed task, that is, split screen, an app is fixed above the screen, and can be arbitrarily processed on the left and right.
Why can different running programs be run in said step 5? The specific logic is that each area displays displayable apks in a list form through the api of the android, clicking a response icon starts a designated application, then a window manager is used for limiting the display of the application, and when specific operation is executed, the AMS (automatic resource management system), namely an activity manager, is used for operating which apk is displayed in which area.
In the step 2, a plurality of areas are drawn on the main interface, and then the virtual keys are shielded. And the step of shielding the virtual key is shielding home, back and receiver. Why is shielding? The client cannot click a home or other virtual key to actively quit the four-screen application, and because multiple applications may be run simultaneously, an unknown error may exist if the user directly quits. The four-split screen application is provided with an exit button which is used for exiting the four-split screen application.
The invention also discloses a split screen system, comprising: a memory, a processor and a computer program stored on the memory, the computer program being configured to implement the steps of the split screen method of the invention when invoked by the processor.
The invention also discloses a computer readable storage medium, which stores a computer program configured to implement the steps of the screen splitting method of the invention when called by a processor.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A screen splitting method is characterized by comprising the following steps:
step 1: opening the app;
step 2: drawing a plurality of areas on a main interface;
and step 3: clicking different areas according to the AMS and the PMS to switch back to the clicked areas;
and 4, step 4: modifying android native logic for processing during operation in different areas;
and 5: each area is independently a task, so that the application programs can be simultaneously operated in different areas;
step 6: and exiting the app and ending the application.
2. The screen splitting method according to claim 1, wherein in the step 2, a window manager is used for dividing a plurality of areas in the app main interface, and each area starts a specified active window when clicking.
3. The screen splitting method according to claim 2, wherein in the step 2, four regions are drawn on the main interface.
4. The screen splitting method according to claim 1, wherein in the step 3, the response logic is: the AMS adds an interface for acquiring the uppermost active window of the click area for displaying the apk operation.
5. The screen splitting method according to claim 1, wherein in the step 4, the native logic processing means processing logic corresponding to one android device in each small area of the multi-split screen application.
6. The screen splitting method of claim 1, wherein in step 5, the individual task is processed by the android system, and when the native system has a fixed task, namely split screen, an app is fixed above the screen, and can be processed on the left and right sides arbitrarily.
7. The screen splitting method of claim 1, wherein in the step 5, each area displays displayable apks in a list form through an api of an android, clicking a responsive icon starts a specific application, and then a window manager is used for limiting the display of the application, and when a specific operation is performed, an AMS (activity manager) is entered to operate which apk should be displayed in which area.
8. A screen splitting method according to any one of claims 1 to 7, wherein in step 2, a plurality of regions are first drawn on the main interface, and then the virtual keys are masked.
9. A split screen system, comprising: memory, a processor and a computer program stored on the memory, the computer program being configured to implement the steps of the split screen method of any one of claims 1-8 when invoked by the processor.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program configured to, when invoked by a processor, implement the steps of the split screen method of any of claims 1-8.
CN202110815804.7A 2021-07-19 2021-07-19 Screen splitting method, system and storage medium Pending CN113556601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110815804.7A CN113556601A (en) 2021-07-19 2021-07-19 Screen splitting method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110815804.7A CN113556601A (en) 2021-07-19 2021-07-19 Screen splitting method, system and storage medium

Publications (1)

Publication Number Publication Date
CN113556601A true CN113556601A (en) 2021-10-26

Family

ID=78103417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110815804.7A Pending CN113556601A (en) 2021-07-19 2021-07-19 Screen splitting method, system and storage medium

Country Status (1)

Country Link
CN (1) CN113556601A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN106569652A (en) * 2015-10-13 2017-04-19 福州瑞芯微电子股份有限公司 Android multi-window displaying method and Android multi-window displaying device
CN107508990A (en) * 2017-08-29 2017-12-22 北京安云世纪科技有限公司 The method and terminal device of a kind of split screen display available
WO2019047876A1 (en) * 2017-09-07 2019-03-14 华为技术有限公司 Interface displaying method and device
CN110727381A (en) * 2019-09-03 2020-01-24 华为技术有限公司 Application switching method and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461242A (en) * 2014-12-08 2015-03-25 深圳市嘉乐派科技有限公司 Multiwindow interface realization method based on Android operating system
CN106569652A (en) * 2015-10-13 2017-04-19 福州瑞芯微电子股份有限公司 Android multi-window displaying method and Android multi-window displaying device
CN107508990A (en) * 2017-08-29 2017-12-22 北京安云世纪科技有限公司 The method and terminal device of a kind of split screen display available
WO2019047876A1 (en) * 2017-09-07 2019-03-14 华为技术有限公司 Interface displaying method and device
CN110727381A (en) * 2019-09-03 2020-01-24 华为技术有限公司 Application switching method and electronic equipment

Similar Documents

Publication Publication Date Title
US11644943B2 (en) Method for icon display, terminal, and storage medium
US10613701B2 (en) Customizable bladed applications
AU2013389985B2 (en) User interface elements for multiple displays
RU2734109C1 (en) Method of playing multiple video on mobile terminal, mobile terminal and readable storage medium
WO2017113856A1 (en) Barrage display method and device
US10915284B2 (en) Multi-monitor full screen mode in a windowing environment
US11314391B2 (en) Navigation bar controlling method and terminal
WO2019047183A1 (en) Key display method, apparatus, and terminal
CN114302201B (en) Method for automatically switching on and off screen in sound box mode, intelligent terminal and display device
CN108549575B (en) Processing method and device for quitting split screen, storage medium and electronic equipment
CN103379385A (en) Method for controlling smart television and operating system of smart television
CN113556601A (en) Screen splitting method, system and storage medium
CN110989957A (en) Multi-screen display method, terminal and storage medium
CN108401455B (en) Multi-system control method, control device and mobile terminal
CN116347166A (en) Display device and window display method
WO2024139245A1 (en) Display device and split-screen display method
CN113282362B (en) Application management method, device, storage medium and terminal
CN111782113B (en) Display method, display device and computer-readable storage medium
WO2024131095A1 (en) Display device and menu display method
WO2023138024A1 (en) Display device, split-screen display method and split-screen application switching method
US20240233710A1 (en) Displaying a transcription with adjustable transparency
CN117812337A (en) Display equipment and multi-window display method
CN117806752A (en) Terminal operation data display system and method, storage medium and computer equipment
CN117812336A (en) Display equipment and interface display method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20211026

RJ01 Rejection of invention patent application after publication