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

WO2015184902A1 - Concurrent processing method for intelligent split-screen and corresponding intelligent terminal - Google Patents

Concurrent processing method for intelligent split-screen and corresponding intelligent terminal Download PDF

Info

Publication number
WO2015184902A1
WO2015184902A1 PCT/CN2015/074845 CN2015074845W WO2015184902A1 WO 2015184902 A1 WO2015184902 A1 WO 2015184902A1 CN 2015074845 W CN2015074845 W CN 2015074845W WO 2015184902 A1 WO2015184902 A1 WO 2015184902A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
window
control module
running
resource
Prior art date
Application number
PCT/CN2015/074845
Other languages
French (fr)
Chinese (zh)
Inventor
段红乐
刘小锐
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015184902A1 publication Critical patent/WO2015184902A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements

Definitions

  • This document relates to the field of concurrent processing technology of intelligent split screen, and more specifically, to a concurrent processing method of intelligent split screen and a corresponding intelligent terminal.
  • the processing power and computing power are comparable to those of the personal PC, but the application management method provided by the operating system such as the Android system is essentially a single task mechanism, and cannot be implemented multiple times. The application or multiple task windows run simultaneously. This mechanism cannot meet the current demand for large-screen terminals and wastes system resources. In this context, intelligent split screen technology came into being.
  • the so-called intelligent split-screen technology that is, on the framework of the relevant mobile operating system, realizes multiple tasks running at the same time.
  • the intelligent split-screen technology multiple application windows are simultaneously presented on the screen of the mobile phone, and each application window has its own application management. Mechanisms, each maintaining the life cycle of the application where the window is located, resource scheduling, input and output, and storage control.
  • one intelligent terminal can be virtualized into multiple intelligent terminals, and each virtualized intelligent terminal has independent input and output and task management and control mechanism, thereby satisfying the user to use multiple applications simultaneously on the large screen machine. Demand also maximizes the efficiency of hardware resources.
  • the user splits the screen with the camera module. Since the camera module also needs to occupy the flash resource, the access control conflict of the hardware device is generated at this time. If the similar concurrent scene is not processed, the system may also be crashed.
  • While using the music player the user is browsing in the file manager.
  • the technical problem to be solved by the present invention is to provide a method for concurrent processing of intelligent split screens and corresponding intelligent terminals, so as to avoid system collapse caused by the above resources.
  • a method for concurrent processing of intelligent split screens, which is applied to intelligent terminals including:
  • the smart terminal receives an instruction to start an application in a window
  • the method further includes: prompting the user that the application has been started.
  • the method further includes:
  • a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the concurrent processing method of any of the intelligent split screens described above.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • a method for concurrent processing of intelligent split screens, which is applied to intelligent terminals including:
  • the smart terminal receives an instruction to invoke an application in a window
  • the same-named application that the other window is running in the foreground is turned into a locked state, and the application is started in the window;
  • the step of converting the same-named application that is running in the foreground to the locked state, and after the step of starting the application in the window, the method further includes:
  • a computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the concurrent processing method of any of the intelligent split screens described above.
  • a carrier carrying the computer program A carrier carrying the computer program.
  • An intelligent terminal having a smart split screen function, including a concurrency control module, an application control module, and a window management module, wherein:
  • the application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to the received instruction to start an application in a window, and send the concurrent control module to start the application. Requesting, the request carries information of the window; and after starting the instruction returned by the concurrent control module, stopping starting the application or launching the application in the window;
  • the concurrency control module is configured to: after receiving the request for starting the application sent by the application control module, query from the window management module to an application that is running in the foreground other than the window, and determine Whether the window other than the window is in the foreground running application, whether there is an application of the same name of the application, and if so, returning an instruction to stop the application to the application control module, if not, returning to the application control module The instructions of the application;
  • the window management module is configured to: maintain an application running in the window and its running state information, and in the split screen state, record a window in which the user launches the application and an application running under the window.
  • the application control module is further configured to: after stopping starting the application, prompting the user that the application has been started.
  • the smart terminal further includes: a resource control module, where
  • the resource control module is configured to: after receiving the resource request sent by the application control module to start the application, determine whether the resource that the application starts to depend on is exclusive to another application, if the application starts the dependent resource by another The application is exclusive, and the response to the request failure is returned to the application control module. If the resource that the application starts to depend on is not occupied by another application, after the resource initialization is completed, the response to the request is returned to the application control module.
  • the application control module is further configured to: after the window starts the application, send a resource request for starting the application to the resource control module; and after receiving the response of the request failure reported by the resource control module, Terminating the startup of the application; after receiving the successful response of the request fed back by the resource control module, continuing the startup of the application.
  • An intelligent terminal with intelligent split screen function includes a concurrency control module, an application control module and a window management module, wherein:
  • the application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to the received instruction for calling an application in a window, and send the calling control module to the concurrent control module to invoke the application. Requesting, carrying the information of the window; and according to the instruction returned by the concurrent control module, converting the application of the same name that is running in the foreground to another window and locking the application in the window, or directly starting the application in the window;
  • the concurrency control module is configured to: after receiving the request to invoke the application, query from the window management module to an application that is running in the foreground other than the window, and determine other than the window Whether the application of the same name of the application exists in the application running in the foreground, and if so, returns an instruction to lock the application of the same name and start the application to the application control module, and if not, returns to the application control module to start the application Instruction
  • the window management module is configured to: maintain an application running in the window and its running state information, and in the split screen state, record a window in which the user launches the application and an application running under the window.
  • the application control module is further configured to:
  • the above-mentioned intelligent split screen concurrent processing method and intelligent terminal propose a perfect concurrent processing mechanism for concurrent application of the same application, further perfecting the split screen function, avoiding the same system resources and preventing system collapse. It also effectively improves the user experience in this scenario.
  • FIG. 1 is a flowchart of a method for concurrent processing of an intelligent split screen according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a smart terminal according to an embodiment of the present invention.
  • FIG. 3 is a flowchart of a method for concurrent processing of an intelligent split screen according to Embodiment 2 of the present invention.
  • the concurrent processing method of the intelligent split screen in this embodiment relates to the processing when starting a new application in the split screen mode, and the flow thereof is as shown in FIG. 1 and includes:
  • Step 110 in the split screen mode, receiving an instruction that the user starts an application in a window
  • step 120 it is determined whether there is an application of the same name of the application in the application running in the foreground. If yes, step 130 is performed. If not, step 140 is performed:
  • the window is running in the foreground and should stop starting the application.
  • Step 130 stop starting the application, and end;
  • the user can also be prompted to indicate that the application has been launched.
  • Step 140 starting the application in the window
  • the method may further include: determining, during the startup process of the application, whether the resource dependent on the application startup is exclusive to another application: if yes, terminating the startup of the application; if not, continuing the startup of the application .
  • determining, during the startup process of the application whether the resource dependent on the application startup is exclusive to another application: if yes, terminating the startup of the application; if not, continuing the startup of the application .
  • an application that is exclusive to hardware resources such as an application that uses hardware resources such as a flashlight
  • an application that also needs to occupy the hardware resource it will be initialized when the application is initialized.
  • An exception occurs, which terminates the startup of the application and prompts the user to start the failure, so as to avoid system crash caused by the access control conflict of the hardware device.
  • the smart terminal of this embodiment includes:
  • the application control module 10 is configured to: in the split screen mode, query the window management module for information about the window according to an instruction of the user to start an application in a window, and send a request for starting the application to the concurrent control module, Carrying information of the window; and returning according to the concurrent control module After the instruction, stop launching the application or launch the application in the window.
  • the concurrency control module 20 is configured to: after receiving the request to start the application, query from the window management module to an application that is running in the foreground of other windows, determine whether there is an application with the same name of the application, and if yes, return to stop The instruction to start the application, if not present, returns an instruction to start the application.
  • the window management module 30 is configured to: maintain an application running in the window and its running status information, and record a window for the user to launch the application in the split screen state.
  • the method further includes: prompting the user that the application has been started.
  • the prompt may be sent by the application control module, or the application control module may return a status information to the concurrent processing system, and the concurrent processing system prompts the user that the application has been started, and the repeated startup is not allowed.
  • the smart terminal further includes: a resource control module, configured to: manage a resource of the application, and after receiving the resource request sent by the application control module to start the application, determine whether the resource dependent on the application startup is monopolized by another application. If yes, return the response of the request failure. If no, after the resource initialization is completed, the response of the request is returned successfully.
  • the resource control module will apply for corresponding resources for the application, including image resource reading and caching, database file caching, status record information file creation, and hardware device resource library initialization.
  • the method further includes: sending a resource request for starting the application to the resource control module, and if the response to the request failure is received, terminating the application; if the request is successfully received The response continues with the launch of the app.
  • the concurrent processing method of the intelligent split screen in this embodiment relates to the processing when an application is called in a window in the split screen mode, and the flow thereof is as shown in FIG. 3, including:
  • Step 210 in the split screen mode, receiving an instruction that the user invokes an application in a window
  • Step 220 it is determined whether the application of the same name is in the application running in the foreground, if it exists, step 230 is performed, if not, step 240 is performed;
  • Step 230 Convert the application of the same name of the application that is running in the foreground to the lock state, and start the application in the window, and end;
  • step 240 the application is launched directly in the window.
  • a resource request for starting the application may be sent to the resource control module, and if the response to the request failure is received, the application is terminated; if the request is successfully received , then continue the launch of the app.
  • This embodiment is a process in which the user in the split screen mode, through the use of other applications, and finally calls to the same application running in the foreground of other windows.
  • Specific scenes for example, when the user uses the music player, while browsing the file manager, when browsing to the appropriate audio file, the user clicks to play, and the smart terminal queries the package name of the application that the other window is running in the foreground before starting the application. If the package name of the application that is trying to start is the same as the package name of the application that is running in the foreground, the application with the same name of the application that the user is trying to start is running in the foreground of the other window. In this case, the application of the same name that was originally run can be transferred from the running state. In the locked state, the user is allowed to start the application, and when the application is finished, the application with the same name that is locked is resumed.
  • the intelligent terminal of this embodiment also includes a concurrency control module, an application control module, and a window management module (refer to FIG. 3), wherein:
  • the application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to an instruction of the user calling an application in a window, and send a request for calling the application to the concurrent control module, and carry The information of the window; and according to the instruction returned by the concurrency control module, the application of the same name of the application that is running in the foreground is turned into a locked state and the application is started in the window, or the application is started directly in the window.
  • the concurrency control module is configured to: after receiving the request for invoking the application, querying, by the window management module, an application that is running in the foreground by another window, and determining whether the application exists An application of the same name, if present, returns an instruction to lock the application of the same name and launch the application, and if not, returns an instruction to start the application.
  • the window management module is configured to: maintain the application running in the window and its running status information, and record the window of the user launching the application in the split screen state.
  • the application control module restores the running of the application of the same name of the application in the locked state in the other window.
  • the concurrent processing method for the terminal intelligent split screen proposed by the foregoing embodiment and the corresponding intelligent terminal perform multi-level management and control on the application concurrent flow in the split screen state, from the application startup level, the application calling level and the bottom hardware resource library level Multi-dimensionality ensures that resource scheduling and state maintenance under concurrent scenarios are normal, thus avoiding system crashes.
  • the above-mentioned intelligent split screen concurrent processing method and intelligent terminal in the split screen scenario, propose a perfect concurrent processing mechanism for concurrent application of the same application, further perfecting the split screen function, avoiding the same system resources and preventing system collapse. It also effectively improves the user experience in this scenario. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A concurrent processing method for intelligent split-screen and a corresponding intelligent terminal, the method comprising: in a split-screen mode, receiving an instruction for starting an application in a window from a user; judging whether there exists an application of the same name as the application running foreground in other window; if so, stopping starting the application; otherwise starting the application in the window. The corresponding intelligent terminal includes a concurrent controlling module, an application controlling module and a window managing module. The technical solution of the present invention can avoid the system collapse caused by the resource contention.

Description

一种智能分屏的并发处理方法及相应的智能终端Concurrent processing method of intelligent split screen and corresponding intelligent terminal 技术领域Technical field
本文涉及智能分屏的并发处理技术领域,更具体地,涉及智能分屏的并发处理方法及相应的智能终端。This document relates to the field of concurrent processing technology of intelligent split screen, and more specifically, to a concurrent processing method of intelligent split screen and a corresponding intelligent terminal.
背景技术Background technique
随着智能终端如Android智能终端的普及,以及移动互联网时代的到来,手机终端和平板电脑越来越成为个人的信息中心和娱乐中心。就智能终端的发展趋势来看,主要向着两类方向在演进,一类是以轻薄小巧,长航时的续航为特点的轻手机方向;一类是大屏幕,高分辨率,强劲的处理能力和存储能力的PC化终端方向,这方面以大屏手机和平板电脑为代表。With the popularity of smart terminals such as Android smart terminals and the advent of the mobile Internet era, mobile terminals and tablets have increasingly become personal information centers and entertainment centers. As far as the development trend of smart terminals is concerned, it is mainly evolving in two types of directions. One is the direction of light mobile phones characterized by light and small, long-haul battery life; the other is large screen, high resolution, and powerful processing capability. And the storage terminal's PC-oriented terminal direction, which is represented by large-screen mobile phones and tablets.
就目前手机的硬件配置水平而言,处理能力和计算能力已经和个人PC不相上下,但是操作系统如Android系统提供的应用程序管理方法,从本质上说还是单任务机制,无法做到多个应用程序或者说多个任务窗口同时运行。该机制对于目前在大屏幕终端上的需求无法满足,并且造成系统资源浪费。在此背景下,智能分屏技术应运而生。As far as the current hardware configuration level of the mobile phone is concerned, the processing power and computing power are comparable to those of the personal PC, but the application management method provided by the operating system such as the Android system is essentially a single task mechanism, and cannot be implemented multiple times. The application or multiple task windows run simultaneously. This mechanism cannot meet the current demand for large-screen terminals and wastes system resources. In this context, intelligent split screen technology came into being.
所谓智能分屏技术,即在相关的手机操作系统框架上,实现了多个任务同时运行,通过智能分屏技术,在手机屏幕上同时呈现多个应用窗口,每个应用窗口有自己的应用管理机制,各自维护自身窗口所在应用的生命周期,资源调度,输入输出,存储控制。通过智能分屏技术,能将一台智能终端虚拟为多台智能终端,每台虚拟出来的智能终端拥有独立的输入输出和任务管控机制,从而满足了用户在大屏机上同时使用多个应用的需求,也最大限度地发挥了硬件资源的效率。The so-called intelligent split-screen technology, that is, on the framework of the relevant mobile operating system, realizes multiple tasks running at the same time. Through the intelligent split-screen technology, multiple application windows are simultaneously presented on the screen of the mobile phone, and each application window has its own application management. Mechanisms, each maintaining the life cycle of the application where the window is located, resource scheduling, input and output, and storage control. Through the intelligent split screen technology, one intelligent terminal can be virtualized into multiple intelligent terminals, and each virtualized intelligent terminal has independent input and output and task management and control mechanism, thereby satisfying the user to use multiple applications simultaneously on the large screen machine. Demand also maximizes the efficiency of hardware resources.
但是,目前的智能分屏技术来说,由于可以允许两个应用处于运行状态,因此同一个应用会有可能被同时在分屏的两个窗口进行启动,如果不进行并发状态的管理,则会出现资源产生同抢,从而引起系统崩溃。However, in the current intelligent split screen technology, since two applications can be allowed to run, the same application may be started simultaneously in two windows of the split screen. If the concurrent state management is not performed, The occurrence of resources is the same as grabbing, causing the system to crash.
从智能终端如Android智能终端的常用场景来看,尤其是大屏幕终端在 支持分屏功能后,用户经常会有如下使用场景:From the common scenes of smart terminals such as Android smart terminals, especially large screen terminals After the split screen function is supported, users often have the following usage scenarios:
用户在使用一个应用时,也有可能试图再启动同样的应用进行分屏,此时需要对此类并发做处理,避免系统维护应用的生命周期产生冲突。When an application is used by a user, it is also possible to try to start the same application for splitting. In this case, such concurrent processing needs to be processed to avoid conflicts in the life cycle of the system maintenance application.
用户在使用手电筒的过程中,与照相机模块进行分屏,由于照相机模块也需要占用闪光灯资源,此时产生了硬件设备的访问控制冲突,如果不对类似并发场景进行处理,也会引起系统崩溃。In the process of using the flashlight, the user splits the screen with the camera module. Since the camera module also needs to occupy the flash resource, the access control conflict of the hardware device is generated at this time. If the similar concurrent scene is not processed, the system may also be crashed.
用户在使用音乐播放器的同时,在进行文件管理器的浏览,当浏览到合适的音频文件时,用户点击播放,此时会同时启动两个音乐播放器应用,如果对该类并发不加以处理,会导致系统资源产生同抢引起系统崩溃。While using the music player, the user is browsing in the file manager. When browsing to the appropriate audio file, the user clicks on the play, and at the same time, two music player applications are started at the same time, if the concurrent processing of the class is not processed , will cause system resources to generate the same system to crash.
类似的使用场景还有很多,但是在相关智能分屏技术下,由于智能终端操作系统机制的限制,无法做到同时对同一个应用进行分屏处理。There are many similar usage scenarios, but under the relevant intelligent split screen technology, due to the limitation of the operating system mechanism of the smart terminal, it is impossible to perform split screen processing on the same application at the same time.
发明内容Summary of the invention
本发明要解决的技术问题是提供一种智能分屏的并发处理方法及相应的智能终端,以避免上述资源同抢引起的系统崩溃。The technical problem to be solved by the present invention is to provide a method for concurrent processing of intelligent split screens and corresponding intelligent terminals, so as to avoid system collapse caused by the above resources.
为了解决上述问题,采用如下技术方案:In order to solve the above problems, the following technical solutions are adopted:
一种智能分屏的并发处理方法,应用于智能终端,包括:A method for concurrent processing of intelligent split screens, which is applied to intelligent terminals, including:
在分屏模式下,所述智能终端接收到在一窗口启动一个应用的指令;In the split screen mode, the smart terminal receives an instruction to start an application in a window;
判断除所述窗口以外的其他窗口正在前台运行的应用中是否存在该应用的同名应用:Determining whether an application of the same name of the application exists in an application running in the foreground other than the window:
如果存在,停止启动该应用;If it does, stop launching the app;
如果不存在,在该窗口启动该应用。If it does not exist, launch the app in this window.
可选地,所述停止启动该应用的步骤之后,该方法还包括:提示用户该应用已经启动。Optionally, after the step of stopping the launching of the application, the method further includes: prompting the user that the application has been started.
可选地,所述在该窗口启动该应用的步骤之后,该方法还包括:Optionally, after the step of starting the application in the window, the method further includes:
该应用启动时,判断该应用启动依赖的资源是否被另一应用所独占: When the application starts, it is determined whether the resource that the application starts to depend on is exclusive to another application:
如果该应用启动依赖的资源被另一应用所独占,终止该应用的启动;If the application-initiated dependent resource is monopolized by another application, the startup of the application is terminated;
如果该应用启动依赖的资源没有被另一应用所独占,继续该应用的启动。If the application-initiated dependent resource is not monopolized by another application, continue the application's startup.
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的智能分屏的并发处理方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the concurrent processing method of any of the intelligent split screens described above.
一种载有所述计算机程序的载体。A carrier carrying the computer program.
一种智能分屏的并发处理方法,应用于智能终端,包括:A method for concurrent processing of intelligent split screens, which is applied to intelligent terminals, including:
在分屏模式下,所述智能终端接收到在一窗口调用一个应用的指令;In the split screen mode, the smart terminal receives an instruction to invoke an application in a window;
判断除所述窗口之外的其他窗口正在前台运行的应用中是否存在该应用的同名应用:Determining whether an application of the same name of the application exists in an application running in the foreground other than the window:
如果存在,将该其他窗口正在前台运行的该同名应用转为锁定状态,并在该窗口启动该应用;If it exists, the same-named application that the other window is running in the foreground is turned into a locked state, and the application is started in the window;
如果不存在,直接在该窗口启动该应用。If it does not exist, launch the application directly in this window.
可选地,所述将其他窗口正在前台运行的该同名应用转为锁定状态,并在该窗口启动该应用的步骤之后,该方法还包括:Optionally, the step of converting the same-named application that is running in the foreground to the locked state, and after the step of starting the application in the window, the method further includes:
在该窗口中的该应用运行结束后,恢复该其他窗口中处于锁定状态的该同名应用的运行。After the application in the window finishes running, the running of the same-named application in the locked state in the other window is resumed.
一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行上述任意的智能分屏的并发处理方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the concurrent processing method of any of the intelligent split screens described above.
一种载有所述计算机程序的载体。A carrier carrying the computer program.
一种智能终端,该终端具有智能分屏功能,包括并发控制模块、应用控制模块和窗口管理模块,其中: An intelligent terminal having a smart split screen function, including a concurrency control module, an application control module, and a window management module, wherein:
所述应用控制模块设置成:在分屏模式下,根据接收到的在一窗口启动一个应用的指令向所述窗口管理模块查询到该窗口的信息,向所述并发控制模块发送启动该应用的请求,该请求携带该窗口的信息;及根据所述并发控制模块返回的指令后,停止启动该应用或在该窗口启动该应用;The application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to the received instruction to start an application in a window, and send the concurrent control module to start the application. Requesting, the request carries information of the window; and after starting the instruction returned by the concurrent control module, stopping starting the application or launching the application in the window;
所述并发控制模块设置成:收到所述应用控制模块发送的所述启动该应用的请求后,从所述窗口管理模块查询到除所述窗口以外的其他窗口正在前台运行的应用,判断除所述窗口以外的其他窗口正在前台运行的应用中是否存在该应用的同名应用,如果存在,向所述应用控制模块返回停止启动该应用的指令,如果不存在,向所述应用控制模块返回启动该应用的指令;The concurrency control module is configured to: after receiving the request for starting the application sent by the application control module, query from the window management module to an application that is running in the foreground other than the window, and determine Whether the window other than the window is in the foreground running application, whether there is an application of the same name of the application, and if so, returning an instruction to stop the application to the application control module, if not, returning to the application control module The instructions of the application;
所述窗口管理模块设置成:维护本窗口运行的应用及其运行状态信息,及在分屏状态下,记录用户启动应用的窗口及该窗口下运行的应用。The window management module is configured to: maintain an application running in the window and its running state information, and in the split screen state, record a window in which the user launches the application and an application running under the window.
可选地,所述应用控制模块还设置成:停止启动该应用之后,提示用户该应用已经启动。Optionally, the application control module is further configured to: after stopping starting the application, prompting the user that the application has been started.
可选地,该智能终端还包括:资源控制模块,其中,Optionally, the smart terminal further includes: a resource control module, where
所述资源控制模块设置成:收到所述应用控制模块为启动该应用发送的资源请求后,判断该应用启动依赖的资源是否被另一应用所独占,如果该应用启动依赖的资源被另一应用所独占,向所述应用控制模块返回请求失败的响应,如果该应用启动依赖的资源没成被另一应用所独占,完成资源初始化后,向所述应用控制模块返回请求成功的响应;The resource control module is configured to: after receiving the resource request sent by the application control module to start the application, determine whether the resource that the application starts to depend on is exclusive to another application, if the application starts the dependent resource by another The application is exclusive, and the response to the request failure is returned to the application control module. If the resource that the application starts to depend on is not occupied by another application, after the resource initialization is completed, the response to the request is returned to the application control module.
所述应用控制模块还设置成:在该窗口启动该应用之后,向所述资源控制模块发送启动该应用的资源请求;还在收到所述资源控制模块反馈的所述请求失败的响应后,终止该应用的启动;在收到所述资源控制模块反馈的所述请求成功的响应后,继续该应用的启动。The application control module is further configured to: after the window starts the application, send a resource request for starting the application to the resource control module; and after receiving the response of the request failure reported by the resource control module, Terminating the startup of the application; after receiving the successful response of the request fed back by the resource control module, continuing the startup of the application.
一种具有智能分屏功能的智能终端,包括并发控制模块、应用控制模块和窗口管理模块,其中: An intelligent terminal with intelligent split screen function includes a concurrency control module, an application control module and a window management module, wherein:
所述应用控制模块设置成:在分屏模式下,根据接收到的在一窗口调用一个应用的指令向所述窗口管理模块查询到该窗口的信息,向所述并发控制模块发送调用该应用的请求,携带该窗口的信息;及根据所述并发控制模块返回的指令,将其他窗口正在前台运行的同名应用转为锁定状态并在该窗口启动该应用,或直接在该窗口启动该应用;The application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to the received instruction for calling an application in a window, and send the calling control module to the concurrent control module to invoke the application. Requesting, carrying the information of the window; and according to the instruction returned by the concurrent control module, converting the application of the same name that is running in the foreground to another window and locking the application in the window, or directly starting the application in the window;
所述并发控制模块设置成:在收到所述调用该应用的请求后,从所述窗口管理模块查询到除所述窗口以外的其他窗口正在前台运行的应用,判断除所述窗口以外的其他窗口正在前台运行的应用中是否存在该应用的同名应用,如果存在,向所述应用控制模块返回锁定该同名应用并启动该应用的指令,如果不存在,向所述应用控制模块返回启动该应用的指令;The concurrency control module is configured to: after receiving the request to invoke the application, query from the window management module to an application that is running in the foreground other than the window, and determine other than the window Whether the application of the same name of the application exists in the application running in the foreground, and if so, returns an instruction to lock the application of the same name and start the application to the application control module, and if not, returns to the application control module to start the application Instruction
所述窗口管理模块设置成:维护本窗口运行的应用及其运行状态信息,及在分屏状态下,记录用户启动应用的窗口及该窗口下运行的应用。The window management module is configured to: maintain an application running in the window and its running state information, and in the split screen state, record a window in which the user launches the application and an application running under the window.
可选地,所述应用控制模块还设置成:Optionally, the application control module is further configured to:
将除所述窗口以外的其他窗口正在前台运行的该同名应用转为锁定状态,并在该窗口启动该应用之后,在该窗口中的该应用运行结束后,恢复除所述窗口以外的其他窗口中处于锁定状态的该同名应用的运行。Converting the same-named application that is running in the foreground except the window to a locked state, and after the application is started in the window, restoring the window other than the window after the application in the window ends The running of the same-named application in the locked state.
上述智能分屏的并发处理方法及智能终端,在分屏场景下,对相同应用的并发提出了完善的并发处理机制,进一步完善了分屏功能,避免了系统资源的同抢,防止系统崩溃,也有效提升了该场景下的用户体验。The above-mentioned intelligent split screen concurrent processing method and intelligent terminal, in the split screen scenario, propose a perfect concurrent processing mechanism for concurrent application of the same application, further perfecting the split screen function, avoiding the same system resources and preventing system collapse. It also effectively improves the user experience in this scenario.
附图概述BRIEF abstract
图1是本发明实施例一智能分屏的并发处理方法的流程图;1 is a flowchart of a method for concurrent processing of an intelligent split screen according to an embodiment of the present invention;
图2是本发明实施例一智能终端的模块图;2 is a block diagram of a smart terminal according to an embodiment of the present invention;
图3是本发明实施例二智能分屏的并发处理方法的流程图。FIG. 3 is a flowchart of a method for concurrent processing of an intelligent split screen according to Embodiment 2 of the present invention.
本发明的较佳实施方式 Preferred embodiment of the invention
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the features in the embodiments and the embodiments in the present application may be arbitrarily combined with each other.
实施例一Embodiment 1
本实施例智能分屏的并发处理方法涉及在分屏模式下启动一个新的应用时的处理,其流程如图1所示,包括:The concurrent processing method of the intelligent split screen in this embodiment relates to the processing when starting a new application in the split screen mode, and the flow thereof is as shown in FIG. 1 and includes:
步骤110,在分屏模式下,接收到用户在一窗口启动一个应用的指令; Step 110, in the split screen mode, receiving an instruction that the user starts an application in a window;
步骤120,判断其他窗口正在前台运行的应用中是否存在该应用的同名应用,如果存在,执行步骤130,如果不存在,执行步骤140:In step 120, it is determined whether there is an application of the same name of the application in the application running in the foreground. If yes, step 130 is performed. If not, step 140 is performed:
本步骤中,可以通过查询其他窗口正在前台运行的应用的包名,如果其中存在有应用的包名与试图启动的应用的包名相同,即存在同名应用,则证明用户试图启动的应用正在其他窗口做前台运行,应当停止启动该应用。In this step, you can query the package name of the application that is running in the foreground by other windows. If there is an application whose package name is the same as the package name of the application that is trying to start, that is, if the application with the same name exists, it proves that the application that the user is trying to start is in the other. The window is running in the foreground and should stop starting the application.
步骤130,停止启动该应用,结束; Step 130, stop starting the application, and end;
在停止启动该应用之后,还可以提示用户,表明该应用已经启动。After stopping the launch of the application, the user can also be prompted to indicate that the application has been launched.
步骤140,在该窗口启动该应用; Step 140, starting the application in the window;
在该窗口启动该应用之后,还可以包括:该应用启动过程中,判断该应用启动依赖的资源是否被另一应用所独占:如果是,终止该应用的启动;如果否,继续该应用的启动。例如,在分屏模式下,如果先启动了对硬件资源有独占性的应用(比如手电筒等使用硬件资源的应用),再启动同样需要占用该硬件资源的应用时,会在该应用进行初始化时出现异常,此时会终止该应用的启动,并可提示用户启动失败的原因,以可以避免硬件设备的访问控制冲突引起的系统崩溃。After the application is started in the window, the method may further include: determining, during the startup process of the application, whether the resource dependent on the application startup is exclusive to another application: if yes, terminating the startup of the application; if not, continuing the startup of the application . For example, in split-screen mode, if an application that is exclusive to hardware resources (such as an application that uses hardware resources such as a flashlight) is started, and an application that also needs to occupy the hardware resource is started, it will be initialized when the application is initialized. An exception occurs, which terminates the startup of the application and prompts the user to start the failure, so as to avoid system crash caused by the access control conflict of the hardware device.
相应地,本实施例的智能终端如图2所示,包括:Correspondingly, the smart terminal of this embodiment, as shown in FIG. 2, includes:
应用控制模块10,设置成:在分屏模式下,根据用户在一窗口启动一个应用的指令向所述窗口管理模块查询到该窗口的信息,向所述并发控制模块发送启动该应用的请求,携带该窗口的信息;及根据所述并发控制模块返回 的指令后,停止启动该应用或在该窗口启动该应用。The application control module 10 is configured to: in the split screen mode, query the window management module for information about the window according to an instruction of the user to start an application in a window, and send a request for starting the application to the concurrent control module, Carrying information of the window; and returning according to the concurrent control module After the instruction, stop launching the application or launch the application in the window.
并发控制模块20,设置成:收到所述启动该应用的请求后,从所述窗口管理模块查询到其他窗口正在前台运行的应用,判断其中是否存在该应用的同名应用,如果存在,返回停止启动该应用的指令,如果不存在,返回启动该应用的指令。The concurrency control module 20 is configured to: after receiving the request to start the application, query from the window management module to an application that is running in the foreground of other windows, determine whether there is an application with the same name of the application, and if yes, return to stop The instruction to start the application, if not present, returns an instruction to start the application.
窗口管理模块30,设置成:维护本窗口运行的应用及其运行状态信息,及在分屏状态下,记录用户启动应用的窗口。The window management module 30 is configured to: maintain an application running in the window and its running status information, and record a window for the user to launch the application in the split screen state.
较佳地,Preferably,
所述应用控制模块停止启动该应用之后,还包括:提示用户该应用已经启动。该提示可以由应用控制模块发出,也可以由应用控制模块向并发处理系统返回一个状态信息,通过并发处理系统提示用户该应用已经启动,不允许重复启动。After the application control module stops starting the application, the method further includes: prompting the user that the application has been started. The prompt may be sent by the application control module, or the application control module may return a status information to the concurrent processing system, and the concurrent processing system prompts the user that the application has been started, and the repeated startup is not allowed.
较佳地,Preferably,
所述智能终端还包括:资源控制模块,设置成:管理应用的资源,收到所述应用控制模块为启动该应用发送的资源请求后,判断该应用启动依赖的资源是否被另一应用所独占,如果是,返回请求失败的响应,如果否,完成资源初始化后,返回请求成功的响应。资源控制模块收到资源请求后,会为应用申请对应的资源,包括图片资源读取和缓存,数据库文件的缓存,状态记录信息文件创建、硬件设备资源库的初始化等。The smart terminal further includes: a resource control module, configured to: manage a resource of the application, and after receiving the resource request sent by the application control module to start the application, determine whether the resource dependent on the application startup is monopolized by another application. If yes, return the response of the request failure. If no, after the resource initialization is completed, the response of the request is returned successfully. After receiving the resource request, the resource control module will apply for corresponding resources for the application, including image resource reading and caching, database file caching, status record information file creation, and hardware device resource library initialization.
所述应用控制模块在该窗口启动该应用之后,还包括:向所述资源控制模块发送启动该应用的资源请求,如收到请求失败的响应,则终止该应用的启动;如果收到请求成功的响应,则继续该应用的启动。After the application control module starts the application, the method further includes: sending a resource request for starting the application to the resource control module, and if the response to the request failure is received, terminating the application; if the request is successfully received The response continues with the launch of the app.
实施例二Embodiment 2
本实施例智能分屏的并发处理方法涉及在分屏模式下,在一窗口调用一个应用时的处理,其流程如图3所示,包括:The concurrent processing method of the intelligent split screen in this embodiment relates to the processing when an application is called in a window in the split screen mode, and the flow thereof is as shown in FIG. 3, including:
步骤210,在分屏模式下,接收到用户在一窗口调用一个应用的指令; Step 210, in the split screen mode, receiving an instruction that the user invokes an application in a window;
步骤220,判断其他窗口正在前台运行的应用中是否存在该应用的同名应用,如果存在,执行步骤230,如果不存在,执行步骤240; Step 220, it is determined whether the application of the same name is in the application running in the foreground, if it exists, step 230 is performed, if not, step 240 is performed;
步骤230,将其他窗口正在前台运行的该应用的同名应用转为锁定状态,并在该窗口启动该应用,结束;Step 230: Convert the application of the same name of the application that is running in the foreground to the lock state, and start the application in the window, and end;
本步骤之后,在该窗口中的该应用运行结束后,可以自动恢复其他窗口中处于锁定状态的该应用的同名应用的运行。After this step, after the application in the window is finished running, the running of the application with the same name of the application in the locked state in other windows can be automatically restored.
步骤240,直接在该窗口启动该应用。In step 240, the application is launched directly in the window.
无论在步骤230还是步骤240启动该应用之后,均可以向所述资源控制模块发送启动该应用的资源请求,如收到请求失败的响应,则终止该应用的启动;如果收到请求成功的响应,则继续该应用的启动。After the application is started in step 230 or step 240, a resource request for starting the application may be sent to the resource control module, and if the response to the request failure is received, the application is terminated; if the request is successfully received , then continue the launch of the app.
本实施例是用户在分屏模式下,通过其他应用的调用途经,最终调用到正在其他窗口前台运行的同一个应用时的处理。具体场景例如用户在使用音乐播放器的同时,在进行文件管理器的浏览,当浏览到合适的音频文件时,用户点击播放,智能终端在启动应用之前查询其他窗口正在前台运行的应用的包名,如果试图启动的应用的包名和其他窗口正在前台运行的应用的包名相同,则证明用户试图启动的应用的同名应用正在其他窗口前台运行,此时可将原来运行的同名应用从运行状态转为锁定状态,允许用户启动该应用,当该应用运行结束即退出后,恢复原来被锁定的同名应用恢复运行。This embodiment is a process in which the user in the split screen mode, through the use of other applications, and finally calls to the same application running in the foreground of other windows. Specific scenes, for example, when the user uses the music player, while browsing the file manager, when browsing to the appropriate audio file, the user clicks to play, and the smart terminal queries the package name of the application that the other window is running in the foreground before starting the application. If the package name of the application that is trying to start is the same as the package name of the application that is running in the foreground, the application with the same name of the application that the user is trying to start is running in the foreground of the other window. In this case, the application of the same name that was originally run can be transferred from the running state. In the locked state, the user is allowed to start the application, and when the application is finished, the application with the same name that is locked is resumed.
本实施例智能终端也包括并发控制模块、应用控制模块和窗口管理模块(可参照图3),其中:The intelligent terminal of this embodiment also includes a concurrency control module, an application control module, and a window management module (refer to FIG. 3), wherein:
应用控制模块,设置成:在分屏模式下,根据用户在一窗口调用一个应用的指令向所述窗口管理模块查询到该窗口的信息,向所述并发控制模块发送调用该应用的请求,携带该窗口的信息;及根据所述并发控制模块返回的指令,将其他窗口正在前台运行的该应用的同名应用转为锁定状态并在该窗口启动该应用,或直接在该窗口启动该应用。The application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to an instruction of the user calling an application in a window, and send a request for calling the application to the concurrent control module, and carry The information of the window; and according to the instruction returned by the concurrency control module, the application of the same name of the application that is running in the foreground is turned into a locked state and the application is started in the window, or the application is started directly in the window.
并发控制模块,设置成:在收到所述调用该应用的请求后,从所述窗口管理模块查询到其他窗口正在前台运行的应用,判断其中是否存在该应用的 同名应用,如果存在,返回锁定该应用的同名应用并启动该应用的指令,如果不存在,返回启动该应用的指令。The concurrency control module is configured to: after receiving the request for invoking the application, querying, by the window management module, an application that is running in the foreground by another window, and determining whether the application exists An application of the same name, if present, returns an instruction to lock the application of the same name and launch the application, and if not, returns an instruction to start the application.
窗口管理模块,设置成:维护本窗口运行的应用及其运行状态信息,及在分屏状态下,记录用户启动应用的窗口。The window management module is configured to: maintain the application running in the window and its running status information, and record the window of the user launching the application in the split screen state.
较佳地,Preferably,
所述应用控制模块在该窗口中的该应用运行结束后,恢复其他窗口中处于锁定状态的该应用的同名应用的运行。After the application running in the window ends, the application control module restores the running of the application of the same name of the application in the locked state in the other window.
上述实施例提出的终端智能分屏的并发处理方法及相应的智能终端,通过对在分屏状态下的应用并发流程进行多层级的管控,从应用启动层面,应用调用层面和底层硬件资源库层面多维度保证了并发场景下的资源调度和状态维护正常,从而避免系统崩溃。The concurrent processing method for the terminal intelligent split screen proposed by the foregoing embodiment and the corresponding intelligent terminal perform multi-level management and control on the application concurrent flow in the split screen state, from the application startup level, the application calling level and the bottom hardware resource library level Multi-dimensionality ensures that resource scheduling and state maintenance under concurrent scenarios are normal, thus avoiding system crashes.
本领域普通技术人员可以理解上述方法中的全部或部分步骤可通过程序来指令相关硬件完成,所述程序可以存储于计算机可读存储介质中,如只读存储器、磁盘或光盘等。可选地,上述实施例的全部或部分步骤也可以使用一个或多个集成电路来实现,相应地,上述实施例中的各模块/单元可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本发明不限制于任何特定形式的硬件和软件的结合。One of ordinary skill in the art will appreciate that all or a portion of the steps described above can be accomplished by a program that instructs the associated hardware, such as a read-only memory, a magnetic or optical disk, and the like. Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits. Accordingly, each module/unit in the foregoing embodiment may be implemented in the form of hardware, or may be implemented by using a software function module. Formal realization. The invention is not limited to any specific form of combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
上述智能分屏的并发处理方法及智能终端,在分屏场景下,对相同应用的并发提出了完善的并发处理机制,进一步完善了分屏功能,避免了系统资源的同抢,防止系统崩溃,也有效提升了该场景下的用户体验。因此本发明具有很强的工业实用性。 The above-mentioned intelligent split screen concurrent processing method and intelligent terminal, in the split screen scenario, propose a perfect concurrent processing mechanism for concurrent application of the same application, further perfecting the split screen function, avoiding the same system resources and preventing system collapse. It also effectively improves the user experience in this scenario. Therefore, the present invention has strong industrial applicability.

Claims (14)

  1. 一种智能分屏的并发处理方法,应用于智能终端,包括:A method for concurrent processing of intelligent split screens, which is applied to intelligent terminals, including:
    在分屏模式下,所述智能终端接收到在一窗口启动一个应用的指令;In the split screen mode, the smart terminal receives an instruction to start an application in a window;
    判断除所述窗口以外的其他窗口正在前台运行的应用中是否存在该应用的同名应用:Determining whether an application of the same name of the application exists in an application running in the foreground other than the window:
    如果存在,停止启动该应用;If it does, stop launching the app;
    如果不存在,在该窗口启动该应用。If it does not exist, launch the app in this window.
  2. 如权利要求1所述的能分屏的并发处理方法,其中,所述停止启动该应用的步骤之后,该方法还包括:提示用户该应用已经启动。The split-screen concurrent processing method according to claim 1, wherein after the step of stopping the launching of the application, the method further comprises: prompting the user that the application has been started.
  3. 如权利要求1所述的能分屏的并发处理方法,其中,所述在该窗口启动该应用的步骤之后,该方法还包括:The split-screen concurrent processing method according to claim 1, wherein after the step of starting the application by the window, the method further comprises:
    该应用启动时,判断该应用启动依赖的资源是否被另一应用所独占:When the application starts, it is determined whether the resource that the application starts to depend on is exclusive to another application:
    如果该应用启动依赖的资源被另一应用所独占,终止该应用的启动;If the application-initiated dependent resource is monopolized by another application, the startup of the application is terminated;
    如果该应用启动依赖的资源没有被另一应用所独占,继续该应用的启动。If the application-initiated dependent resource is not monopolized by another application, continue the application's startup.
  4. 一种智能分屏的并发处理方法,应用于智能终端,包括:A method for concurrent processing of intelligent split screens, which is applied to intelligent terminals, including:
    在分屏模式下,所述智能终端接收到在一窗口调用一个应用的指令;In the split screen mode, the smart terminal receives an instruction to invoke an application in a window;
    判断除所述窗口之外的其他窗口正在前台运行的应用中是否存在该应用的同名应用:Determining whether an application of the same name of the application exists in an application running in the foreground other than the window:
    如果存在,将该其他窗口正在前台运行的该同名应用转为锁定状态,并在该窗口启动该应用;If it exists, the same-named application that the other window is running in the foreground is turned into a locked state, and the application is started in the window;
    如果不存在,直接在该窗口启动该应用。If it does not exist, launch the application directly in this window.
  5. 如权利要求4所述的能分屏的并发处理方法,其中,所述将其他窗口正在前台运行的该同名应用转为锁定状态,并在该窗口启动该应用的步骤之后,该方法还包括:The split-screen concurrent processing method according to claim 4, wherein the method of converting the same-named application whose other window is running in the foreground into a locked state, and after the step of starting the application in the window, the method further comprises:
    在该窗口中的该应用运行结束后,恢复该其他窗口中处于锁定状态的该 同名应用的运行。After the application in the window finishes running, restore the locked state in the other window The running of the application with the same name.
  6. 一种智能终端,该终端具有智能分屏功能,包括并发控制模块、应用控制模块和窗口管理模块,其中:An intelligent terminal having a smart split screen function, including a concurrency control module, an application control module, and a window management module, wherein:
    所述应用控制模块设置成:在分屏模式下,根据接收到的在一窗口启动一个应用的指令向所述窗口管理模块查询到该窗口的信息,向所述并发控制模块发送启动该应用的请求,该请求携带该窗口的信息;及根据所述并发控制模块返回的指令后,停止启动该应用或在该窗口启动该应用;The application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to the received instruction to start an application in a window, and send the concurrent control module to start the application. Requesting, the request carries information of the window; and after starting the instruction returned by the concurrent control module, stopping starting the application or launching the application in the window;
    所述并发控制模块设置成:收到所述应用控制模块发送的所述启动该应用的请求后,从所述窗口管理模块查询到除所述窗口以外的其他窗口正在前台运行的应用,判断除所述窗口以外的其他窗口正在前台运行的应用中是否存在该应用的同名应用,如果存在,向所述应用控制模块返回停止启动该应用的指令,如果不存在,向所述应用控制模块返回启动该应用的指令;The concurrency control module is configured to: after receiving the request for starting the application sent by the application control module, query from the window management module to an application that is running in the foreground other than the window, and determine Whether the window other than the window is in the foreground running application, whether there is an application of the same name of the application, and if so, returning an instruction to stop the application to the application control module, if not, returning to the application control module The instructions of the application;
    所述窗口管理模块设置成:维护本窗口运行的应用及其运行状态信息,及在分屏状态下,记录用户启动应用的窗口及该窗口下运行的应用。The window management module is configured to: maintain an application running in the window and its running state information, and in the split screen state, record a window in which the user launches the application and an application running under the window.
  7. 如权利要求6所述的智能终端,其中,所述应用控制模块还设置成:停止启动该应用之后,提示用户该应用已经启动。The smart terminal of claim 6, wherein the application control module is further configured to: after stopping the launching of the application, prompting the user that the application has been started.
  8. 如权利要求6所述的智能终端,该智能终端还包括:资源控制模块,其中,The intelligent terminal of claim 6, further comprising: a resource control module, wherein
    所述资源控制模块设置成:收到所述应用控制模块为启动该应用发送的资源请求后,判断该应用启动依赖的资源是否被另一应用所独占,如果该应用启动依赖的资源被另一应用所独占,向所述应用控制模块返回请求失败的响应,如果该应用启动依赖的资源没成被另一应用所独占,完成资源初始化后,向所述应用控制模块返回请求成功的响应;The resource control module is configured to: after receiving the resource request sent by the application control module to start the application, determine whether the resource that the application starts to depend on is exclusive to another application, if the application starts the dependent resource by another The application is exclusive, and the response to the request failure is returned to the application control module. If the resource that the application starts to depend on is not occupied by another application, after the resource initialization is completed, the response to the request is returned to the application control module.
    所述应用控制模块还设置成:在该窗口启动该应用之后,向所述资源控制模块发送启动该应用的资源请求;还在收到所述资源控制模块反馈的所述请求失败的响应后,终止该应用的启动;在收到所述资源控制模块反馈的所述请求成功的响应后,继续该应用的启动。 The application control module is further configured to: after the window starts the application, send a resource request for starting the application to the resource control module; and after receiving the response of the request failure reported by the resource control module, Terminating the startup of the application; after receiving the successful response of the request fed back by the resource control module, continuing the startup of the application.
  9. 一种具有智能分屏功能的智能终端,包括并发控制模块、应用控制模块和窗口管理模块,其中:An intelligent terminal with intelligent split screen function includes a concurrency control module, an application control module and a window management module, wherein:
    所述应用控制模块设置成:在分屏模式下,根据接收到的在一窗口调用一个应用的指令向所述窗口管理模块查询到该窗口的信息,向所述并发控制模块发送调用该应用的请求,携带该窗口的信息;及根据所述并发控制模块返回的指令,将其他窗口正在前台运行的同名应用转为锁定状态并在该窗口启动该应用,或直接在该窗口启动该应用;The application control module is configured to: in the split screen mode, query the window management module to query the information of the window according to the received instruction for calling an application in a window, and send the calling control module to the concurrent control module to invoke the application. Requesting, carrying the information of the window; and according to the instruction returned by the concurrent control module, converting the application of the same name that is running in the foreground to another window and locking the application in the window, or directly starting the application in the window;
    所述并发控制模块设置成:在收到所述调用该应用的请求后,从所述窗口管理模块查询到除所述窗口以外的其他窗口正在前台运行的应用,判断除所述窗口以外的其他窗口正在前台运行的应用中是否存在该应用的同名应用,如果存在,向所述应用控制模块返回锁定该同名应用并启动该应用的指令,如果不存在,向所述应用控制模块返回启动该应用的指令;The concurrency control module is configured to: after receiving the request to invoke the application, query from the window management module to an application that is running in the foreground other than the window, and determine other than the window Whether the application of the same name of the application exists in the application running in the foreground, and if so, returns an instruction to lock the application of the same name and start the application to the application control module, and if not, returns to the application control module to start the application Instruction
    所述窗口管理模块设置成:维护本窗口运行的应用及其运行状态信息,及在分屏状态下,记录用户启动应用的窗口及该窗口下运行的应用。The window management module is configured to: maintain an application running in the window and its running state information, and in the split screen state, record a window in which the user launches the application and an application running under the window.
  10. 如权利要求9所述的智能终端,其中,所述应用控制模块还设置成:The intelligent terminal of claim 9, wherein the application control module is further configured to:
    将除所述窗口以外的其他窗口正在前台运行的该同名应用转为锁定状态,并在该窗口启动该应用之后,在该窗口中的该应用运行结束后,恢复除所述窗口以外的其他窗口中处于锁定状态的该同名应用的运行。Converting the same-named application that is running in the foreground except the window to a locked state, and after the application is started in the window, restoring the window other than the window after the application in the window ends The running of the same-named application in the locked state.
  11. 一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行如权利要求1-3中任一项所述的智能分屏的并发处理方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the concurrent processing method of the smart split screen according to any one of claims 1-3.
  12. 一种载有如权利要求11所述计算机程序的载体。A carrier carrying the computer program of claim 11.
  13. 一种计算机程序,包括程序指令,当该程序指令被终端执行时,使得该终端可执行如权利要求4-5中任一项所述的智能分屏的并发处理方法。A computer program comprising program instructions that, when executed by a terminal, cause the terminal to perform the concurrent processing method of the smart split screen according to any one of claims 4-5.
  14. 一种载有如权利要求13所述计算机程序的载体。 A carrier carrying the computer program of claim 13.
PCT/CN2015/074845 2014-10-23 2015-03-23 Concurrent processing method for intelligent split-screen and corresponding intelligent terminal WO2015184902A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410571626.8 2014-10-23
CN201410571626.8A CN105589738A (en) 2014-10-23 2014-10-23 Concurrent processing method of intelligent split screen and corresponding intelligent terminal

Publications (1)

Publication Number Publication Date
WO2015184902A1 true WO2015184902A1 (en) 2015-12-10

Family

ID=54766124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/074845 WO2015184902A1 (en) 2014-10-23 2015-03-23 Concurrent processing method for intelligent split-screen and corresponding intelligent terminal

Country Status (2)

Country Link
CN (1) CN105589738A (en)
WO (1) WO2015184902A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807773A (en) * 2017-10-19 2018-03-16 广东欧珀移动通信有限公司 One kind is using attend to anything else method, apparatus, terminal and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227595A (en) * 2016-07-12 2016-12-14 乐视控股(北京)有限公司 Process the most quick operating method and system
CN108932087B (en) * 2018-06-22 2021-01-08 中广热点云科技有限公司 Desktop split screen system for mobile equipment and implementation method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984404A (en) * 2010-11-04 2011-03-09 东莞宇龙通信科技有限公司 Method and device for controlling parallel running of application programs and terminal having device
CN104049866A (en) * 2014-06-25 2014-09-17 深圳市中兴移动通信有限公司 Mobile terminal and method and device for achieving screen splitting of mobile terminal
CN104115106A (en) * 2011-12-28 2014-10-22 英特尔公司 Hybrid mobile interactions for native apps and web apps

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004075506A1 (en) * 2003-02-19 2004-09-02 Siemens Aktiengesellschaft Method and communication devices for transferring mobile packet orientated data
CN103699312B (en) * 2013-12-30 2017-05-03 中科创达软件股份有限公司 Multi-application foreground running implementation method and device and electronic device
CN104090746B (en) * 2014-05-22 2018-10-02 中兴通讯股份有限公司 A kind of application management method based on android system and its device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101984404A (en) * 2010-11-04 2011-03-09 东莞宇龙通信科技有限公司 Method and device for controlling parallel running of application programs and terminal having device
CN104115106A (en) * 2011-12-28 2014-10-22 英特尔公司 Hybrid mobile interactions for native apps and web apps
CN104049866A (en) * 2014-06-25 2014-09-17 深圳市中兴移动通信有限公司 Mobile terminal and method and device for achieving screen splitting of mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107807773A (en) * 2017-10-19 2018-03-16 广东欧珀移动通信有限公司 One kind is using attend to anything else method, apparatus, terminal and storage medium

Also Published As

Publication number Publication date
CN105589738A (en) 2016-05-18

Similar Documents

Publication Publication Date Title
US11803451B2 (en) Application exception recovery
CN108170503B (en) Method, terminal and storage medium for cross-system android application running
TWI573075B (en) Persistent and resilient worker processes
JP5969610B2 (en) Distributed resource management in portable computing devices
US20120210321A1 (en) Dormant Background Applications on Mobile Devices
US9191417B2 (en) Cross-process media handling in a voice-over-internet protocol (VOIP) application platform
WO2020177564A1 (en) Vnf life cycle management method and apparatus
WO2017041649A1 (en) Application deployment method and device
US20240086231A1 (en) Task migration system and method
WO2012148449A1 (en) Automatically installing device drivers
WO2019212696A1 (en) Multithread framework for use in pre-boot environment of a system-on-chip
CN109388475A (en) A kind of dispositions method, device, electronic equipment and the storage medium of physics bare machine
WO2015184902A1 (en) Concurrent processing method for intelligent split-screen and corresponding intelligent terminal
JP6859463B2 (en) Methods, devices, devices and media for launching virtual machines
CN111338829B (en) Calling method and device for remote procedure call service
RU2494446C2 (en) Recovery of control of processing resource, which performs external context of execution
WO2008025198A1 (en) Method, system, and apparatus for communication between a terminal and a server
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
CN104702534A (en) Method and device for processing data of multi-process sharing port
CN111399928B (en) Application program starting method and device, electronic equipment and readable storage medium
CN116932234A (en) Inter-application communication method, device, storage medium and program product
KR20110068302A (en) System and method for controlling access based on shell in unix/linux system
WO2024037553A1 (en) Lifecycle scheduling method and apparatus, and electronic device
JP2002297402A (en) Digital device, task management method and program therefor
CN117762557A (en) Virtual machine creation method, device, electronic equipment and readable storage medium

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: 15802683

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: 15802683

Country of ref document: EP

Kind code of ref document: A1