JP2021504826A - How to launch application programs, launchers and computer-readable storage media - Google Patents

How to launch application programs, launchers and computer-readable storage media Download PDF

Info

Publication number
JP2021504826A
JP2021504826A JP2020528472A JP2020528472A JP2021504826A JP 2021504826 A JP2021504826 A JP 2021504826A JP 2020528472 A JP2020528472 A JP 2020528472A JP 2020528472 A JP2020528472 A JP 2020528472A JP 2021504826 A JP2021504826 A JP 2021504826A
Authority
JP
Japan
Prior art keywords
program
application program
sandbox
intelligent terminal
operating environment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2020528472A
Other languages
Japanese (ja)
Inventor
シュー、フイ
マ、クンシャオ
ヤン、シジェン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhonglian Technologies Co Ltd
Original Assignee
Shanghai Zhonglian Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhonglian Technologies Co Ltd filed Critical Shanghai Zhonglian Technologies Co Ltd
Publication of JP2021504826A publication Critical patent/JP2021504826A/en
Pending legal-status Critical Current

Links

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
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/52Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow
    • G06F21/53Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems during program execution, e.g. stack integrity ; Preventing unwanted data erasure; Buffer overflow by executing in a restricted environment, e.g. sandbox or secure virtual machine
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Abstract

本発明は、アプリケーションプログラムの起動方法、起動装置およびコンピュータ読み取り可能な記憶媒体を公開し、前記アプリケーションプログラムの起動方法は、インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義されるステップS101、前記サンドボックスプログラムを作動させるステップS102、前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させるステップS103を含む。The present invention exposes an application program activation method, an activation device and a computer-readable storage medium, wherein the application program activation method presets at least one sandbox program in an intelligent terminal and processes an input event. A set of operating environment parameters used in the above is included in step S101 in which the sandbox program self-defines, step S102 in which the sandbox program is activated, and step S103 in which one application program is activated based on the operating environment parameters.

Description

本発明は、アプリケーションプログラムという技術分野に属し、特にアプリケーションプログラムの起動方法、起動装置およびコンピュータ読み取り可能な記憶媒体に関する。 The present invention belongs to the technical field of application programs, and particularly relates to methods for activating application programs, activation devices, and computer-readable storage media.

現在、スマートフォンやタブレットPCなどのインテリジェント端末、特にアンドロイドOS(Android System)に基づくインテリジェント端末のアプリケーションはますます普及して応用され、サードパーティがそのOSのアーキテクチャに基づいてさまざまなアプリケーション要件を満たすアプリケーションプログラムを開発していて、これはAAPというものである。これらのアプリケーションプログラムは、とかくユーザーに人とコンピューターの相互作用を行う必要があり、つまり、ユーザーの入力操作を受信し、特に外部入力デバイスに接続する必要がある電子ゲーム等のようなアプリケーションプログラムにおいてハンドル入力イベントやタッチ入力イベントなどのさまざまな入力イベントが生成されることにより、プリケーションプログラムの使用要件を満たすため、OSに基づいてさまざまな入力イベントを変更する必要がある。
現在、アンドロイドの入力イベントの変更に対して、従来の技術手段は、ビュークラス(View)や入力管理サービス(InputManagerService)などのフレームワーク層(Framework)のコードを変更することにより、ベース層のドライバーにより送信された入力イベントを変更するようになって、アプリケーションプログラムに変更済のイベントを順調に識別させて処理するものである。
Currently, applications for intelligent terminals such as smartphones and tablet PCs, especially those based on the Android OS (Android System), are becoming more and more popular and applied, and third parties meet various application requirements based on the OS architecture. I'm developing a program, which is called AAP. These application programs require the user to interact with the computer anyway, that is, in application programs such as electronic games that need to receive user input operations and connect to external input devices in particular. By generating various input events such as handle input events and touch input events, it is necessary to change various input events based on the OS in order to meet the usage requirements of the application program.
Currently, in response to changes in Android input events, traditional technical means are by changing the code of the framework layer (Framework) such as the view class (View) and input management service (InputManagerService), and the driver of the base layer. The input event sent by is changed, and the application program smoothly identifies and processes the changed event.

ただし、従来の技術手段は次に掲げた問題がある。
1、発行者は頻繁にアンドロイドOSを更新すべきであり、更新済のOSに対しては、入力イベントを識別し処理し続けるようにフレームワーク層のコードを再度移行する必要がある。
2、OSを変更することにより入力イベントに対して処理を行う場合、変更されたコードは他のOSバージョン(即ち、ROMバージョン)の作動しているインテリジェント端末に直接適用されることがなく、ソフトウェアの汎用性が悪くなる。
そのため、アンドロイドOSのフレームワーク層を変更せずに入力イベントを識別して処理する方法が必要であり、アンドロイドOSバージョンがバージョンアップする時にフレームワーク層のコードの移行する作業量(同上、より汎用にされた変更考案も必要とする(本考案))を低減し、且つ様々なOSバージョン(即ち、ROMバージョン)の作動しているインテリジェント端末においてその方法が成されてソフトウェアの汎用性を向上させる。
However, the conventional technical means have the following problems.
1. The publisher should update the android OS frequently, and for the updated OS, the framework layer code needs to be migrated again so that the input event can be identified and processed continuously.
2. When processing an input event by changing the OS, the changed code is not applied directly to the intelligent terminal running another OS version (that is, ROM version), and the software The versatility of is deteriorated.
Therefore, there is a need for a method to identify and process input events without changing the Android OS framework layer, and the amount of work to migrate the framework layer code when the Android OS version is upgraded (same as above, more general purpose). This method is used in intelligent terminals running various OS versions (that is, ROM versions) to improve the versatility of software by reducing the need for modified ideas (the present invention). ..

本発明は、アンドロイドOSのフレームワーク層を変更せずに入力イベントを識別し処理する方法を提供するものであり、インテリジェント端末にサンドボックスプログラムをプリセットすることにより、動作環境パラメーターを変更することとなり、前記動作環境パラメーターに基づいてアプリケーションプログラムが起動される(同上、汎用性を強調する必要がある)。更に、本方法は、様々なOSバージョンの作動しているインテリジェント端末の要件を満たしてソフトウェアの汎用性を向上させる。 The present invention provides a method of identifying and processing input events without changing the framework layer of the android OS, and by presetting a sandbox program on an intelligent terminal, the operating environment parameters are changed. , The application program is started based on the above operating environment parameters (same as above, it is necessary to emphasize versatility). In addition, the method meets the requirements of intelligent terminals running various OS versions to improve the versatility of the software.

本発明は、アプリケーションプログラムの起動方法を公開し、
インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義されるステップS101、
前記サンドボックスプログラムを作動させるステップS102、
前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させるステップS103を含む。
好ましくは、ステップS101において、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む。
好ましくは、ステップS103の後、上記のアプリケーションプログラムの起動方法は、
前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OSにおけるルートビュークラスに代わって前記入力イベントを識別し報告するステップS104を更に含む。
好ましくは、ステップS101において、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む。
好ましくは、ステップS101において、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている。
The present invention discloses a method of starting an application program.
Step S101, where at least one sandbox program is preset in the intelligent terminal and a set of operating environment parameters used to process the input event is self-defined in the sandbox program.
Step S102, which activates the sandbox program,
Includes step S103 to launch one application program based on the operating environment parameters.
Preferably, in step S101, the operating environment parameter includes a member variable of the root view class.
Preferably, after step S103, the method of launching the application program described above
When the application program receives one input event, the root view class of the operating environment parameter further includes step S104 to identify and report the input event on behalf of the root view class in the intelligent terminal OS.
Preferably, in step S101, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal.
Preferably, in step S101, the sandbox program is preset in the application layer of the intelligent terminal OS.

本発明は、更にアプリケーションプログラムの起動装置を公開し、
インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義されるプリセットモジュール、
前記プリセットモジュールと接続し、前記サンドボックスプログラムを作動させる作動モジュール、
前記プリセットモジュールと接続し、前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させる起動モジュールを含む。
好ましくは、前記プリセットモジュールに前記サンドボックスプログラムがプリセットされる時に、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む。
好ましくは、上記のアプリケーションプログラムの起動装置は、
前記起動モジュール及び前記プリセットモジュールと接続し、前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OSにおけるルートビュークラスに代わって前記入力イベントを識別し報告する処理モジュールを更に含む。
好ましくは、前記プリセットモジュールに前記サンドボックスプログラムがプリセットされる時に、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む。
好ましくは、前記プリセットモジュールに前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている。
The present invention further exposes an application program activation device.
A preset module in which at least one sandbox program is preset in an intelligent terminal and a set of operating environment parameters used to process input events is self-defined in the sandbox program.
An actuating module that connects to the preset module and activates the sandbox program,
Includes a startup module that connects to the preset module and launches one application program based on the operating environment parameters.
Preferably, when the sandbox program is preset in the preset module, the operating environment parameters include member variables of the root view class.
Preferably, the launcher of the above application program is
When connected to the startup module and the preset module and the application program receives one input event, the root view class of the operating environment parameter identifies the input event in place of the root view class in the intelligent terminal OS. It also includes a processing module to report.
Preferably, when the sandbox program is preset in the preset module, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal. ..
Preferably, the sandbox program is preset in the preset module in the application layer of the intelligent terminal OS.

本発明は、更にコンピュータ読み取り可能な記憶媒体を公開し、それでコンピュータプログラムがメモリーされ、前記コンピュータプログラムがプロセッサーにより実行されている時に、
インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義されるステップS105、
前記サンドボックスプログラムを作動させるステップS106、
前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させるステップS107を作動させる。
好ましくは、ステップS105において、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む。
好ましくは、ステップS107の後、上記のアプリケーションプログラムの起動方法は、
前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OS におけるルートビュークラスに代わって前記入力イベントを識別し報告するステップS108を更に含む。
好ましくは、ステップS105において、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む。
The present invention further exposes a computer-readable storage medium, wherein the computer program is stored in memory and the computer program is being executed by the processor.
Step S105, where the sandbox program self-defines a set of operating environment parameters used to preset at least one sandbox program in an intelligent terminal and process input events.
Step S106 to activate the sandbox program,
Step S107 for invoking one application program based on the operating environment parameters is activated.
Preferably, in step S105, the operating environment parameter includes a member variable of the root view class.
Preferably, after step S107, the method of launching the application program described above
When the application program receives one input event, the root view class of the operating environment parameter further includes step S108 to identify and report the input event on behalf of the root view class in the intelligent terminal OS.
Preferably, in step S105, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal.

好ましくは、ステップS105において、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている。
上記の技術手段を採用した後、従来の技術手段と比べて、次に掲げた有益な効果がある。
1、アンドロイドOSのフレームワーク層のコードを変更せずにアプリケーション層で入力イベントに対して傍受と分離を遂げ、これにより、OSバージョンがバージョンアップする時にフレームワーク層の移行の作業量が大幅に軽減される。
2、サンドボックスプログラムのモデルを提供することにより、通常のアプリケーションプログラムをサンドボックスプログラム内で実行させるとともに、アプリケーションプログラム境界の信頼性が確保され、サードパーティのROMまたはハッカープログラムによるユーザーデータの盗難が回避される。
3、さまざまなOSバージョンで実行できるため、汎用性が向上する。
Preferably, in step S105, the sandbox program is preset in the application layer of the intelligent terminal OS.
After adopting the above technical means, there are the following beneficial effects as compared with the conventional technical means.
1. The application layer intercepts and separates input events without changing the code of the framework layer of the android OS, which greatly increases the amount of work for migrating the framework layer when the OS version is upgraded. It will be reduced.
2. By providing a sandbox program model, a normal application program can be executed within the sandbox program, the reliability of the application program boundary is ensured, and user data can be stolen by a third-party ROM or hacker program. Be avoided.
3. Since it can be executed on various OS versions, versatility is improved.

図1は本発明において一つの好ましい実施例における、アプリケーションプログラムの起動方法のフロー図である。FIG. 1 is a flow chart of a method of starting an application program in one preferred embodiment of the present invention. 図2は本発明において一つの好ましい実施例における、アプリケーションプログラムの起動装置のブロック図である。FIG. 2 is a block diagram of an application program activation device according to a preferred embodiment of the present invention. 図3は本発明において一つの好ましい実施例における、前記コンピュータ読み取り可能な記憶媒体のコンピュータプログラムのフロー図である。FIG. 3 is a flow chart of a computer program of the computer-readable storage medium in one preferred embodiment of the present invention. 図4は本発明において一つの好ましい実施例にアプリケーションプログラムの起動方法のOSブロック図である。FIG. 4 is an OS block diagram of a method of starting an application program as one preferable embodiment in the present invention.

10-アプリケーションプログラムの起動装置、11-プリセットモジュール、12-作動モジュール、13-起動モジュール、14-処理モジュール 10-Application Program Launcher, 11-Preset Module, 12-Activity Module, 13-Startup Module, 14-Processing Module

添付の図面を参照して以下でさらに本発明の利点を詳細に説明する。
此処には、実施例を詳細に説明し、その実施例を図面に示す。以下の説明は図面に関わる時、他の説明ならでは、異なる図面中の同じ数字は同じ或は相似の要因を示す。以下の実施例中の説明される実施状態は、本発明と一致する全ての実施状態を意味しない。これとは逆に、それらは、添付請求項に記載し、本発明の幾つかの方面と一致する装置と方法の例だけである。
本発明に使用する専門用語は、特定実施例を説明する目的だけから生じ、本発明に限定するのを目指しない。本発明と添付請求項に使用される単数形の「一つ」や「前記」や「その」は、多数形を含むのを目指し、ただし文脈が他の含意をはっきり示す場合を除く。更に、本発明に使用される「及び/又は」が一つ或は複数の関連の列に並べる項目の任意或は全ての可能な組合を含むのを目指すと理解されるべきである。
本発明に第一や第二や第三等の様な専門用語を採用して様々な情報を説明するが、これ等の情報がそれらの用語に限らないと理解されるべきである。これ等の用語は同じ類型の情報を互いに区別するように使われる。例えば、本発明の範囲を逸脱しない場合に、第一情報が第二情報と呼ばれ、相似として、第二情報も第一情報と呼ばれる。これは、文脈により決まり、例えば、ここに使用される言葉「例えば」は、「…時」や「…際」や「に応じて」と解釈される。
The advantages of the present invention will be described in more detail below with reference to the accompanying drawings.
Here, an embodiment is described in detail, and the embodiment is shown in the drawings. When the following description relates to a drawing, the same numbers in different drawings indicate the same or similar factors, which is unique to other descriptions. The embodiments described in the examples below do not mean all embodiments consistent with the present invention. On the contrary, they are only examples of devices and methods described in the appended claims and consistent with some aspects of the invention.
The terminology used in the present invention arises solely for the purpose of explaining specific embodiments and is not intended to be limited to the present invention. The singular forms "one,""above," and "that" used in the present invention and the appended claims are intended to include the majority, except where the context clearly indicates other implications. Further, it should be understood that the "and / or" used in the present invention aims to include any or all possible unions of items listed in one or more related columns.
Various information will be explained by adopting technical terms such as first, second, and third in the present invention, but it should be understood that such information is not limited to these terms. These terms are used to distinguish the same type of information from each other. For example, when it does not deviate from the scope of the present invention, the first information is called the second information, and as a similarity, the second information is also called the first information. This depends on the context, for example, the word "for example" used herein is interpreted as "... hour", "... edge" or "according to".

本発明の説明には、専門用語「縦」、「横」、「上」、「下」、「前」、「後」、「左」、「右」、「垂直」、「水平」、「上部」、「下部」、「内側」、「外側」等の指示方位または位置関係は図面に基づく方位或は位置関係であり、本発明を説明し簡略化するのに便利であるが、言及された装置または要素を必ず特定の方位にし、特定の方位で構成し、操作することを示し或は暗示するのではないと理解されるのを必要とする。そのため、本発明に限るのが理解されない。
本発明の説明には、別の規定と限定ならでは、専門用語「インストール」、「連接」、「接続」を広義に解説するべきである。例えば、機械の接続或は電気の接続となり、又は二つの構成要素の内部の接続となる。直接接続であり、又は仲介者を介する間接接続である。当業者にとって、上記の用語の特定の意味は、特定の状況に従って理解することができる。
後続の説明には、構成要素を示すのを用いる「モジュール」、「部品」または「ユニット」様な接尾辞を使って本発明の説明に有利であり、それ自身に特定の意味はない。そのため、「モジュール」と「部品」を混合して使用することができる。
In the description of the present invention, the technical terms "vertical", "horizontal", "top", "bottom", "front", "rear", "left", "right", "vertical", "horizontal", " The indicated orientations or positional relationships such as "upper", "lower", "inside", and "outside" are orientations or positional relationships based on the drawings, which are useful for explaining and simplifying the present invention, but are mentioned. It is necessary to understand that it does not imply or imply that the device or element must be oriented in a particular orientation, configured and operated in a particular orientation. Therefore, it is not understood that it is limited to the present invention.
In the description of the present invention, the technical terms "installation", "connection", and "connection" should be explained in a broad sense, which is unique to another provision and limitation. For example, a mechanical connection, an electrical connection, or an internal connection between two components. It is a direct connection or an indirect connection via an intermediary. For those skilled in the art, the particular meaning of the above terms can be understood according to the particular circumstances.
Subsequent description is advantageous to the description of the present invention with suffixes such as "module", "part" or "unit" using to indicate components and has no particular meaning in itself. Therefore, "modules" and "parts" can be mixed and used.

図1に示すように、本発明において一つの好ましい実施例にアプリケーションプログラムの起動方法のフロー図があり、前記アプリケーションプログラムの起動方法は、次に掲げたステップを含む。
S101:インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義される。
前記サンドボックスプログラムは、サンドボックスを略称とし、(sandbox)とも呼ばれ、プログラムの実行を制限する環境を構築するために使用され、一種の典型的なセキュリティモデルである。前記サンドボックスプログラムは、システムリソースを保護する一方、悪意のあるアクセスやデータ漏洩からプログラム自体も保護するためにプログラムの作動を制限するものである。前記システムリソースには、CPU、メモリ、ファイルシステム、およびネットワークも含まれる。たとえば、Java言語の開発でサンドボックスがそのセキュリティモデルの中心としては、さまざまなサンドボックスがシステムリソースへのアクセスの制限に対して設置され、Javaプログラムが全て作動すると、サンドボックスが指定されることとなり、セキュリティ対策がカスタマイズできる。前記サンドボックスプログラムは、アクセス権限やコードソースや保護ドメインや対策ファイルやキーストア等の要素を含めて保護されたプログラムコードに対しアクセス権限の操作、保護範囲及び種々のセキュリティ対策を設定するために用いられる。Javaサンドボックスは、クラスローダーとセキュリティマネージャーを再度書込むことにより、設置されたグローバルセキュリティマネージャーでアプリケーションプログラムを実行する権限を制御することが成される。
As shown in FIG. 1, one preferred embodiment of the present invention is a flow chart of an application program activation method, and the application program activation method includes the following steps.
S101: A set of operating environment parameters used to preset at least one sandbox program in an intelligent terminal and process input events is self-defined in the sandbox program.
The sandbox program is an abbreviation for sandbox, also called (sandbox), and is used to build an environment that restricts the execution of the program, and is a kind of typical security model. The sandbox program protects system resources while limiting the operation of the program in order to protect the program itself from malicious access and data leakage. The system resources also include CPU, memory, file system, and network. For example, in the development of the Java language, the sandbox is at the center of its security model, when various sandboxes are set up for restricting access to system resources and all Java programs are running, the sandbox is specified. And security measures can be customized. The sandbox program is used to set access authority operations, protection scope, and various security measures for protected program code including elements such as access authority, code source, protection domain, countermeasure file, and keystore. Used. The Java sandbox is made to control the authority to execute application programs in the installed global security manager by rewriting the class loader and security manager.

本実施例では、前記サンドボックスプログラムが前記インテリジェント端末内に設けられ、その内部に入力イベントを処理するのに用いる一組の動作環境パラメーターが自己定義され、配置ファイル形式で前記インテリジェント端末内にメモリーされる。アンドロイドOSにとっては、種々のアプリケーションプログラムが動作環境の支えで実行され、そこで所謂動作環境は広義の概念であり、アプリケーションプログラムに関連する種々のOSにより定義されたクラス又はサービスの集合体で表され、特にそれぞれクラスの属性及びメンバー変数で、アプリケーションプログラム実行の様々な所要パラメーターを支える。このステップでサンドボックスプログラムがプリセットされる時に、サンドボックスプログラムで定義された動作環境パラメーターが入力イベントの処理に関連するクラスに分布される。前記動作環境パラメーターは、個々のクラスのメンバー変数であり、またはクラス全体に対し再定義することができる。このステップでサンドボックスプログラム内に入力イベントの処理に関連するクラスまたはクラス中のメンバー変数が再定義され、且つ入力イベントの監視をプリセットされたことにより、入力イベントが発生すると、入力イベントの処理を行うために前記サンドボックス内に定義された動作環境パラメーターを作動させる。前記サンドボックスプログラム内に定義された動作環境パラメーターは、アプリケーションプログラム層の動作環境に対する変更に限定されず、システムのランタイムライブラリ層またはドライバー層も含む場合がある。前記動作環境パラメーターは、特定のクラス、メソッド、またはサービスに限定されず、アプリケーションプログラムの所要動作環境を成すために複数のクラス、メソッド、またはサービスの集合体である場合もある。 In this embodiment, the sandbox program is provided in the intelligent terminal, a set of operating environment parameters used to process input events is self-defined inside the sandbox program, and a memory is stored in the intelligent terminal in the form of an arrangement file. Will be done. For an Android OS, various application programs are executed with the support of the operating environment, where the so-called operating environment is a broad concept and is represented by a collection of classes or services defined by various OSs related to the application program. Supports various required parameters of application program execution, especially with class attributes and member variables, respectively. When the sandbox program is preset in this step, the operating environment parameters defined in the sandbox program are distributed to the classes involved in handling the input events. The operating environment parameters are member variables of individual classes or can be redefined for the entire class. In this step, the class related to the processing of the input event or the member variables in the class are redefined in the sandbox program, and the monitoring of the input event is preset. Therefore, when the input event occurs, the input event is processed. The operating environment parameters defined in the sandbox are activated to do so. The operating environment parameters defined in the sandbox program are not limited to changes to the operating environment of the application program layer, and may include the runtime library layer or the driver layer of the system. The operating environment parameter is not limited to a specific class, method, or service, and may be a collection of a plurality of classes, methods, or services to form the required operating environment of the application program.

S102:前記サンドボックスプログラムを作動させる。
このステップでサンドボックスプログラムを起動させるというのは、サンドボックスプログラムを最初に起動させる場合にのみ、相応の動作環境パラメーターが後続のアプリケーションプログラムを実行するために与えられるものである。サンドボックスプログラムを起動させる場合は、多種方式で実現している。開発段階には、開発環境でコマンドを走らせてサンドボックスプログラムを起動させる。たとえば、Javaでセキュリティマネージャーを開くコマンドを走らせる。サンドボックスプログラムの作動が相応の操作に関連付けられ、たとえば、サンドボックスプログラムで作動する必要があるアプリケーションプログラムが同じフォルダーに入れられて、ユーザーがフォルダーを開くと、前記サンドボックスプログラムが動作のために起動される。前記サンドボックスプログラムを起動させた後、入力イベントの処理を傍受するために前記入力イベントの関連インターフェースの監視を始め、OSにおける元の動作環境パラメーターが役に立たなくなる。
S102: Activate the sandbox program.
Invoking the sandbox program in this step means that the appropriate operating environment parameters are given to execute subsequent application programs only when the sandbox program is started for the first time. When starting a sandbox program, it is realized by various methods. At the development stage, run commands in the development environment to start the sandbox program. For example, run a command to open a security manager in Java. The operation of the sandbox program is associated with the corresponding operation, for example, when an application program that needs to operate in the sandbox program is placed in the same folder and the user opens the folder, the sandbox program is activated for operation. It will be started. After launching the sandbox program, it begins monitoring the associated interface of the input event to intercept the processing of the input event, and the original operating environment parameters in the OS become useless.

S103: 前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させる。
このステップでは、アプリケーションプログラムの起動がなされ、前記アプリケーションプログラムが、前記サンドボックスプログラムでプリセットされた動作環境パラメーターに基づいて実行される。サンドボックスプログラムでは、保護ドメインがプリセットされ、つまり、前記サンドボックスプログラムで関連付けられているアプリケーションプログラムが定義されるものとして、サンドボックスプログラムを起動させた後、保護ドメインで関連付けられているアプリケーションプログラムは、実行の時にサンドボックスプログラムでプリセットされた作環境パラメーターにより実行される。アプリケーションプログラムの起動は、例えば、ユーザがアプリケーションプログラムのアイコンをタッチ操作してアプリケーションプログラムを開くようなユーザの操作を受信する場合であってもよい。注意すべきことは、アプリケーションプログラムが、サンドボックスプログラムと異なるプロセスにあるが、サンドボックスアプリケーションの動作環境を継承し、外部から見ると、サンドボックスプログラム内で実行されているアプリケーションプログラムと同等である。
S103: Start one application program based on the above operating environment parameters.
In this step, the application program is started and the application program is executed based on the operating environment parameters preset by the sandbox program. In the sandbox program, the protection domain is preset, that is, the application program associated with the sandbox program is defined, and after the sandbox program is started, the application program associated with the protection domain is defined. , Is executed by the environment parameters preset by the sandbox program at the time of execution. The application program may be started, for example, when the user receives a user operation such as touching an icon of the application program to open the application program. It should be noted that the application program is in a different process than the sandbox program, but inherits the operating environment of the sandbox application and, from the outside, is equivalent to the application program running inside the sandbox program. ..

アプリケーションプログラムは、オペレーティングシステムとの間の相互作用がサンドボックスプログラムにより実現され、つまり、前記アプリケーションプログラムにより取得されたさまざまな入力イベントは、サンドボックスプログラムで定義された動作環境パラメーターに基づいて処理される必要があり、 前記アプリケーションプログラムにとってOSにおける元の関連の動作環境パラメーターが見えない。前記サンドボックスプログラムで定義された動作環境パラメーターに加えて、他の動作環境パラメーターは、OS内の配置に従ってアプリケーションプログラムの実行を支える。両者の関係の観点から見ると、前記アプリケーションプログラムはサンドボックスプログラムのクライアントプロセスであり、而もサンドボックスプログラムはアプリケーションプログラムのホストプロセスである。前記アプリケーションプログラムは、サンドボックスプログラムの実行時に動作環境に基づいてサンドボックスプログラムと通信し、サンドボックスプログラムは、プリセットされたAPIをアプリケーションプログラムに公開し、入力イベントの処理に加えて、システムステータスや地理的位置情報の取得などの機能のような関連の機能を与える。 In the application program, the interaction with the operating system is realized by the sandbox program, that is, various input events acquired by the application program are processed based on the operating environment parameters defined in the sandbox program. The original relevant operating environment parameters in the OS are not visible to the application program. In addition to the operating environment parameters defined in the sandbox program, other operating environment parameters support the execution of the application program according to the placement in the OS. From the viewpoint of the relationship between the two, the application program is a client process of the sandbox program, and the sandbox program is a host process of the application program. The application program communicates with the sandbox program based on the operating environment when the sandbox program is executed, and the sandbox program exposes the preset API to the application program, and in addition to processing input events, the system status and It provides related functions such as functions such as acquisition of geographical location information.

前記アプリケーションプログラムの起動方法の更なる改善としては、前記ステップS101において、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む。この改善された実施形態は、前記サンドボックスプログラムで自己定義された動作環境パラメーターが最適化されており、即ちルートビュークラスのメンバー変数である。前記ルートビュークラスは、アンドロイドOSのアプリケーション層の重要なクラスであり、ViewRootImplを英文名称とし、ビューオブジェクト(View)に入力して特定のビュー管理タスクを完了するという役に立つ。ルートビュークラスは、ウィンドウ管理サービス(WindowManagerService)とも通信して、表示となるインターフェースを管理している。この実施形態では、ルートビュークラスのメンバー変数を自己定義することにより、各入力イベントに対する処理が成され、入力イベントの結果が表示インターフェースに表される。
好ましくは、ステップS103の後、上記のアプリケーションプログラムの起動方法は、更に、
前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OSにおけるルートビュークラスに代わって前記入力イベントを識別し報告するステップS104を含む。
As a further improvement of the method of starting the application program, in the step S101, the operating environment parameter includes a member variable of the root view class. In this improved embodiment, the operating environment parameters self-defined in the sandbox program are optimized, i.e., member variables of the root view class. The root view class is an important class in the application layer of the Android OS, and it is useful to use ViewRootImpl as an English name and input it into a view object (View) to complete a specific view management task. The root view class also communicates with the window management service (WindowManagerService) to manage the display interface. In this embodiment, by self-defining the member variables of the root view class, processing is performed for each input event, and the result of the input event is displayed on the display interface.
Preferably, after step S103, the method of launching the application program described above further
When the application program receives one input event, the root view class of the operating environment parameter includes step S104 to identify and report the input event on behalf of the root view class in the intelligent terminal OS.

この改善された実施状態は、ルートビュークラスのメンバー変数を含む前記動作環境パラメーターに基づいてステップS104を作動させる。インテリジェント端末のタッチスクリーン又は他の入力デバイスが入力操作を受信すると、インテリジェント端末のベース層のドライバーが入力操作を認識して入力イベントを生成し、前記入力イベントが層ずつ報告される。このステップでは、入力イベントに対する処理過程を遂げ、前記アプリケーションプログラムが入力イベントの発生を検出すると、前記アプリケーションプログラムには、サンドボックスプログラムにより提供されたルートビュークラスに従って入力イベントが識別され、処理のために他の機能プログラムモジュールへ報告される。前記サンドボックスプログラムのセキュリティ対策は、ルートビュークラスの置換を成すために、入力イベントの発生時に動作環境パラメーターを取得しているパスが定義される。従来技術では、サンドボックスプログラムが実行されていない場合、前記アプリケーションプログラムは、OSによりデフォルトにされた動作環境に従って入力イベントが処理され、特に異なる入力イベントが効果的に識別されない可能性があるが、タッチ入力イベント等様な同じタイプの入力イベントのみが識別される。 This improved implementation state activates step S104 based on the operating environment parameters including the member variables of the root view class. When the touch screen of the intelligent terminal or another input device receives an input operation, the driver of the base layer of the intelligent terminal recognizes the input operation and generates an input event, and the input event is reported layer by layer. In this step, when the processing process for the input event is completed and the application program detects the occurrence of the input event, the application program identifies the input event according to the root view class provided by the sandbox program for processing. Reported to other functional program modules. In the security measures of the sandbox program, the path for acquiring the operating environment parameters when the input event occurs is defined in order to replace the root view class. In the prior art, when the sandbox program is not executed, the application program processes input events according to the operating environment defaulted by the OS, and in particular different input events may not be effectively identified. Only input events of the same type, such as touch input events, are identified.

前記アプリケーションプログラムの起動方法の更なる改善としては、前記ステップS105において、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む。改善された実施形態は、入力イベントのタイプをさらに制限する。ユーザーが前記インテリジェント端末を使って、電子ゲームプレイなどの大量の複雑な操作の要るアプリケーションプログラムを実行する場合、インテリジェント端末のタッチスクリーンによる入力操作だけでは相互作用の要件を満たし難く、電子ゲームパッドなどの外部入力デバイスを介してインテリジェント端末と通信し接続した後補助入力操作を行う必要もある。従来技術のインテリジェント端末OSに、外部入力デバイスの受信した入力操作に対し外部入力イベントが生成され、インテリジェント端末のタッチスクリーンの受信した入力操作に対しタッチ入力イベントが生成されるが、OSのアプリケーション層は、上記の2種類の入力イベントが識別されなく区別して処理されないことにより共存できず、ユーザーは1つの入力操作しか選択できない。この実施形態におけるサンドボックスプログラムには、OSフレームワーク層のインターフェースから報告された入力イベントが監視され、自己定義されたルートビュークラスによりさまざまな入力イベントを認識して処理するため、前記アプリケーションプログラム(ゲームプログラムなど)にタッチ操作と外部デバイス入力操作を識別する機能を備えさせると、ユーザーは2つの入力操作が同時に実行できるため、入力操作方法が充実し、体験効果が向上している。 As a further improvement of the method of starting the application program, in step S105, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal. Including. The improved embodiment further limits the types of input events. When a user uses the intelligent terminal to execute an application program that requires a large amount of complicated operations such as electronic game play, it is difficult to satisfy the interaction requirement only by the input operation by the touch screen of the intelligent terminal, and the electronic game pad. It is also necessary to perform an auxiliary input operation after communicating with and connecting to an intelligent terminal via an external input device such as. In the conventional intelligent terminal OS, an external input event is generated for the input operation received by the external input device, and a touch input event is generated for the input operation received by the touch screen of the intelligent terminal. Cannot coexist because the above two types of input events are not identified and processed separately, and the user can select only one input operation. In the sandbox program in this embodiment, input events reported from the interface of the OS framework layer are monitored, and various input events are recognized and processed by the self-defined root view class. If a game program or the like is equipped with a function for distinguishing between a touch operation and an external device input operation, the user can execute two input operations at the same time, so that the input operation method is enhanced and the experience effect is improved.

前記アプリケーションプログラムの起動方法の更なる改善としては、前記ステップS105において、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている。前記サンドボックスプログラムは前記OSのアプリケーション層で動作し、その係る動作環境パラメーターも主にアプリケーション層のクラスまたはメソッドであり、フレームワーク層自体を変更せずに、作業中に前記OSのフレームワーク層からイベントが取得される。そうすると、OSバージョンがバージョンアップしたところでサンドボックスプログラムのみがアプリケーション層へ移行する必要があり、他の層のコードの変更に関わらず、移行の作業量が軽減される。同時に、前記アプリケーションプログラムがOSと相互作用しなく、サンドボックスプログラムと相互作用するため、前記サンドボックスプログラムが障壁の役目をすることにより、データの安全性が保証できるため、データの漏洩が防がれている(前の場合と同様に、「さまざまなアンドロイドOS(ROM)のプラットフォームに同時に便利に適用できる?」と強調できる)。同時に、さまざまなアンドロイドOS(ROM)のプラットフォームにそのサンドボックスプログラムとアプリケーションプログラムが便利に適用されるため、優れた汎用性を備えている。 As a further improvement of the method of starting the application program, the sandbox program is preset in the application layer of the intelligent terminal OS in step S105. The sandbox program runs in the application layer of the OS, and the operating environment parameters thereof are also mainly classes or methods of the application layer, and the framework layer of the OS is operated without changing the framework layer itself. The event is retrieved from. Then, when the OS version is upgraded, only the sandbox program needs to be migrated to the application layer, and the amount of migration work is reduced regardless of the code changes in other layers. At the same time, since the application program does not interact with the OS but interacts with the sandbox program, the sandbox program acts as a barrier to guarantee the safety of the data and prevent data leakage. (As in the previous case, it can be emphasized that "can it be conveniently applied to various Android OS (ROM) platforms at the same time?"). At the same time, its sandbox and application programs are conveniently applied to various Android OS (ROM) platforms, providing great versatility.

図4に示すように、本発明において一つの好ましい実施例にアプリケーションプログラムの起動方法のOSブロック図がある。図4は、アプリケーション層(Application)、フレームワーク層(Framework)、ローカルランタイムライブラリ層(Android Native)、またはドライバー層(Android Driver)を含むアンドロイドOSの各層が示され、各層には本発明に関連する各モジュールが示されている。このうち、前記ドライバ層は、タッチスクリーンドライバと外部入力デバイスドライバを含み、タッチスクリーンと外部入力デバイスの受信した入力操作を識別して、入力イベントを形成するために用いられる。前記ローカルランタイムライブラリ層は、入力管理サービローカルランタイムライブラリ(InputManagerService Native)を含み、入力イベント処理のためにローカルサポートを提供する。前記フレームワーク層は、入力管理サービス(InputManagerService)とビュークラス(View)を含み、入力管理サービスが入力イベントを管理し、それらをアプリケーション層に報告し、ビュークラスは、表示インターフェースの表示を制御する。本発明に係るサンドボックスプログラムおよびアプリケーションプログラムは、全てアプリケーション層にあり、OSに最初にインストールされたアプリケーションプログラムがサンドボックスプログラムに基づいて実行された後にアプリケーションプログラムになり、前記アプリケーションプログラムがサンドボックスプログラムから提供された動作環境により実行され、フレームワーク層から報告された入力イベントが前記サンドボックスプログラムを経って前記アプリケーションプログラムへ報告される。 As shown in FIG. 4, one preferred embodiment of the present invention is an OS block diagram of a method of starting an application program. FIG. 4 shows each layer of the Android OS including the application layer (Application), the framework layer (Framework), the local runtime library layer (Android Native), or the driver layer (Android Driver), and each layer is related to the present invention. Each module to do is shown. Of these, the driver layer includes a touch screen driver and an external input device driver, and is used to identify an input operation received by the touch screen and the external input device and form an input event. The local runtime library layer includes an input management service local runtime library (InputManagerService Native) and provides local support for input event processing. The framework layer includes an input management service (InputManagerService) and a view class (View), the input management service manages input events and reports them to the application layer, and the view class controls the display of the display interface. .. The sandbox program and the application program according to the present invention are all in the application layer, and become an application program after the application program first installed in the OS is executed based on the sandbox program, and the application program becomes the sandbox program. The input event executed by the operating environment provided by the above and reported from the framework layer is reported to the application program via the sandbox program.

図2に示すように、本発明において一つの好ましい実施例にアプリケーションプログラムの起動装置10のブロック図があり、前記アプリケーションプログラムの起動装置10が次に掲げたモジュールを含む。
‐プリセットモジュール11
プリセットモジュール11には、インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義される。前記プリセットモジュール11には、サンドボックスプログラムの配置ファイルが配置され、例えば、Javaのサンドボックスプログラムは、アクセス権限やコードソースや保護ドメインや対策ファイルやキーストア等の要素を含み、動作環境パラメーターを記録し、クラスローダーとセキュリティマネージャーを再度書込むことにより、設置されたグローバルセキュリティマネージャーでアプリケーションプログラムを実行する権限を制御することが成される。サンドボックスプログラムで前記プリセットモジュール11により自己定義された動作環境パラメーターは、前記インテリジェント端末の入力イベントの処理に関連し、個々のクラスのメンバー変数が可能であり、クラス全体を再定義する場合も可能である。前記動作環境パラメーターは、特定のクラス、メソッド、またはサービスに限定されず、アプリケーションの所要動作環境のために複数のクラス、メソッド、またはサービスの集合体が可能である。
As shown in FIG. 2, one preferred embodiment of the present invention is a block diagram of an application program activation device 10, and the application program activation device 10 includes the following modules.
-Preset module 11
In the preset module 11, at least one sandbox program is preset in the intelligent terminal, and a set of operating environment parameters used for processing the input event are self-defined by the sandbox program. A sandbox program placement file is placed in the preset module 11, and for example, the Java sandbox program includes elements such as access authority, code source, protection domain, countermeasure file, and keystore, and sets operating environment parameters. By recording and rewriting the class loader and security manager, the installed global security manager controls the authority to execute application programs. The operating environment parameters self-defined by the preset module 11 in the sandbox program are related to the processing of the input event of the intelligent terminal, can be member variables of individual classes, and can also redefine the entire class. Is. The operating environment parameters are not limited to a particular class, method, or service, and can be a collection of multiple classes, methods, or services for the required operating environment of the application.

‐作動モジュール12
前記作動モジュール12が前記プリセットモジュール11と接続し、前記サンドボックスプログラムを作動させる。前記作動モジュール12は、開発環境での作動コマンドが可能であり、アプリケーション層でのユーザーの相互作用操作がサンドボックスプログラムを関連付ける場合も可能であり、ユーザーが相互作用操作をする(フォルダーを開くなど)場合、前記サンドボックスプログラムが実行される。前記サンドボックスプログラムを起動させた後、入力イベントの処理を傍受するために前記入力イベントの関連インターフェースの監視を始め、OSにおける元の動作環境パラメーターが役に立たなくなる。
‐起動モジュール13
起動モジュール13は、前記プリセットモジュール11と接続し、前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させる。前記起動モジュール13がアプリケーションプログラムを起動するときに、プリセットモジュール11により作動に必要な動作環境パラメーターが取得され、OSと直接相互作用しない。前記起動モジュール13は、例えば、ユーザがアプリケーションプログラムのアイコンをタッチ操作してアプリケーションプログラムを開くようなユーザの操作を受信することにより起動されるのに設定される。前記サンドボックスプログラムで定義された動作環境パラメーターに加えて、他の動作環境パラメーターは、OS内の配置に従ってアプリケーションプログラムの実行を支える。
-Activation module 12
The actuating module 12 connects to the preset module 11 to actuate the sandbox program. The operation module 12 can be operated in the development environment, and the user's interaction operation at the application layer can also be associated with the sandbox program, and the user can perform the interaction operation (open a folder, etc.). ), The sandbox program is executed. After launching the sandbox program, it begins monitoring the associated interface of the input event to intercept the processing of the input event, and the original operating environment parameters in the OS become useless.
-Startup module 13
The startup module 13 is connected to the preset module 11 and starts one application program based on the operating environment parameters. When the startup module 13 starts the application program, the preset module 11 acquires the operating environment parameters necessary for operation and does not directly interact with the OS. The activation module 13 is set to be activated, for example, by receiving a user operation such that the user touches an icon of the application program to open the application program. In addition to the operating environment parameters defined in the sandbox program, other operating environment parameters support the execution of the application program according to the placement in the OS.

前記アプリケーションプログラムの起動装置10の更なる改善としては、前記プリセットモジュール11に前記サンドボックスプログラムをプリセットする時に前記動作環境パラメーターはルートビュークラスのメンバー変数を含む。ルートビュークラスのメンバー変数を自己定義することにより、各入力イベントに対する処理が成され、入力イベントの結果が表示インターフェースに表される。
更に、前記アプリケーションプログラムの起動装置10は、次に掲げた処理モジュール14を含む。
‐処理モジュール14
処理モジュール14は前記起動モジュール13及び前記プリセットモジュール11と接続し、前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OSにおけるルートビュークラスに代わって前記入力イベントを識別し報告する。前記起動モジュール13が前記アプリケーションプログラムを起動した後、前記処理モジュール14は、前記アプリケーションプログラムが入力イベントを受信するかどうかを監視し、入力イベントが発生してあると、前記処理モジュール14は、サンドボックスプログラムにより提供されたルートビュークラスに従って入力イベントが識別され、処理のために他の機能プログラムモジュールへ報告される。
As a further improvement of the application program launcher 10, the operating environment parameters include member variables of the root view class when presetting the sandbox program in the preset module 11. By self-defining the member variables of the root view class, processing is performed for each input event, and the result of the input event is displayed on the display interface.
Further, the application program activation device 10 includes the following processing module 14.
-Processing module 14
The processing module 14 is connected to the startup module 13 and the preset module 11, and when the application program receives one input event, the root view class of the operating environment parameter replaces the root view class in the intelligent terminal OS. The input event is identified and reported. After the start module 13 starts the application program, the processing module 14 monitors whether or not the application program receives an input event, and when the input event occurs, the processing module 14 sands. Input events are identified according to the root view class provided by the box program and reported to other functional program modules for processing.

前記アプリケーションプログラムの起動装置10の更なる改善としては、前記プリセットモジュール11に前記サンドボックスプログラムをプリセットする時に、前記入力イベントはインテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む。前記外部入力イベントと前記タッチ入力イベントは異なる識別ビットを有し、前記プリセットモジュール11にプリセットされたプリセット動作環境には、上記の2つの入力イベントの識別ビットが識別され、入力イベントが処理される。
前記アプリケーションプログラムの起動装置10の更なる改善としては、前記プリセットモジュール11は、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている。前記サンドボックスプログラムは前記OSのアプリケーション層で動作し、その係る動作環境パラメーターも主にアプリケーション層のクラスまたはメソッドであり、フレームワーク層自体を変更せずに、作業中に前記OSのフレームワーク層からイベントが取得される。
As a further improvement of the application program activation device 10, when the sandbox program is preset in the preset module 11, the input event is an external input event corresponding to the external input device connected to the intelligent terminal and the intelligent terminal. Includes touch input events that correspond to the touch screen. The external input event and the touch input event have different identification bits, and in the preset operating environment preset in the preset module 11, the identification bits of the above two input events are identified and the input event is processed. ..
As a further improvement of the application program activation device 10, the preset module 11 has the sandbox program preset in the application layer of the intelligent terminal OS. The sandbox program runs in the application layer of the OS, and the operating environment parameters thereof are also mainly classes or methods of the application layer, and the framework layer of the OS is operated without changing the framework layer itself. The event is retrieved from.

図3に示すように、本発明において一つの好ましい実施例に前記コンピュータ読み取り可能な記憶媒体のコンピュータプログラムのフロー図がある。前記コンピュータ読み取り可能な記憶媒体でコンピュータプログラムがメモリーされてあり、前記コンピュータプログラムがプロセッサーにより実行されている時に、次に掲げたステップが成されている。
S105:インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義される。
S106: 前記サンドボックスプログラムを作動させる。
S107: 前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させる。
前記コンピュータプログラムの更なる改善として、ステップS105において、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む。
As shown in FIG. 3, one preferred embodiment of the present invention is a flow chart of a computer program of the computer-readable storage medium. When the computer program is stored in the computer-readable storage medium and the computer program is being executed by the processor, the following steps are performed.
S105: A set of operating environment parameters used to preset at least one sandbox program in an intelligent terminal and process input events is self-defined in the sandbox program.
S106: Activate the sandbox program.
S107: Start one application program based on the above operating environment parameters.
As a further improvement of the computer program, in step S105, the operating environment parameter includes a member variable of the root view class.

更に、ステップS107の後、上記のアプリケーションプログラムの起動方法は、更に前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OSにおけるルートビュークラスに代わって前記入力イベントを識別し報告するステップS108を含む。
前記コンピュータプログラムの更なる改善として、ステップS105において、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む。
前記コンピュータプログラムの更なる改善として、ステップS105において、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている。
Further, after step S107, the method of starting the application program further states that when the application program receives one input event, the root view class of the operating environment parameter replaces the root view class in the intelligent terminal OS. Includes step S108 to identify and report the input event.
As a further improvement of the computer program, in step S105, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal.
As a further improvement of the computer program, in step S105, the sandbox program is preset in the application layer of the intelligent terminal OS.

上記のコンピュータプログラムの方法ステップは、本発明におけるアプリケーションプログラムの起動方法と実現法で一致しており、詳細には説明されない。
注意すべきことは、本発明の実施形態はいかなる形でも本発明を限定させずより優れた実施性が具わり、あらゆる当業者は、上記に開示された技術的内容が使われて同等の効果的な実施形態に変更されまたは変更すされるが、本発明の技術的手段から逸脱することなく、本発明の技術的本質により上記の実施形態に対する任意の変更または同等の変更及び変更は、依然として本発明の保護範囲内にある。
The method steps of the computer program described above are consistent with the method of starting and implementing the application program in the present invention and are not described in detail.
It should be noted that the embodiments of the present invention are not limited to the present invention in any way and are provided with better practicability, and all those skilled in the art can use the technical contents disclosed above to have the same effect. Any changes or equivalent changes and changes to the above embodiments by the technical nature of the invention, without departing from the technical means of the invention, are still present. It is within the protection of the invention.

Claims (15)

インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義されるステップS101、
前記サンドボックスプログラムを作動させるステップS102、
前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させるステップS103を含む、アプリケーションプログラムの起動方法。
Step S101, where at least one sandbox program is preset in the intelligent terminal and a set of operating environment parameters used to process the input event is self-defined in the sandbox program.
Step S102, which activates the sandbox program,
A method of starting an application program, which comprises step S103 of starting one application program based on the operating environment parameters.
ステップS101において、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む、請求項1に記載のアプリケーションプログラムの起動方法。 The method for invoking an application program according to claim 1, wherein in step S101, the operating environment parameter includes a member variable of the root view class. ステップS103の後、上記のアプリケーションプログラムの起動方法は、前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OSにおけるルートビュークラスに代わって前記入力イベントを識別し報告するステップS104を更に含む、請求項2に記載のアプリケーションプログラムの起動方法。 After step S103, the method of starting the application program is that when the application program receives one input event, the root view class of the operating environment parameter is input in place of the root view class in the intelligent terminal OS. The method of invoking an application program according to claim 2, further comprising step S104 of identifying and reporting an event. ステップS101において、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む、請求項1〜3のいずれか一項に記載のアプリケーションプログラムの起動方法。 3. The input event according to any one of claims 1 to 3, wherein in step S101, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal. How to start the application program of. ステップS101において、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている、請求項1〜3のいずれか一項に記載のアプリケーションプログラムの起動方法。 The method for starting an application program according to any one of claims 1 to 3, wherein the sandbox program is preset in the application layer of the intelligent terminal OS in step S101. インテリジェント端末に少なくとも一つのサンドボックスプログラムをプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義される、プリセットモジュール、
前記プリセットモジュールと接続し、前記サンドボックスプログラムを作動させる作動モジュール、
前記プリセットモジュールと接続し、前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させる起動モジュールを含む、アプリケーションプログラムの起動装置。
A preset module, in which at least one sandbox program is preset in an intelligent terminal and a set of operating environment parameters used to process input events is self-defined in the sandbox program.
An actuating module that connects to the preset module and activates the sandbox program,
An application program activation device including a startup module that connects to the preset module and launches one application program based on the operating environment parameters.
前記プリセットモジュールが前記サンドボックスプログラムをプリセットする時に、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む、請求項6に記載のアプリケーションプログラムの起動装置。 The application program launcher according to claim 6, wherein when the preset module presets the sandbox program, the operating environment parameters include member variables of the root view class. 前記起動モジュール及び前記プリセットモジュールと接続し、前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記インテリジェント端末OSにおけるルートビュークラスに代わって、前記動作環境パラメーターのルートビュークラスを制御し、前記入力イベントを識別し報告する処理モジュールを更に含む、請求項7に記載のアプリケーションプログラムの起動装置。 When the application program is connected to the startup module and the preset module and receives one input event, the root view class of the operating environment parameter is controlled instead of the root view class in the intelligent terminal OS, and the input is performed. The application program launcher according to claim 7, further comprising a processing module that identifies and reports events. 前記プリセットモジュールに前記サンドボックスプログラムがプリセットされる時に、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む、請求項6〜8のいずれか一項に記載のアプリケーションプログラムの起動装置。 When the sandbox program is preset in the preset module, the input event includes an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal. The starter of the application program described in any one of 6 to 8. 前記プリセットモジュールが、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムをプリセットする、請求項6〜8のいずれか一項に記載のアプリケーションプログラムの起動装置。 The application program activation device according to any one of claims 6 to 8, wherein the preset module presets the sandbox program in the application layer of the intelligent terminal OS. コンピュータプログラムがメモリーされたコンピュータ読み取り可能な記憶媒体であって、前記コンピュータプログラムがプロセッサーにより実行されている時に、
インテリジェント端末に一つのサンドボックスプログラムを少なくともプリセットし、入力イベントを処理するのに用いる一組の動作環境パラメーターが前記サンドボックスプログラムで自己定義されるステップS105、
前記サンドボックスプログラムを作動させるステップS106、
前記動作環境パラメーターに基づいて一つのアプリケーションプログラムを起動させるステップS107を作動させる、前記コンピュータ読み取り可能な記憶媒体。
When a computer program is stored in a computer-readable storage medium and the computer program is being executed by a processor,
Step S105, where the sandbox program self-defines a set of operating environment parameters used to preset at least one sandbox program in an intelligent terminal and process input events.
Step S106 to activate the sandbox program,
The computer-readable storage medium that activates step S107 that launches one application program based on the operating environment parameters.
ステップS105において、前記動作環境パラメーターはルートビュークラスのメンバー変数を含む、請求項11に記載のコンピュータ読み取り可能な記憶媒体。 11. The computer-readable storage medium of claim 11, wherein in step S105, the operating environment parameter comprises a member variable of the root view class. ステップS107の後、上記のアプリケーションプログラムの起動方法は、前記アプリケーションプログラムが一つの入力イベントを受信する時に、前記動作環境パラメーターのルートビュークラスは、前記インテリジェント端末OS におけるルートビュークラスに代わって前記入力イベントを識別し報告するステップS108を更に含む、請求項12に記載のコンピュータ読み取り可能な記憶媒体。 After step S107, the method of starting the application program is that when the application program receives one input event, the root view class of the operating environment parameter is input in place of the root view class in the intelligent terminal OS. The computer-readable storage medium of claim 12, further comprising step S108 for identifying and reporting events. ステップS105において、前記入力イベントは、インテリジェント端末と接続する外部入力装置に対応する外部入力イベント及びインテリジェント端末のタッチスクリーンに対応するタッチ入力イベントを含む、請求項11〜13のいずれか一項に記載のコンピュータ読み取り可能な記憶媒体。 In step S105, the input event is described in any one of claims 11 to 13, including an external input event corresponding to an external input device connected to the intelligent terminal and a touch input event corresponding to the touch screen of the intelligent terminal. Computer-readable storage medium. ステップS105において、前記インテリジェント端末OSのアプリケーション層において前記サンドボックスプログラムがプリセットされている、請求項11〜13のいずれか一項に記載のコンピュータ読み取り可能な記憶媒体。 The computer-readable storage medium according to any one of claims 11 to 13, wherein the sandbox program is preset in the application layer of the intelligent terminal OS in step S105.
JP2020528472A 2017-11-24 2018-10-24 How to launch application programs, launchers and computer-readable storage media Pending JP2021504826A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201711190478.5 2017-11-24
CN201711190478.5A CN107832105B (en) 2017-11-24 2017-11-24 Application program starting method, starting device and computer readable storage medium
PCT/CN2018/111755 WO2019100897A1 (en) 2017-11-24 2018-10-24 Application program starting method and starting apparatus, and computer readable storage medium

Publications (1)

Publication Number Publication Date
JP2021504826A true JP2021504826A (en) 2021-02-15

Family

ID=61653479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020528472A Pending JP2021504826A (en) 2017-11-24 2018-10-24 How to launch application programs, launchers and computer-readable storage media

Country Status (6)

Country Link
US (1) US20200342093A1 (en)
EP (1) EP3699756A4 (en)
JP (1) JP2021504826A (en)
KR (1) KR20200090784A (en)
CN (1) CN107832105B (en)
WO (1) WO2019100897A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107832105B (en) * 2017-11-24 2022-02-15 南昌黑鲨科技有限公司 Application program starting method, starting device and computer readable storage medium
CN110543789B (en) * 2018-05-29 2023-05-16 腾讯科技(深圳)有限公司 Method, device and storage medium for adapting handle and third party application program
CN109101815B (en) * 2018-07-27 2023-04-07 平安科技(深圳)有限公司 Malicious software detection method and related equipment
CN109344606A (en) * 2018-08-15 2019-02-15 北京奇虎科技有限公司 Run the method and device of application program installation kit
CN110781493B (en) * 2019-09-30 2023-04-18 奇安信科技集团股份有限公司 Processing method for running application program, terminal and server
CN113672907B (en) * 2021-07-29 2023-12-22 济南浪潮数据技术有限公司 Java safety precaution method, device and medium based on JVM sandbox and black-and-white list

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7941813B1 (en) * 2006-02-17 2011-05-10 Parallels Holdings, Ltd. System and method for using virtual machine for driver installation sandbox
US9436459B2 (en) * 2010-05-28 2016-09-06 Red Hat, Inc. Generating cross-mapping of vendor software in a cloud computing environment
US8468600B1 (en) * 2011-03-04 2013-06-18 Adobe Systems Incorporated Handling instruction received from a sandboxed thread of execution
CN104008327B (en) * 2013-02-26 2017-12-01 腾讯科技(深圳)有限公司 A kind of secured inputting method and system
WO2015126133A1 (en) * 2014-02-21 2015-08-27 Samsung Electronics Co., Ltd. Method and apparatus to sandbox run-time android applications with lightweight container
CN104391707B (en) * 2014-12-05 2018-01-30 上海斐讯数据通信技术有限公司 The startup method and starter of a kind of application program
EP3048552A1 (en) * 2015-01-21 2016-07-27 Samsung Electronics Co., Ltd. Apparatus and method for running multiple instances of a same application in mobile devices
CN104766007B (en) * 2015-03-27 2017-07-21 杭州安恒信息技术有限公司 A kind of method that the fast quick-recovery of sandbox is realized based on file system filter driver
CN105678165A (en) * 2016-01-29 2016-06-15 博雅网信(北京)科技有限公司 Sandboxing keyboard system of mobile terminal and data transmitting method of sandboxing keyboard system
CN106096395A (en) * 2016-06-16 2016-11-09 北京奇虎科技有限公司 A kind of protection treating method and apparatus of Android application
CN106201699A (en) * 2016-07-15 2016-12-07 北京光年无限科技有限公司 The method and device of application is started in robot operating system
CN106384045B (en) * 2016-09-12 2020-10-27 电子科技大学 Android storage application sandbox based on application program virtualization and communication method
CN106874751A (en) * 2017-01-13 2017-06-20 北京奇虎科技有限公司 Input method, device and mobile terminal under system protection pattern
CN106874731A (en) * 2017-04-14 2017-06-20 深信服科技股份有限公司 A kind of application layer multi-user method and device based on terminal
CN107832105B (en) * 2017-11-24 2022-02-15 南昌黑鲨科技有限公司 Application program starting method, starting device and computer readable storage medium

Also Published As

Publication number Publication date
WO2019100897A1 (en) 2019-05-31
CN107832105B (en) 2022-02-15
US20200342093A1 (en) 2020-10-29
CN107832105A (en) 2018-03-23
EP3699756A1 (en) 2020-08-26
EP3699756A4 (en) 2021-08-04
KR20200090784A (en) 2020-07-29

Similar Documents

Publication Publication Date Title
JP2021504826A (en) How to launch application programs, launchers and computer-readable storage media
CN102150105B (en) Deployment and management of virtual containers
US8996864B2 (en) System for enabling multiple execution environments to share a device
US8856473B2 (en) Computer system protection based on virtualization
KR101232558B1 (en) Automated modular and secure boot firmware update
TWI559167B (en) A unified extensible firmware interface(uefi)-compliant computing device and a method for administering a secure boot in the uefi-compliant computing device
US20150332043A1 (en) Application analysis system for electronic devices
US20160371105A1 (en) Deployment and installation of updates in a virtual environment
EP3370449B1 (en) Method and device for configuring security indication information
US8843926B2 (en) Guest operating system using virtualized network communication
US20180060588A1 (en) Operating system
CN106066803B (en) application program operation control method and device
JP2008524686A (en) Method for maintaining an application in a computer device
WO2023029747A1 (en) Method for implementing single instance function of application, and apparatus
CN110750805B (en) Application program access control method and device, electronic equipment and readable storage medium
CN108984212B (en) Method for closing process and electronic equipment
CN100424652C (en) Had disk self-recovery protecting method based on embedded operation system
US20240134720A1 (en) Apparatus, and method
CN117492776A (en) Application installation method and device and electronic equipment
Maikibayeva et al. STUDY OF OPERATING SYSTEMS IN THE COURSE OF INFORMATION AND COMMUNICATION TECHNOLOGIES
CN115202754A (en) Processing method and processing apparatus
CN113826072A (en) Code update in system management mode
Stanek Windows 8.1 Administration Pocket Consultant Essentials & Configuration: Windo 8.1 Admin Pocke Con_p1
JP2014112304A (en) Information processor, and method of installing file

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20230712