CN108549519B - Split screen processing method and device, storage medium and electronic equipment - Google Patents

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

Info

Publication number
CN108549519B
CN108549519B CN201810352957.0A CN201810352957A CN108549519B CN 108549519 B CN108549519 B CN 108549519B CN 201810352957 A CN201810352957 A CN 201810352957A CN 108549519 B CN108549519 B CN 108549519B
Authority
CN
China
Prior art keywords
application program
screen
application
floating window
notification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810352957.0A
Other languages
Chinese (zh)
Other versions
CN108549519A (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810352957.0A priority Critical patent/CN108549519B/en
Publication of CN108549519A publication Critical patent/CN108549519A/en
Application granted granted Critical
Publication of CN108549519B publication Critical patent/CN108549519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object or an image, setting a parameter value or selecting a range

Abstract

The embodiment of the application discloses a split screen processing method, a split screen processing device, a storage medium and electronic equipment; the method comprises the following steps: when the electronic equipment is currently running a first application program, receiving notification information of a second application program running in a background, judging whether the number of the received notification information of the second application program reaches a preset number, if so, generating a floating window according to the second application program and displaying the floating window on a screen of the electronic equipment, receiving a first operation of a user for the floating window, and displaying the first application program and the second application program in a split screen mode according to the first operation. According to the method and the device, when the application program running in the background receives the notification information and the notification quantity meets the preset quantity, the shortcut capable of quickly splitting the screen is automatically generated, the screen is split according to the user operation, the user operation is reduced, and the processing efficiency of the electronic equipment on the screen splitting interface is improved.

Description

Split screen processing method and device, storage medium and electronic equipment
Technical Field
The application relates to the field of electronic equipment, in particular to a split screen processing method and device, a storage medium and electronic equipment.
Background
With the development of terminal technology, terminals have begun to change from simply providing telephony devices to a platform for running general-purpose software. The platform no longer aims at providing call management, but provides an operating environment including various application software such as call management, game and entertainment, office events, mobile payment and the like, and with a great deal of popularization, the platform has been deeply developed to the aspects of life and work of people.
The split screen is a common user scene of the Android system intelligent terminal at present. The user is more emphatic to the experience when the split screen uses, if the user is when using the split screen, to the agility of split screen operation, the expressive force of demonstration, whether it is convenient to get into and withdraw from, it is humanized, can all have higher requirement, fluency in the operation process also relatively influences experience, the user can be associated with the split screen operation to the performance of cell-phone and directly perceived impression, influences the brand and the reputation of product.
However, in the existing Android system, no special processing is performed on a scene that a user uses split screens at the present stage, and the operation is relatively original, so that the user cannot use the system quickly.
Disclosure of Invention
The embodiment of the application provides a split-screen processing method and device, a storage medium and electronic equipment, and can improve the processing efficiency of the electronic equipment on a split-screen interface.
In a first aspect, an embodiment of the present application provides a split-screen processing method, including:
when the electronic equipment is currently running a first application program, receiving notification information of a second application program running in a background;
judging whether the number of the received notification messages of the second application program reaches a preset number or not;
if so, generating a floating window according to the second application program and displaying the floating window on a screen of the electronic equipment;
and receiving a first operation of a user for the floating window, and displaying the first application program and the second application program in a split screen mode according to the first operation.
In a second aspect, an embodiment of the present application further provides a split screen processing apparatus, including: the device comprises a receiving module, a first judging module, a display module and a processing module;
the receiving module is used for receiving notification information of a second application program running in a background when the electronic equipment is currently running the first application program;
the first judging module is used for judging whether the number of the received notification messages of the second application program reaches a preset number;
the display module is used for generating a floating window according to the second application program and displaying the floating window on a screen of the electronic equipment when the first judgment module judges that the first application program is yes;
the processing module is used for receiving a first operation of a user for the floating window and displaying the first application program and the second application program in a split screen mode according to the first operation.
In a third aspect, an embodiment of the present application further provides a storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the split-screen processing method.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the split-screen processing method when executing the program.
The split-screen processing method provided by the embodiment of the application comprises the steps of firstly receiving notification information of a second application program running in a background when the electronic equipment is currently running a first application program, judging whether the number of the received notification information of the second application program reaches a preset number, if so, generating a floating window according to the second application program and displaying the floating window on a screen of the electronic equipment, receiving a first operation of a user for the floating window, and displaying the first application program and the second application program in a split-screen mode according to the first operation. According to the method and the device, when the application program running in the background receives the notification information and the notification quantity meets the preset quantity, the shortcut capable of quickly splitting the screen is automatically generated, the screen is split according to the user operation, the user operation is reduced, and the processing efficiency of the electronic equipment on the screen splitting interface is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a split-screen processing method according to an embodiment of the present application.
Fig. 2 is a scene schematic diagram of a split-screen processing method provided in the embodiment of the present application.
Fig. 3 is another schematic flow chart of a split-screen processing method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a split-screen processing apparatus according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a split-screen processing apparatus according to an embodiment of the present application.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 7 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Referring to the drawings, wherein like reference numbers refer to like elements, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on illustrated embodiments of the application and should not be taken as limiting the application with respect to other embodiments that are not detailed herein.
In the description that follows, specific embodiments of the present application will be described with reference to steps and symbols executed by one or more computers, unless otherwise indicated. Accordingly, these steps and operations will be referred to, several times, as being performed by a computer, the computer performing operations involving a processing unit of the computer in electronic signals representing data in a structured form. This operation transforms the data or maintains it at locations in the computer's memory system, which may be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the application have been described in language specific to above, it is not intended to be limited to the specific form set forth herein, and it will be recognized by those of ordinary skill in the art that various of the steps and operations described below may be implemented in hardware.
The principles of the present application may be employed in numerous other general-purpose or special-purpose computing, communication environments or configurations. Examples of well known computing systems, environments, and configurations that may be suitable for use with the application include, but are not limited to, hand-held telephones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe-based computers, and distributed computing environments that include any of the above systems or devices.
The details will be described below separately.
The present embodiment will be described in terms of a split-screen processing apparatus, which may be specifically integrated in an electronic device, where the electronic device may be an electronic device with an image processing function, such as a mobile interconnection network device (e.g., a smart phone, a tablet computer).
Referring to fig. 1 first, fig. 1 is a schematic flow chart of a split-screen processing method provided in an embodiment of the present application, including the following steps:
step S101, when the electronic device is currently running the first application program, receiving notification information of a second application program running in a background.
When the electronic device is currently running an application, the background of the electronic device can also run multiple applications, and the applications can continue to receive related message push and the like in the background. The embodiment may receive notification information of the second application running in the background, where the second application running in the background may be any application capable of running in the background, and the notification information may be any notification message of the background application. For example, the second application running in the background may be instant messaging software, the notification message may be a message received by the instant messaging software, and the message may be a system message or a message sent by another user through the instant messaging software.
In an embodiment, the first application program may be some preset application programs, such as game application programs or video application programs, which some users do not want to be disturbed during the use process, and when the application programs are currently run by the electronic device, the notification information of the second application program running in the background may be hidden, that is, the notification information is not displayed, so as to avoid disturbing the users. If the first application program is not the application program preset by the user, the notification information may be displayed, for example, in a manner of a pop-up window, a banner, or a pop-up screen. Therefore, after receiving the notification information of the second application running in the background, the method may further include:
judging whether the first application program is a preset application program or not;
if yes, hiding the notification information;
and if not, displaying the notification information in the current interface.
Step S102, determining whether the number of the received notification messages of the second application program reaches a preset number, if so, executing step S103, and if not, ending the process.
In an embodiment, the number of the second application programs may be one or multiple, for example, the second application program may be instant messaging software (WeChat, QQ, Skype, etc.), and therefore, if notification information of multiple second application programs is received, it is required to respectively determine whether the number of the notification information of each second application program reaches a preset number.
The preset number can be set automatically by the electronic device or set by the user according to actual requirements, for example, the preset number can be set to 3. For example, when the electronic device is currently running the application a, the application B running in the background receives one piece of notification information, the background application C receives 2 pieces of notification information, and the background application C receives 4 pieces of notification information, that is, the number of the notification information of the application a and the number of the notification information of the application B do not reach the preset number, and the number of the notification information of the application C reaches the preset number, so that the application C can be used as a target application, and the step S103 is further executed.
In an embodiment, a time limit may be further added to the step of determining whether the number of the received notification messages of the second application reaches a preset number, for example, determining whether the number of the notification messages reaches the preset number within 5 minutes or 10 minutes. Therefore, the urgency of the notification message can be further confirmed, and only when the more urgent notification message is received, the embodiment triggers the next step. Therefore, the step of determining whether the number of the received notification messages of the second application program reaches the preset number may specifically include:
and judging whether the quantity of the notification information of the second application program received in the preset time period reaches the preset quantity.
And step S103, generating a floating window according to the second application program and displaying the floating window on the screen of the electronic equipment.
In an embodiment, the floating window of the second application program can be displayed in the operation interface of the first application program on the premise of not blocking the current interface operated by the user. Specifically, the current operation interface of the first application program may be obtained, the display position of the floating window may be determined according to the operation interface, where the display position needs to avoid a function area in the operation interface of the first application program to avoid a misoperation of the first application program, and then the floating window is displayed at the position. In addition, the floating window can also carry a second application program identifier to facilitate the user to distinguish, for example, the floating window of the QQ contains a QQ icon, the floating window of the WeChat contains a WeChat icon, and the like.
In an embodiment, the prompt message of the second application program may also be displayed in the form of a system notification in the operation interface of the first application program, or the prompt message of the second application program may be displayed through a function option in the operation interface.
In an embodiment, the operation interface of the first application program may be further adjusted, and the floating window of the second application program is displayed in the peripheral region of the adjusted operation interface. For example, when the number of the notification messages of the second application reaches a preset number, the operation interface of the first application is adaptively reduced, and the floating window of the second application is displayed in the reduced peripheral area (e.g., upper, lower, left, right, etc. peripheral area) of the operation interface on the premise that the user continues to operate the first application.
And step S104, receiving a first operation of the user for the floating window, and displaying the first application program and the second application program in a split screen mode according to the first operation.
For example, after the user clicks the floating window, the electronic device enters a split-screen mode, and displays the first application program and the second application program in a split-screen mode. In the split screen mode, the user can also be supported to select or divide the split screen area of the current screen display interface of the electronic equipment.
In an embodiment, the first instruction may also be a gesture, such as a double-touch screen, to generate a split screen instruction, or a finger presses the screen display interface to be stationary, or a finger slides on the screen display interface, so as to generate a split screen instruction. Alternatively, the screen-division instruction is generated by sound. Correspondingly, the electronic device is a device with a voice control. And the electronic equipment displays the first application program and the second application program in a split screen mode according to the split screen instruction.
In an embodiment, a screen splitting line may also be displayed on the display interface of the electronic device, and a user may pull or drag the screen splitting line to perform a screen splitting operation. The split screen line can be directly displayed on a screen display interface of the electronic device, and can also be called out (or generated) in various ways. For example, the split screen line may be an edge line of the screen display interface.
The split-screen display function may be preset in the electronic device, or may be obtained by downloading a corresponding application program. The function of the split-screen display may correspond to the instruction of the split-screen display, and when the instruction of the split-screen display is not triggered, the electronic device may display the running application program through the full screen of the display screen of the electronic device, as with the electronic device in the prior art. When the instruction of split screen display is triggered, the display screen of the electronic device can be divided into a first display area and a second display area. The first display region and the second display region may not overlap each other to ensure independence of display contents therein.
In an embodiment, before split-screen display, a split-screen display mode of a display screen of an electronic device may be preset, and the split-screen display mode may include, for example, up-down split-screen display or left-right split-screen display. The display screen of the electronic device can be divided into display areas consistent with the split-screen display mode according to the split-screen display mode. For example, the display screen of the electronic device may be divided into a first display area and a second display area which are uniform in size and distributed vertically, and of course, the display screen of the electronic device may be divided into a first display area and a second display area which are not uniform in size and distributed horizontally. The split-screen display mode can be determined according to the current display mode of the first application program. For example, if the first application is a landscape display, the first application and the second application may be split left and right, and if the first application is a portrait display, the first application and the second application may be split up and down.
Referring to fig. 2, fig. 2 is a schematic view of a scene of a split-screen processing method according to an embodiment of the present disclosure. In practical use, taking a mobile phone as an example, when a video application program is currently running in a full screen mode on the mobile phone, a WeChat running in a background receives a notification message, if the number of the WeChat notification messages reaches a preset number, a suspension window of the WeChat can be generated in the video application program, and a user can display the current video application program and the WeChat in a left-right split screen mode on a screen only by clicking the suspension window.
In this embodiment of the present invention, the electronic device may be any intelligent electronic device capable of running an application program, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a laptop Computer (laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, in the embodiment of the application, when the electronic device is currently running the first application, the notification information of the second application running in the background is received, whether the number of the received notification information of the second application reaches the preset number is judged, if yes, the floating window is generated according to the second application and is displayed on the screen of the electronic device, the first operation of the user for the floating window is received, and the first application and the second application are displayed in a split screen mode according to the first operation. According to the method and the device, when the application program running in the background receives the notification information and the notification quantity meets the preset quantity, the shortcut capable of quickly splitting the screen is automatically generated, the screen is split according to the user operation, the user operation is reduced, and the processing efficiency of the electronic equipment on the screen splitting interface is improved.
According to the description of the previous embodiment, the screen splitting processing method of the present application will be further explained below.
Referring to fig. 3, fig. 3 is a schematic flow chart of another split-screen processing method according to an embodiment of the present application, including the following steps:
step S201, when the electronic device is currently running the first application, receiving notification information of a second application running in the background.
When the electronic device is currently running an application, multiple applications can also be run in the background, and the applications can continue to receive related message push and the like in the background. The embodiment may receive notification information of the second application running in the background, where the second application running in the background may be any application capable of running in the background, and the notification information may be any notification message of the background application. For example, the second application running in the background may be instant messaging software, the notification message may be a message received by the instant messaging software, and the message may be a system message or a message sent by another user through the instant messaging software.
Step S202, determining whether the second application is a preset application, if so, performing step S203, and if not, ending the process.
In practical use, if a user installs more applications in the electronic device, push information of a part of the applications is often not needed by the user, so that the user can preset some important applications in the electronic device as preset applications, such as some instant messaging software or social software. When receiving a notification of a second application program running in the background, the electronic device first determines whether the second application program is a preset application program, if so, continues to execute the subsequent steps, and if not, can end the current process.
Step S203, extracting the user identifier carried by the received notification information of the second application program.
Considering that the same instant messaging software may receive notification information sent by different users in actual use, for example, the electronic device may receive a WeChat sent by user a, or may receive WeChats sent by user b and user c. Therefore, in the embodiment of the present application, the notification information of the second application needs to be further distinguished, and the distinguishing may be specifically performed according to the user identifier carried by the notification information. The user identifier may be information, such as a user ID, a device ID, and the like, that the user can identify in the second application.
Step S204, the number of the notification messages carrying the same user identifier is obtained.
For example, when the electronic device runs the first application program, the second application program running in the background receives the information sent by a, b, and c, and then the number of the information sent by each of the three users is obtained.
Step S205, determining whether the number reaches a preset number, if yes, executing step S206, and if not, ending the process.
The preset number can be set automatically by the electronic device or set by the user according to actual requirements, for example, the preset number can be set to 3. For example, if the number of messages sent by the user a, the number of messages sent by the user b, and the number of messages sent by the user c are 1, 2, and 3, respectively, received by the second application running in the background, it is determined that the number of messages sent by the user c reaches the preset number.
In an embodiment, a time limit may be added to the step of determining whether the number reaches a preset number, for example, determining whether the number of the notification messages reaches the preset number within 5 minutes or 10 minutes. Therefore, the urgency of the notification message can be further confirmed, and only when the more urgent notification message is received, the embodiment triggers the next step.
And step S206, generating a floating window according to the second application program and the user identification, and displaying the floating window on the screen of the electronic equipment.
In an embodiment, the floating window of the second application program can be displayed in the operation interface of the first application program on the premise of not blocking the current interface operated by the user. Specifically, the current operation interface of the first application program may be obtained, the display position of the floating window may be determined according to the operation interface, where the display position needs to avoid a function area in the operation interface of the first application program to avoid a misoperation of the first application program, and then the floating window is displayed at the position.
In addition, the floating window may carry a second application identifier and a user identifier, so as to facilitate the user to distinguish, for example, the floating window of the QQ includes a QQ icon and a QQ icon, the floating window of the WeChat includes a WeChat icon and a WeChat icon, and so on.
Step S207, receiving a first operation of the user on the floating window, and displaying the first application program and the second application program in a split screen manner according to the first operation.
For example, after the user clicks the floating window, the electronic device enters a split-screen mode, and displays the first application program and the second application program in a split-screen mode. In the split screen mode, the user can also be supported to select or divide the split screen area of the current screen display interface of the electronic equipment.
In an embodiment, considering that the user may continue to run the first application program continuously after seeing the floating window and ignore the notification information, the other operations performed on the floating window may be closed, that is, the method may further include:
and receiving a second operation of the user for the floating window, closing the floating window according to the second operation, and ignoring the notification information when receiving the notification information carrying the user identifier again.
The first operation and the second operation of the user can be distinguished according to different gestures, such as sliding up and down. It can also be distinguished according to the length of the press, such as a short press, a long press, etc. This is not to be taken as an example.
In this embodiment of the present invention, the electronic device may be any intelligent electronic device capable of running an application program, for example: a Mobile phone, a Tablet Personal Computer (Tablet Personal Computer), a laptop Computer (laptop Computer), a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a Wearable Device (Wearable Device), or the like.
As can be seen from the above, the split-screen processing method provided in this embodiment of the present application may receive notification information of a second application running in a background when an electronic device is currently running a first application, determine whether the second application is a preset application, if so, extract a user identifier carried by the received notification information of the second application, obtain the number of notification information carrying the same user identifier, determine whether the number reaches the preset number, if so, generate a floating window according to the second application and the user identifier and display the floating window on a screen of the electronic device, receive a first operation of a user for the floating window, and display the first application and the second application in a split-screen manner according to the first operation. According to the method and the device, when the application program running in the background receives the notification information and the notification quantity meets the preset quantity, the shortcut capable of quickly splitting the screen is automatically generated, the screen is split according to the user operation, the user operation is reduced, and the processing efficiency of the electronic equipment on the screen splitting interface is improved.
In order to better implement the split-screen processing method provided by the embodiment of the application, the embodiment of the application also provides a device based on the split-screen processing method. The meaning of the noun is the same as that in the split screen processing method, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a split-screen processing device according to an embodiment of the present application, where the split-screen processing device 30 includes: a receiving module 301, a first judging module 302, a display module 303 and a processing module 304;
the receiving module 301 is configured to receive notification information of a second application running in a background when the electronic device is currently running a first application;
a first determining module 302, configured to determine whether the number of the received notification messages of the second application reaches a preset number;
the display module 303 is configured to generate a floating window according to the second application program and display the floating window on the screen of the electronic device when the first determination module 302 determines that the first determination module is yes;
and the processing module 304 is configured to receive a first operation of the user on the floating window, and display the first application program and the second application program in a split screen manner according to the first operation.
In an embodiment, as shown in fig. 5, the split-screen processing apparatus 30 may further include: a second decision module 305;
a second determining module 305, configured to determine whether the second application is a preset application;
the first determining module 302 is specifically configured to determine whether the number of the received notification messages of the second application reaches a preset number when the second determining module 305 determines that the number of the received notification messages of the second application reaches the preset number.
In an embodiment, the first determining module 302 may specifically include: an extraction submodule 3021, an acquisition submodule 3022, and a judgment submodule 3023;
the extracting submodule 3021 is configured to extract a user identifier carried in the received notification information of the second application program;
an obtaining submodule 3022, configured to obtain the number of notification information carrying the same user identifier;
and a judging submodule 3023, configured to judge whether the number reaches a preset number.
As can be seen from the above, the split-screen processing apparatus 30 provided in this embodiment of the application may be configured to, when the electronic device is currently running a first application, receive notification information of a second application running in a background by the receiving module 301, determine whether the number of the received notification information of the second application reaches a preset number by the first determining module 302, if yes, the display module 303 generates a floating window according to the second application and displays the floating window on the screen of the electronic device, and the processing module 304 receives a first operation of a user for the floating window, and displays the first application and the second application in a split-screen manner according to the first operation. According to the method and the device, when the application program running in the background receives the notification information and the notification quantity meets the preset quantity, the shortcut capable of quickly splitting the screen is automatically generated, the screen is split according to the user operation, the user operation is reduced, and the processing efficiency of the electronic equipment on the screen splitting interface is improved.
The application also provides a storage medium, on which a computer program is stored, wherein the computer program is executed by a processor to implement the split-screen processing method provided by the method embodiment.
The application also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to implement the split-screen processing method provided by the method embodiment.
In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a smart phone, a tablet computer, or the like. As shown in fig. 6, the electronic device 400 includes a processor 401, a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 402 and calling data stored in the memory 402, thereby integrally monitoring the electronic device.
In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to processes of one or more application programs into the memory 402 according to the following steps, and the processor 401 runs the application programs stored in the memory 402, thereby implementing various functions:
when the electronic equipment is currently running a first application program, receiving notification information of a second application program running in a background;
judging whether the number of the received notification messages of the second application program reaches a preset number or not;
if so, generating a floating window according to the second application program and displaying the floating window on a screen of the electronic equipment;
and receiving a first operation of a user for the floating window, and displaying the first application program and the second application program in a split screen mode according to the first operation.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The electronic device 500 may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 504, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, and power supply 509. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
The rf circuit 501 may be used for receiving and transmitting information, or receiving and transmitting signals during a call, and in particular, receives downlink information of a base station and then sends the received downlink information to one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, radio frequency circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the radio frequency circuit 501 may also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 502 may be used to store applications and data. Memory 502 stores applications containing executable code. The application programs may constitute various functional modules. The processor 508 executes various functional applications and data processing by executing application programs stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the electronic device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numbers, character information, or user characteristic information (such as a fingerprint), and generate a keyboard, mouse, joystick, optical, or trackball signal input related to user setting and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508.
The display unit 504 may be used to display information input by or provided to a user and various graphical user interfaces of the electronic device, which may be made up of graphics, text, icons, video, and any combination thereof. The display unit 504 may include a display panel. Alternatively, the display panel may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The electronic device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the electronic device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device, detailed descriptions thereof are omitted.
The audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker, microphone. The audio circuit 506 can convert the received audio data into an electrical signal, transmit the electrical signal to a speaker, and convert the electrical signal into a sound signal to output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508 and then sent to another electronic device via the rf circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of a peripheral headset with the electronic device.
Wireless fidelity (WiFi) belongs to short-distance wireless transmission technology, and electronic equipment can help users to send and receive e-mails, browse webpages, access streaming media and the like through a wireless fidelity module 507, and provides wireless broadband internet access for users. Although fig. 7 shows the wireless fidelity module 507, it is understood that it does not belong to the essential constitution of the electronic device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or executing an application program stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the electronic device. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The electronic device also includes a power supply 509 (such as a battery) to power the various components. Preferably, the power source may be logically connected to the processor 508 through a power management system, so that the power management system may manage charging, discharging, and power consumption management functions. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 7, the electronic device may further include a camera, a bluetooth module, and the like, which are not described in detail herein.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It should be noted that, as one of ordinary skill in the art would understand, all or part of the steps in the various methods of the foregoing embodiments may be implemented by relevant hardware instructed by a program, where the program may be stored in a computer-readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and during the execution, the flow of the embodiments, such as the split-screen processing method, may be included. Among others, the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
In the foregoing, detailed descriptions are given to a split-screen processing method, a split-screen processing device, a storage medium, and an electronic device, where each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A split screen processing method is characterized by comprising the following steps:
when the electronic equipment is currently running a first application program, receiving notification information of a second application program running in a background;
extracting the user identification carried by the received notification information of the second application program in a preset time period;
acquiring the number of the notification information carrying the same user identifier;
judging whether the number reaches a preset number or not;
if not, hiding the notification information of the second application program;
if yes, determining a target display position according to an operation interface of the first application program, generating a floating window according to the second application program, and displaying the floating window on a screen of the electronic equipment at the target display position;
and receiving a first operation of a user for the floating window, and displaying the first application program and the second application program in a split screen mode according to the first operation.
2. The screen-splitting processing method according to claim 1, wherein before the determining whether the number of the received notification information of the second application program reaches a preset number, the method further comprises:
judging whether the second application program is a preset application program or not;
and if so, executing a step of judging whether the number of the received notification messages of the second application program reaches a preset number.
3. The screen splitting processing method according to claim 1, wherein the generating and displaying a floating window according to the second application on the screen of the electronic device comprises:
and generating a floating window according to the second application program and the user identification, and displaying the floating window on a screen of the electronic equipment.
4. The screen splitting processing method according to claim 1, further comprising:
and receiving a second operation of the user for the floating window, closing the floating window according to the second operation, and ignoring the notification information when receiving the notification information carrying the user identifier again.
5. A split-screen processing apparatus, characterized in that the apparatus comprises: the device comprises a receiving module, a first judging module, a display module and a processing module;
the receiving module is used for receiving notification information of a second application program running in a background when the electronic equipment is currently running the first application program;
the first judging module comprises: extracting a submodule, obtaining a submodule and judging a submodule;
the extraction submodule is used for extracting the user identification carried by the received notification information of the second application program in a preset time period;
the obtaining submodule is used for obtaining the number of the notification information carrying the same user identifier;
the judging submodule is used for judging whether the number reaches a preset number;
the display module is used for hiding the notification information of the second application program when the judgment of the judgment submodule is negative, determining a target display position according to the operation interface of the first application program when the judgment of the judgment submodule is positive, generating a floating window according to the second application program and displaying the floating window on the screen of the electronic equipment at the target display position;
the processing module is used for receiving a first operation of a user for the floating window and displaying the first application program and the second application program in a split screen mode according to the first operation.
6. The screen division processing apparatus according to claim 5, further comprising: a second judgment module;
the second judging module is used for judging whether the second application program is a preset application program or not;
the first determining module is specifically configured to determine whether the number of the received notification messages of the second application reaches a preset number when the second determining module determines that the number of the received notification messages of the second application reaches the preset number.
7. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method according to any one of claims 1-4.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1-4 are implemented when the processor executes the program.
CN201810352957.0A 2018-04-19 2018-04-19 Split screen processing method and device, storage medium and electronic equipment Active CN108549519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810352957.0A CN108549519B (en) 2018-04-19 2018-04-19 Split screen processing method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810352957.0A CN108549519B (en) 2018-04-19 2018-04-19 Split screen processing method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN108549519A CN108549519A (en) 2018-09-18
CN108549519B true CN108549519B (en) 2020-03-10

Family

ID=63515541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810352957.0A Active CN108549519B (en) 2018-04-19 2018-04-19 Split screen processing method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN108549519B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710132B (en) * 2018-12-28 2021-10-01 维沃移动通信有限公司 Operation control method and terminal
CN110231896A (en) * 2019-04-26 2019-09-13 平安科技(深圳)有限公司 Method for sending information, device, electronic equipment and storage medium
CN110187947A (en) * 2019-05-17 2019-08-30 维沃移动通信有限公司 A kind of message display method and terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315518A (en) * 2017-06-27 2017-11-03 努比亚技术有限公司 A kind of terminal split screen method, device and computer-readable recording medium
CN107357497A (en) * 2017-05-25 2017-11-17 努比亚技术有限公司 A kind of multi-screen display method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357497A (en) * 2017-05-25 2017-11-17 努比亚技术有限公司 A kind of multi-screen display method and mobile terminal
CN107315518A (en) * 2017-06-27 2017-11-03 努比亚技术有限公司 A kind of terminal split screen method, device and computer-readable recording medium

Also Published As

Publication number Publication date
CN108549519A (en) 2018-09-18

Similar Documents

Publication Publication Date Title
EP3654165A1 (en) Method and apparatus for switching applications in split screen mode, and related device thereof
CN106406712B (en) Information display method and device
CN105786878B (en) Display method and device of browsing object
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
CN105975190B (en) Graphical interface processing method, device and system
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
US10775979B2 (en) Buddy list presentation control method and system, and computer storage medium
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
EP3242447A1 (en) Information recommendation management method, device and system
WO2020007114A1 (en) Method and apparatus for switching split-screen application, storage medium, and electronic device
EP3647926A1 (en) Mobile terminal and split screen control method thereof, and computer readable storage medium
CN108170361B (en) Application running state control method and mobile terminal
CN109062467B (en) Split screen application switching method and device, storage medium and electronic equipment
CN108984064B (en) Split screen display method and device, storage medium and electronic equipment
CN108958629B (en) Split screen quitting method and device, storage medium and electronic equipment
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
CN108536388A (en) split screen processing method, device, storage medium and electronic equipment
EP2869604B1 (en) Method, apparatus and device for processing a mobile terminal resource
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
US20210124480A1 (en) Split view exiting method, split view exiting device, and electronic device
CN108039963B (en) Container configuration method and device and storage medium
WO2014166307A1 (en) Method for determining performance of process of application and computer system
CN109710139B (en) Page processing method, device, terminal 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
GR01 Patent grant
GR01 Patent grant