WO2020007114A1 - Method and apparatus for switching split-screen application, storage medium, and electronic device - Google Patents

Method and apparatus for switching split-screen application, storage medium, and electronic device Download PDF

Info

Publication number
WO2020007114A1
WO2020007114A1 PCT/CN2019/085819 CN2019085819W WO2020007114A1 WO 2020007114 A1 WO2020007114 A1 WO 2020007114A1 CN 2019085819 W CN2019085819 W CN 2019085819W WO 2020007114 A1 WO2020007114 A1 WO 2020007114A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
split
screen
target
switching
Prior art date
Application number
PCT/CN2019/085819
Other languages
French (fr)
Chinese (zh)
Inventor
曹丹
李同喜
付亮晶
林志泳
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020007114A1 publication Critical patent/WO2020007114A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application relates to the field of electronic devices, and in particular, to a method, a device, a storage medium, and an electronic device for switching between split screen applications.
  • terminals have begun to gradually change from simply providing call equipment to a platform for universal software operation.
  • the platform no longer aims to provide call management, but provides an operating environment including call management, game entertainment, office notes, mobile payment and other applications.
  • call management game entertainment
  • office notes office notes
  • mobile payment mobile payment
  • Split screen is currently a relatively common user scenario for Android-based smart terminals. Users pay more attention to the experience when using split screens. If users use split screens, they will have higher requirements for the quickness of split screen operations, the expressiveness of display, the convenience of entering and exiting, and the user-friendliness. In addition, the fluency in the operation process also relatively affects the experience. The performance and intuitive feeling of the user on the mobile phone will be associated with the split-screen operation, which will affect the brand and reputation of the product.
  • the embodiments of the present application provide a method, a device, a storage medium, and an electronic device for switching between split screen applications, which can improve the efficiency of switching between split screen applications.
  • an embodiment of the present application provides a split-screen application switching method, including:
  • a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
  • an embodiment of the present application further provides a split-screen application switching device, including: a first generating module, a receiving module, a second generating module, and a switching module;
  • the first generating module is configured to generate a partition bar in the split screen interface when the electronic device displays a split screen interface, and the split bar is located between multiple split screen applications;
  • the receiving module is configured to receive a first operation triggered by a user on the partition bar
  • the second generating module is configured to generate, according to the first operation, an application identifier corresponding to a target application that is not currently split-screen;
  • the switching module is configured to receive a second operation triggered by a user for the application identifier, and switch the target application and the split-screen application according to the second operation.
  • an embodiment of the present application further provides a storage medium on which a computer program is stored.
  • the computer program is executed by a processor, the steps of the foregoing split-screen application switching method are implemented.
  • an embodiment of the present application further provides an electronic device including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory for performing the following steps:
  • a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
  • FIG. 1 is a schematic flowchart of a split-screen application switching method according to an embodiment of the present application.
  • FIG. 2 is a scenario diagram of a method for switching between split screen applications according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of another scenario of a split-screen application switching method according to an embodiment of the present application.
  • FIG. 4 is another schematic flowchart of a split-screen application switching method according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a split-screen application switching device according to an embodiment of the present application.
  • FIG. 6 is another schematic structural diagram of a split-screen application switching device according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the computer execution referred to herein includes operations by a computer processing unit representing electronic signals in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to testers in the art.
  • the data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format.
  • Testers in the art will understand that various steps and operations described below can also be implemented in hardware.
  • the device may be specifically integrated in an electronic device, and the electronic device may be an electronic device with an image processing function, such as a mobile interconnected network device (such as a smartphone or a tablet) device.
  • a mobile interconnected network device such as a smartphone or a tablet
  • An embodiment of the present application provides a split screen application switching method, including:
  • a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
  • the method after receiving the first operation triggered by the user on the divider, the method further includes:
  • the method after receiving the first operation triggered by the user on the divider, the method further includes:
  • generating the application identifier corresponding to the target application that is not currently split according to the first operation includes:
  • selecting a preset number of target applications from the set includes:
  • switching the target application and the split screen application according to the second operation includes:
  • switching the target application and the split screen application according to the second operation includes:
  • FIG. 1 is a schematic flowchart of a method for switching between split screen applications according to an embodiment of the present application, including the following steps:
  • step S101 when the electronic device displays a split screen interface, a divider bar is generated in the split screen interface, and the divider bar is located between multiple split screen applications.
  • the electronic device can receive a split screen instruction, which is used to enable the split screen mode of the electronic device, and the user selects at least two applications to display in the split screen interface.
  • the user can also support the selection or division of the split screen area on the current split screen interface of the electronic device.
  • the above-mentioned split-screen instruction may also be a gesture, such as a two-finger swipe to generate a split-screen instruction, or a finger holding the screen display interface still, or a finger sliding on the screen display interface to generate a split-screen instruction.
  • the split screen instruction is generated by sound.
  • the electronic device is a device having a receiving sound control. The electronic device displays the first application program and the second application program in a split screen according to the above split screen instruction.
  • the screen of the electronic device may display a divider bar on the display interface, and the divider bar is located between multiple split screen applications. For example, if the current split screen interface includes two split screen applications, A separate bar is generated between the two applications. If the current split screen interface includes three split screen applications, a separate bar is generated between the two applications, that is, a total of two separate bars are generated. The user can pull or drag the divider to perform split screen operations.
  • the partition bar may be directly displayed on a screen display interface of the electronic device, or may be called (or generated) in various ways.
  • the divider may be the edge line of the screen display interface.
  • the function of split screen display may be set in the electronic device in advance, or may be obtained by downloading a corresponding application program.
  • the function of split-screen display may correspond to a split-screen instruction.
  • the electronic device may, like the electronic device in the prior art, display the running application program through the screen of the electronic device.
  • the display screen of the electronic device can be divided into multiple display areas, such as a first display area and a second display area. The first display area and the second display area may not overlap each other to ensure the independence of the display content therein.
  • the split screen display mode of the display screen of the electronic device may be set in advance in the embodiment of the present application.
  • the split screen display mode may include, for example, an upper and lower split screen display or a left and right split screen display.
  • the display screen of the electronic device can be divided into display areas consistent with the split screen display mode.
  • the display screen of an electronic device can be divided into a first display area and a second display area that are uniform in size and distributed vertically.
  • the display screen of an electronic device can also be divided into first display areas that are different in size and distributed horizontally And the second display area.
  • the split-screen display mode may be determined according to the current display mode of the first application.
  • the first application and the second application may be displayed in left and right screens; if the first application is displayed in a vertical screen, the first application and the second application may be displayed.
  • the program is displayed on separate screens.
  • Step S102 Receive a first operation triggered by a user with respect to a partition bar.
  • the first operation may be a click operation or a sliding operation. Further, when the first operation is a click operation, to improve accuracy, the number of fingers of the click operation may also be obtained.
  • the above-mentioned click operation is determined as the first operation. For example, when the divider receives a click operation triggered by a user, it further obtains the number of fingers corresponding to the click operation, and determines whether the number of fingers is two. If so, it determines that the click operation is the first operation, and further performs step S103. If not, end the current process. That is, only the two-finger tap operation will be determined as the first operation triggered by the user for the divider.
  • the touch duration of the first operation triggered by the partition bar by the user may also be obtained.
  • the next step is further performed, that is, Only when the user presses and holds the separator bar, the next step is triggered to prevent the user from accidentally touching the separator bar during use and causing unnecessary operations. Improving the use efficiency of the user, that is, after receiving the first operation triggered by the user on the divider, the method further includes:
  • the first operation triggered by the user on the partition bar is used to perform the split screen application switching method provided in the embodiment of the present application, such as long-pressing the partition bar to trigger the first operation.
  • the divider performs other operations different from the first operation to achieve other functions. For example, sliding the above-mentioned divider bar to adjust the size of multiple split screen areas in the split screen interface. To meet the different needs of users, make the functions more abundant.
  • Step S103 Generate an application identifier corresponding to the target application that is not currently split according to the first operation.
  • the electronic device may select a preset number of target applications and generate corresponding application identifiers for display on the electronic device screen.
  • the WeChat application may display the WeChat identifier and the QQ application. You can display the QQ logo and so on, for users to choose and switch.
  • the above preset numbers can be defined by the system or set by the user according to actual needs, and this application does not further limit the comparison.
  • the application may be an application running in the background or an application running.
  • the application identifier of the target application may be displayed on the partition bar, which is convenient for a user to select and switch after clicking the partition bar.
  • the above-mentioned application identifier may also be displayed in a notification bar of the system to prevent the application identifier from blocking the split-screen application on the separator bar. The location where the application logo is displayed can be selected by the user.
  • the target application is an application installed in the electronic device, and is an application other than the split-screen application displayed in the current split-screen interface.
  • FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • the current split-screen application program of the electronic device is 1 and the application program 2, and the preset number can be 4.
  • the above-mentioned methods for selecting a target application may be various, for example, obtaining a use frequency of all applications installed on the terminal within a preset time period, and then selecting a target application other than the split-screen application according to the use frequency.
  • the current time information of the electronic device can be obtained, and then an application program frequently used by the user during the time period is selected as a target application program according to the user's usage habits.
  • the target application can also be selected from the background applications.
  • Step S104 Receive a second operation triggered by the user with respect to the application identifier, and switch the target application and the split-screen application according to the second operation.
  • the screen to be split screen application that needs to be split according to the second operation triggered by the user for the application identifier, and then to split the screen to be split screen application from the original split screen The application switches.
  • the second operation triggered by the user with respect to the application identifier may be a click operation to determine an application to be split screen from a plurality of target applications, and then receive a third operation of the user on the split screen interface, such as clicking, according to The touch position of the third operation determines the target split-screen area and the replacement application in the area, thereby switching the replacement application in the split-screen area to an application to be split-screen.
  • the second operation triggered by the application identifier may also be a sliding operation.
  • the user may select an application to be split screen and slide Go to the target split screen area to switch the original split screen application in the area. For example, the user clicks on the application 6 and slides to the lower split screen area where the split screen application 2 is located, and then the electronic device runs the control application 6 to the lower split screen area. Or turn it off.
  • the application identifier corresponding to the target application triggered by the first operation may be turned off for the convenience of the user.
  • the electronic device may be any intelligent electronic device capable of running application programs, such as: a mobile phone, a tablet computer, a laptop computer, and a personal digital assistant.
  • PDA for short, Mobile Internet Device (MID) or Wearable Device.
  • a divider bar is generated in the split screen interface, and the divider bar is located between multiple split screen applications, and receives the first operation triggered by the user on the divider bar.
  • an application identifier corresponding to the target application that is not currently split-screen is generated, a second operation triggered by the user with respect to the application identifier is received, and the target application and the split-screen application are switched according to the second operation.
  • a divider bar can be generated in the split screen interface, and other applications are selected according to the operation triggered by the user's departure from the divider bar, and other applications are replaced with the split screen application, which can improve the split screen application. The efficiency of program switching.
  • FIG. 4 is a schematic flowchart of another split-screen application switching method according to an embodiment of the present application, including the following steps:
  • step S201 when the electronic device displays a split screen interface, a divider bar is generated in the split screen interface, and the divider bar is located between multiple split screen applications.
  • the screen of the electronic device may display a divider bar on the display interface, and the divider bar is located between multiple split screen applications. For example, if the current split screen interface includes two split screen applications, A separate bar is generated between the two applications. If the current split screen interface includes three split screen applications, a separate bar is generated between the two applications, that is, a total of two separate bars are generated. The user can pull or drag the divider to perform split screen operations.
  • the partition bar may be directly displayed on a screen display interface of the electronic device, or may be called (or generated) in various ways.
  • the divider may be the edge line of the screen display interface.
  • Step S202 Receive a first operation triggered by a user on a divider.
  • the first operation may be a tap operation.
  • a touch duration of the first operation triggered by the user on the divider may be obtained.
  • the next step is further performed, that is, the next step is triggered only when the user presses the separator bar long, to prevent the user from accidentally touching the separator bar during use, thereby causing unnecessary operations. Improve user efficiency.
  • Step S203 Acquire a set of application programs that are not currently split on the electronic device according to the first operation.
  • the above-mentioned application program collection is an application program installed in the electronic device, and is an application program other than the multi-screen application program displayed in the current multi-screen interface.
  • the above application program set may also be a background application program running in the electronic device, and may be an application program other than the split screen application program displayed in the current split screen interface.
  • Step S204 Select a preset number of target applications from the set.
  • the target applications there may be multiple methods for selecting the target applications, such as obtaining the frequency of use of the applications in the above-mentioned set within a preset period of time, and then selecting a preset number of target applications based on the frequency of use.
  • the preset number can be defined by the system or set by the user according to actual needs.
  • the frequency of using the application within a preset period of time may be determined according to the number of times the application is started within the preset period of time. In other embodiments, the frequency of use of the application during the preset period of time may also be determined. Duration is OK. That is, selecting a preset number of target applications from the set may include:
  • Step S205 Generate an application identifier corresponding to the target application.
  • the WeChat application can display the WeChat logo
  • the QQ application can display the QQ logo, and so on, for the user to select and switch.
  • Step S206 Receive a second operation triggered by the user for the application identifier, and obtain a sliding direction of the second operation.
  • the second operation is a sliding operation. Therefore, after receiving the second operation triggered by the user for the application identifier, it can be determined whether the second operation is a sliding operation. If so, the sliding direction of the second operation is continuously obtained.
  • the sliding direction may be determined according to a start position and an end position of the sliding operation.
  • Step S207 Determine a replacement application among the multiple split-screen applications according to the sliding direction.
  • the to-be-divided applications that need to be split among the multiple target applications can be determined according to the application identifier corresponding to the starting position of the second operation, and then the target split-screen area is determined according to the sliding direction. And replacement applications in that area.
  • step S208 the replacement application is switched to the target application.
  • the replacement application in the target split screen area is switched to an application to be split, and the above replacement application may be switched to the background of the electronic device or closed. Further, after switching the split-screen application program, the electronic device may also turn off and display the application identifier corresponding to the target application program triggered by the first operation, so as to facilitate the user's use.
  • the electronic device may be any intelligent electronic device capable of running application programs, such as: a mobile phone, a tablet computer, a laptop computer, and a personal digital assistant.
  • PDA for short, Mobile Internet Device (MID) or Wearable Device.
  • the split screen application switching method can generate a divider bar in the split screen interface when the electronic device displays the split screen interface, and the divider bar is located between multiple split screen applications, and the user receives According to the first operation triggered by the first operation, according to the first operation, a collection of application programs that are not currently split on the electronic device is obtained. A preset number of target application programs are selected from the collection, and an application identifier corresponding to the target application program is generated. Apply the second operation triggered by the identification, and obtain the sliding direction of the second operation, determine the replacement application among the multiple split-screen applications according to the sliding direction, and switch the replacement application to the target application.
  • a divider bar can be generated in the split screen interface, and other applications are selected according to the operation triggered by the user's departure from the divider bar, and other applications are replaced with the split screen application, which can improve the split screen application.
  • the embodiment of the present application further provides a device based on the foregoing split-screen application switching method.
  • the meanings of the terms are the same as in the above split-screen application switching method.
  • FIG. 5 is a schematic structural diagram of a split-screen application switching device according to an embodiment of the present application.
  • the split-screen application switching device 30 includes a first generating module 301, a receiving module 302, a second generating module 303, and Switching module 304;
  • the first generating module 301 is configured to generate a partition bar in the split screen interface when the electronic device displays a split screen interface, where the split bar is located between multiple split screen applications;
  • the receiving module 302 is configured to receive a first operation triggered by a user on the partition bar;
  • the second generating module 303 is configured to generate, according to the first operation, an application identifier corresponding to a target application that is not currently split-screen;
  • the switching module 304 is configured to receive a second operation triggered by a user for the application identifier, and switch the target application and the split-screen application according to the second operation.
  • the split-screen application switching device 30 may further include: an obtaining module 305 and a determining module 306;
  • the obtaining module 305 is configured to obtain the touch duration of the first operation after the receiving module 302 receives the first operation triggered by the user on the divider;
  • the determining module 306 is configured to determine whether the touch duration is greater than a first preset duration
  • the second generating module 303 is specifically configured to generate an application identifier corresponding to a target application that is not currently split according to the first operation when the determining module 306 judges yes.
  • the obtaining module 305 is further configured to obtain the number of fingers of the first operation after the receiving module receives the first operation triggered by the user on the divider;
  • the determining module 306 is further configured to determine whether the number of fingers meets a preset condition
  • the second generating module 303 is specifically configured to generate an application identifier corresponding to a target application that is not currently split according to the first operation when the determining module 306 judges yes.
  • the second generating module 303 may include: obtaining a sub-module 3031, selecting a sub-module 3032, and generating a sub-module 3033;
  • the obtaining sub-module 3031 is configured to obtain an application set that is not currently split on the electronic device according to the first operation;
  • the selection sub-module 3032 is configured to select a preset number of target applications from the set;
  • the generating sub-module 3033 is configured to generate an application identifier corresponding to the target application.
  • the selection sub-module 3032 is specifically configured to obtain a frequency of use of the applications in the set within a second preset duration, and select the preset number of target applications according to the frequency of use program.
  • the split-screen application switching device 30 can generate a partition bar in the split-screen interface when the electronic device displays the split-screen interface.
  • the first operation triggered by the divider generates an application identifier corresponding to the target application that is not currently split according to the first operation, receives a second operation triggered by the user with the application identifier, and combines the target application with the split screen according to the second operation.
  • the application switches.
  • a divider bar can be generated in the split screen interface, and other applications are selected according to the operation triggered by the user's departure from the divider bar, and other applications are replaced with the split screen application, which can improve the split screen application. The efficiency of program switching.
  • the present application also provides a storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the split screen application switching method provided by the method embodiment is implemented.
  • the present application further provides an electronic device including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory for performing the following steps:
  • a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
  • the processor after receiving the first operation triggered by the user on the divider, the processor is further configured to perform the following steps:
  • the processor after receiving the first operation triggered by the user on the divider, the processor is further configured to perform the following steps:
  • the processor when an application identifier corresponding to a target application that is not currently split is generated according to the first operation, the processor is configured to perform the following steps:
  • the processor when a preset number of target applications are selected from the set, the processor is configured to perform the following steps:
  • the processor when the target application and the split-screen application are switched according to the second operation, the processor is configured to perform the following steps:
  • the processor when the target application and the split-screen application are switched according to the second operation, the processor is configured to perform the following steps:
  • an electronic device is also provided, and the electronic device may be a device such as a smart phone or a tablet computer.
  • the electronic device 400 includes a processor 401 and a memory 402.
  • the processor 401 is electrically connected to the memory 402.
  • the processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device.
  • the processor 401 executes the electronic program by running or loading the application program stored in the memory 402, and calling the data stored in the memory 402. Various functions of the device and processing data, so as to monitor the overall electronic equipment.
  • the processor 401 in the electronic device 400 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs and stores the instructions in the memory 402 Applications in order to implement various functions:
  • a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
  • the electronic device 500 may include a radio frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, and a wireless fidelity (
  • RF radio frequency
  • a WiFi (Wireless Fidelity) module 507 includes a processor 508 having one or more processing cores, a power supply 509, and other components.
  • the radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508. In addition, the uplink-related data is sent to the base station. .
  • the 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, Subscriber Identity Module) card, a transceiver, a coupler, and a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc.
  • the radio frequency circuit 501 can also communicate with a network and other devices through wireless communication.
  • This wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
  • GSM Global System for Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • the memory 502 may be used to store application programs and data.
  • the application program stored in the memory 502 contains executable code.
  • Applications can be composed of various functional modules.
  • the processor 508 executes various functional applications and data processing by running an application program stored in the memory 502.
  • the memory 502 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .;
  • the data (such as audio data, phone book, etc.) created by the use of electronic devices.
  • the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 508 and the input unit 503 to access the memory 502.
  • the input unit 503 can be used to receive inputted numbers, character information, or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
  • the input unit 503 may include a touch-sensitive surface and other input devices.
  • a touch-sensitive surface also known as a touch display or touchpad, collects user touch operations on or near it (such as the user using a finger, stylus or any suitable object or accessory on the touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connection device according to a preset program.
  • the touch-sensitive surface may include two parts, a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 508, and can receive the command sent by the processor 508 and execute it.
  • the display unit 504 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof.
  • the display unit 504 may include a display panel.
  • the display panel may be configured using a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-Emitting Diode), or the like.
  • the touch-sensitive surface may cover the display panel.
  • the touch-sensitive surface When the touch-sensitive surface detects a touch operation on or near the touch-sensitive surface, the touch-sensitive surface is transmitted to the processor 508 to determine the type of the touch event, and then the processor 508 displays the touch event according to the type of the touch event.
  • the corresponding visual output is provided on the panel.
  • the touch-sensitive surface and the display panel are implemented as two separate components to implement input and input functions, in some embodiments, the touch-sensitive surface and the display panel may be integrated to implement input and output functions.
  • the electronic device may further include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel and / or when the electronic device is moved to the ear.
  • the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes). It can detect the magnitude and direction of gravity when it is stationary.
  • attitude of the mobile phone such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; as for electronic devices, other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. can also be configured, not here More details.
  • the audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker or a microphone.
  • the audio circuit 506 can convert the received audio data into an electrical signal and transmit it to a speaker.
  • the speaker converts the audio signal into a sound signal and outputs it.
  • the microphone converts the collected sound signal into an electrical signal, which is converted by the audio circuit 506 into
  • the audio circuit 506 may further include an earphone jack to provide communication between the peripheral headset and the electronic device.
  • Wireless fidelity is a short-range wireless transmission technology. Electronic devices can help users send and receive email, browse web pages, and access streaming media through the wireless fidelity module 507, which provides users with wireless broadband Internet access.
  • FIG. 8 shows the wireless fidelity module 507, it can be understood that it does not belong to the necessary configuration of the electronic device, and can be omitted as needed without changing the essence of the invention.
  • the processor 508 is a control center of an electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device.
  • the electronic device is executed by running or executing an application program stored in the memory 502 and calling data stored in the memory 502.
  • the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 508.
  • the electronic device also includes a power source 509 (such as a battery) that powers various components.
  • a power source 509 such as a battery
  • the power supply can be logically connected to the processor 508 through a power management system, so that functions such as managing charging, discharging, and power consumption management can be implemented through the power management system.
  • the power supply 509 may also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power supply status indicator, and any other components.
  • the electronic device may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
  • the above modules may be implemented as independent entities, or may be arbitrarily combined, and implemented as the same or several entities.
  • the above modules refer to the foregoing method embodiments, and details are not described herein again.
  • the execution process may include the process of the embodiment of the split screen application switching method.
  • the storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical disks.
  • Each functional module may be integrated into a processing chip, or each module may exist separately physically, or Two or more modules are integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or software functional modules. Specific examples are used herein to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and core ideas of the present application. At the same time, for those skilled in the art, according to this application, The idea may be changed in the specific implementation and the scope of application. In summary, the content of this specification should not be understood as a limitation on this application.

Abstract

Disclosed is a method for switching a split-screen application, comprising: generating separator bars in a split-screen interface; generating an application identifier corresponding to a target application program that is not split currently according to a first operation triggered by a user for the separator bars; switching between the target application program and a split-screen application program according to a second operation triggered by the user for the application identifier. The present application further provides an apparatus for switching the split-screen application, a storage medium, and an electronic device.

Description

分屏应用切换方法、装置、存储介质和电子设备Split screen application switching method, device, storage medium and electronic equipment
本申请要求于2018年07月03日提交中国专利局、申请号为201810720087.8、申请名称为“分屏应用切换方法、装置、存储介质和电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on July 3, 2018 with the Chinese Patent Office, with the application number 201810720087.8, and the application name is "Split screen application switching method, device, storage medium and electronic device" Citations are incorporated in this application.
技术领域Technical field
本申请涉及电子设备领域,具体涉及一种分屏应用切换方法、装置、存储介质和电子设备。The present application relates to the field of electronic devices, and in particular, to a method, a device, a storage medium, and an electronic device for switching between split screen applications.
背景技术Background technique
随着终端技术的发展,终端已经开始从以前简单地提供通话设备渐渐变成一个通用软件运行的平台。该平台不再以提供通话管理为主要目的,而是提供一个包括通话管理、游戏娱乐、办公记事、移动支付等各类应用软件在内的运行环境,随着大量的普及,已经深入至人们的生活、工作的方方面面。With the development of terminal technology, terminals have begun to gradually change from simply providing call equipment to a platform for universal software operation. The platform no longer aims to provide call management, but provides an operating environment including call management, game entertainment, office notes, mobile payment and other applications. With the widespread popularity, it has penetrated into people's Every aspect of life and work.
分屏目前是Android***智能终端的一种比较常见的用户场景。用户对于分屏使用时的体验是比较重视的,如果用户在使用分屏时,对分屏操作的快捷性,显示的表现力,进入与退出是否方便,人性化,都会有较高的要求,还有操作过程中的流畅度也比较影响体验,用户对手机的性能与直观感受会跟分屏操作关联起来,影响到产品的品牌与声誉。Split screen is currently a relatively common user scenario for Android-based smart terminals. Users pay more attention to the experience when using split screens. If users use split screens, they will have higher requirements for the quickness of split screen operations, the expressiveness of display, the convenience of entering and exiting, and the user-friendliness. In addition, the fluency in the operation process also relatively affects the experience. The performance and intuitive feeling of the user on the mobile phone will be associated with the split-screen operation, which will affect the brand and reputation of the product.
但目前的Android***,对于用户使用分屏的场景,现阶段并没有特殊的处理,而且操作比较原始,不利于用户的快捷使用。However, in the current Android system, there is no special treatment for the scene where the user uses the split screen, and the operation is relatively primitive, which is not conducive to the quick use of the user.
申请内容Application content
本申请实施例提供一种分屏应用切换方法、装置、存储介质和电子设备,可以提高对分屏应用程序进行切换的效率。The embodiments of the present application provide a method, a device, a storage medium, and an electronic device for switching between split screen applications, which can improve the efficiency of switching between split screen applications.
第一方面,本申请实施例提供一种分屏应用切换方法,包括:In a first aspect, an embodiment of the present application provides a split-screen application switching method, including:
当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
第二方面,本申请实施例还提供了一种分屏应用切换装置,包括:第一生成模块、接收模块、第二生成模块以及切换模块;In a second aspect, an embodiment of the present application further provides a split-screen application switching device, including: a first generating module, a receiving module, a second generating module, and a switching module;
所述第一生成模块,用于当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;The first generating module is configured to generate a partition bar in the split screen interface when the electronic device displays a split screen interface, and the split bar is located between multiple split screen applications;
所述接收模块,用于接收用户针对所述分隔条触发的第一操作;The receiving module is configured to receive a first operation triggered by a user on the partition bar;
所述第二生成模块,用于根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;The second generating module is configured to generate, according to the first operation, an application identifier corresponding to a target application that is not currently split-screen;
所述切换模块,用于接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。The switching module is configured to receive a second operation triggered by a user for the application identifier, and switch the target application and the split-screen application according to the second operation.
第三方面,本申请实施例还提供一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述分屏应用切换方法的步骤。According to a third aspect, an embodiment of the present application further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the foregoing split-screen application switching method are implemented.
第四方面,本申请实施例还提供一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:According to a fourth aspect, an embodiment of the present application further provides an electronic device including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory for performing the following steps:
当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions in the embodiments of the present application more clearly, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are just some embodiments of the application. For those skilled in the art, other drawings can be obtained based on these drawings without paying creative labor.
图1为本申请实施例提供的分屏应用切换方法的一种流程示意图。FIG. 1 is a schematic flowchart of a split-screen application switching method according to an embodiment of the present application.
图2为本申请实施例提供的分屏应用切换方法的一种场景示意图。FIG. 2 is a scenario diagram of a method for switching between split screen applications according to an embodiment of the present application.
图3为本申请实施例提供的分屏应用切换方法的另一种场景示意图。FIG. 3 is a schematic diagram of another scenario of a split-screen application switching method according to an embodiment of the present application.
图4为本申请实施例提供的分屏应用切换方法的另一种流程示意图。FIG. 4 is another schematic flowchart of a split-screen application switching method according to an embodiment of the present application.
图5为本申请实施例提供的分屏应用切换装置的一种结构示意图。FIG. 5 is a schematic structural diagram of a split-screen application switching device according to an embodiment of the present application.
图6为本申请实施例提供的分屏应用切换装置的另一种结构示意图。FIG. 6 is another schematic structural diagram of a split-screen application switching device according to an embodiment of the present application.
图7为本申请实施例提供的电子设备的一种结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
图8为本申请实施例提供的电子设备的另一种结构示意图。FIG. 8 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式detailed description
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Please refer to the drawings, wherein the same component symbols represent the same components. The principle of the present application is illustrated by implementing in an appropriate computing environment. The following description is based on the exemplified specific embodiments of the present application, which should not be construed as limiting other specific embodiments that are not detailed herein.
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存***中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实***置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present application will be described with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be referred to several times by computer execution. The computer execution referred to herein includes operations by a computer processing unit representing electronic signals in a structured form. This operation transforms the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise alter the operation of the computer in a manner well known to testers in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principle of the present application is described by the above text, which does not represent a limitation. Testers in the art will understand that various steps and operations described below can also be implemented in hardware.
本申请的原理使用许多其它泛用性或特定目的运算、通信环境或组态来进行操作。所熟知的适合用于本申请的运算***、环境与组态的范例可包括(但不限于)手持电话、个人计算机、服务器、多处理器***、微电脑为主的***、主架构型计算机、及分布式运算环境,其中包括了任何的上述***或装置。The principles of this application operate using many other general-purpose or special-purpose operations, communication environments, or configurations. Examples of well-known computing systems, environments, and configurations suitable for this application may include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and A distributed computing environment that includes any of the aforementioned systems or devices.
以下将分别进行详细说明。Each will be described in detail below.
本实施例将从分屏应用切换装置的角度进行描述,该装置具体可以集成在电子设备中,该电子设备可以为移动互连接网络设备(如智能手机、平板电脑)等具备图像处理功能的电子设备。This embodiment will be described from the perspective of a split-screen application switching device. The device may be specifically integrated in an electronic device, and the electronic device may be an electronic device with an image processing function, such as a mobile interconnected network device (such as a smartphone or a tablet) device.
本申请实施例提供一种分屏应用切换方法,包括:An embodiment of the present application provides a split screen application switching method, including:
当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
在一实施例中,在接收用户针对所述分隔条触发的第一操作之后,所述方法还包括:In an embodiment, after receiving the first operation triggered by the user on the divider, the method further includes:
获取所述第一操作的触摸时长;Obtaining the touch duration of the first operation;
判断所述触摸时长是否大于第一预设时长;Determining whether the touch duration is greater than a first preset duration;
若大于,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If it is greater than, performing the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
在一实施例中,在接收用户针对所述分隔条触发的第一操作之后,所述方法还包括:In an embodiment, after receiving the first operation triggered by the user on the divider, the method further includes:
获取所述第一操作的手指数量;Acquiring the number of fingers for the first operation;
判断所述手指数量是否满足预设条件;Determining whether the number of fingers meets a preset condition;
若是,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If yes, perform the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
在一实施例中,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识,包括:In an embodiment, generating the application identifier corresponding to the target application that is not currently split according to the first operation includes:
根据所述第一操作获取所述电子设备当中当前未分屏的应用程序集合;Obtaining a set of application programs that are not currently split on the electronic device according to the first operation;
从所述集合当中选取预设个数的目标应用程序;Selecting a preset number of target applications from the set;
生成所述目标应用程序所对应的应用标识。Generating an application identifier corresponding to the target application.
在一实施例中,从所述集合当中选取预设个数的目标应用程序,包括:In an embodiment, selecting a preset number of target applications from the set includes:
获取所述集合当中的应用程序在第二预设时长内的使用频率;Obtaining the frequency of use of the applications in the set within a second preset duration;
根据所述使用频率选取所述预设个数的目标应用程序。Selecting the preset number of target applications according to the use frequency.
在一实施例中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换,包括:In an embodiment, switching the target application and the split screen application according to the second operation includes:
获取所述第二操作的滑动方向;Acquiring the sliding direction of the second operation;
根据所述滑动方向确定所述多个分屏应用程序中的替换应用程序;Determining a replacement application among the multiple split-screen applications according to the sliding direction;
将所述替换应用程序切换至所述目标应用程序。Switching the replacement application to the target application.
在一实施例中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换,包括:In an embodiment, switching the target application and the split screen application according to the second operation includes:
根据所述第二操作在所述多个目标应用程序中确定待分屏应用程序;Determining an application to be split screen among the plurality of target applications according to the second operation;
接收用户针对所述分屏界面触发的第三操作,并根据所述第三操作确定所述多个分屏应用程序中的替换应用程序;Receiving a third operation triggered by the user for the split-screen interface, and determining a replacement application among the multiple split-screen applications according to the third operation;
将所述替换应用程序切换至所述待分屏应用程序。Switching the replacement application to the application to be split screen.
首先参考图1,图1为本申请实施例提供的分屏应用切换方法的一种流程示意图,包括以下步骤:Referring first to FIG. 1, FIG. 1 is a schematic flowchart of a method for switching between split screen applications according to an embodiment of the present application, including the following steps:
步骤S101,当电子设备显示分屏界面时,在分屏界面当中生成分隔条,分隔条位于多个分屏应用程序之间。In step S101, when the electronic device displays a split screen interface, a divider bar is generated in the split screen interface, and the divider bar is located between multiple split screen applications.
在一实施例中,电子设备可以接收分屏指令,该分屏指令用于开启电子设备的分屏模式,用户选择至少两个应用程序以显示在分屏界面当中。在分屏模式下,还可以支持用户对电子设备的当前分屏界面进行分屏区域的选择或划分。In one embodiment, the electronic device can receive a split screen instruction, which is used to enable the split screen mode of the electronic device, and the user selects at least two applications to display in the split screen interface. In the split screen mode, the user can also support the selection or division of the split screen area on the current split screen interface of the electronic device.
在一实施例中,上述分屏指令还可以为手势,比如双指划屏产生分屏指令,或者手指摁住屏幕显示界面不动,又或者手指在屏幕显示界面滑动,从而产生分屏指令。或者,通过声音产生所述分屏指令。对应地,电子设备为具有接收声控的设备。电子设备根据上述分屏指令将第一应用程序与第二应用程序分屏显示。In one embodiment, the above-mentioned split-screen instruction may also be a gesture, such as a two-finger swipe to generate a split-screen instruction, or a finger holding the screen display interface still, or a finger sliding on the screen display interface to generate a split-screen instruction. Alternatively, the split screen instruction is generated by sound. Correspondingly, the electronic device is a device having a receiving sound control. The electronic device displays the first application program and the second application program in a split screen according to the above split screen instruction.
在一实施例中,电子设备的屏幕可以显示界面上显示一分隔条,该分隔条位于多个分屏应用程序之间,比如,若当前分屏界面包括两个分屏应用程序,则在该两个应用程序之间生成一个分隔条,若当前分屏界面包括三个分屏应用程序,则分别在两两应用程序之间生成一个分隔条,也即一共生成两个分隔条。用户可以拉动或者拖动所述分隔条,进行分屏操作。所述分隔条可以直接就展示在电子设备的屏幕显示界面,也可以通过各种方式调出(或者生成)。比如,分隔条可以为屏幕显示界面的边缘线。In an embodiment, the screen of the electronic device may display a divider bar on the display interface, and the divider bar is located between multiple split screen applications. For example, if the current split screen interface includes two split screen applications, A separate bar is generated between the two applications. If the current split screen interface includes three split screen applications, a separate bar is generated between the two applications, that is, a total of two separate bars are generated. The user can pull or drag the divider to perform split screen operations. The partition bar may be directly displayed on a screen display interface of the electronic device, or may be called (or generated) in various ways. For example, the divider may be the edge line of the screen display interface.
其中,分屏显示的功能可以预先设置于电子设备的内部,也可以是通过下载对应的应用程序而获取。分屏显示的功能可以对应于分屏指令,当分屏指令没有被触发时,电子设备则可以与现有技术中的电子设备一样,通过电子设备的显示屏满屏显示正在运行的应用程序。而当分屏指令被触发时,则可以将电子设备的显示屏划分为多个显示区域,比如第一显示区域和第二显示区域。第一显示区域和第二显示区域可以互不重叠,以保证其中显示内容的独立性。The function of split screen display may be set in the electronic device in advance, or may be obtained by downloading a corresponding application program. The function of split-screen display may correspond to a split-screen instruction. When the split-screen instruction is not triggered, the electronic device may, like the electronic device in the prior art, display the running application program through the screen of the electronic device. When the split screen instruction is triggered, the display screen of the electronic device can be divided into multiple display areas, such as a first display area and a second display area. The first display area and the second display area may not overlap each other to ensure the independence of the display content therein.
在一实施例中,本申请实施例可以在分屏显示之前,预先设置电子设备的显示屏的分屏显示方式,分屏显示方式例如可以包括上下分屏显示或者左右分屏显示。按照分屏显示方式便可以将电子设备的显示屏划分为与分屏显示方式一致的显示区域。例如可以将电子设备的显示屏划分为大小一致并且呈上下分布的第一显示区域和第二显示区域,当然还可以将电子设备的显示屏划分为大小不等并且呈左右分布的第一显示区域和第二显示区域。其中,可以根据第一应用程序当前的显示方式来确定分屏显示方式。比如,若第一应用程序为横屏显示,则可以将第一应用程序与第二应用程序左右分屏显示,若第一应用程序为竖屏显示,则可以将第一应用程序与第二应用程序上下分屏显示。In one embodiment, before the split screen display, the split screen display mode of the display screen of the electronic device may be set in advance in the embodiment of the present application. The split screen display mode may include, for example, an upper and lower split screen display or a left and right split screen display. According to the split screen display mode, the display screen of the electronic device can be divided into display areas consistent with the split screen display mode. For example, the display screen of an electronic device can be divided into a first display area and a second display area that are uniform in size and distributed vertically. Of course, the display screen of an electronic device can also be divided into first display areas that are different in size and distributed horizontally And the second display area. The split-screen display mode may be determined according to the current display mode of the first application. For example, if the first application is displayed in a horizontal screen, the first application and the second application may be displayed in left and right screens; if the first application is displayed in a vertical screen, the first application and the second application may be displayed. The program is displayed on separate screens.
步骤S102,接收用户针对分隔条触发的第一操作。Step S102: Receive a first operation triggered by a user with respect to a partition bar.
其中,上述第一操作可以为点击操作,也可以为滑动操作,进一步的,当上述第一操作为点击操作时,为提升准确性,还可以获取点击操作的手指数量,当上述手指数量满足预设条件时,在确定上述点击操作为第一操作。比如,当分隔条接收到用户触发的点击操作时,进一步获取该点击操作对应的手指数量,判断上述手指数量是否为两个,若是,则确定该点击操作为第一操作,并进一 步执行步骤S103,若否,则结束当前流程。也即只有双指点击操作才会确定为用户针对分隔条触发的第一操作。The first operation may be a click operation or a sliding operation. Further, when the first operation is a click operation, to improve accuracy, the number of fingers of the click operation may also be obtained. When conditions are set, the above-mentioned click operation is determined as the first operation. For example, when the divider receives a click operation triggered by a user, it further obtains the number of fingers corresponding to the click operation, and determines whether the number of fingers is two. If so, it determines that the click operation is the first operation, and further performs step S103. If not, end the current process. That is, only the two-finger tap operation will be determined as the first operation triggered by the user for the divider.
在一实施例中,为进一步提升准确性以及防误触,还可以获取用户针对分隔条触发的第一操作的触摸时长,当该时长满足预设时长后,再进一步执行下一步骤,也即只有当用户长按该分隔条时,才会触发下一步骤,以防止用户在使用过程中误触分隔条从而引起不必要的操作。提升用户的使用效率,也即,在接收用户针对所述分隔条触发的第一操作之后,所述方法还包括:In an embodiment, in order to further improve the accuracy and prevent accidental touch, the touch duration of the first operation triggered by the partition bar by the user may also be obtained. When the duration meets the preset duration, the next step is further performed, that is, Only when the user presses and holds the separator bar, the next step is triggered to prevent the user from accidentally touching the separator bar during use and causing unnecessary operations. Improving the use efficiency of the user, that is, after receiving the first operation triggered by the user on the divider, the method further includes:
获取所述第一操作的触摸时长;Obtaining the touch duration of the first operation;
判断所述触摸时长是否大于第一预设时长;Determining whether the touch duration is greater than a first preset duration;
若大于,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If it is greater than, performing the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
需要说明的是,上述用户针对分隔条触发的第一操作用于执行本申请实施例提供的分屏应用切换方法,比如长按分隔条触发该第一操作,在其他实施例当中,还可以对该分隔条执行区别于第一操作的其他操作,以实现其他功能。比如,滑动上述分隔条以实现对分屏界面中多个分屏区域尺寸的调整。以满足用户不同的需求,使功能更加丰富。It should be noted that the first operation triggered by the user on the partition bar is used to perform the split screen application switching method provided in the embodiment of the present application, such as long-pressing the partition bar to trigger the first operation. In other embodiments, The divider performs other operations different from the first operation to achieve other functions. For example, sliding the above-mentioned divider bar to adjust the size of multiple split screen areas in the split screen interface. To meet the different needs of users, make the functions more abundant.
步骤S103,根据第一操作生成当前未分屏的目标应用程序所对应的应用标识。Step S103: Generate an application identifier corresponding to the target application that is not currently split according to the first operation.
其中,在电子设备接收到第一操作后,可以选取预设个数的目标应用程序并生成对应的应用程序标识以显示在电子设备屏幕当中,比如微信应用程序可以显示微信的标识,QQ应用程序可以显示QQ的标识等等,以供用户选择并进行切换。上述预设个数可以由***进行定义也可以由用户根据实际需求进行设置,本申请对比不做进一步限定。上述应用程序可以为在后台运行的应用程序也可以为为运行的应用程序。After receiving the first operation, the electronic device may select a preset number of target applications and generate corresponding application identifiers for display on the electronic device screen. For example, the WeChat application may display the WeChat identifier and the QQ application. You can display the QQ logo and so on, for users to choose and switch. The above preset numbers can be defined by the system or set by the user according to actual needs, and this application does not further limit the comparison. The application may be an application running in the background or an application running.
在一实施例中,上述目标应用程序的应用标识可以显示在分隔条上,方便用户在点击分隔条后进行选取和切换。在其他实施例当中,上述应用标识还可以显示在***的通知栏当中,以防止应用标识在分隔条上会对分屏应用程序进行遮挡。其中,上述显示应用标识的位置可以由用户自行选择。In an embodiment, the application identifier of the target application may be displayed on the partition bar, which is convenient for a user to select and switch after clicking the partition bar. In other embodiments, the above-mentioned application identifier may also be displayed in a notification bar of the system to prevent the application identifier from blocking the split-screen application on the separator bar. The location where the application logo is displayed can be selected by the user.
需要说明的是,上述目标应用程序为电子设备当中安装的应用程序,且为当前分屏界面当中显示的分屏应用程序以外的应用程序。比如,请参阅图2,图2为本申请实施例提供的一种应用场景示意图,电子设备当前的分屏应用程序为1和应用程序2,预设数量可以为4,获取电子设备上安装的应用程序列表,并从该列表中挑选出1和2以外的目标应用程序,分别为应用程序3、应用程序4、 应用程序5以及应用程序6,然后将上述4个目标应用程序的应用标识显示在分隔条上。It should be noted that the target application is an application installed in the electronic device, and is an application other than the split-screen application displayed in the current split-screen interface. For example, please refer to FIG. 2. FIG. 2 is a schematic diagram of an application scenario provided by an embodiment of the present application. The current split-screen application program of the electronic device is 1 and the application program 2, and the preset number can be 4. Application list, and select target applications other than 1 and 2 from the list, which are application 3, application 4, application 5, and application 6, and then display the application identifiers of the above 4 target applications On the divider.
其中,上述选取目标应用程序的方法可以有多种,比如获取在预设时间段内终端上安装的所有应用程序的使用频率,然后根据使用频率来选取分屏应用程序以外的目标应用程序。或者可以获取电子设备当前的时间信息,然后根据用户的使用习惯选取在该时间段用户经常使用的应用程序作为目标应用程序等等。在其他实施例中,还可以在后台应用程序当中选取目标应用程序。The above-mentioned methods for selecting a target application may be various, for example, obtaining a use frequency of all applications installed on the terminal within a preset time period, and then selecting a target application other than the split-screen application according to the use frequency. Alternatively, the current time information of the electronic device can be obtained, and then an application program frequently used by the user during the time period is selected as a target application program according to the user's usage habits. In other embodiments, the target application can also be selected from the background applications.
步骤S104,接收用户针对应用标识触发的第二操作,并根据第二操作将目标应用程序与分屏应用程序进行切换。Step S104: Receive a second operation triggered by the user with respect to the application identifier, and switch the target application and the split-screen application according to the second operation.
在一实施例中,若上述目标应用程序为多个,需要根据用户针对应用标识触发的第二操作来确定需要分屏的待分屏应用程序,然后将该待分屏应用程序与原分屏应用程序进行切换。In one embodiment, if there are multiple target applications, it is necessary to determine the screen to be split screen application that needs to be split according to the second operation triggered by the user for the application identifier, and then to split the screen to be split screen application from the original split screen The application switches.
其中,由于分屏界面当中至少包括两个分屏应用程序,也即至少包含两个分屏区域,因此需要进一步确定目标分屏区域在进行分屏应用程序的切换,因此,在一实施例中,上述用户针对所述应用标识触发的第二操作可以为点击操作,以从多个目标应用程序中确定待分屏应用程序,然后接收用户针对分屏界面的第三操作,比如为点击,根据该第三操作的触摸位置确定目标分屏区域以及该区域当中的替换应用程序,从而将该分屏区域中的替换应用程序切换为待分屏应用程序。Among them, since the split-screen interface includes at least two split-screen applications, that is, at least two split-screen areas, it is necessary to further determine that the target split-screen area is switching the split-screen application. Therefore, in one embodiment, The second operation triggered by the user with respect to the application identifier may be a click operation to determine an application to be split screen from a plurality of target applications, and then receive a third operation of the user on the split screen interface, such as clicking, according to The touch position of the third operation determines the target split-screen area and the replacement application in the area, thereby switching the replacement application in the split-screen area to an application to be split-screen.
在一实施例中上述针对所述应用标识触发的第二操作还可以为滑动操作,如图3所示,在生成多个目标应用程序的应用标识后,用户可以选取待分屏应用程序并滑动至目标分屏区域,以将该区域内的原分屏应用程序进行切换。比如,用户点击应用程序6并滑动至分屏应用2所在的下方分屏区域,然后电子设备将控制应用程序6运行至下方分屏区域,上述原分屏应用2则可以切换至电子设备的后台或是将其关闭。In an embodiment, the second operation triggered by the application identifier may also be a sliding operation. As shown in FIG. 3, after generating application identifiers of multiple target applications, the user may select an application to be split screen and slide Go to the target split screen area to switch the original split screen application in the area. For example, the user clicks on the application 6 and slides to the lower split screen area where the split screen application 2 is located, and then the electronic device runs the control application 6 to the lower split screen area. Or turn it off.
在一实施例中,在根据第二操作将目标应用程序与分屏应用程序进行切换之后,可以关闭显示由第一操作触发的目标应用程序所对应的应用标识,以方便用户使用。In an embodiment, after the target application and the split-screen application are switched according to the second operation, the application identifier corresponding to the target application triggered by the first operation may be turned off for the convenience of the user.
本发明实施例中,上述电子设备可以是任何能够运行应用程序的智能电子设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the electronic device may be any intelligent electronic device capable of running application programs, such as: a mobile phone, a tablet computer, a laptop computer, and a personal digital assistant. PDA for short, Mobile Internet Device (MID) or Wearable Device.
由上可知,本申请实施例可以当电子设备显示分屏界面时,在分屏界面当 中生成分隔条,分隔条位于多个分屏应用程序之间,接收用户针对分隔条触发的第一操作,根据第一操作生成当前未分屏的目标应用程序所对应的应用标识,接收用户针对应用标识触发的第二操作,并根据第二操作将目标应用程序与分屏应用程序进行切换。本申请实施例可以在分屏界面当中生成分隔条,根据用户针对该分隔条出发触发的操作来选取其他的应用程序,并将其他应用程序对分屏应用程序进行替换,可以提高对分屏应用程序进行切换的效率。It can be known from the above that when the electronic device displays a split screen interface, a divider bar is generated in the split screen interface, and the divider bar is located between multiple split screen applications, and receives the first operation triggered by the user on the divider bar. According to the first operation, an application identifier corresponding to the target application that is not currently split-screen is generated, a second operation triggered by the user with respect to the application identifier is received, and the target application and the split-screen application are switched according to the second operation. In the embodiment of the present application, a divider bar can be generated in the split screen interface, and other applications are selected according to the operation triggered by the user's departure from the divider bar, and other applications are replaced with the split screen application, which can improve the split screen application. The efficiency of program switching.
根据上一实施例的描述,以下将进一步地来说明本申请的分屏应用切换方法。According to the description of the previous embodiment, the split screen application switching method of the present application will be further described below.
请参阅图4,图4为本申请实施例提供的另一种分屏应用切换方法的流程示意图,包括以下步骤:Please refer to FIG. 4. FIG. 4 is a schematic flowchart of another split-screen application switching method according to an embodiment of the present application, including the following steps:
步骤S201,当电子设备显示分屏界面时,在分屏界面当中生成分隔条,分隔条位于多个分屏应用程序之间。In step S201, when the electronic device displays a split screen interface, a divider bar is generated in the split screen interface, and the divider bar is located between multiple split screen applications.
在一实施例中,电子设备的屏幕可以显示界面上显示一分隔条,该分隔条位于多个分屏应用程序之间,比如,若当前分屏界面包括两个分屏应用程序,则在该两个应用程序之间生成一个分隔条,若当前分屏界面包括三个分屏应用程序,则分别在两两应用程序之间生成一个分隔条,也即一共生成两个分隔条。用户可以拉动或者拖动所述分隔条,进行分屏操作。所述分隔条可以直接就展示在电子设备的屏幕显示界面,也可以通过各种方式调出(或者生成)。比如,分隔条可以为屏幕显示界面的边缘线。In an embodiment, the screen of the electronic device may display a divider bar on the display interface, and the divider bar is located between multiple split screen applications. For example, if the current split screen interface includes two split screen applications, A separate bar is generated between the two applications. If the current split screen interface includes three split screen applications, a separate bar is generated between the two applications, that is, a total of two separate bars are generated. The user can pull or drag the divider to perform split screen operations. The partition bar may be directly displayed on a screen display interface of the electronic device, or may be called (or generated) in various ways. For example, the divider may be the edge line of the screen display interface.
步骤S202,接收用户针对分隔条触发的第一操作。Step S202: Receive a first operation triggered by a user on a divider.
在一实施例中,上述第一操作可以为点击操作,为进一步提升准确性以及防误触,还可以获取用户针对分隔条触发的第一操作的触摸时长,当该时长满足预设时长后,再进一步执行下一步骤,也即只有当用户长按该分隔条时,才会触发下一步骤,以防止用户在使用过程中误触分隔条从而引起不必要的操作。提升用户的使用效率。In an embodiment, the first operation may be a tap operation. In order to further improve accuracy and prevent accidental touch, a touch duration of the first operation triggered by the user on the divider may be obtained. When the duration meets a preset duration, The next step is further performed, that is, the next step is triggered only when the user presses the separator bar long, to prevent the user from accidentally touching the separator bar during use, thereby causing unnecessary operations. Improve user efficiency.
步骤S203,根据第一操作获取电子设备当中当前未分屏的应用程序集合。Step S203: Acquire a set of application programs that are not currently split on the electronic device according to the first operation.
其中,上述应用程序集合为电子设备当中安装的应用程序,且为当前分屏界面当中显示的分屏应用程序以外的应用程序。在一实施例中,上述应用程序集合还可以为电子设备当中运行的后台应用程序,且为当前分屏界面当中显示的分屏应用程序以外的应用程序。The above-mentioned application program collection is an application program installed in the electronic device, and is an application program other than the multi-screen application program displayed in the current multi-screen interface. In an embodiment, the above application program set may also be a background application program running in the electronic device, and may be an application program other than the split screen application program displayed in the current split screen interface.
步骤S204,从集合当中选取预设个数的目标应用程序。Step S204: Select a preset number of target applications from the set.
其中,上述选取目标应用程序的方法可以有多种,比如获取在预设时间段内上述集合当中应用程序的使用频率,然后根据使用频率来选取预设个数的目 标应用程序。上述预设个数可以由***进行定义也可以由用户根据实际需求进行设置。其中,在预设时间段内应用程序的使用频率可以根据在预设时间段内该应用程序的启动次数来确定,在其他实施例中,也可以根据在预设时间段内该应用程序的运行时长确定。也即从所述集合当中选取预设个数的目标应用程序,可以包括:Among them, there may be multiple methods for selecting the target applications, such as obtaining the frequency of use of the applications in the above-mentioned set within a preset period of time, and then selecting a preset number of target applications based on the frequency of use. The preset number can be defined by the system or set by the user according to actual needs. The frequency of using the application within a preset period of time may be determined according to the number of times the application is started within the preset period of time. In other embodiments, the frequency of use of the application during the preset period of time may also be determined. Duration is OK. That is, selecting a preset number of target applications from the set may include:
获取所述集合当中的应用程序在第二预设时长内的使用频率;Obtaining the frequency of use of the applications in the set within a second preset duration;
根据所述使用频率选取所述预设个数的目标应用程序。Selecting the preset number of target applications according to the use frequency.
步骤S205,生成目标应用程序所对应的应用标识。Step S205: Generate an application identifier corresponding to the target application.
比如,微信应用程序可以显示微信的标识,QQ应用程序可以显示QQ的标识等等,以供用户选择并进行切换。For example, the WeChat application can display the WeChat logo, the QQ application can display the QQ logo, and so on, for the user to select and switch.
步骤S206,接收用户针对应用标识触发的第二操作,并获取第二操作的滑动方向。Step S206: Receive a second operation triggered by the user for the application identifier, and obtain a sliding direction of the second operation.
其中,上述第二操作为滑动操作,因此可以在接收到用户针对应用标识触发的第二操作后,判断该第二操作是否为滑动操作,若是,则继续获取该第二操作的滑动方向。其中,该滑动方向可以根据滑动操作的起始位置和终点位置来进行确定。The second operation is a sliding operation. Therefore, after receiving the second operation triggered by the user for the application identifier, it can be determined whether the second operation is a sliding operation. If so, the sliding direction of the second operation is continuously obtained. The sliding direction may be determined according to a start position and an end position of the sliding operation.
步骤S207,根据滑动方向确定多个分屏应用程序中的替换应用程序。Step S207: Determine a replacement application among the multiple split-screen applications according to the sliding direction.
其中,当目标应用程序为多个时,可以根据第二操作的起点位置所对应的应用标识确定多个目标应用程序当中需要分屏的待分屏应用程序,然后根据滑动方向确定目标分屏区域以及该区域当中的替换应用程序。Wherein, when there are multiple target applications, the to-be-divided applications that need to be split among the multiple target applications can be determined according to the application identifier corresponding to the starting position of the second operation, and then the target split-screen area is determined according to the sliding direction. And replacement applications in that area.
步骤S208,将替换应用程序切换至目标应用程序。In step S208, the replacement application is switched to the target application.
具体的,将目标分屏区域中的替换应用程序切换为待分屏应用程序,上述替换应用程序则可以切换至电子设备的后台或是将其关闭。进一步的,电子设备在切换分屏应用程序之后,还可以关闭显示由第一操作触发的目标应用程序所对应的应用标识,以方便用户使用。Specifically, the replacement application in the target split screen area is switched to an application to be split, and the above replacement application may be switched to the background of the electronic device or closed. Further, after switching the split-screen application program, the electronic device may also turn off and display the application identifier corresponding to the target application program triggered by the first operation, so as to facilitate the user's use.
本发明实施例中,上述电子设备可以是任何能够运行应用程序的智能电子设备,例如:手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)、个人数字助理(personal digital assistant,简称PDA)、移动上网装置(Mobile Internet Device,MID)或可穿戴式设备(Wearable Device)等。In the embodiment of the present invention, the electronic device may be any intelligent electronic device capable of running application programs, such as: a mobile phone, a tablet computer, a laptop computer, and a personal digital assistant. PDA for short, Mobile Internet Device (MID) or Wearable Device.
由上可知,本申请实施例提供的分屏应用切换方法可以当电子设备显示分屏界面时,在分屏界面当中生成分隔条,分隔条位于多个分屏应用程序之间,接收用户针对分隔条触发的第一操作,根据第一操作获取电子设备当中当前未分屏的应用程序集合,从集合当中选取预设个数的目标应用程序,生成目标应 用程序所对应的应用标识,接收用户针对应用标识触发的第二操作,并获取第二操作的滑动方向,根据滑动方向确定多个分屏应用程序中的替换应用程序,将替换应用程序切换至目标应用程序。本申请实施例可以在分屏界面当中生成分隔条,根据用户针对该分隔条出发触发的操作来选取其他的应用程序,并将其他应用程序对分屏应用程序进行替换,可以提高对分屏应用程序进行切换的效率。It can be known from the above that the split screen application switching method provided in the embodiment of the present application can generate a divider bar in the split screen interface when the electronic device displays the split screen interface, and the divider bar is located between multiple split screen applications, and the user receives According to the first operation triggered by the first operation, according to the first operation, a collection of application programs that are not currently split on the electronic device is obtained. A preset number of target application programs are selected from the collection, and an application identifier corresponding to the target application program is generated. Apply the second operation triggered by the identification, and obtain the sliding direction of the second operation, determine the replacement application among the multiple split-screen applications according to the sliding direction, and switch the replacement application to the target application. In the embodiment of the present application, a divider bar can be generated in the split screen interface, and other applications are selected according to the operation triggered by the user's departure from the divider bar, and other applications are replaced with the split screen application, which can improve the split screen application. The efficiency of program switching.
为了便于更好的实施本申请实施例提供的分屏应用切换方法,本申请实施例还提供了一种基于上述分屏应用切换方法的装置。其中名词的含义与上述分屏应用切换方法中相同,具体实现细节可以参考方法实施例中的说明。In order to facilitate better implementation of the split-screen application switching method provided in the embodiment of the present application, the embodiment of the present application further provides a device based on the foregoing split-screen application switching method. The meanings of the terms are the same as in the above split-screen application switching method. For specific implementation details, refer to the description in the method embodiment.
请参阅图5,图5为本申请实施例提供的一种分屏应用切换装置的结构示意图,该分屏应用切换装置30包括:第一生成模块301、接收模块302、第二生成模块303以及切换模块304;Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a split-screen application switching device according to an embodiment of the present application. The split-screen application switching device 30 includes a first generating module 301, a receiving module 302, a second generating module 303, and Switching module 304;
所述第一生成模块301,用于当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;The first generating module 301 is configured to generate a partition bar in the split screen interface when the electronic device displays a split screen interface, where the split bar is located between multiple split screen applications;
所述接收模块302,用于接收用户针对所述分隔条触发的第一操作;The receiving module 302 is configured to receive a first operation triggered by a user on the partition bar;
所述第二生成模块303,用于根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;The second generating module 303 is configured to generate, according to the first operation, an application identifier corresponding to a target application that is not currently split-screen;
所述切换模块304,用于接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。The switching module 304 is configured to receive a second operation triggered by a user for the application identifier, and switch the target application and the split-screen application according to the second operation.
在一实施例中,如图6所示,所述分屏应用切换装置30还可以包括:获取模块305和判断模块306;In an embodiment, as shown in FIG. 6, the split-screen application switching device 30 may further include: an obtaining module 305 and a determining module 306;
所述获取模块305,用于在所述接收模块302接收用户针对所述分隔条触发的第一操作之后,获取所述第一操作的触摸时长;The obtaining module 305 is configured to obtain the touch duration of the first operation after the receiving module 302 receives the first operation triggered by the user on the divider;
所述判断模块306,用于判断所述触摸时长是否大于第一预设时长;The determining module 306 is configured to determine whether the touch duration is greater than a first preset duration;
所述第二生成模块303,具体用于当所述判断模块306判断为是时,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识。The second generating module 303 is specifically configured to generate an application identifier corresponding to a target application that is not currently split according to the first operation when the determining module 306 judges yes.
在一实施例中,所述获取模块305,还用于在所述接收模块接收用户针对所述分隔条触发的第一操作之后,获取所述第一操作的手指数量;In an embodiment, the obtaining module 305 is further configured to obtain the number of fingers of the first operation after the receiving module receives the first operation triggered by the user on the divider;
所述判断模块306,还用于判断所述手指数量是否满足预设条件;The determining module 306 is further configured to determine whether the number of fingers meets a preset condition;
所述第二生成模块303,具体用于当所述判断模块306判断为是时,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识。The second generating module 303 is specifically configured to generate an application identifier corresponding to a target application that is not currently split according to the first operation when the determining module 306 judges yes.
在一实施例中,所述第二生成模块303,可以包括:获取子模块3031、选取子模块3032以及生成子模块3033;In an embodiment, the second generating module 303 may include: obtaining a sub-module 3031, selecting a sub-module 3032, and generating a sub-module 3033;
所述获取子模块3031,用于根据所述第一操作获取所述电子设备当中当前未分屏的应用程序集合;The obtaining sub-module 3031 is configured to obtain an application set that is not currently split on the electronic device according to the first operation;
所述选取子模块3032,用于从所述集合当中选取预设个数的目标应用程序;The selection sub-module 3032 is configured to select a preset number of target applications from the set;
所述生成子模块3033,用于生成所述目标应用程序所对应的应用标识。The generating sub-module 3033 is configured to generate an application identifier corresponding to the target application.
在一实施例中,所述选取子模块3032,具体用于获取所述集合当中的应用程序在第二预设时长内的使用频率,根据所述使用频率选取所述预设个数的目标应用程序。In an embodiment, the selection sub-module 3032 is specifically configured to obtain a frequency of use of the applications in the set within a second preset duration, and select the preset number of target applications according to the frequency of use program.
由上可知,本申请实施例提供的分屏应用切换装置30可以当电子设备显示分屏界面时,在分屏界面当中生成分隔条,分隔条位于多个分屏应用程序之间,接收用户针对分隔条触发的第一操作,根据第一操作生成当前未分屏的目标应用程序所对应的应用标识,接收用户针对应用标识触发的第二操作,并根据第二操作将目标应用程序与分屏应用程序进行切换。本申请实施例可以在分屏界面当中生成分隔条,根据用户针对该分隔条出发触发的操作来选取其他的应用程序,并将其他应用程序对分屏应用程序进行替换,可以提高对分屏应用程序进行切换的效率。It can be known from the above that the split-screen application switching device 30 provided in the embodiment of the present application can generate a partition bar in the split-screen interface when the electronic device displays the split-screen interface. The first operation triggered by the divider generates an application identifier corresponding to the target application that is not currently split according to the first operation, receives a second operation triggered by the user with the application identifier, and combines the target application with the split screen according to the second operation. The application switches. In the embodiment of the present application, a divider bar can be generated in the split screen interface, and other applications are selected according to the operation triggered by the user's departure from the divider bar, and other applications are replaced with the split screen application, which can improve the split screen application. The efficiency of program switching.
本申请还提供一种存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现方法实施例提供的分屏应用切换方法。The present application also provides a storage medium on which a computer program is stored, wherein when the computer program is executed by a processor, the split screen application switching method provided by the method embodiment is implemented.
本申请还提供一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,所述处理器加载所述存储器中的指令用于执行以下步骤:The present application further provides an electronic device including a processor and a memory, where the memory stores a plurality of instructions, and the processor loads the instructions in the memory for performing the following steps:
当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
在一实施例中,在接收用户针对所述分隔条触发的第一操作之后,所述处理器还用于执行以下步骤:In an embodiment, after receiving the first operation triggered by the user on the divider, the processor is further configured to perform the following steps:
获取所述第一操作的触摸时长;Obtaining the touch duration of the first operation;
判断所述触摸时长是否大于第一预设时长;Determining whether the touch duration is greater than a first preset duration;
若大于,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If it is greater than, performing the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
在一实施例中,在接收用户针对所述分隔条触发的第一操作之后,所述处理器还用于执行以下步骤:In an embodiment, after receiving the first operation triggered by the user on the divider, the processor is further configured to perform the following steps:
获取所述第一操作的手指数量;Acquiring the number of fingers for the first operation;
判断所述手指数量是否满足预设条件;Determining whether the number of fingers meets a preset condition;
若是,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If yes, perform the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
在一实施例中,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识时,所述处理器用于执行以下步骤:In an embodiment, when an application identifier corresponding to a target application that is not currently split is generated according to the first operation, the processor is configured to perform the following steps:
根据所述第一操作获取所述电子设备当中当前未分屏的应用程序集合;Obtaining a set of application programs that are not currently split on the electronic device according to the first operation;
从所述集合当中选取预设个数的目标应用程序;Selecting a preset number of target applications from the set;
生成所述目标应用程序所对应的应用标识。Generating an application identifier corresponding to the target application.
在一实施例中,从所述集合当中选取预设个数的目标应用程序时,所述处理器用于执行以下步骤:In one embodiment, when a preset number of target applications are selected from the set, the processor is configured to perform the following steps:
获取所述集合当中的应用程序在第二预设时长内的使用频率;Obtaining the frequency of use of the applications in the set within a second preset duration;
根据所述使用频率选取所述预设个数的目标应用程序。Selecting the preset number of target applications according to the use frequency.
在一实施例中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换时,所述处理器用于执行以下步骤:In an embodiment, when the target application and the split-screen application are switched according to the second operation, the processor is configured to perform the following steps:
获取所述第二操作的滑动方向;Acquiring the sliding direction of the second operation;
根据所述滑动方向确定所述多个分屏应用程序中的替换应用程序;Determining a replacement application among the multiple split-screen applications according to the sliding direction;
将所述替换应用程序切换至所述目标应用程序。Switching the replacement application to the target application.
在一实施例中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换时,所述处理器用于执行以下步骤:In an embodiment, when the target application and the split-screen application are switched according to the second operation, the processor is configured to perform the following steps:
根据所述第二操作在所述多个目标应用程序中确定待分屏应用程序;Determining an application to be split screen among the plurality of target applications according to the second operation;
接收用户针对所述分屏界面触发的第三操作,并根据所述第三操作确定所述多个分屏应用程序中的替换应用程序;Receiving a third operation triggered by the user for the split-screen interface, and determining a replacement application among the multiple split-screen applications according to the third operation;
将所述替换应用程序切换至所述待分屏应用程序。Switching the replacement application to the application to be split screen.
在本申请又一实施例中还提供一种电子设备,该电子设备可以是智能手机、平板电脑等设备。如图7所示,电子设备400包括处理器401、存储器402。其中,处理器401与存储器402电性连接。In another embodiment of the present application, an electronic device is also provided, and the electronic device may be a device such as a smart phone or a tablet computer. As shown in FIG. 7, the electronic device 400 includes a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
处理器401是电子设备400的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。The processor 401 is the control center of the electronic device 400. It uses various interfaces and lines to connect various parts of the entire electronic device. The processor 401 executes the electronic program by running or loading the application program stored in the memory 402, and calling the data stored in the memory 402. Various functions of the device and processing data, so as to monitor the overall electronic equipment.
在本实施例中,电子设备400中的处理器401会按照如下的步骤,将一个或一个以上的应用程序的进程对应的指令加载到存储器402中,并由处理器401 来运行存储在存储器402中的应用程序,从而实现各种功能:In this embodiment, the processor 401 in the electronic device 400 loads instructions corresponding to one or more application processes into the memory 402 according to the following steps, and the processor 401 runs and stores the instructions in the memory 402 Applications in order to implement various functions:
当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
请参阅图8,图8为本申请实施例提供的电子设备结构示意图。该电子设备500可以包括射频(RF,Radio Frequency)电路501、包括有一个或一个以上计算机可读存储介质的存储器502、输入单元503、显示单元504、传感器504、音频电路506、无线保真(WiFi,Wireless Fidelity)模块507、包括有一个或者一个以上处理核心的处理器508、以及电源509等部件。本领域技术人员可以理解,图8中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Please refer to FIG. 8, which is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 500 may include a radio frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 504, an audio circuit 506, and a wireless fidelity ( A WiFi (Wireless Fidelity) module 507 includes a processor 508 having one or more processing cores, a power supply 509, and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange different components.
射频电路501可用于收发信息,或通话过程中信号的接收和发送,特别地,将基站的下行信息接收后,交由一个或者一个以上处理器508处理;另外,将涉及上行的数据发送给基站。通常,射频电路501包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM,Subscriber Identity Module)卡、收发信机、耦合器、低噪声放大器(LNA,Low Noise Amplifier)、双工器等。此外,射频电路501还可以通过无线通信与网络和其他设备通信。该无线通信可以使用任一通信标准或协议,包括但不限于全球移动通信***(GSM,Global System of Mobile communication)、通用分组无线服务(GPRS,General Packet Radio Service)、码分多址(CDMA,Code Division Multiple Access)、宽带码分多址(WCDMA,Wideband Code Division Multiple Access)、长期演进(LTE,Long Term Evolution)、电子邮件、短消息服务(SMS,Short Messaging Service)等。The radio frequency circuit 501 can be used to send and receive information, or to receive and send signals during a call. In particular, after receiving the downlink information of the base station, it is processed by one or more processors 508. In addition, the uplink-related data is sent to the base station. . Generally, the 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, Subscriber Identity Module) card, a transceiver, a coupler, and a low noise amplifier (LNA, Low Noise Amplifier), duplexer, etc. In addition, the radio frequency circuit 501 can also communicate with a network and other devices through wireless communication. This wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA, Code Division Multiple Access), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), Email, Short Messaging Service (SMS), etc.
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器508通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存 储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器508和输入单元503对存储器502的访问。The memory 502 may be used to store application programs and data. The application program stored in the memory 502 contains executable code. Applications can be composed of various functional modules. The processor 508 executes various functional applications and data processing by running an application program stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, where the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; The data (such as audio data, phone book, etc.) created by the use of electronic devices. In addition, the memory 502 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 502 may further include a memory controller to provide the processor 508 and the input unit 503 to access the memory 502.
输入单元503可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。具体地,在一个具体的实施例中,输入单元503可包括触敏表面以及其他输入设备。触敏表面,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面上或在触敏表面附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器508,并能接收处理器508发来的命令并加以执行。The input unit 503 can be used to receive inputted numbers, character information, or user characteristic information (such as fingerprints), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control. Specifically, in a specific embodiment, the input unit 503 may include a touch-sensitive surface and other input devices. A touch-sensitive surface, also known as a touch display or touchpad, collects user touch operations on or near it (such as the user using a finger, stylus or any suitable object or accessory on the touch-sensitive surface or touch-sensitive Operation near the surface), and drive the corresponding connection device according to a preset program. Optionally, the touch-sensitive surface may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it To the processor 508, and can receive the command sent by the processor 508 and execute it.
显示单元504可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元504可包括显示面板。可选的,可以采用液晶显示器(LCD,Liquid Crystal Display)、有机发光二极管(OLED,Organic Light-Emitting Diode)等形式来配置显示面板。进一步的,触敏表面可覆盖显示面板,当触敏表面检测到在其上或附近的触摸操作后,传送给处理器508以确定触摸事件的类型,随后处理器508根据触摸事件的类型在显示面板上提供相应的视觉输出。虽然在图8中,触敏表面与显示面板是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面与显示面板集成而实现输入和输出功能。The display unit 504 may be used to display information input by the user or information provided to the user and various graphical user interfaces of the electronic device. These graphical user interfaces may be composed of graphics, text, icons, videos, and any combination thereof. The display unit 504 may include a display panel. Optionally, the display panel may be configured using a liquid crystal display (LCD, Liquid Crystal Display), an organic light emitting diode (OLED, Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface may cover the display panel. When the touch-sensitive surface detects a touch operation on or near the touch-sensitive surface, the touch-sensitive surface is transmitted to the processor 508 to determine the type of the touch event, and then the processor 508 displays the touch event according to the type of the touch event. The corresponding visual output is provided on the panel. Although in FIG. 8, the touch-sensitive surface and the display panel are implemented as two separate components to implement input and input functions, in some embodiments, the touch-sensitive surface and the display panel may be integrated to implement input and output functions.
电子设备还可包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板的亮度,接近传感器可在电子设备移动到耳边时,关闭显示面板和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电子设备还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The electronic device may further include at least one sensor 505, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel according to the brightness of the ambient light, and the proximity sensor may close the display panel and / or when the electronic device is moved to the ear. Backlight. As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes). It can detect the magnitude and direction of gravity when it is stationary. It can be used to identify the attitude of the mobile phone (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; as for electronic devices, other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. can also be configured, not here More details.
音频电路506可通过扬声器、传声器提供用户与电子设备之间的音频接口。音频电路506可将接收到的音频数据转换成电信号,传输到扬声器,由扬声器转换为声音信号输出;另一方面,传声器将收集的声音信号转换为电信号,由音频电路506接收后转换为音频数据,再将音频数据输出处理器508处理后,经射频电路501以发送给比如另一电子设备,或者将音频数据输出至存储器502以便进一步处理。音频电路506还可能包括耳塞插孔,以提供外设耳机与电子设备的通信。The audio circuit 506 may provide an audio interface between the user and the electronic device through a speaker or a microphone. The audio circuit 506 can convert the received audio data into an electrical signal and transmit it to a speaker. The speaker converts the audio signal into a sound signal and outputs it. On the other hand, the microphone converts the collected sound signal into an electrical signal, which is converted by the audio circuit 506 into After the audio data is processed by the audio data output processor 508, it is sent to, for example, another electronic device via the radio frequency circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may further include an earphone jack to provide communication between the peripheral headset and the electronic device.
无线保真(WiFi)属于短距离无线传输技术,电子设备通过无线保真模块507可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图8示出了无线保真模块507,但是可以理解的是,其并不属于电子设备的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。Wireless fidelity (WiFi) is a short-range wireless transmission technology. Electronic devices can help users send and receive email, browse web pages, and access streaming media through the wireless fidelity module 507, which provides users with wireless broadband Internet access. Although FIG. 8 shows the wireless fidelity module 507, it can be understood that it does not belong to the necessary configuration of the electronic device, and can be omitted as needed without changing the essence of the invention.
处理器508是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。可选的,处理器508可包括一个或多个处理核心;优选的,处理器508可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器508中。The processor 508 is a control center of an electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. The electronic device is executed by running or executing an application program stored in the memory 502 and calling data stored in the memory 502. Various functions and processing data to monitor the overall electronic equipment. Optionally, the processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The modem processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 508.
电子设备还包括给各个部件供电的电源509(比如电池)。优选的,电源可以通过电源管理***与处理器508逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。电源509还可以包括一个或一个以上的直流或交流电源、再充电***、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The electronic device also includes a power source 509 (such as a battery) that powers various components. Preferably, the power supply can be logically connected to the processor 508 through a power management system, so that functions such as managing charging, discharging, and power consumption management can be implemented through the power management system. The power supply 509 may also include one or more DC or AC power supplies, a recharging system, a power failure detection circuit, a power converter or inverter, a power supply status indicator, and any other components.
尽管图8中未示出,电子设备还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 8, the electronic device may further include a camera, a Bluetooth module, and the like, and details are not described herein again.
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个模块的具体实施可参见前面的方法实施例,在此不再赘述。In specific implementation, the above modules may be implemented as independent entities, or may be arbitrarily combined, and implemented as the same or several entities. For the specific implementation of the above modules, refer to the foregoing method embodiments, and details are not described herein again.
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于计算机可读存储介质中,如存储在终端的存储器中,并被该终端内的至少一个处理器执行,在执行过程中可包括如分屏应用切换方法的实施例的流程。其中, 存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取记忆体(RAM,Random Access Memory)、磁盘或光盘等。It should be noted that a person of ordinary skill in the art can understand that all or part of the steps in the various methods of the foregoing embodiments can be completed by a program instructing related hardware, and the program can be stored in a computer-readable storage medium, such as It is stored in the memory of the terminal and executed by at least one processor in the terminal. The execution process may include the process of the embodiment of the split screen application switching method. The storage medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), magnetic disks, or optical disks.
以上对本申请实施例提供的一种分屏应用切换方法、装置、存储介质和电子设备进行了详细介绍,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The method, device, storage medium, and electronic device for split-screen application switching provided in the embodiments of the present application have been described in detail above. Each functional module may be integrated into a processing chip, or each module may exist separately physically, or Two or more modules are integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules. Specific examples are used herein to explain the principle and implementation of the present application. The descriptions of the above embodiments are only used to help understand the method and core ideas of the present application. At the same time, for those skilled in the art, according to this application, The idea may be changed in the specific implementation and the scope of application. In summary, the content of this specification should not be understood as a limitation on this application.

Claims (20)

  1. 一种分屏应用切换方法,其中,包括以下步骤:A split screen application switching method, which includes the following steps:
    当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
    接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
    根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
    接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
  2. 根据权利要求1所述的分屏应用切换方法,其中,在接收用户针对所述分隔条触发的第一操作之后,所述方法还包括:The method for switching between split screen applications according to claim 1, wherein after receiving a first operation triggered by a user on the divider, the method further comprises:
    获取所述第一操作的触摸时长;Obtaining the touch duration of the first operation;
    判断所述触摸时长是否大于第一预设时长;Determining whether the touch duration is greater than a first preset duration;
    若大于,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If it is greater than, performing the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
  3. 根据权利要求1所述的分屏应用切换方法,其中,在接收用户针对所述分隔条触发的第一操作之后,所述方法还包括:The method for switching between split screen applications according to claim 1, wherein after receiving a first operation triggered by a user on the divider, the method further comprises:
    获取所述第一操作的手指数量;Acquiring the number of fingers for the first operation;
    判断所述手指数量是否满足预设条件;Determining whether the number of fingers meets a preset condition;
    若是,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If yes, perform the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
  4. 根据权利要求1所述的分屏应用切换方法,其中,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识,包括:The method for switching split-screen applications according to claim 1, wherein generating an application identifier corresponding to a target application that is not currently split-screen according to the first operation comprises:
    根据所述第一操作获取所述电子设备当中当前未分屏的应用程序集合;Obtaining a set of application programs that are not currently split on the electronic device according to the first operation;
    从所述集合当中选取预设个数的目标应用程序;Selecting a preset number of target applications from the set;
    生成所述目标应用程序所对应的应用标识。Generating an application identifier corresponding to the target application.
  5. 根据权利要求4所述的分屏应用切换方法,其中,从所述集合当中选取预设个数的目标应用程序,包括:The method for switching between split screen applications according to claim 4, wherein selecting a preset number of target applications from the set comprises:
    获取所述集合当中的应用程序在第二预设时长内的使用频率;Obtaining the frequency of use of the applications in the set within a second preset duration;
    根据所述使用频率选取所述预设个数的目标应用程序。Selecting the preset number of target applications according to the use frequency.
  6. 根据权利要求1所述的分屏应用切换方法,其中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换,包括:The method for switching split-screen applications according to claim 1, wherein switching the target application and the split-screen application according to the second operation comprises:
    获取所述第二操作的滑动方向;Acquiring the sliding direction of the second operation;
    根据所述滑动方向确定所述多个分屏应用程序中的替换应用程序;Determining a replacement application among the multiple split-screen applications according to the sliding direction;
    将所述替换应用程序切换至所述目标应用程序。Switching the replacement application to the target application.
  7. 根据权利要求1所述的分屏应用切换方法,其中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换,包括:The method for switching split-screen applications according to claim 1, wherein switching the target application and the split-screen application according to the second operation comprises:
    根据所述第二操作在所述多个目标应用程序中确定待分屏应用程序;Determining an application to be split screen among the plurality of target applications according to the second operation;
    接收用户针对所述分屏界面触发的第三操作,并根据所述第三操作确定所述多个分屏应用程序中的替换应用程序;Receiving a third operation triggered by the user for the split-screen interface, and determining a replacement application among the multiple split-screen applications according to the third operation;
    将所述替换应用程序切换至所述待分屏应用程序。Switching the replacement application to the application to be split screen.
  8. 一种分屏应用切换装置,其中,所述装置包括:第一生成模块、接收模块、第二生成模块以及切换模块;A split screen application switching device, wherein the device includes: a first generating module, a receiving module, a second generating module, and a switching module;
    所述第一生成模块,用于当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;The first generating module is configured to generate a partition bar in the split screen interface when the electronic device displays a split screen interface, and the split bar is located between multiple split screen applications;
    所述接收模块,用于接收用户针对所述分隔条触发的第一操作;The receiving module is configured to receive a first operation triggered by a user on the partition bar;
    所述第二生成模块,用于根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;The second generating module is configured to generate, according to the first operation, an application identifier corresponding to a target application that is not currently split-screen;
    所述切换模块,用于接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。The switching module is configured to receive a second operation triggered by a user for the application identifier, and switch the target application and the split-screen application according to the second operation.
  9. 根据权利要求8所述的分屏应用切换装置,其中,所述装置还包括:获取模块和判断模块;The split screen application switching device according to claim 8, wherein the device further comprises: an acquisition module and a judgment module;
    所述获取模块,用于在所述接收模块接收用户针对所述分隔条触发的第一操作之后,获取所述第一操作的触摸时长;The obtaining module is configured to obtain the touch duration of the first operation after the receiving module receives the first operation triggered by the user on the separator;
    所述判断模块,用于判断所述触摸时长是否大于第一预设时长;The determining module is configured to determine whether the touch duration is greater than a first preset duration;
    所述第二生成模块,具体用于当所述判断模块判断为是时,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识。The second generating module is specifically configured to generate an application identifier corresponding to a target application that is not currently split on the screen according to the first operation when the determining module judges yes.
  10. 根据权利要求9所述的分屏应用切换装置,其中,The split screen application switching device according to claim 9, wherein:
    所述获取模块,还用于在所述接收模块接收用户针对所述分隔条触发的第一操作之后,获取所述第一操作的手指数量;The obtaining module is further configured to obtain the number of fingers of the first operation after the receiving module receives the first operation triggered by the user on the divider;
    所述判断模块,还用于判断所述手指数量是否满足预设条件;The determining module is further configured to determine whether the number of fingers meets a preset condition;
    所述第二生成模块,具体用于当所述判断模块判断为是时,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识。The second generating module is specifically configured to generate an application identifier corresponding to a target application that is not currently split on the screen according to the first operation when the determining module judges yes.
  11. 根据权利要求8所述的分屏应用切换装置,其中,所述第二生成模块,包括:获取子模块、选取子模块以及生成子模块;The device for switching between split screen applications according to claim 8, wherein the second generating module comprises: acquiring a submodule, selecting a submodule, and generating a submodule;
    所述获取子模块,用于根据所述第一操作获取所述电子设备当中当前未分屏的应用程序集合;The acquiring sub-module is configured to acquire an application set that is not currently split on the electronic device according to the first operation;
    所述选取子模块,用于从所述集合当中选取预设个数的目标应用程序;The selection sub-module is configured to select a preset number of target applications from the set;
    所述生成子模块,用于生成所述目标应用程序所对应的应用标识。The generating sub-module is configured to generate an application identifier corresponding to the target application.
  12. 根据权利要求11所述的分屏应用切换装置,其中,The split screen application switching device according to claim 11, wherein:
    所述选取子模块,具体用于获取所述集合当中的应用程序在第二预设时长内的使用频率,根据所述使用频率选取所述预设个数的目标应用程序。The selecting sub-module is specifically configured to obtain a frequency of use of the applications in the set within a second preset duration, and select the preset number of target applications according to the frequency of use.
  13. 一种存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-7任一项所述方法的步骤。A storage medium stores a computer program thereon, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1-7 are implemented.
  14. 一种电子设备,包括处理器和存储器,所述存储器存储有多条指令,其中,所述处理器加载所述存储器中的指令用于执行以下步骤:An electronic device includes a processor and a memory, and the memory stores a plurality of instructions, wherein the processor loads the instructions in the memory for performing the following steps:
    当电子设备显示分屏界面时,在所述分屏界面当中生成分隔条,所述分隔条位于多个分屏应用程序之间;When the electronic device displays a split-screen interface, a partition bar is generated in the split-screen interface, and the partition bar is located between multiple split-screen applications;
    接收用户针对所述分隔条触发的第一操作;Receiving a first operation triggered by a user for the separation bar;
    根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识;Generating, according to the first operation, an application identifier corresponding to a target application that is currently not split screen;
    接收用户针对所述应用标识触发的第二操作,并根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换。Receiving a second operation triggered by a user for the application identifier, and switching the target application and the split-screen application according to the second operation.
  15. 根据权利要求14所述的电子设备,其中,在接收用户针对所述分隔条触发的第一操作之后,所述处理器还用于执行以下步骤:The electronic device according to claim 14, wherein after receiving a first operation triggered by a user on the divider, the processor is further configured to perform the following steps:
    获取所述第一操作的触摸时长;Obtaining the touch duration of the first operation;
    判断所述触摸时长是否大于第一预设时长;Determining whether the touch duration is greater than a first preset duration;
    若大于,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If it is greater than, performing the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
  16. 根据权利要求14所述的电子设备,其中,在接收用户针对所述分隔条触发的第一操作之后,所述处理器还用于执行以下步骤:The electronic device according to claim 14, wherein after receiving a first operation triggered by a user on the divider, the processor is further configured to perform the following steps:
    获取所述第一操作的手指数量;Acquiring the number of fingers for the first operation;
    判断所述手指数量是否满足预设条件;Determining whether the number of fingers meets a preset condition;
    若是,则执行根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识的步骤。If yes, perform the step of generating an application identifier corresponding to the target application that is not currently split according to the first operation.
  17. 根据权利要求14所述的电子设备,其中,根据所述第一操作生成当前未分屏的目标应用程序所对应的应用标识时,所述处理器用于执行以下步骤:The electronic device according to claim 14, wherein the processor is configured to perform the following steps when an application identifier corresponding to a target application that is not currently split is generated according to the first operation:
    根据所述第一操作获取所述电子设备当中当前未分屏的应用程序集合;Obtaining a set of application programs that are not currently split on the electronic device according to the first operation;
    从所述集合当中选取预设个数的目标应用程序;Selecting a preset number of target applications from the set;
    生成所述目标应用程序所对应的应用标识。Generating an application identifier corresponding to the target application.
  18. 根据权利要求17所述的电子设备,其中,从所述集合当中选取预设个 数的目标应用程序时,所述处理器用于执行以下步骤:The electronic device according to claim 17, wherein, when a preset number of target applications are selected from the set, the processor is configured to perform the following steps:
    获取所述集合当中的应用程序在第二预设时长内的使用频率;Obtaining the frequency of use of the applications in the set within a second preset duration;
    根据所述使用频率选取所述预设个数的目标应用程序。Selecting the preset number of target applications according to the use frequency.
  19. 根据权利要求14所述的电子设备,其中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换时,所述处理器用于执行以下步骤:The electronic device according to claim 14, wherein when the target application and the split-screen application are switched according to the second operation, the processor is configured to perform the following steps:
    获取所述第二操作的滑动方向;Acquiring the sliding direction of the second operation;
    根据所述滑动方向确定所述多个分屏应用程序中的替换应用程序;Determining a replacement application among the multiple split-screen applications according to the sliding direction;
    将所述替换应用程序切换至所述目标应用程序。Switching the replacement application to the target application.
  20. 根据权利要求14所述的电子设备,其中,根据所述第二操作将所述目标应用程序与所述分屏应用程序进行切换时,所述处理器用于执行以下步骤:The electronic device according to claim 14, wherein when the target application and the split-screen application are switched according to the second operation, the processor is configured to perform the following steps:
    根据所述第二操作在所述多个目标应用程序中确定待分屏应用程序;Determining an application to be split screen among the plurality of target applications according to the second operation;
    接收用户针对所述分屏界面触发的第三操作,并根据所述第三操作确定所述多个分屏应用程序中的替换应用程序;Receiving a third operation triggered by the user for the split-screen interface, and determining a replacement application among the multiple split-screen applications according to the third operation;
    将所述替换应用程序切换至所述待分屏应用程序。Switching the replacement application to the application to be split screen.
PCT/CN2019/085819 2018-07-03 2019-05-07 Method and apparatus for switching split-screen application, storage medium, and electronic device WO2020007114A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810720087.8A CN108932093A (en) 2018-07-03 2018-07-03 Split screen application switching method, device, storage medium and electronic equipment
CN201810720087.8 2018-07-03

Publications (1)

Publication Number Publication Date
WO2020007114A1 true WO2020007114A1 (en) 2020-01-09

Family

ID=64446645

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/085819 WO2020007114A1 (en) 2018-07-03 2019-05-07 Method and apparatus for switching split-screen application, storage medium, and electronic device

Country Status (2)

Country Link
CN (1) CN108932093A (en)
WO (1) WO2020007114A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108932093A (en) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment
CN110209369B (en) * 2019-04-24 2021-12-24 维沃移动通信有限公司 Interface display method and terminal equipment
CN110333818A (en) 2019-05-24 2019-10-15 华为技术有限公司 Processing method, device, equipment and the storage medium of split screen display available
CN111857505B (en) * 2020-07-16 2022-07-05 Oppo广东移动通信有限公司 Display method, device and storage medium
CN114968046A (en) * 2021-02-18 2022-08-30 深圳市柔宇科技股份有限公司 Split-screen interaction method and electronic equipment
CN115268816A (en) * 2022-08-17 2022-11-01 维沃移动通信有限公司 Split screen control method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426097A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Real time adjustment method for split screen size and split screen apparatus
CN107256129A (en) * 2017-07-20 2017-10-17 广东欧珀移动通信有限公司 Switch method, device and its relevant device of application under span mode
CN108932093A (en) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2015415755A1 (en) * 2015-11-25 2018-06-14 Huawei Technologies Co., Ltd. Quick screen splitting method, apparatus, and electronic device, display UI, and storage medium
US20170154452A1 (en) * 2015-11-30 2017-06-01 Taeko Ishizu Display apparatus, display control method, and recording medium
CN105975201B (en) * 2016-04-27 2019-02-15 努比亚技术有限公司 Mobile terminal and its split screen processing method
CN108205418B (en) * 2017-12-15 2020-06-09 中兴通讯股份有限公司 Screen display method, device, terminal, storage medium and electronic device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105426097A (en) * 2015-10-30 2016-03-23 努比亚技术有限公司 Real time adjustment method for split screen size and split screen apparatus
CN107256129A (en) * 2017-07-20 2017-10-17 广东欧珀移动通信有限公司 Switch method, device and its relevant device of application under span mode
CN108932093A (en) * 2018-07-03 2018-12-04 Oppo广东移动通信有限公司 Split screen application switching method, device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN108932093A (en) 2018-12-04

Similar Documents

Publication Publication Date Title
US10419823B2 (en) Method for controlling multimedia playing, apparatus thereof and storage medium
US10725646B2 (en) Method and apparatus for switching screen interface and terminal
WO2020007147A1 (en) Application switching method and apparatus for split screen, storage medium, and electronic device
WO2020007114A1 (en) Method and apparatus for switching split-screen application, storage medium, and electronic device
CN105786878B (en) Display method and device of browsing object
RU2632153C2 (en) Method, device and terminal for displaying virtual keyboard
CN108549519B (en) Split screen processing method and device, storage medium and electronic equipment
US20150089418A1 (en) Method for managing icon on user interface, and touch-control device
CN109710139B (en) Page processing method, device, terminal and storage medium
CN105975190B (en) Graphical interface processing method, device and system
CN108039963B (en) Container configuration method and device and storage medium
WO2020007144A1 (en) Switching method and device for split screen application, storage medium and electronic device
WO2020007116A1 (en) Split-screen window adjustment method and apparatus, storage medium and electronic device
CN108958606B (en) Split screen display method and device, storage medium and electronic equipment
US20210132791A1 (en) Key control method, storage medium, and smart terminal
CN110442297A (en) Multi-screen display method, split screen display available device and terminal device
CN108536388A (en) split screen processing method, device, storage medium and electronic equipment
CN113050863A (en) Page switching method and device, storage medium and electronic equipment
CN108564539B (en) Method and device for displaying image
US11327639B2 (en) Split view exiting method, split view exiting device, and electronic device
CN107193551B (en) Method and device for generating image frame
CN104238931B (en) Information input method and device and electronic equipment
US20150089370A1 (en) Method and device for playing media data on a terminal
WO2015043239A1 (en) Method and device for playing media data on a terminal
WO2015067206A1 (en) File searching method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19831555

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19831555

Country of ref document: EP

Kind code of ref document: A1