WO2017076136A1 - Procédé de traitement d'affichage multitâche et appareil de terminal mobile - Google Patents

Procédé de traitement d'affichage multitâche et appareil de terminal mobile Download PDF

Info

Publication number
WO2017076136A1
WO2017076136A1 PCT/CN2016/100195 CN2016100195W WO2017076136A1 WO 2017076136 A1 WO2017076136 A1 WO 2017076136A1 CN 2016100195 W CN2016100195 W CN 2016100195W WO 2017076136 A1 WO2017076136 A1 WO 2017076136A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
message distribution
distribution process
browser
event
Prior art date
Application number
PCT/CN2016/100195
Other languages
English (en)
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 WO2017076136A1 publication Critical patent/WO2017076136A1/fr

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/44Arrangements for executing specific programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present invention relates to user interface (UI) interaction technology, and in particular, to a mobile terminal multi-tasking display processing method and apparatus.
  • UI user interface
  • the multitasking display method is to completely switch the display, that is, create and save a task stack in the background, the top of the stack is the currently executed task process; when there is a new task process
  • the operating system will perform a stack operation on the new task process.
  • the task process at the top of the stack is switched to the background, the new task process is placed on the top of the stack of the task stack, and the task at the top of the stack is in the foreground. display.
  • This task switching display mode is too granular, and has the following disadvantages:
  • the complete task process consumes too many resources during the switchover, such as memory resources, CPU resources, display resources, etc., thus causing the operating system to run slowly and not smoothly;
  • the embodiments of the present invention provide a display processing method and apparatus for multi-tasking of a mobile terminal, which enable the mobile terminal to simultaneously display an interactive interface of multiple task processes to ensure that the user performs WEB browsing.
  • the consistency of the display is a display processing method and apparatus for multi-tasking of a mobile terminal, which enable the mobile terminal to simultaneously display an interactive interface of multiple task processes to ensure that the user performs WEB browsing.
  • An embodiment of the present invention provides a multi-tasking display processing method for a mobile terminal, including: acquiring inter-process communication (IPC) authority; setting a message distribution process in an operating system, and the message distribution process uses IPC mode and application process and browsing. The process is communicated; an event listener interface for monitoring messages sent by the message distribution process is separately set in the application process and the browser process;
  • IPC inter-process communication
  • the method further includes the browser process rendering the content to be displayed to a pre-generated floating window according to the received event message.
  • the method further includes:
  • the message distribution process maintains the mapping table
  • the mapping table includes: an application process that establishes a connection with the message distribution process, and a correspondence between an identity of the browser process and a socket handle.
  • the message distribution process communicates with the application process and the browser process through the IPC mode, including:
  • the message distribution process maps the message to a socket handle corresponding to the browser process according to the mapping table;
  • the message When the browser process sends a message to the message distribution process, the message includes an identity of the application process, and the message distribution process according to the identity of the application process, according to the mapping table The message is mapped to a socket handle corresponding to the identity of the application process.
  • the method further includes:
  • the event listening interface of the application process sends a message of the event to the message distribution process; and the event monitoring interface receives After the message of the message distribution process, the application process parses and executes;
  • the event listening interface of the browser process processes the received message of the message distribution process, and returns the result to the The message distribution process.
  • the method further includes:
  • the browser process After receiving the event message of the message distribution process, the browser process extracts the content to be displayed from the event message before rendering the content to be displayed to the pre-generated floating window.
  • the embodiment of the invention further provides a display processing device for multi-tasking of a mobile terminal, comprising:
  • the permission obtaining unit is configured to obtain the IPC authority
  • a setting unit configured to set a message distribution process in the operating system, where the message distribution process communicates with the application process and the browser process by using an IPC manner; and the application process and the browser process are respectively set to monitor the message distribution process.
  • the display processing unit is configured to: the browser process renders the content to be displayed to the pre-generated floating window according to the received event message.
  • the device further includes:
  • mapping table maintenance unit configured to maintain the mapping table after the message distribution process is started, where the mapping table includes: an application process and a browser process that establish a connection with the message distribution process The correspondence between the identity and the socket handle.
  • the apparatus further includes an execution unit configured to: after the application process sends a message to the message distribution process, the message distribution process maps the message to the browser according to the mapping table.
  • the message When the browser process sends a message to the message distribution process, the message includes the identity of the application process, and the message distribution process is based on the identity of the application process, according to the mapping table. The message is mapped to a socket handle corresponding to the identity of the application process.
  • the execution unit is further configured to: after the application process establishes a connection with the message distribution process, when the event occurs, the event listening interface of the application process sends the event message to the a message distribution process, after the event listening interface receives the message of the message distribution process, the application process parses and executes;
  • the event listening interface of the browser process processes the received message of the message distribution process, and returns the result to the The message distribution process.
  • the device further includes an information extracting unit configured to: after the browser process receives the event message of the message distribution process, before rendering the content to be displayed to the pre-generated floating window, The type of the event is extracted from the event message.
  • the authority acquisition unit, the setting unit, the display processing unit, the mapping table maintenance unit, the execution unit, and the information extraction unit may use a central processing unit (CPU, Central Processing Unit) when performing processing. ), digital signal processor (DSP, Digital Singnal Processor) or programmable logic array (FPGA, Field-Programmable Gate Array) implementation.
  • CPU Central Processing Unit
  • DSP Digital Singnal Processor
  • FPGA Field-Programmable Gate Array
  • a display processing method and apparatus for multi-tasking of a mobile terminal acquires IPC authority; and sets a message distribution process in an operating system, and the message distribution process passes an IPC mode and an application (APP) process and a browser process.
  • Communicating setting an event listening interface for listening to a message sent by the message distribution process in the application process and the browser process; the browser process rendering the content to be displayed to a pre-generated according to the received event message Floating window; in this way, the user can currently disconnect each other while not disconnecting the application currently being processed
  • the networked page forms a floating window display for other applications, and performs selective operations on other applications through the floating window.
  • the embodiment of the present invention uses a lightweight browser to render, which saves system resources. Occupation, because it does not need to disconnect the current application, it also improves the user's consistency in Internet browsing, and the WEB technology used also simplifies development and maintenance.
  • FIG. 1 is a schematic flowchart of an implementation process of a multi-tasking display processing method for a mobile terminal according to an embodiment of the present disclosure
  • FIG. 2 is a schematic view showing a display effect in the advantageous effects of the present invention.
  • FIG. 3 is a schematic structural diagram of a multi-tasking display processing apparatus for a mobile terminal according to an embodiment of the present invention.
  • the IPC authority is obtained first; the message distribution process is set in the operating system, and the message distribution process communicates with the APP process and the browser process through the IPC mode; and is set in the APP process and the browser process.
  • the message distribution process is responsible for process registration and event information routing of the application process and the browser process; the message distribution process serves as a bridge for the APP process to communicate with the browser process, and passes the IPC between the APP process and the browser process.
  • the communication mode is adopted, and the communication mode of the socket is adopted; the message sent by the message distribution process includes: an operation instruction sent by the message distribution process to the APP process, and an event message sent by the message distribution process to the browser process.
  • the embodiment of the present invention is applicable to an operating system environment of IOS and Android.
  • FIG. 1 The implementation flow of the multi-task display processing method of the mobile terminal provided by the embodiment is as shown in FIG. 1 , and the display processing method for the multi-task of the mobile terminal provided by the embodiment includes:
  • Step 101 Obtain IPC authority
  • Step 102 Set a message distribution process in the operating system, where the message distribution process communicates with the APP process and the browser process by using an IPC manner;
  • a message distribution process is set in the operating system, and the message distribution process communicates with the APP process and the browser process through the IPC mode, including:
  • the message distribution process maps the message to a socket handle corresponding to the browser process according to the mapping table;
  • the message When the browser process sends a message to the message distribution process, the message includes an identity of the application process, and the message distribution process according to the identity of the application process, according to the mapping table The message is mapped to a socket handle corresponding to the identity of the application process.
  • Step 103 Set an event listening interface for listening to a message sent by a message distribution process in the application process and the browser process respectively.
  • the message sent by the message distribution process includes: an operation indication sent by the message distribution process to the APP process, and an event message sent by the message distribution process to the browser process; specifically:
  • the event listening interface of the application process sends a message of the event to the message distribution process, and the event monitoring interface receives the event.
  • the message of the message distribution process is parsed and executed by the application process;
  • the event listening interface of the browser process processes the received message of the message distribution process, and returns the result to the The message distribution process.
  • Step 104 The browser process renders content to be displayed according to the received event message. Go to the pre-generated floating window.
  • the method further includes: after the message distribution process is started, the message distribution process maintains the mapping table;
  • the mapping table includes: an application process that establishes a connection with the message distribution process, and a correspondence between an identity of the browser process and a socket handle.
  • the browser process renders the content to be displayed to the pre-generated floating window according to the received event message, and the method further includes:
  • the browser process After receiving the event message of the message distribution process, the browser process extracts the content to be displayed to the pre-generated floating window, and extracts the type of the event from the event message; here, the extracted event The type is related to the information displayed by the floating window and is used for subsequent floating window display.
  • the present invention also provides a preferred embodiment of a multi-tasking display processing method for a mobile terminal.
  • the final effect of the presentation is that the browser notifies the notification of the incoming call event of the voice call process as a layer (DIV) floating window.
  • the form is displayed on the WEB interface, and the user can answer and reject through the floating window.
  • the browsing of the WEB is not interrupted, and the user can continuously read the content of the WEB interface while answering the call.
  • the implementation process is as follows:
  • Step a1 after the mobile device is powered on, it is started before the browser process and the APP process are started.
  • the message distribution process after the mobile device is powered on, it is started before the browser process and the APP process are started.
  • Step a2 after the browser process starts, establish a connection with the message distribution process, and then send its unique identity and process type to the message distribution process for registration.
  • Step a3 after the voice call process is started, establish a connection with the message distribution process, and then send its unique identity and process type to the message distribution process for registration.
  • Step a4 when there is an incoming call, the voice call process encapsulates the incoming call event and the Hypertext Markup Language (HTML) interface that needs to be displayed by the browser into a message, and maps to the message distribution process, and the message distribution process maps the message to the browser process.
  • HTML Hypertext Markup Language
  • the message carries the unique identifier of the voice call process.
  • step a5 after receiving the message, the browser process parses and adds a floating DIV window to the document of the current page, and renders the HTML interface of the message and the event content into the DIV window.
  • step a6 the user operates the floating window, and the browser encapsulates the user's operation into a response message to the message distribution process, and the response message includes the identifier of the voice call process.
  • step a7 the message distribution process maps the response information to the voice call process according to the voice call process identifier in the response detail.
  • step a8 after the voice call process parses out the response message, the control operation is performed according to the content.
  • a display processing method for multi-tasking of a mobile terminal is rendered to a pre-generated floating window, as shown in FIG. 2, so that the user can not disconnect the application currently being processed.
  • the current Internet page forms a floating window display for other applications, and selectively operates other applications through the floating window;
  • the embodiment of the present invention uses a lightweight browser to render, saving The occupation of system resources, because it does not need to disconnect the current application, therefore, also improves the consistency of the user in the Internet browsing, the use of WEB technology, also simplifies development and maintenance.
  • the embodiment of the present invention further provides display processing of multi-tasking of a mobile terminal.
  • the device as shown in FIG. 3, is a multi-tasking display processing device of the mobile terminal, and the device includes:
  • the authority obtaining unit 301 is configured to obtain an IPC authority
  • the setting unit 302 is configured to set a message distribution process in the operating system, where the message distribution process communicates with the application process and the browser process by using an IPC manner; and the application process and the browser process are respectively set to monitor the message distribution process.
  • the message sent by the message distribution process includes: an operation indication sent by the message distribution process to the APP process, and an event message sent by the message distribution process to the browser process;
  • the display processing unit 303 is configured to: the browser process renders the content to be displayed to a pre-generated floating window according to the received event message.
  • the apparatus further includes: a mapping table maintenance unit configured to maintain the mapping table after the message distribution process is started; wherein the mapping table includes: establishing a connection with the message distribution process Correspondence between the application process and the identity of the browser process and the socket handle.
  • the device further includes an execution unit, configured to: after the application process sends a message to the message distribution process, the message distribution process maps the message to the browser process according to the mapping table.
  • an execution unit configured to: after the application process sends a message to the message distribution process, the message distribution process maps the message to the browser process according to the mapping table.
  • the message When the browser process sends a message to the message distribution process, the message includes the identity of the application process, and the message distribution process is based on the identity of the application process, according to the mapping table. The message is mapped to a socket handle corresponding to the identity of the application process.
  • the execution unit is further configured to: after the application process establishes a connection with the message distribution process, when the event occurs, the event listening interface of the application process sends the event message to the message distribution process. After the event listening interface receives the message of the message distribution process, the application process parses and executes;
  • the event listening interface processes the received message of the message distribution process, and returns the result to the message distribution process after the processing is completed.
  • the device further includes an information extracting unit configured to: after the browser process receives the event message of the message distribution process, before rendering the content to be displayed to the pre-generated floating window, extracting from the event message The type of the event.
  • the display processing device for the multi-task of the mobile terminal provided by the embodiment of the present invention, after the authentication unit obtains the IPC authority, the setting unit sets a message distribution process in the operating system, and the message distribution process is performed by the IPC method and the application process and the browser process. Communicating; setting an event listening interface in the application process and the browser process, respectively, for monitoring an operation indication and an event message sent by the message distribution process; the floating window generating unit is configured to use, by the browser process, according to the received event message , rendering the content to be displayed to a pre-generated floating window.
  • the authority acquisition unit 301, the setting unit 302, the display processing unit 303, the mapping table maintenance unit, the execution unit, and the information extraction unit may all be configured by a central processing unit (CPU) located in the terminal. , Microprocessor Unit (MPU), Digital Signal Processor (DSP), or Field Programmable Gate Array (FPGA).
  • CPU central processing unit
  • MPU Microprocessor Unit
  • DSP Digital Signal Processor
  • FPGA Field Programmable Gate Array
  • the method and device for displaying a multi-task of a mobile terminal obtains an IPC authority; and sets a message distribution process in an operating system, and the message distribution process communicates with an application process and a browser process through an IPC manner; Setting an event listening interface for listening to a message sent by a message distribution process, respectively, in the application process and the browser process; the browser process renders the content to be displayed to a pre-generated floating window according to the received event message.
  • the embodiment of the present invention uses a lightweight browser to render, which saves the occupation of system resources, and therefore does not need to disconnect the current application, therefore, It also improves the consistency of users in Internet browsing, and the WEB technology used also simplifies development and maintenance.
  • a display processing method and apparatus for multi-tasking of a mobile terminal acquires IPC authority; and sets a message distribution process in an operating system, and the message distribution process passes an IPC mode and an application (APP) process and a browser process.
  • Communicating setting an event listening interface for listening to a message sent by the message distribution process in the application process and the browser process; the browser process rendering the content to be displayed to a pre-generated according to the received event message Floating window; in this way, the user can form a floating window display for other applications on the current Internet page without disconnecting the currently being processed application, and selectively operate other applications through the floating window;
  • the embodiment of the present invention uses a lightweight browser to render, which saves the occupation of system resources. Since the current application does not need to be disconnected, the consistency of the user during Internet browsing is also improved.
  • the WEB technology used also simplifies development and maintenance.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

La présente invention porte, dans un mode de réalisation, sur un procédé de traitement d'affichage multitâche d'un terminal mobile. Le procédé consiste à : obtenir une autorisation de communication entre processus (IPC pour InterProcess Communication); définir un processus de distribution de message dans un système d'exploitation, le processus de distribution de message établissant une communication avec un processus d'application et un processus de navigateur dans un mode de communication IPC; définir de façon distincte une interface de surveillance d'événement concernant le processus d'application et le processus de navigateur pour surveiller un message envoyé par le processus de distribution de message; et rendre, au moyen du processus de navigateur, en fonction du message d'événement reçu, un contenu qui doit être affiché à une fenêtre flottante générée au préalable. La présente invention porte également, dans les modes de réalisation, sur un appareil de traitement d'affichage multitâche d'un terminal mobile.
PCT/CN2016/100195 2015-11-03 2016-09-26 Procédé de traitement d'affichage multitâche et appareil de terminal mobile WO2017076136A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510737614.2 2015-11-03
CN201510737614.2A CN106648570A (zh) 2015-11-03 2015-11-03 一种移动终端多任务的显示处理方法和装置

Publications (1)

Publication Number Publication Date
WO2017076136A1 true WO2017076136A1 (fr) 2017-05-11

Family

ID=58661557

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/100195 WO2017076136A1 (fr) 2015-11-03 2016-09-26 Procédé de traitement d'affichage multitâche et appareil de terminal mobile

Country Status (2)

Country Link
CN (1) CN106648570A (fr)
WO (1) WO2017076136A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110737491B (zh) * 2018-07-20 2024-04-05 北京字节跳动网络技术有限公司 通知展示方法、装置、设备及计算机可读存储介质
CN111694674B (zh) * 2019-03-13 2023-08-08 北京字节跳动网络技术有限公司 消息分发处理方法、装置、设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970421A (zh) * 2012-11-09 2013-03-13 广东欧珀移动通信有限公司 一种移动终端控制信息显示的方法及系统
CN103455380A (zh) * 2012-06-05 2013-12-18 上海斐讯数据通信技术有限公司 多进程通信系统及其建立和通信方法
CN104580670A (zh) * 2013-10-23 2015-04-29 腾讯科技(深圳)有限公司 一种移动终端通知消息的处理方法及移动终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618560B (zh) * 2013-11-05 2020-02-14 中兴通讯股份有限公司 一种移动终端来电提示处理方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455380A (zh) * 2012-06-05 2013-12-18 上海斐讯数据通信技术有限公司 多进程通信系统及其建立和通信方法
CN102970421A (zh) * 2012-11-09 2013-03-13 广东欧珀移动通信有限公司 一种移动终端控制信息显示的方法及系统
CN104580670A (zh) * 2013-10-23 2015-04-29 腾讯科技(深圳)有限公司 一种移动终端通知消息的处理方法及移动终端

Also Published As

Publication number Publication date
CN106648570A (zh) 2017-05-10

Similar Documents

Publication Publication Date Title
US20190349417A1 (en) Data transmission method and device
WO2021143182A1 (fr) Procédé et appareil de traitement de jeu, dispositif électronique, et support de stockage lisible par ordinateur
US9801146B2 (en) Terminal and synchronization control method among terminals
AU2014403138B2 (en) Terminal, server, and terminal control method
WO2016029706A1 (fr) Procédé et appareil de traitement de service associés à un terminal
US20150365360A1 (en) Method and apparatus for processing push message in notification center of mobile terminal, and storage medium
US10019220B2 (en) Control method and apparatus thereof
WO2020156199A1 (fr) Procédé et dispositif de connexion à une application, terminal et support de stockage
CN104935497A (zh) 一种通讯会话方法和装置
CN102646031A (zh) 一种移动终端控制大屏幕显示内容的方法
WO2015184770A1 (fr) Procédé, système et terminal de traitement d'informations
TW201830219A (zh) 即時通訊訊息的提醒方法及即時通訊用戶端
WO2016061968A1 (fr) Procédé et dispositif de commande vocale
CN113691602B (zh) 基于云手机的业务处理方法、系统、装置、设备及介质
CN106178499B (zh) 基于nfc的移动终端游戏操作控制实现方法及系统
WO2017076136A1 (fr) Procédé de traitement d'affichage multitâche et appareil de terminal mobile
US20230333803A1 (en) Enhanced Screen Sharing Method and System, and Electronic Device
CN104122979A (zh) 一种语音控制大屏幕的方法及装置
CN104778051A (zh) iOS和Android操作系统通用的换肤方法和系统
CN105446680A (zh) 一种屏幕镜像及其扩展方法、系统及终端设备
CN104391628A (zh) 进程切换方法及装置
CN105491223B (zh) 一种信息处理方法、相关设备及系统
CN107332846A (zh) 视频播出方法及系统
WO2014000628A1 (fr) Méthode et appareil de mise en œuvre de service pour dispositif à haut débit mobile
WO2022252808A1 (fr) Procédé, appareil et système de commande de communication, dispositif électronique et support d'enregistrement

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

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

Country of ref document: EP

Kind code of ref document: A1