JP2013206394A - Information processing program, information processor, and information processing method - Google Patents

Information processing program, information processor, and information processing method Download PDF

Info

Publication number
JP2013206394A
JP2013206394A JP2012077833A JP2012077833A JP2013206394A JP 2013206394 A JP2013206394 A JP 2013206394A JP 2012077833 A JP2012077833 A JP 2012077833A JP 2012077833 A JP2012077833 A JP 2012077833A JP 2013206394 A JP2013206394 A JP 2013206394A
Authority
JP
Japan
Prior art keywords
destination application
processing
output destination
data
application
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.)
Granted
Application number
JP2012077833A
Other languages
Japanese (ja)
Other versions
JP5891903B2 (en
Inventor
Norihiko Asai
紀彦 浅井
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012077833A priority Critical patent/JP5891903B2/en
Publication of JP2013206394A publication Critical patent/JP2013206394A/en
Application granted granted Critical
Publication of JP5891903B2 publication Critical patent/JP5891903B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an information processing program or the like with excellent usability.SOLUTION: When a sharing destination application is a singular processing application, on condition that a plurality of pieces of JPEG data to be processed by the sharing destination application are present, a CPU makes a flash memory store sharing destination application identification information. The CPU makes the flash memory store unprocessed information for each of the plurality of pieces of JPEG data. The CPU makes an operation of making the sharing destination application identified by the sharing destination application identification information process one of the plurality of pieces of JPEG data be performed. The CPU makes the sharing destination application identified by the sharing destination application identification information process one piece of the JPEG data for which it is indicated that it is to be processed by the sharing destination application by the unprocessed information stored by the flash memory, as it is detected that the processing of one piece of the JPEG data is completed in the sharing destination application.

Description

本発明は、情報処理プログラム、情報処理装置、および情報処理方法に関する。   The present invention relates to an information processing program, an information processing apparatus, and an information processing method.

携帯端末には、「共有機能」と称される機能を有するものが存在する。共有機能は、一のアプリケーションで処理したデータを、他のアプリケーションへ渡し、他のアプリケーションで処理させる機能である。例えば、携帯端末に内蔵されたデジタルカメラにより画像データを撮影し、カメラアプリケーションによりその画像データからJPEGファイルを作成した場合には、上記の共有機能により、例えば、そのJPEGファイルを電子メールアプリケーションへ渡し、電子メールに添付して送信させることができる。このように、共有機能によれば、複数のアプリケーションを連動させて、多種多様な処理を携帯端末に実行させることができる。なお、JPEGファイルを処理するアプリケーションは、電子メールアプリケーションに限られず、複数種類存在している場合があり、例えば、特許文献1には、JPEGファイルが格納されているフォルダに応じて、異なるJPEGアプリケーションを起動する技術が記載されている。   Some portable terminals have a function called “shared function”. The sharing function is a function that passes data processed by one application to another application and causes the other application to process the data. For example, when image data is captured by a digital camera built in a portable terminal and a JPEG file is created from the image data by a camera application, the JPEG file is passed to an e-mail application, for example, by the above sharing function. , Can be sent as an e-mail attachment. As described above, according to the sharing function, it is possible to cause a mobile terminal to execute a wide variety of processes by linking a plurality of applications. Note that an application for processing a JPEG file is not limited to an e-mail application, and there may be a plurality of types. For example, Patent Document 1 discloses a different JPEG application depending on a folder in which a JPEG file is stored. The technology to start is described.

特開2005−049928号公報Japanese Patent Laying-Open No. 2005-049928

複数のデータを一括して共有する処理に対応していないアプリケーションが多数存在している。これらのアプリケーションでは、複数のデータを共有する場合に、データを1つずつ共有させるという操作を繰り返し行う必要があるため、ユーザビリティが良いとは言えない。   There are many applications that do not support the process of sharing multiple data at once. In these applications, when a plurality of data is shared, it is necessary to repeatedly perform the operation of sharing the data one by one, and thus it cannot be said that the usability is good.

本明細書に開示の技術は、上記の問題点を解決するためになされたものであり、ユーザビリティの良い情報処理プログラム、情報処理装置、および情報処理方法を提供することを目的とする。   The technology disclosed in the present specification has been made to solve the above-described problems, and an object thereof is to provide an information processing program, an information processing apparatus, and an information processing method with good usability.

この目的を達成するために、本明細書に開示の情報処理プログラムは、データ出力元のアプリケーションが出力するデータを、データ出力先として選択されたアプリケーションである出力先アプリケーションに処理させるデータ共有部を備えた情報処理装置が備えるコンピュータにおいて実行される情報処理プログラムであって、コンピュータを、出力先アプリケーションが処理対象データを1つずつ処理する単数処理アプリケーションである場合に、出力先アプリケーションに処理させる処理対象データが複数存在していることを条件として、出力先アプリケーションを識別する情報である出力先アプリケーション識別情報を記憶部に記憶させる第1記憶制御手段と、複数の処理対象データの各々について、出力先アプリケーションで未処理の処理対象データを出力先アプリケーションに処理させることをコンピュータに示すための未処理情報を記憶部に記憶させる第2記憶制御手段と、複数の処理対象データのうちの1つを、出力先アプリケーション識別情報で識別される出力先アプリケーションに処理させる動作を、データ共有部に行わせる処理制御手段と、して機能させ、処理制御手段は、出力先アプリケーションで1つの処理対象データの処理が完了したことを検出することに応じて、記憶部が記憶している未処理情報によって出力先アプリケーションに処理させることが示されている処理対象データのうちの1つを、出力先アプリケーション識別情報で識別される出力先アプリケーションに処理させることを特徴とする。   In order to achieve this object, an information processing program disclosed in this specification includes a data sharing unit that causes an output destination application, which is an application selected as a data output destination, to process data output by a data output source application. An information processing program that is executed by a computer included in the information processing apparatus provided, and causes the output destination application to process the computer when the output destination application is a single processing application that processes data to be processed one by one First storage control means for storing output destination application identification information, which is information for identifying an output destination application, in the storage unit on condition that there are a plurality of target data, and output for each of the plurality of processing target data Unprocessed in destination application Second storage control means for storing unprocessed information for indicating to the computer that the processing target data is to be processed by the output destination application, and one of the plurality of processing target data is identified as the output destination application The operation to be processed by the output destination application identified by the information functions as a processing control unit that causes the data sharing unit to perform processing, and the processing control unit has completed processing of one processing target data in the output destination application Is detected by the output destination application identification information, which is indicated by the output destination application to be processed by the unprocessed information stored in the storage unit. The output destination application is processed.

本明細書に開示の情報処理プログラムによれば、第1記憶制御手段によって、出力先アプリケーションを記憶させることができる。第2記憶制御手段によって、未処理の処理対象データを記憶させることができる。そして、出力先アプリケーションで1つの処理対象データの処理が完了したことを検出することに応じて、未処理の処理対象データのうちの1つを、出力先アプリケーションで処理させることができる。これにより、出力先アプリケーションが複数のデータを一括して共有する処理に対応していない場合においても、複数の処理対象データを1つずつ出力先アプリケーションに処理させる動作を、自動で行うことが可能となる。よって、複数の処理対象データを1つずつ出力先アプリケーションに処理させる、という操作を繰り返し行う必要を無くすことができるため、ユーザビリティを向上させることが可能となる。   According to the information processing program disclosed in this specification, the first storage control unit can store the output destination application. Unprocessed data to be processed can be stored by the second storage control means. Then, in response to detecting that the processing of one processing target data is completed in the output destination application, one of the unprocessed processing target data can be processed in the output destination application. As a result, even when the output destination application does not support the process of sharing a plurality of data at once, it is possible to automatically perform the operation of causing the output destination application to process a plurality of processing target data one by one. It becomes. Therefore, it is possible to improve usability because it is not necessary to repeatedly perform an operation of causing the output destination application to process a plurality of pieces of processing target data one by one.

請求項2記載の情報処理プログラムによれば、処理制御手段を機能させる情報処理プログラムに発生したエラー等により、複数の処理対象データを1つずつ出力先アプリケーションに処理させている最中に、処理制御手段を終了して再起動する必要が発生する場合がある。このような場合においても、不揮発性の記憶部に記憶されている未処理情報に基づいて、出力先アプリケーションや未処理の処理対象データを特定することができるため、再起動後において、未処理の処理対象データから処理を続行することが可能となる。   According to the information processing program of claim 2, processing is performed while the output destination application is processing a plurality of pieces of processing target data one by one due to an error or the like generated in the information processing program that causes the processing control unit to function. It may be necessary to terminate and restart the control means. Even in such a case, the output destination application and the unprocessed processing target data can be identified based on the unprocessed information stored in the nonvolatile storage unit. Processing can be continued from the processing target data.

請求項3記載の情報処理プログラムによれば、出力先アプリケーションで、処理対象データに対応する連続番号を用いた処理(例:連続番号に従った順番で画像を表示する処理)を可能とすることができる。よって、ユーザビリティを向上させることができる。   According to the information processing program of the third aspect, the output destination application can perform processing using the serial number corresponding to the processing target data (eg, processing for displaying images in the order according to the serial number). Can do. Therefore, usability can be improved.

請求項4記載の情報処理プログラムによれば、複数の処理対象データを一括して処理することが可能なアプリケーション(以降、一括処理アプリケーションとも記述する)と、処理対象データを1つずつ処理する単数処理アプリケーションとを共存させることができる。また、一括処理アプリケーションを使用する場合には、出力先アプリケーション識別情報などの情報を記憶部に記憶させない制御を行うことができるため、記憶部の記憶容量の節約を図ることが可能となる。   According to the information processing program of claim 4, an application that can process a plurality of processing target data at once (hereinafter also referred to as a batch processing application) and a single processing unit that processes the processing target data one by one It can coexist with a processing application. Further, when a batch processing application is used, control such that information such as output destination application identification information is not stored in the storage unit can be performed, so that the storage capacity of the storage unit can be saved.

請求項5記載の情報処理プログラムによれば、処理対象データがマルチページを含ませることができないフォーマットのデータ構造である場合においても、複数の処理対象データを1つずつ出力先アプリケーションに処理させる動作を、自動で行うことが可能となる。   According to the information processing program of claim 5, the operation of causing the output destination application to process a plurality of pieces of processing target data one by one even when the processing target data has a data structure in a format that cannot include multi-pages. Can be performed automatically.

請求項6記載の情報処理プログラムによれば、複数の処理対象データを選択する操作が受け付けられれば、その後は自動で、選択された複数の処理対象データを1つずつ出力先アプリケーションで処理させることができる。よって、ユーザビリティを向上させることが可能となる。   According to the information processing program of claim 6, when an operation for selecting a plurality of processing target data is accepted, the selected plurality of processing target data is automatically processed one by one by the output destination application thereafter. Can do. Therefore, usability can be improved.

請求項7記載の情報処理プログラムによれば、出力先アプリケーションに処理させる処理対象データを、ユーザに認識させることができる。よって、ユーザビリティを向上させることが可能となる。   According to the information processing program of the seventh aspect, the processing target data to be processed by the output destination application can be recognized by the user. Therefore, usability can be improved.

請求項8記載の情報処理プログラムによれば、複数の処理対象データの各々に対して、異なる画像編集を実行することが可能となる。よって、ユーザビリティを向上させることができる。   According to the information processing program of the eighth aspect, it is possible to execute different image editing on each of the plurality of processing target data. Therefore, usability can be improved.

請求項9記載の情報処理プログラムによれば、出力先アプリケーションから処理完了の報知を受信することができる。よって、出力先アプリケーションでの処理対象データの処理が完了したことを検出することが可能となるため、次の処理対象データを出力先アプリケーションに処理させることができる。これにより、複数の処理対象データを1つずつ出力先アプリケーションに処理させる動作を、自動で行うことが可能となる。   According to the information processing program of the ninth aspect, it is possible to receive a notification of processing completion from the output destination application. Therefore, since it is possible to detect that the processing of the processing target data in the output destination application is completed, the next processing target data can be processed by the output destination application. Accordingly, it is possible to automatically perform an operation of causing the output destination application to process a plurality of pieces of processing target data one by one.

請求項10記載の情報処理プログラムによれば、データ共有部が第1表示画面を第2表示画面よりも優先して表示部に表示させることに応じて、出力先アプリケーションでの処理対象データの処理が完了したことを検出することが可能となるため、次の処理対象データを出力先アプリケーションに処理させることができる。これにより、複数の処理対象データを1つずつ出力先アプリケーションに処理させる動作を、自動で行うことが可能となる。   According to the information processing program according to claim 10, processing of the processing target data in the output destination application in response to the data sharing unit displaying the first display screen on the display unit with priority over the second display screen. Therefore, it is possible to detect that the next processing target data is processed by the output destination application. Accordingly, it is possible to automatically perform an operation of causing the output destination application to process a plurality of pieces of processing target data one by one.

なお、本明細書に開示の技術は、情報処理装置、情報処理装置を制御する制御装置、情報処理システム、情報処理方法、情報処理プログラムを記録する記録媒体等の種々の態様で実現可能である。   The technology disclosed in this specification can be realized in various modes such as an information processing device, a control device that controls the information processing device, an information processing system, an information processing method, and a recording medium that records an information processing program. .

デバイス制御アプリケーションを搭載した携帯端末の電気的構成を示すブロック図である。It is a block diagram which shows the electric constitution of the portable terminal carrying a device control application. 共有機能を説明する図である。It is a figure explaining a sharing function. 携帯端末における画面の遷移を示す図である。It is a figure which shows the transition of the screen in a portable terminal. 携帯端末における画面の遷移を示す図である。It is a figure which shows the transition of the screen in a portable terminal. スキャン処理を示すフローチャートである。It is a flowchart which shows a scanning process. 共有処理を示すフローチャートである。It is a flowchart which shows a sharing process. 共有処理を示すフローチャートである。It is a flowchart which shows a sharing process. 共有処理を示すフローチャートである。It is a flowchart which shows a sharing process. 起動処理を示すフローチャートである。It is a flowchart which shows starting processing.

以下、本発明の好ましい実施形態について、添付図面を参照して説明する。図1は、本発明の第1実施形態であるデバイス制御アプリケーション14b(以下、本アプリ14bとも記述する)が搭載された携帯端末10の電気的構成を示すブロック図である。   Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. FIG. 1 is a block diagram showing an electrical configuration of a mobile terminal 10 in which a device control application 14b (hereinafter also referred to as the present application 14b) according to the first embodiment of the present invention is mounted.

携帯端末10は、携帯電話網100を介して、他の装置との間で音声通話を行い、またはインターネットを利用可能な携帯電話機である。また、携帯端末10は、アクセスポイント50を介したインフラストラクチャモードにより、デバイス30との間で無線通信を行う。携帯端末10には、CPU11、ROM12、RAM13、フラッシュメモリ14、無線LAN送受信部15、操作キー16、タッチパネル17、液晶表示装置18(以下、LCD18とも記述する)、メモリカードインターフェース19(以下、メモリカードI/F19とも記述する)、音声入出力部21、電話網通信部22が設けられる。これらは、バスライン23を介して互いに接続されている。   The mobile terminal 10 is a mobile phone that can make a voice call with another device or use the Internet via the mobile phone network 100. Further, the mobile terminal 10 performs wireless communication with the device 30 in the infrastructure mode via the access point 50. The mobile terminal 10 includes a CPU 11, a ROM 12, a RAM 13, a flash memory 14, a wireless LAN transmission / reception unit 15, operation keys 16, a touch panel 17, a liquid crystal display device 18 (hereinafter also referred to as an LCD 18), a memory card interface 19 (hereinafter referred to as a memory). Audio input / output unit 21 and telephone network communication unit 22 are also provided. These are connected to each other via a bus line 23.

CPU11は、ROM12等に記憶される固定値やプログラム等に従って、バスライン23と接続された各部を制御する。ROM12は、書換不能な不揮発性のメモリであって、RAM13は、書換可能な揮発性のメモリである。フラッシュメモリ14は、書換可能な不揮発性のメモリであり、オペレーティングシステム14a(以下、OS14aとも記述する)や本アプリ14b、その他の複数種類のアプリケーション(図示せず)が格納される。OS14aは、携帯端末10の標準機能を実現するための基本ソフトウェアであって、本実施形態の場合、アンドロイド(登録商標)OSである。本アプリ14bは、デバイス30のベンダによって提供されるアプリケーションであって、ユーザによって携帯端末10にインストールされる。   The CPU 11 controls each unit connected to the bus line 23 according to a fixed value, a program, or the like stored in the ROM 12 or the like. The ROM 12 is a non-rewritable nonvolatile memory, and the RAM 13 is a rewritable volatile memory. The flash memory 14 is a rewritable nonvolatile memory, and stores an operating system 14a (hereinafter also referred to as OS 14a), the application 14b, and other types of applications (not shown). The OS 14a is basic software for realizing the standard functions of the mobile terminal 10, and is an Android (registered trademark) OS in the present embodiment. The application 14b is an application provided by the vendor of the device 30, and is installed in the mobile terminal 10 by the user.

以降、アプリケーションやオペレーティングシステムなどのプログラムを実行するCPU11のことを、単にプログラム名で記載する場合もある。例えば「アプリケーション」という記載が、「アプリケーションを実行するCPU11」を意味する場合もある。   Hereinafter, the CPU 11 that executes a program such as an application or an operating system may be simply described by a program name. For example, the description “application” may mean “CPU 11 that executes the application”.

携帯端末10に搭載されたOS14aのAPIをアプリケーションが用いることにより、アプリケーション間でデータを受け渡す共有機能(インテント機能とも呼ばれる)が実現される。また、携帯端末10に搭載された本アプリ14bは、パーソナルコンピュータなどを経由せずに、携帯端末10から直接、デバイス30の印刷機能およびスキャン機能を利用するためのアプリケーションである。特に、本アプリ14bは、デバイス30から取得したスキャンデータを、共有機能によって他のアプリケーションに渡す場合に、ユーザビリティが良いように構成されている。   By using the API of the OS 14a installed in the mobile terminal 10, the application can realize a sharing function (also referred to as an intent function) for transferring data between applications. The application 14b installed in the mobile terminal 10 is an application for using the printing function and the scanning function of the device 30 directly from the mobile terminal 10 without going through a personal computer or the like. In particular, the application 14b is configured to have good usability when the scan data acquired from the device 30 is passed to another application by the sharing function.

無線LAN送受信部15は、IEEE802.11b/gの規格に準拠した無線LANにより、携帯端末10と他の機器とをWi−Fi(登録商標)接続する回路である。この無線LAN送受信部15により、アクセスポイント50を介して、デバイス30との間が無線接続される。   The wireless LAN transmission / reception unit 15 is a circuit that connects the mobile terminal 10 and another device via Wi-Fi (registered trademark) using a wireless LAN that conforms to the IEEE802.11b / g standard. The wireless LAN transmission / reception unit 15 establishes a wireless connection with the device 30 via the access point 50.

操作キー16は、携帯端末10の筺体に設けられたハードキーであり、携帯端末10に設定情報や指示を入力する。タッチパネル17は、LCD18に重ねて設けられ、携帯端末10に設定情報や指示を入力する。LCD18は、各種の操作画面や、選択されたデータに基づく画像を表示する。メモリカードI/F19は、不揮発性のメモリカード20が装着されるインターフェースであって、メモリカード20に対するデータの書き込み又は読み出しを制御する。メモリカード20は、一例として、SDカード(登録商標)である。本実施形態の場合、本アプリ14bは、デバイス30から受信したスキャンデータを、PDFフォーマットのファイル(以下、PDFデータとも記述する)またはJPEGフォーマットのファイル(以下、JPEGデータとも記述する)に変換し、メモリカード20に格納する。PDFデータのフォーマットは、マルチページを含む1つのPDFデータを作成することができるデータ構造である。JPEGデータのフォーマットは、マルチページを含ませることができないデータ構造である。ここでマルチページとは、複数ページのデータである。   The operation key 16 is a hard key provided on the housing of the mobile terminal 10, and inputs setting information and instructions to the mobile terminal 10. The touch panel 17 is provided over the LCD 18 and inputs setting information and instructions to the mobile terminal 10. The LCD 18 displays various operation screens and images based on the selected data. The memory card I / F 19 is an interface to which a nonvolatile memory card 20 is attached, and controls writing or reading of data with respect to the memory card 20. The memory card 20 is an SD card (registered trademark) as an example. In the case of the present embodiment, the application 14b converts the scan data received from the device 30 into a PDF format file (hereinafter also referred to as PDF data) or a JPEG format file (hereinafter also referred to as JPEG data). And stored in the memory card 20. The format of PDF data is a data structure that can create one PDF data including multi-pages. The format of JPEG data is a data structure that cannot include multiple pages. Here, multipage is data of a plurality of pages.

音声入出力部21は、マイクやスピーカなどで構成された音声入出力用デバイスであり、電話網通信部22は、携帯電話網100を介した通信を行うための回路である。携帯電話網100は、IMT−2000(International Mobile Telecommunication-2000の略)方式の通信網であって、携帯端末10による音声通話の利用を可能にする。   The voice input / output unit 21 is a voice input / output device including a microphone and a speaker, and the telephone network communication unit 22 is a circuit for performing communication via the mobile phone network 100. The mobile phone network 100 is an IMT-2000 (abbreviation of International Mobile Telecommunication-2000) system, and enables the mobile terminal 10 to use a voice call.

なお、携帯端末10にインストールされた各アプリケーションは、OS14aのAPIを呼び出して、無線LAN送受信部15、操作キー16、タッチパネル17、LCD18、メモリカードI/F19、音声入出力部21、電話網通信部22など、携帯端末10の各構成に受け渡したいデータをOS14aに出力する。各アプリケーションには、本アプリ14bが含まれる。すなわち、各アプリケーションは、OS14aのAPIを呼び出すことによって、携帯端末10の各構成を制御する。また、各アプリケーションは、OS14aのAPIを呼び出して、携帯端末10の各構成が出力するデータや各構成の状態を示すデータをOS14aから取得する。すなわち、OS14aのAPIを呼び出すことによって、携帯端末10の各構成の状態を示すデータをOS14aから取得する。携帯端末10の各構成の状態は、携帯端末10への操作入力の状態も含んでいる。また、OS14aは、携帯端末10の各構成が出力するデータや各構成の状態を示すデータを、定期的に、あるいは各構成の状態変化の都度、各アプリケーションに通知することもある。すなわち、各アプリケーションは、OS14aからの通知を受けることによって、携帯端末10の各構成の状態を示すデータをOS14aから取得する。   Each application installed in the mobile terminal 10 calls the API of the OS 14a, and transmits / receives the wireless LAN transmission / reception unit 15, operation keys 16, touch panel 17, LCD 18, memory card I / F 19, voice input / output unit 21, and telephone network communication. Data to be transferred to each component of the mobile terminal 10 such as the unit 22 is output to the OS 14a. Each application includes the application 14b. That is, each application controls each component of the portable terminal 10 by calling the API of the OS 14a. Each application calls the API of the OS 14a to acquire data output from each component of the mobile terminal 10 and data indicating the state of each component from the OS 14a. That is, by calling the API of the OS 14a, data indicating the state of each component of the mobile terminal 10 is acquired from the OS 14a. The state of each component of the mobile terminal 10 includes the state of operation input to the mobile terminal 10. In addition, the OS 14a may notify each application of data output from each component of the mobile terminal 10 or data indicating the state of each component periodically or whenever the state of each component changes. That is, each application acquires data indicating the state of each component of the mobile terminal 10 from the OS 14a by receiving a notification from the OS 14a.

デバイス30は、プリンタ機能、スキャン機能、コピー機能などを有する複合機であって、携帯端末10の無線LAN送受信部15と同様に構成された無線LAN送受信部(図示せず)を備え、アクセスポイント50を介した無線通信により、携帯端末10とWi−Fi接続される。また、デバイス30は、携帯端末10の本アプリ14bにより制御され、携帯端末10から送信されてくるデータに基づいて画像を印刷し、または、原稿を読み取ってスキャンデータを生成し、携帯端末10へ送信する。   The device 30 is a multifunction device having a printer function, a scan function, a copy function, and the like, and includes a wireless LAN transmission / reception unit (not shown) configured similarly to the wireless LAN transmission / reception unit 15 of the mobile terminal 10, and an access point The mobile terminal 10 is connected to the mobile terminal 10 by Wi-Fi by wireless communication via 50. Further, the device 30 is controlled by the application 14b of the mobile terminal 10 and prints an image based on data transmitted from the mobile terminal 10, or generates a scan data by reading a document, and sends it to the mobile terminal 10. Send.

図2を参照して、携帯端末10のOS14aのAPIを用いることにより実現される共有機能について説明する。共有機能は、データ出力元のアプリケーションが出力するデータを、データ出力先として選択されたアプリケーションに処理させる機能である。共有機能としては、暗黙的共有機能と、明示的共有機能とがある。図2(a)は、暗黙的共有機能を説明する図であって、データ出力元のアプリケーション(以下、共有元アプリ60とも記述する)が、暗黙的共有機能の実行を、OS14aに要求した場合における処理の流れを示している。   With reference to FIG. 2, a sharing function realized by using the API of the OS 14a of the mobile terminal 10 will be described. The sharing function is a function for causing the application selected as the data output destination to process the data output from the data output source application. The sharing function includes an implicit sharing function and an explicit sharing function. FIG. 2A is a diagram for explaining the implicit sharing function, in which a data output source application (hereinafter also referred to as a sharing source application 60) requests the OS 14a to execute the implicit sharing function. Shows the flow of processing.

図2(a)に示すように、暗黙的共有機能において、共有元アプリ60は、OS14aのAPIを呼び出し、共有機能の実行を要求する(1)。この要求は、共有機能により他のアプリケーションに処理させようとするデータ(以下、共有データとも記述する)のURI(Uniform Resource Identifierの略)と、タイプと、アクションとを含む。URIは、共有データの所在を示す情報であり、本実施形態の場合、ファイルパスで構成される。タイプは、共有データのフォーマットを指定する情報であり、アクションは、処理の種類を指定する情報である。OS14aは、共有元アプリ60から通知されるタイプとアクションとを検索条件として、携帯端末10にインストールされた全てのアプリケーション(以下、全てのアプリ62とも記述する)の中から、データ出力先のアプリケーション(以下、共有先アプリ64とも記述する)となり得る候補を検索する(2)。   As shown in FIG. 2A, in the implicit sharing function, the sharing source application 60 calls the API of the OS 14a and requests execution of the sharing function (1). This request includes a URI (Uniform Resource Identifier) of data (hereinafter also referred to as shared data) to be processed by another application by the sharing function, a type, and an action. The URI is information indicating the location of the shared data, and in the case of this embodiment, is configured by a file path. The type is information that specifies the format of the shared data, and the action is information that specifies the type of processing. The OS 14a uses the type and action notified from the sharing source application 60 as search conditions, and selects the data output destination application from all the applications installed on the mobile terminal 10 (hereinafter also referred to as all the applications 62). Search for possible candidates (hereinafter also referred to as sharing destination application 64) (2).

携帯端末10にインストールされた各アプリケーションは、自アプリケーションにより処理可能なフォーマットを指定するタイプと、実行可能な処理の種類を指定するアクションとを予め宣言している。よって、OS14aは、共有元アプリ60から通知されたタイプとアクションとを検索条件として全てのアプリ62を検索する。そして、共有元アプリ60から通知されたタイプが指定するフォーマットのデータを処理可能であり、且つ、共有元アプリ60から通知されたアクションが指定する処理の種類に対応したアプリケーションを抽出し、その識別情報を取得する(3)。ただし、各アプリケーションが宣言するタイプ、アクションは、各アプリケーションの開発者が自由に設定できるものである。したがって、実際には実行できない処理を、各アプリケーションがアクションとして宣言している場合があり得る。よって、「共有元アプリ60から通知されたアクションが指定する処理の種類に対応したアプリケーション」とは、共有元アプリ60から通知されたアクションと、同一のアクションを宣言しているアプリケーションであることを意味しており、実際にその処理を実行可能であることまでを要求しない。   Each application installed in the mobile terminal 10 declares in advance a type that specifies a format that can be processed by the self-application and an action that specifies the type of processing that can be executed. Therefore, the OS 14a searches for all the applications 62 using the type and action notified from the sharing source application 60 as search conditions. Then, it is possible to process data in the format specified by the type notified from the sharing source application 60, and extract an application corresponding to the type of processing specified by the action notified from the sharing source application 60. Information is acquired (3). However, the type and action declared by each application can be freely set by the developer of each application. Therefore, each application may declare a process that cannot be actually executed as an action. Therefore, the “application corresponding to the type of processing specified by the action notified from the sharing source application 60” is an application that declares the same action as the action notified from the sharing source application 60. It does not require that the process be actually executable.

次に、OS14aは、検索により発見されたアプリケーション、すなわち、共有先アプリ64の候補であるアプリケーションの一覧を、LCD18に表示させる(4)。そして、ユーザが一覧からいずれかを選択すると(5)、OS14aは、選択された共有先アプリ64を起動して、その共有先アプリ64の画面をフォアグラウンド(前面とも呼ぶ)とし、共有元アプリ60から通知された共有データのURIと、タイプと、アクションとを通知する(6)。   Next, the OS 14a causes the LCD 18 to display a list of applications discovered by the search, that is, applications that are candidates for the sharing destination application 64 (4). When the user selects one from the list (5), the OS 14a activates the selected sharing destination application 64, sets the screen of the sharing destination application 64 as the foreground (also referred to as the front), and shares the source application 60. The URI, type, and action of the shared data notified from are notified (6).

その結果、ユーザにより選択された共有先アプリ64の画面がフォアグラウンドに表示され、共有先アプリ64は、通知されたURIで特定される共有データにアクセスし、アクションの値に従った処理を行う。例えば表示出力する、電子メールに添付して送信する、編集するなど、その共有先アプリ64で実行可能な各種の処理を行う。   As a result, the screen of the sharing destination application 64 selected by the user is displayed in the foreground, and the sharing destination application 64 accesses the shared data specified by the notified URI and performs processing according to the action value. For example, various processes that can be executed by the sharing destination application 64 are performed, such as display output, transmission by attaching to an e-mail, and editing.

図2(b)は、明示的共有機能を説明する図であって、共有元アプリ60が、明示的共有機能の実行をOS14aに要求した場合における処理の流れを示している。   FIG. 2B is a diagram for explaining the explicit sharing function, and shows the flow of processing when the sharing source application 60 requests the OS 14a to execute the explicit sharing function.

図2(b)に示すように、明示的共有機能において、共有元アプリ60は、OS14aのAPIを呼び出し、共有先アプリ64の候補の一覧の表示を要求する(21)。この要求は、共有データのタイプとアクションとを含む。OS14aは、共有元アプリ60から通知されるタイプとアクションとを検索条件として、携帯端末10にインストールされた全てのアプリ62の中から、共有先アプリ64の候補を検索し(22)、検索条件を満たすアプリケーションの識別情報を取得する(23)。   As shown in FIG. 2B, in the explicit sharing function, the sharing source application 60 calls the API of the OS 14a and requests display of a list of candidates for the sharing destination application 64 (21). This request includes the type of shared data and the action. The OS 14a searches for candidates for the sharing destination application 64 from all the applications 62 installed in the mobile terminal 10 using the type and action notified from the sharing source application 60 as search conditions (22). The identification information of the application satisfying the condition is acquired (23).

次に、OS14aは、検索により発見された共有先アプリ64の候補の一覧を、LCD18に表示させる(24)。そして、ユーザがいずれかを選択すると(25)、OS14aは、選択されたアプリケーションの識別情報、および検索条件として用いたタイプとアクションとを含むインテントを返す(26)。一方、共有元アプリ60は、OS14aからインテントを受けると、OS14aのAPIを呼び出し、そのインテントに含まれる選択されたアプリケーションの識別情報、共有データのURI、タイプ、アクションを指定して、共有機能の実行を要求する(27)。OS14aは、共有元アプリ60から指定されたアプリケーションである共有先アプリ64を起動して、その共有先アプリ64の画面をフォアグラウンドとし、共有元アプリ60から通知された共有データのURIと、タイプと、アクションとを通知する(28)。   Next, the OS 14a displays a list of candidates for the sharing destination application 64 found by the search on the LCD 18 (24). When the user selects any one (25), the OS 14a returns an intent including the identification information of the selected application and the type and action used as the search condition (26). On the other hand, when receiving the intent from the OS 14a, the sharing source application 60 calls the API of the OS 14a, specifies the identification information of the selected application included in the intent, specifies the URI, type, and action of the shared data, and shares it. A function execution is requested (27). The OS 14a activates the sharing destination application 64, which is an application designated by the sharing source application 60, sets the screen of the sharing destination application 64 to the foreground, the URI of the shared data notified from the sharing source application 60, the type, The action is notified (28).

すなわち、共有元アプリ60が共有先アプリ64を認識せずに、共有データのURI等をOS14aへ通知する共有機能を暗黙的共有機能といい、共有元アプリ60が共有先アプリ64を指定して、共有データのURI等をOS14aへ通知する共有機能を明示的共有機能という。なお、本アプリ14bは、OS14aの明示的共有機能を利用するものとして説明する。   That is, the sharing function in which the sharing source application 60 does not recognize the sharing destination application 64 and notifies the OS 14a of the shared data URI or the like is referred to as an implicit sharing function, and the sharing source application 60 designates the sharing destination application 64. The sharing function for notifying the OS of the shared data URI or the like is called an explicit sharing function. Note that the present application 14b will be described as using the explicit sharing function of the OS 14a.

図3および図4は、本アプリ14bの画面がフォアグラウンドに表示されている場合において、デバイス30から取得したスキャンデータについて、ユーザが共有機能の実行を指示した場合における画面の遷移を示す図である。   FIGS. 3 and 4 are diagrams illustrating screen transitions when the user instructs execution of the sharing function for the scan data acquired from the device 30 when the screen of the application 14b is displayed in the foreground. .

デバイス30からスキャンデータを取得した場合、本アプリ14bのスキャン結果確認画面70をLCD18に表示させ、その中で、スキャンデータに対応するスキャン画像71を表示させる。   When scan data is acquired from the device 30, a scan result confirmation screen 70 of the application 14b is displayed on the LCD 18, and a scan image 71 corresponding to the scan data is displayed therein.

スキャン結果確認画面70は、さらに、ページ表示領域72、共有ボタン74、保存ボタン76を含む。ページ表示領域72は、デバイス30に読み取らせた原稿の全ページ数と、現在表示中のスキャン画像71が全ページの原稿のうち何ページ目の原稿の画像であるかを示すページ番号とを表示する領域である。   The scan result confirmation screen 70 further includes a page display area 72, a share button 74, and a save button 76. The page display area 72 displays the total number of pages of the document read by the device 30 and the page number indicating which page of the original of the scanned image 71 currently displayed is the original image. It is an area to do.

共有ボタン74は、共有機能の実行指示を入力するための領域である。ユーザが共有ボタン74にタッチすると、表示中のスキャン画像71に対応するスキャンデータが、共有データとして決定される。   The share button 74 is an area for inputting a share function execution instruction. When the user touches the share button 74, scan data corresponding to the displayed scan image 71 is determined as shared data.

保存ボタン76は、保存機能の実行指示を入力するための領域である。ユーザが保存ボタン76にタッチすると、表示中のスキャン画像71に対応するスキャンデータの保存が実行される。具体的には、スキャンデータを所定のフォーマットのデータに変換し、さらに、OS14aのAPIを呼び出して、メモリカード20に記憶させる。   The save button 76 is an area for inputting a save function execution instruction. When the user touches the save button 76, the scan data corresponding to the displayed scan image 71 is saved. Specifically, the scan data is converted into data of a predetermined format, and the API of the OS 14a is called and stored in the memory card 20.

スキャン結果確認画面70において、ユーザが共有ボタン74にタッチすると、LCD18に表示させる画面を、本アプリ14bのフォーマット選択画面77に遷移させる。フォーマット選択画面77においては、フォーマット選択領域78のみで操作を受け付け、共有ボタン74、保存ボタン76はグレーアウトし、ユーザ操作を受け付けない。   When the user touches the share button 74 on the scan result confirmation screen 70, the screen displayed on the LCD 18 is changed to the format selection screen 77 of the application 14b. In the format selection screen 77, an operation is accepted only in the format selection area 78, the share button 74 and the save button 76 are grayed out, and no user operation is accepted.

フォーマット選択領域78は、PDFフォーマットと、JPEGフォーマットとのいずれかをユーザに選択させるための選択肢を含む。ユーザは、いずれのフォーマットでスキャンデータを他のアプリケーションに共有させたいかを選択し、選択したフォーマットの選択肢にタッチする選択操作を行う。   The format selection area 78 includes options for allowing the user to select either the PDF format or the JPEG format. The user selects a format in which the scan data is to be shared with other applications, and performs a selection operation of touching the selected format option.

フォーマット選択画面77において、ユーザが選択操作を行い、いずれかのフォーマットが選択されると、LCD18の画面を、処理中画面79に遷移させる。この処理中画面79の表示中、選択された一方のフォーマットの処理対象データが作成され、さらに、OS14aのAPIを呼び出すことにより、そのデータがメモリカード20に記憶される。なお、処理中画面79の表示中は、ユーザ操作を受け付けない。   When the user performs a selection operation on the format selection screen 77 and any one of the formats is selected, the screen of the LCD 18 is changed to a processing screen 79. While the processing screen 79 is displayed, processing target data of one selected format is created, and the data is stored in the memory card 20 by calling the API of the OS 14a. Note that user operations are not accepted while the processing screen 79 is being displayed.

処理対象データを作成した後、本アプリ14bは、OS14aのAPIを呼び出して、処理対象フォーマットのタイプ、およびアクションを指定し、共有先アプリ64の候補の一覧表示を要求する。すなわち、図2(21)に示す処理を実行する。   After creating the processing target data, the application 14b calls the API of the OS 14a, specifies the type and action of the processing target format, and requests a list of candidates for the sharing destination application 64. That is, the process shown in FIG. 2 (21) is executed.

一方、一覧表示要求を受けたOS14aは、共有先アプリ64(図2)の候補を検索し、発見されたアプリケーションの名称82を列記した共有先アプリ一覧画面81を、LCD18に表示させることにより、共有機能によるデータ出力先として選択可能なアプリケーションを一覧で示す。複数のデータを処理可能なアプリケーションである一括処理アプリケーションが存在しない場合(S612:NO)、または、一括処理アプリケーションが選択されない場合(S616:NO)には、処理対象データを1つずつ処理するアプリケーションである単数処理アプリケーションが一覧で表示される(S620)。ユーザは、表示された候補の中から、所望のアプリケーションを共有先アプリ64として選択する。したがって、ユーザにとっては、デバイス30から取得したスキャンデータを、所望のフォーマットのデータに変換し、さらにそのフォーマットのデータを処理可能なアプリケーションの一覧から、適切な共有先アプリ64を簡単に選択できる。すなわち、ユーザは、簡単な操作、且つ、自由な組み合わせで、本アプリ14bと他のアプリケーションとを連動させ、デバイス30から取得したスキャンデータを様々な態様で利用でき、ユーザビリティが良い。   On the other hand, the OS 14a that has received the list display request searches for candidates for the sharing destination application 64 (FIG. 2) and displays on the LCD 18 a sharing destination application list screen 81 that lists the names 82 of the discovered applications. Lists the applications that can be selected as data output destinations using the sharing function. When there is no batch processing application that can process a plurality of data (S612: NO), or when a batch processing application is not selected (S616: NO), an application that processes the processing target data one by one Are displayed in a list (S620). The user selects a desired application as the sharing destination application 64 from the displayed candidates. Therefore, for the user, the scan data acquired from the device 30 can be converted into data of a desired format, and an appropriate sharing destination application 64 can be easily selected from a list of applications that can process the data of the format. That is, the user can use the scan data acquired from the device 30 in various modes by linking the application 14b with another application with a simple operation and a free combination, and the usability is good.

共有先アプリ一覧画面81において、ユーザが選択操作を行い、いずれかの単数処理アプリケーションが選択されると、LCD18の画面を、データ選択画面110(図4)に遷移させる(S626)。データ選択画面110は、サムネイル画像111〜115、全選択ボタン117、ページ入力領域118、を含んでいる。サムネイル画像111〜115は、共有データの各々を識別する識別画像である。サムネイル画像111〜115は、それぞれ、1〜5ページ目のサムネイル画像に該当する。   When the user performs a selection operation on the sharing destination application list screen 81 and any singular processing application is selected, the screen of the LCD 18 is changed to the data selection screen 110 (FIG. 4) (S626). The data selection screen 110 includes thumbnail images 111 to 115, an all selection button 117, and a page input area 118. The thumbnail images 111 to 115 are identification images for identifying each piece of shared data. The thumbnail images 111 to 115 correspond to the thumbnail images of the first to fifth pages, respectively.

全選択ボタン117は、表示されている全てのサムネイル画像に対応するJPEGデータを、共有先アプリ64へ出力するデータとして選択する指示を入力するための領域である。ユーザが全選択ボタン117にタッチすると、サムネイル画像111〜115に対応するJPEGデータが選択される。ページ入力領域118は、複数のサムネイル画像のうちから選択されたサムネイル画像のページ番号を入力するための領域である。ユーザがサムネイル画像のページ番号をページ入力領域118に入力すると、入力したページ番号に対応するサムネイル画像のJPEGデータが選択される。例えば、ページ入力領域118に「1、3−5」というページ番号が入力された場合には、1ページ目のサムネイル画像111に対応するJPEGデータ、および、3〜5ページ目のサムネイル画像113〜115に対応するJPEGデータが選択される。これにより、ユーザは、共有先アプリ64へ出力するJPEGデータを、複数のJPEGデータの中から選択することが可能となる。   The all selection button 117 is an area for inputting an instruction to select JPEG data corresponding to all displayed thumbnail images as data to be output to the sharing destination application 64. When the user touches the all selection button 117, JPEG data corresponding to the thumbnail images 111 to 115 is selected. The page input area 118 is an area for inputting a page number of a thumbnail image selected from a plurality of thumbnail images. When the user inputs the page number of the thumbnail image in the page input area 118, the JPEG data of the thumbnail image corresponding to the input page number is selected. For example, when a page number of “1, 3-5” is input to the page input area 118, JPEG data corresponding to the thumbnail image 111 of the first page and thumbnail images 113 to 3 of the third to fifth pages. JPEG data corresponding to 115 is selected. Thus, the user can select JPEG data to be output to the sharing destination application 64 from among a plurality of JPEG data.

データ選択画面110において、ユーザが選択操作を行い、いずれかのサムネイル画像が選択されると、LCD18の画面を、画像編集画面200に遷移させる(S631、S660)。画像編集画面200は、処理対象サムネイル画像201、回転処理ボタン202、モノクロ処理ボタン203、セピア処理ボタン204、を含んでいる。処理対象サムネイル画像201は、単数処理アプリケーションに処理させる1つのJPEGデータの内容を示す、縮小画像である。回転処理ボタン202は、JPEGデータの向きを回転させる処理(例:縦向きと横向きとの間で向きを変換する処理)の実行指示を入力するための領域である。モノクロ処理ボタン203は、JPEGデータをモノクロのJPEGデータに変換する処理の実行指示を入力するための領域である。セピア処理ボタン204は、JPEGデータをセピア基調のJPEGデータに変換する処理の実行指示を入力するための領域である。セピア基調とは、黒がかった茶色の色調である。ユーザが回転処理ボタン202〜セピア処理ボタン204の何れかにタッチすると、表示中の処理対象サムネイル画像201に対応するJPEGデータに対して、タッチされたボタンに対応する処理が行われる。   When the user performs a selection operation on the data selection screen 110 and any thumbnail image is selected, the screen of the LCD 18 is changed to the image editing screen 200 (S631, S660). The image editing screen 200 includes a processing target thumbnail image 201, a rotation processing button 202, a monochrome processing button 203, and a sepia processing button 204. The processing target thumbnail image 201 is a reduced image indicating the contents of one JPEG data to be processed by a single processing application. The rotation processing button 202 is an area for inputting an execution instruction for processing for rotating the orientation of JPEG data (eg, processing for converting the orientation between portrait orientation and landscape orientation). The monochrome processing button 203 is an area for inputting an execution instruction for processing for converting JPEG data into monochrome JPEG data. The sepia processing button 204 is an area for inputting an instruction to execute processing for converting JPEG data into sepia-based JPEG data. Sepia tone is a blackish brown color tone. When the user touches any one of the rotation processing button 202 to the sepia processing button 204, processing corresponding to the touched button is performed on the JPEG data corresponding to the processing target thumbnail image 201 being displayed.

以後、選択されたサムネイル画像に対応するJPEGデータが、1つずつ共有先アプリ64で処理される。このとき、共有先アプリ64で現在処理中のJPEGデータについてのサムネイル画像が、処理対象サムネイル画像201としてデータ選択画面110に表示される。そして、共有先アプリ64でのJPEGデータの処理が完了すると、次の処理順番のJPEGデータについてのサムネイル画像が、処理対象サムネイル画像201として、データ選択画面110に自動で表示される(S660)。そして、次の処理順番のJPEGデータが、共有先アプリ64で処理開始される。   Thereafter, the JPEG data corresponding to the selected thumbnail image is processed by the sharing destination application 64 one by one. At this time, a thumbnail image of the JPEG data currently being processed by the sharing destination application 64 is displayed on the data selection screen 110 as the processing target thumbnail image 201. When the JPEG data processing in the sharing destination application 64 is completed, a thumbnail image for the JPEG data in the next processing order is automatically displayed on the data selection screen 110 as the processing target thumbnail image 201 (S660). Then, processing of JPEG data in the next processing order is started in the sharing destination application 64.

図5は、本アプリ14bに従い、携帯端末10のCPU11が実行するスキャン処理を示すフローチャートである。この処理は、本アプリ14bの操作受け付け画面(図示せず)から、ユーザがスキャンの実行を指示した場合に開始される。なお、以下に説明する図5から図9のフローチャートに示す各ステップは、本アプリ14bがCPU11に実行させ、または、本アプリ14bがOS14aなどの機能を利用してCPU11に実行させるものとして説明する。ただし、各フローチャートが含むステップは、OS14aやその他アプリケーションがCPU11に実行させるステップに一部置き換えられても良い。また、CPU11の関与によらず、携帯端末10に設けられたハードウェアそのものが作動することによって実現されるステップに、一部置き換えられても良い。   FIG. 5 is a flowchart showing a scan process executed by the CPU 11 of the mobile terminal 10 according to the application 14b. This process is started when a user instructs execution of a scan from an operation reception screen (not shown) of the application 14b. Note that the steps shown in the flowcharts of FIGS. 5 to 9 described below are described as being executed by the CPU 11 by the application 14b or by the CPU 11 using the function such as the OS 14a by the application 14b. . However, the steps included in each flowchart may be partially replaced with steps that the OS 11a and other applications cause the CPU 11 to execute. Moreover, a part realized by the operation of the hardware provided in the mobile terminal 10 regardless of the CPU 11 may be replaced.

まず、ステップS402(以下、ステップを省略)において、CPU11は、デバイス30に対してスキャンデータを送信するよう、無線LAN送受信部15から指示させる(S402)。一方、デバイス30は、携帯端末10からの指示に応じて、原稿をスキャンしてスキャンデータを生成し、携帯端末10へ送信する。携帯端末10は、デバイス30から受信したスキャンデータをRAM13に一時記憶させる。本実施形態において、このスキャンデータは、非圧縮、または可逆圧縮されたRAW画像データであるものとする。デバイス30においてスキャンが完了しない間(S404:NO)、CPU11は、処理を待機する。   First, in step S402 (hereinafter, step is omitted), the CPU 11 instructs the wireless transmission / reception unit 15 to transmit scan data to the device 30 (S402). On the other hand, the device 30 scans a document in accordance with an instruction from the mobile terminal 10 to generate scan data, and transmits the scan data to the mobile terminal 10. The mobile terminal 10 temporarily stores the scan data received from the device 30 in the RAM 13. In the present embodiment, this scan data is assumed to be RAW image data that has been uncompressed or reversibly compressed. While the scan is not completed in the device 30 (S404: NO), the CPU 11 stands by for processing.

一方、デバイス30においてスキャンが完了した場合(S404:YES)、CPU11は、スキャン結果確認画面70(図3)をLCD18に表示させる(S406)。次に、操作入力がない場合(S408:NO)、CPU11は、処理を待機する。一方、操作キー16またはタッチパネル17に対して操作が入力された場合であって(S408:YES)、且つ、共有機能以外の機能の実行指示が入力される場合(S410:NO)、CPU11は、操作入力に応じた各処理(例えば、スキャンデータの保存処理)を実行し(S412)、スキャン処理を終了する。スキャン処理を終了すると、CPU11は本アプリ14bの操作受け付け画面(図示せず)を表示させる。   On the other hand, when the scan is completed in the device 30 (S404: YES), the CPU 11 displays the scan result confirmation screen 70 (FIG. 3) on the LCD 18 (S406). Next, when there is no operation input (S408: NO), CPU11 waits for a process. On the other hand, when an operation is input to the operation key 16 or the touch panel 17 (S408: YES) and an execution instruction for a function other than the shared function is input (S410: NO), the CPU 11 Each process (for example, scan data storage process) according to the operation input is executed (S412), and the scan process is terminated. When the scanning process ends, the CPU 11 displays an operation acceptance screen (not shown) of the application 14b.

一方、共有機能の実行指示が入力された場合(S410:YES)、CPU11は、フォーマット選択画面77をLCD18に表示させ(S414)、JPEGフォーマットとPDFフォーマットとのいずれかをユーザに選択させる。デバイス30に読み取らせる原稿は、写真画像である場合、文書である場合など、様々である。よって、スキャンデータの内容に適したフォーマットでデータを作成できるよう、いずれかのフォーマットをユーザに選択させるのである。   On the other hand, when the execution instruction of the sharing function is input (S410: YES), the CPU 11 displays the format selection screen 77 on the LCD 18 (S414), and allows the user to select either the JPEG format or the PDF format. There are various types of originals to be read by the device 30 such as photographic images and documents. Therefore, the user selects one of the formats so that the data can be created in a format suitable for the content of the scan data.

次に、フォーマットが選択されない間(S416:NO)、CPU11は、処理を待機する。一方、タッチパネル17がPDFフォーマットを指定する指示を受け付けた場合(S416:PDF)、CPU11はデバイス30から取得したスキャンデータから、PDFデータを作成する(S430)。なお、複数ページの原稿をデバイス30にスキャンさせた場合、携帯端末10は、複数のスキャンデータをデバイス30から取得する。その場合、CPU11は、複数のスキャンデータから、複数ページのデータを含む1つのPDFデータを作成する。   Next, while the format is not selected (S416: NO), the CPU 11 stands by for processing. On the other hand, when the touch panel 17 receives an instruction to specify the PDF format (S416: PDF), the CPU 11 creates PDF data from the scan data acquired from the device 30 (S430). When the device 30 scans a plurality of pages of the document, the mobile terminal 10 acquires a plurality of scan data from the device 30. In that case, the CPU 11 creates one PDF data including a plurality of pages of data from a plurality of scan data.

一方、タッチパネル17がJPEGフォーマットを指定する指示を受け付けた場合であって(S416:JPEG)、且つ、デバイス30から1つのスキャンデータを取得した場合、すなわち、デバイス30に1ページの原稿をスキャンさせた場合(S418:NO)、CPU11は、そのスキャンデータから1つのJPEGデータを作成する(S428)。   On the other hand, when the touch panel 17 receives an instruction to specify the JPEG format (S416: JPEG) and one scan data is acquired from the device 30, that is, the device 30 scans one page of the document. If it is found (S418: NO), the CPU 11 creates one JPEG data from the scan data (S428).

一方、デバイス30から複数のスキャンデータを取得した場合、例えば、デバイス30に複数ページの原稿をスキャンさせた場合(S418:YES)、CPU11は、複数のスキャンデータから、それぞれ1つのJPEGデータを作成することにより、複数のJPEGデータを作成する(S420)。   On the other hand, when a plurality of scan data is acquired from the device 30, for example, when the device 30 scans a plurality of pages of an original (S418: YES), the CPU 11 creates one JPEG data from each of the plurality of scan data. As a result, a plurality of JPEG data is created (S420).

次に、CPU11は、処理中画面79(図3)をLCD18に表示させる(S422)。そして、処理対象データ(S420、S428で作成されるJPEGデータ、またはS430で作成されるPDFデータ)の作成中(S424:NO)、CPU11は、S422から処理を繰り返す。本実施形態では、CPU11は、作成した処理対象データにファイル名を付与し、ファイルとしてメモリカード20に記憶させる。処理対象データの作成開始から、処理対象データを構成するファイルをメモリカード20に書き込み、そのファイルをクローズするまでは、処理対象データの作成中とする。付与されるファイル名は例えば、「photo.jpg」「photo1.jpg」「image1.jpg」「image2.jpg」「document.pdf」というファイル名が挙げられる。一方、処理対象データの作成が完了すると(S424:YES)、CPU11は、共有処理(S426)を実行することにより、共有先アプリ一覧画面81(図3)をLCD18に表示させ、スキャン処理を終了する。スキャン処理を終了すると、CPU11は本アプリ14bの操作受け付け画面(図示せず)を表示させる。共有処理(S426)については、図6を参照して後述する。   Next, the CPU 11 displays a processing screen 79 (FIG. 3) on the LCD 18 (S422). Then, the CPU 11 repeats the process from S422 while the process target data (JPEG data created in S420 and S428 or PDF data created in S430) is being created (S424: NO). In the present embodiment, the CPU 11 assigns a file name to the created processing target data and stores it in the memory card 20 as a file. The process target data is being created from the start of the creation of the process target data until the file constituting the process target data is written to the memory card 20 and the file is closed. Examples of the file name to be given include “photo.jpg”, “photo1.jpg”, “image1.jpg”, “image2.jpg”, and “document.pdf”. On the other hand, when the creation of the processing target data is completed (S424: YES), the CPU 11 executes the sharing process (S426) to display the sharing destination application list screen 81 (FIG. 3) on the LCD 18 and ends the scanning process. To do. When the scanning process ends, the CPU 11 displays an operation acceptance screen (not shown) of the application 14b. The sharing process (S426) will be described later with reference to FIG.

本実施形態のスキャン処理によれば、ユーザにより選択された処理対象データが作成された後に、共有先アプリ一覧画面81がLCD18に表示される。換言すれば、共有先アプリ一覧画面81の表示前に、処理対象データの作成が完了している。   According to the scan processing of the present embodiment, after the processing target data selected by the user is created, the sharing destination application list screen 81 is displayed on the LCD 18. In other words, the creation of the processing target data is completed before the sharing destination application list screen 81 is displayed.

よって、ユーザが、共有先アプリ一覧画面81(図3)から、共有先アプリ64として選択したアプリケーションが、共有データである処理対象データを処理する時点において、その処理対象データは既にメモリカード20に作成済みであり、共有先アプリ64からアクセス可能な状態になっている。したがって、共有先アプリ64に確実に処理対象データを処理させることができる。   Therefore, when the application selected as the sharing destination application 64 from the sharing destination application list screen 81 (FIG. 3) processes the processing target data that is the shared data, the processing target data is already stored in the memory card 20. It has been created and is accessible from the sharing destination application 64. Therefore, it is possible to cause the sharing destination application 64 to reliably process the processing target data.

また、本実施形態によれば、ユーザが選択したフォーマットである処理対象フォーマットについてのみ、データを作成するので、選択されないフォーマット、すなわち不要なフォーマットのデータについては作成を省き、処理の負荷を軽減できる。   Also, according to the present embodiment, data is created only for the processing target format that is the format selected by the user, so creation of data that is not selected, that is, unnecessary format data, can be omitted, and the processing load can be reduced. .

また、互換性の低いRAW画像データから、汎用のPDFデータまたはJPEGデータを作成し、共有先のアプリケーションに処理させるので、様々なアプリケーションを共有先アプリ64として選択させることができる。すなわち、デバイス30から取得したスキャンデータを多種多様な形態で利用できる。   In addition, since general-purpose PDF data or JPEG data is created from RAW image data with low compatibility and is processed by the sharing destination application, various applications can be selected as the sharing destination application 64. That is, the scan data acquired from the device 30 can be used in various forms.

また、共有機能の実行指示が入力された場合に、フォーマット選択画面77を表示させるので、複数のフォーマットの中から所望のフォーマットを選択可能であることをユーザに示すことができ、ユーザビリティが良い。   In addition, since the format selection screen 77 is displayed when a sharing function execution instruction is input, it is possible to indicate to the user that a desired format can be selected from a plurality of formats, and usability is good.

図6は、共有処理(S426)を示すフローチャートである。この処理は、各種のデータを共有先アプリ64に共有させるための処理である。図5を参照して説明したように、この処理は、処理対象データの作成完了後に開始される。   FIG. 6 is a flowchart showing the sharing process (S426). This process is a process for causing the sharing destination application 64 to share various data. As described with reference to FIG. 5, this process is started after the creation of the processing target data is completed.

S600においてCPU11は、メモリカード20に作成した処理対象データを、共有データとして指定する。S602においてCPU11は、S416で選択された、共有データのフォーマットを確認する。共有データのフォーマットがPDFフォーマットである場合(S602:PDF)には、S604へ進む。S604においてCPU11は、共有先アプリ64の候補中に、PDFフォーマットに対応しているアプリケーションが存在するか否かを判断する。具体的には、CPU11は、PDFフォーマットのデータを処理可能なアプリケーションを検索するよう、OS14aに要求し、OS14aからPDFフォーマットに対応しているアプリケーションの識別情報を含む情報が返ってきた場合には、PDFフォーマットに対応しているアプリケーションが存在すると判断し、OS14aからPDFフォーマットに対応しているアプリケーションの識別情報を含む情報が返ってこなかった場合には、PDFフォーマットに対応しているアプリケーションが存在しないと判断する。アプリケーションの識別情報を含む情報の例としては、アンドロイド(登録商標)OSにおけるインテントに含まれるアプリケーション名が挙げられる。存在しない場合(S604:NO)にはS605へ進む。S605においてCPU11は、PDFフォーマットに対応しているアプリケーションが存在しないことを示す画面をLCD18に表示させ、S606へ進む。S606においてCPU11は、PDFフォーマットの共有データをJPEGフォーマットに変換し、PDFフォーマットの共有データに代えて、変換後のJPEGフォーマットのデータを新たな共有データとする。そしてS602へ戻る。なおS606では、PDFフォーマットの共有データの基となったスキャンデータをJPEGフォーマットに変換し、変換後のJPEGフォーマットのデータを新たな共有データとしてもよい。   In S600, the CPU 11 designates the processing target data created in the memory card 20 as shared data. In S602, the CPU 11 confirms the format of the shared data selected in S416. If the format of the shared data is the PDF format (S602: PDF), the process proceeds to S604. In S <b> 604, the CPU 11 determines whether there is an application corresponding to the PDF format among the candidates for the sharing destination application 64. Specifically, the CPU 11 requests the OS 14a to search for an application that can process PDF format data, and when the OS 14a returns information including identification information of the application corresponding to the PDF format. When it is determined that there is an application corresponding to the PDF format and information including identification information of the application corresponding to the PDF format is not returned from the OS 14a, there is an application corresponding to the PDF format. Judge not to. An example of information including application identification information is an application name included in an intent in an Android (registered trademark) OS. If it does not exist (S604: NO), the process proceeds to S605. In step S605, the CPU 11 causes the LCD 18 to display a screen indicating that there is no application that supports the PDF format, and the process advances to step S606. In S606, the CPU 11 converts the shared data in the PDF format into the JPEG format, and uses the converted JPEG format data as new shared data instead of the shared data in the PDF format. Then, the process returns to S602. In step S606, the scan data that is the basis of the shared data in the PDF format may be converted into the JPEG format, and the converted JPEG format data may be used as new shared data.

一方、S604において、PDFフォーマットに対応しているアプリケーションが存在する場合(S604:YES)には、S608へ進む。S608においてCPU11は、OS14aのAPIを呼び出し、PDFフォーマットに対応している共有先アプリ64の識別情報、共有データのURI、「PDF」のタイプ、「SEND_MULTI」のアクションを指定して、明示的共有機能の実行をOS14aに要求する。そしてフローを終了する。ここで「SEND_MULTI」のアクションは、一括処理アプリケーションに対して、処理の種類を指定する情報である。   On the other hand, if there is an application corresponding to the PDF format in S604 (S604: YES), the process proceeds to S608. In S608, the CPU 11 calls the API of the OS 14a, specifies the identification information of the sharing destination application 64 corresponding to the PDF format, the URI of the shared data, the type of “PDF”, the action of “SEND_MULTI”, and explicitly shares it. The OS 14a is requested to execute the function. Then, the flow ends. Here, the action of “SEND_MULTI” is information for specifying the type of processing for the batch processing application.

一方、S416で選択された共有データのフォーマットがJPEGフォーマットであると、S602において判断された場合(S602:JPEG)には、S610へ進む。S610においてCPU11は、共有データとして指定されたJPEGデータが複数存在するか否かを判断する。JPEGデータが1つである場合(S610:NO)には、S611へ進む。S611においてCPU11は、JPEGフォーマットに対応している共有先アプリ64の識別情報を含むインテントをOS14aから受信する。この場合の共有先アプリ64は、単数処理アプリケーションである。具体的には、CPU11は、JPEGフォーマットのデータを処理可能なアプリケーションを検索するよう、OS14aに要求し、OS14aからJPEGフォーマットに対応しているアプリケーションの識別情報を含むインテントを受信する。なお、本実施形態では、携帯端末10には工場出荷状態でJPEGフォーマットに対応しているアプリケーションが少なくとも1つはインストールされているケースを想定している。CPU11は、OS14aのAPIを呼び出し、JPEGフォーマットに対応している共有先アプリ64の識別情報、1つのJPEGデータである共有データのURI、「JPEG」のタイプ、「VIEW」のアクションを指定して、明示的共有機能の実行をOS14aに要求する。そしてフローを終了する。なお、共有機能の実行を要求されたOS14aは、共有先アプリ64の画面をフォアグラウンド(前面とも呼ぶ)に表示するとともに、共有元アプリ60である本アプリ14bの画面を、共有先アプリ64の画面のバックグラウンド(背面とも呼ぶ)に表示する。そして本アプリ14bは、待機状態になる。そして、共有先アプリ64の処理が終了すると、OS14aは、本アプリ14aの画面をフォアグラウンド(前面とも呼ぶ)に表示する。そして本アプリ14bは、動作状態になる。すなわち、本アプリ14aは、動作状態になってから、フローを終了する。ここで、「VIEW」のアクションは、データを表示する処理を指定する情報である。なお、本実施形態では、携帯端末10にインストールされているアプリケーションのうち、少なくとも携帯端末10に工場出荷状態でインストールされているJPEGフォーマットに対応しているアプリケーションは、「VIEW」というアクションに対応していることを想定している。また、現状では、JPEGフォーマットに対応しているアプリケーションが「VIEW」に対応していることが多い。   On the other hand, if it is determined in S602 that the shared data format selected in S416 is the JPEG format (S602: JPEG), the process proceeds to S610. In S610, the CPU 11 determines whether or not there are a plurality of JPEG data designated as shared data. If there is only one JPEG data (S610: NO), the process proceeds to S611. In S611, the CPU 11 receives from the OS 14a an intent including identification information of the sharing destination application 64 that supports the JPEG format. In this case, the sharing destination application 64 is a single processing application. Specifically, the CPU 11 requests the OS 14a to search for an application capable of processing data in JPEG format, and receives an intent including identification information of the application corresponding to the JPEG format from the OS 14a. In the present embodiment, it is assumed that at least one application compatible with the JPEG format is installed in the mobile terminal 10 in a factory-shipped state. The CPU 11 calls the API of the OS 14a, specifies the identification information of the sharing destination application 64 corresponding to the JPEG format, the URI of the shared data that is one JPEG data, the type of “JPEG”, and the action of “VIEW”. The OS 14a is requested to execute the explicit sharing function. Then, the flow ends. The OS 14a requested to execute the sharing function displays the screen of the sharing destination application 64 in the foreground (also referred to as the front), and displays the screen of the sharing source application 60 as the screen of the sharing destination application 64. In the background (also called the back). And this application 14b will be in a standby state. When the process of the sharing destination application 64 is completed, the OS 14a displays the screen of the application 14a in the foreground (also referred to as the front). And this application 14b will be in an operation state. That is, the present application 14a ends the flow after entering the operating state. Here, the action “VIEW” is information for designating processing for displaying data. In the present embodiment, among the applications installed in the mobile terminal 10, at least an application that supports the JPEG format installed in the factory-shipped state in the mobile terminal 10 corresponds to the action “VIEW”. Assuming that At present, applications that support the JPEG format often support “VIEW”.

一方、S610において、JPEGデータが複数存在する場合(S610:YES)には、S612へ進む。S612においてCPU11は、複数のデータを処理可能なアプリケーションである、一括処理アプリケーションが存在するか否かを判断する。具体的には、CPU11は、JPEGフォーマットのデータを処理可能であって、「SEND_MULTI」のアクションに対応しているアプリケーションを検索するようOS14aに対して要求する。なお、「SEND_MULTI」は、一括処理アプリケーションのみが宣言しているアクションである。OS14aから一括処理アプリケーションの識別情報を含む情報が返ってきた場合には、一括処理アプリケーションが存在すると判断し、OS14aから一括処理アプリケーションに対応しているアプリケーションの識別情報を含む情報が返ってこなかった場合には、一括処理アプリケーションが存在しないと判断する。一括処理アプリケーションが発見されなかった場合(S612:NO)にはS620へ進み、発見された場合(S612:YES)にはS614へ進む。   On the other hand, if there are a plurality of JPEG data in S610 (S610: YES), the process proceeds to S612. In S612, the CPU 11 determines whether there is a batch processing application that is an application capable of processing a plurality of data. Specifically, the CPU 11 requests the OS 14a to search for an application that can process data in the JPEG format and corresponds to the action of “SEND_MULTI”. Note that “SEND_MULTI” is an action declared only by the batch processing application. When the information including the identification information of the batch processing application is returned from the OS 14a, it is determined that the batch processing application exists, and the information including the identification information of the application corresponding to the batch processing application is not returned from the OS 14a. In this case, it is determined that there is no batch processing application. If the batch processing application is not found (S612: NO), the process proceeds to S620, and if found (S612: YES), the process proceeds to S614.

S614においてCPU11は、発見されたアプリケーションの名称82を、共有先アプリ一覧画面81に一覧表示させる。具体的には、JPEGフォーマットのデータを処理可能であって、「SEND_MULTI」のアクションに対応しているアプリケーションを検索し、共有先アプリ一覧画面81に一覧表示するようOS14aに対して要求する。これにより、ユーザは、JPEGデータを処理可能な一括処理アプリケーションを、共有先アプリ一覧画面81から選択することが可能となる。   In S <b> 614, the CPU 11 displays a list of discovered application names 82 on the sharing destination application list screen 81. Specifically, the OS 14 a is requested to search for an application that can process JPEG format data and that corresponds to the action of “SEND_MULTI” and display the list on the sharing destination application list screen 81. Accordingly, the user can select a batch processing application capable of processing JPEG data from the sharing destination application list screen 81.

S616においてCPU11は、共有先アプリ64が選択されたか否かを判断する。具体的には、共有先アプリ一覧画面81において選択された共有先アプリ64の識別情報を含むインテントをOS14aから受信した場合には、一括処理アプリケーションである共有先アプリ64の選択が行われたと判断され(S616:YES)、S618へ進む。S618においてCPU11は、OS14aのAPIを呼び出し、共有先アプリ64の識別情報、複数のJPEGデータである共有データのURI、「JPEG」のタイプ、「SEND_MULTI」のアクションを指定して、明示的共有機能の実行をOS14aに要求する。そしてフローを終了する。   In S616, the CPU 11 determines whether or not the sharing destination application 64 has been selected. Specifically, when the intent including the identification information of the sharing destination application 64 selected on the sharing destination application list screen 81 is received from the OS 14a, the sharing destination application 64 that is a batch processing application is selected. The determination is made (S616: YES), the process proceeds to S618. In S618, the CPU 11 calls the API of the OS 14a, specifies the identification information of the sharing destination application 64, the URI of the shared data that is a plurality of JPEG data, the type of “JPEG”, the action of “SEND_MULTI”, and the explicit sharing function Is requested to the OS 14a. Then, the flow ends.

一方、OS14aからインテントを受信しなかった場合には、共有先アプリ64の選択が行われなかったと判断され(S616:NO)、S620(図7)へ進む。S620においてCPU11は、単数のデータのみ処理可能なアプリケーションである単数処理アプリケーションの名称82を、共有先アプリ一覧画面81に一覧表示させる。具体的には、JPEGフォーマットのデータを処理可能なアプリケーションを検索し、共有先アプリ一覧画面81に一覧表示するようOS14aに対して要求する。この要求によって「SEND_MULTI」に対応していないが、JPEGフォーマットのデータの処理は可能なアプリケーションも共有先アプリ一覧画面81に一覧表示されることになる。S622においてCPU11は、共有先アプリ64が選択されたか否かを判断する。具体的には、OS14aからインテントを受信しなかった場合には、共有先アプリ64の選択が行われなかったと判断され(S622:NO)、S602(図6)へ戻る。一方、共有先アプリ一覧画面81において選択された共有先アプリ64の識別情報を含むインテントをOS14aから受信した場合には、単数処理アプリケーションである共有先アプリ64が選択されたと判断され(S622:YES)、S624へ進む。S624においてCPU11は、選択された共有先アプリ64を識別する情報である共有先アプリ識別情報を、フラッシュメモリ14に記憶させる。共有先アプリ識別情報は、例えば、共有先アプリ64のアプリケーション種類を識別するためのID情報であってもよい。   On the other hand, if the intent has not been received from the OS 14a, it is determined that the sharing destination application 64 has not been selected (S616: NO), and the process proceeds to S620 (FIG. 7). In S <b> 620, the CPU 11 displays a list of singular processing application names 82, which are applications capable of processing only a single piece of data, on the sharing destination application list screen 81. Specifically, an application capable of processing data in JPEG format is searched, and the OS 14a is requested to display a list on the sharing destination application list screen 81. This request does not support “SEND_MULTI”, but applications that can process data in JPEG format are also displayed in a list on the sharing destination application list screen 81. In S622, the CPU 11 determines whether or not the sharing destination application 64 has been selected. Specifically, if an intent has not been received from the OS 14a, it is determined that the sharing destination application 64 has not been selected (S622: NO), and the process returns to S602 (FIG. 6). On the other hand, when the intent including the identification information of the sharing destination application 64 selected on the sharing destination application list screen 81 is received from the OS 14a, it is determined that the sharing destination application 64 that is a single processing application is selected (S622: YES), the process proceeds to S624. In S624, the CPU 11 causes the flash memory 14 to store sharing destination application identification information that is information for identifying the selected sharing destination application 64. The sharing destination application identification information may be ID information for identifying the application type of the sharing destination application 64, for example.

S626においてCPU11は、データ選択画面110(図4)をLCD18に表示させる。データ選択画面110では、S600で共有データとして指定された全てのJPEGデータに関するサムネイル画像が一覧表示される。データ選択画面110では、例として、共有データとして指定されたJPEGデータが5つである場合を説明している。   In S626, the CPU 11 displays the data selection screen 110 (FIG. 4) on the LCD 18. On the data selection screen 110, thumbnail images related to all JPEG data designated as shared data in S600 are displayed in a list. In the data selection screen 110, as an example, a case where there are five JPEG data designated as shared data is described.

S628において、JPEGデータが選択されない間(S628:NO)は、CPU11は処理を待機する。一方、タッチパネル17がJPEGデータを選択する指示を受け付けた場合(S628:YES)、S629へ進む。S629においてCPU11は、選択された全てのJPEGデータを識別する情報を、フラッシュメモリ14に記憶させる。例えば、選択された全てのJPEGデータの各ファイル名を、記憶させてもよい。   While the JPEG data is not selected in S628 (S628: NO), the CPU 11 stands by for processing. On the other hand, when the touch panel 17 receives an instruction to select JPEG data (S628: YES), the process proceeds to S629. In S629, the CPU 11 causes the flash memory 14 to store information for identifying all the selected JPEG data. For example, each file name of all selected JPEG data may be stored.

S630においてCPU11は、選択された全てのJPEGデータのファイル名の各々に、連続番号を付加する。例えば、「photo1.jpg」「document1.jpg」というファイル名を有する2つのJPEGデータが選択された場合には、「photo1−1.jpg」「document1−2.jpg」のように、ファイル名に連続番号を追加してもよい。   In S630, the CPU 11 adds a serial number to each of the file names of all the selected JPEG data. For example, when two JPEG data having file names “photo1.jpg” and “document1.jpg” are selected, the file names are changed to “photo1-1.jpg” and “document1-2.jpg”. A serial number may be added.

S631においてCPU11は、画像編集画面200(図4)をLCD18に表示させる。このとき、連続番号の最初の番号がファイル名に付加されているJPEGデータのサムネイル画面を、処理対象サムネイル画像201として表示させる。   In S <b> 631, the CPU 11 displays the image editing screen 200 (FIG. 4) on the LCD 18. At this time, a thumbnail screen of JPEG data in which the first serial number is added to the file name is displayed as the processing target thumbnail image 201.

S632においてCPU11は、画像編集が選択されたか否かを判断する。ユーザによる操作入力が行われなかった場合(S632:NO)にはS634へ進む。一方、ユーザによる操作入力が、回転処理ボタン202〜セピア処理ボタン204の何れかのタッチである場合、すなわち、画像編集指示の入力を受け付けた場合(S632:YES)、S633へ進む。S633においてCPU11は、処理対象サムネイル画像201に対応するJPEGデータに対して、回転処理ボタン202〜セピア処理ボタン204の何れかのタッチによって指示された画像編集処理を実行する。   In S632, the CPU 11 determines whether image editing has been selected. When the operation input by the user is not performed (S632: NO), the process proceeds to S634. On the other hand, when the operation input by the user is a touch of any of the rotation processing button 202 to the sepia processing button 204, that is, when an input of an image editing instruction is accepted (S632: YES), the process proceeds to S633. In step S <b> 633, the CPU 11 executes image editing processing instructed by touching any one of the rotation processing button 202 to the sepia processing button 204 for the JPEG data corresponding to the processing target thumbnail image 201.

S634においてCPU11は、S628で複数のJPEGデータが選択されたか否かを判断する。1つのJPEGデータが選択されている場合(S634:NO)には、S636へ進む。S636においてCPU11は、OS14aのAPIを呼び出し、単数処理アプリケーションである共有先アプリ64の識別情報、1つのJPEGデータである共有データのURI、「JPEG」のタイプ、「VIEW」のアクションを指定して、明示的共有機能の実行をOS14aに要求する。そしてフローを終了する。   In S634, the CPU 11 determines whether or not a plurality of JPEG data has been selected in S628. If one JPEG data is selected (S634: NO), the process proceeds to S636. In S636, the CPU 11 calls the API of the OS 14a, specifies the identification information of the sharing destination application 64 that is a single processing application, the URI of the shared data that is one JPEG data, the type of “JPEG”, and the action of “VIEW”. The OS 14a is requested to execute the explicit sharing function. Then, the flow ends.

一方、S628で複数のJPEGデータが選択された場合(S634:YES)には、S638へ進む。S638においてCPU11は、OS14aのAPIを呼び出し、単数処理アプリケーションである共有先アプリ64の識別情報、選択された複数のJPEGデータのうちの1つのJPEGデータである共有データのURI、「JPEG」のタイプ、「VIEW」のアクションを指定して、明示的共有機能の実行をOS14aに要求する。また、共有機能の実行の要求は、共有結果取得モードで行われる。共有結果取得モードとは、共有先アプリ64で1つのJPEGデータの処理が完了したことに応じて、共有先アプリ64から共有元アプリ60へ、処理が完了したことを報知させ、共有元アプリ60で、その報知を受信可能になるモードである。なお、共有機能の実行を要求されたOS14aは、共有先アプリ64の画面をフォアグラウンドに表示するとともに、共有元アプリ60である本アプリ14bの画面を、共有先アプリ64の画面のバックグラウンドに表示する。そして本アプリ14bは、待機状態になる。   On the other hand, if a plurality of JPEG data is selected in S628 (S634: YES), the process proceeds to S638. In S638, the CPU 11 calls the API of the OS 14a, identifies identification information of the sharing destination application 64 that is a single processing application, a URI of shared data that is one JPEG data among a plurality of selected JPEG data, and a type of “JPEG” , The action of “VIEW” is designated and the OS 14a is requested to execute the explicit sharing function. In addition, the request for executing the sharing function is performed in the sharing result acquisition mode. In the sharing result acquisition mode, in response to completion of processing of one JPEG data in the sharing destination application 64, the sharing destination application 64 notifies the sharing source application 60 that the processing has been completed. In this mode, the notification can be received. The OS 14a requested to execute the sharing function displays the screen of the sharing destination application 64 in the foreground and displays the screen of the application 14b that is the sharing source application 60 in the background of the screen of the sharing destination application 64. To do. And this application 14b will be in a standby state.

S640においてCPU11は、共有先アプリ64でデータの処理実行中であることを示す処理中フラグを、フラッシュメモリ14に記憶させる。また、CPU11は、選択された複数のJPEGデータそれぞれに対応して、未処理であることを示す未処理情報をフラッシュメモリ14に記憶させる。CPU11は、未処理情報によって、選択された複数のJPEGデータのうち、何れのJPEGデータが共有先アプリ64で未処理であるかを認識することができる。例えば、未処理情報によって、複数のJPEGデータのうちの何ページ目まで処理が完了しているかを認識することができる。未処理情報は、例えば、未処理のJPEGデータのページ番号を示す情報であってもよい。また例えば、JPEGデータの全ページ数と、処理済のページ番号を示す情報であってもよい。また例えば、未処理のJPEGデータのファイル名であってもよい。そしてS644(図8)へ進む。   In S640, the CPU 11 causes the flash memory 14 to store a processing flag indicating that the sharing destination application 64 is executing data processing. Further, the CPU 11 stores unprocessed information indicating unprocessed information in the flash memory 14 in correspondence with each of the selected plurality of JPEG data. Based on the unprocessed information, the CPU 11 can recognize which JPEG data of the selected plurality of JPEG data is unprocessed by the sharing destination application 64. For example, it is possible to recognize how many pages of the plurality of JPEG data have been processed by the unprocessed information. The unprocessed information may be information indicating the page number of unprocessed JPEG data, for example. Further, for example, it may be information indicating the total number of pages of JPEG data and the processed page number. For example, the file name of unprocessed JPEG data may be used. Then, the process proceeds to S644 (FIG. 8).

S644においてCPU11は、共有元アプリ60である本アプリ14bがフォアグラウンドに復帰するか否かを判断する。当該判断は、共有元アプリ60をフォアグラウンドに復帰させる内容のイベントを、OS14aから受信したか否かによって行われてもよい。復帰しない場合(S644:NO)にはCPU11は処理を待機し、復帰する場合(S644:YES)にはS646へ進む。   In S644, the CPU 11 determines whether or not the present application 14b, which is the sharing source application 60, returns to the foreground. This determination may be made based on whether or not an event that causes the sharing source application 60 to return to the foreground has been received from the OS 14a. When not returning (S644: NO), CPU11 waits for a process, and when returning (S644: YES), it progresses to S646.

S646においてCPU11は、共有先アプリ64から、共有結果取得モードに基づく報知情報を受信したか否かを判断する。報知情報は、例えば、共有先アプリ64のアプリケーション種類を識別するためのID情報であってもよい。また報知情報は、例えば、1つのJPEGデータの処理が完了したことを示す情報や、次のJPEGデータの送信要求であってもよい。報知情報を受信していない場合(S646:NO)にはCPU11は処理を待機し、報知情報を受信した場合(S646:YES)にはS648へ進む。   In S646, the CPU 11 determines whether notification information based on the sharing result acquisition mode has been received from the sharing destination application 64. The notification information may be ID information for identifying the application type of the sharing destination application 64, for example. The notification information may be, for example, information indicating that processing of one JPEG data is completed or a transmission request for the next JPEG data. When the notification information has not been received (S646: NO), the CPU 11 waits for processing, and when the notification information has been received (S646: YES), the process proceeds to S648.

S648においてCPU11は、S638においてOS14aのAPIに指定した共有データが処理済みであると認識できるように、未処理情報を更新させる。具体的には、未処理のJPEGデータのページ番号を示す情報から、S638においてOS14aのAPIに指定した共有データのページ番号を削除する処理であってもよい。また例えば、処理済のページ番号を示す情報に、S638においてOS14aのAPIに指定した共有データのページ番号を追加する処理であってもよい。また例えば、未処理のJPEGデータのファイル名を示す情報から、S638においてOS14aのAPIに指定した共有データのファイル名を削除する処理であってもよい。   In S648, the CPU 11 updates the unprocessed information so that the shared data designated in the API of the OS 14a in S638 can be recognized. Specifically, it may be a process of deleting the page number of the shared data specified in the API of the OS 14a in S638 from information indicating the page number of unprocessed JPEG data. For example, the process may be a process of adding the page number of the shared data specified in the API of the OS 14a in S638 to the information indicating the processed page number. Further, for example, the process may be a process of deleting the file name of the shared data specified in the API of the OS 14a in S638 from the information indicating the file name of unprocessed JPEG data.

S650においてCPU11は、選択された複数のJPEGデータの全てについて、共有処理が完了したか否かを、未処理情報に基づいて判断する。具体的には、未処理のJPEGデータのページ番号を示す情報が記憶されていないならば、共有処理が完了したと判断してもよい。また例えば、処理済のページ番号を示す情報が、JPEGデータの全ページ数分記憶されているならば、共有処理が完了したと判断してもよい。また例えば、未処理のJPEGデータのファイル名を示す情報が記憶されていないならば、共有処理が完了したと判断してもよい。全てのJPEGデータについて共有処理が完了していない場合(S650:NO)にはS656へ進む。S656においてCPU11は、連続共有確認表示をLCD18に表示させる。連続共有確認表示は、複数のJPEGデータを1つずつ共有先アプリ64に共有させる処理を連続して複数回実行することを、ユーザに報知するための表示である。   In S650, the CPU 11 determines whether or not the sharing process has been completed for all of the selected plurality of JPEG data based on the unprocessed information. Specifically, if information indicating the page number of unprocessed JPEG data is not stored, it may be determined that the sharing process has been completed. Further, for example, if information indicating the processed page number is stored for all the pages of JPEG data, it may be determined that the sharing process has been completed. Further, for example, if information indicating the file name of unprocessed JPEG data is not stored, it may be determined that the sharing process has been completed. If the sharing process has not been completed for all JPEG data (S650: NO), the process proceeds to S656. In S656, the CPU 11 causes the LCD 18 to display a continuous sharing confirmation display. The continuous sharing confirmation display is a display for informing the user that a process of sharing a plurality of JPEG data one by one with the sharing destination application 64 is executed a plurality of times continuously.

S660においてCPU11は、画像編集画面200(図4)をLCD18に表示させる。このとき、S638においてOS14aのAPIに指定した共有データにS630にて付加していた連続番号の次の番号が、ファイル名に付加されているJPEGデータのサムネイル画面を、処理対象サムネイル画像201として表示させる。なお、S662においてCPU11は、画像編集が選択されたか否かを判断する。S662における処理の内容は、前述したS632の処理の内容と同様であるため、説明を省略する。
また、S664における処理の内容は、前述したS633の処理の内容と同様であるため、説明を省略する。
In S <b> 660, the CPU 11 displays the image editing screen 200 (FIG. 4) on the LCD 18. At this time, the thumbnail screen of the JPEG data in which the number next to the serial number added in S630 to the shared data specified in the API of the OS 14a in S638 is added to the file name is displayed as the processing target thumbnail image 201. Let In S662, the CPU 11 determines whether image editing has been selected. Since the content of the process in S662 is the same as the content of the process in S632 described above, the description thereof is omitted.
Further, the content of the process in S664 is the same as the content of the process in S633 described above, and thus the description thereof is omitted.

S668においてCPU11は、フラッシュメモリ14から、共有先アプリ識別情報を読み出す。これによりCPU11は、共有先アプリ64を認識することが可能となる。   In S <b> 668, the CPU 11 reads the sharing destination application identification information from the flash memory 14. As a result, the CPU 11 can recognize the sharing destination application 64.

S670においてCPU11は、共有処理の実行指示が入力されたか否かを判断する。共有処理の実行指示が入力されていない場合(S670:NO)にはS650へ戻り、共有処理の実行指示が入力された場合(S670:YES)にはS638へ戻る。   In S670, the CPU 11 determines whether or not a share processing execution instruction has been input. If the sharing process execution instruction is not input (S670: NO), the process returns to S650. If the sharing process execution instruction is input (S670: YES), the process returns to S638.

一方、S650において、選択された複数のJPEGデータの全てについて共有処理が完了したと判断された場合(S650:YES)には、S652へ進む。S652においてCPU11は、選択された全てのJPEGデータを共有先アプリ64に共有させる処理が完了したことを示す情報を、LCD18に表示させる。このとき、最後に共有先アプリ64に共有させた処理対象サムネイル画像201をLCD18に表示させてもよい。S654においてCPU11は、処理中フラグと、共有先アプリ識別情報と、未処理情報と、をフラッシュメモリ14から消去する。そしてフローを終了する。   On the other hand, if it is determined in S650 that the sharing process has been completed for all of the selected plurality of JPEG data (S650: YES), the process proceeds to S652. In S652, the CPU 11 causes the LCD 18 to display information indicating that the process of sharing all the selected JPEG data with the sharing destination application 64 has been completed. At this time, the processing target thumbnail image 201 that is finally shared by the sharing destination application 64 may be displayed on the LCD 18. In S <b> 654, the CPU 11 deletes the processing flag, the shared destination application identification information, and the unprocessed information from the flash memory 14. Then, the flow ends.

図9は、本アプリ14bを携帯端末10で起動する場合に行われる起動処理を示すフローチャートである。図9の起動処理が実行されるタイミングは、図5〜図8の処理を開始するために本アプリ14bを初めて起動するタイミングに限られない。図5〜図8の処理中に、エラー発生等によって本アプリ14bが強制終了された場合に、本アプリ14bを再起動するタイミングにおいても、図9の起動処理が行われる。   FIG. 9 is a flowchart showing an activation process performed when the application 14 b is activated on the mobile terminal 10. The timing at which the activation process in FIG. 9 is executed is not limited to the timing at which the application 14b is activated for the first time in order to start the processes in FIGS. If the application 14b is forcibly terminated due to an error or the like during the processes of FIGS. 5 to 8, the activation process of FIG. 9 is performed at the timing of restarting the application 14b.

本アプリ14bが起動されると、S684においてCPU11は、複数のJPEGデータを単数処理アプリケーションに1つずつ共有させる、連続共有処理の実行中であるか否かを判断する。当該判断は、共有アプリ64を識別する情報である共有先アプリ識別情報と、残りページが存在することを示す未処理情報と、が、フラッシュメモリ14に記憶されているか否かによって行われる。例えば、共有先アプリ識別情報と、未処理のページ番号を示す未処理情報と、が記憶されている場合には、連続共有処理の実行中であると判断してもよい。また例えば、共有先アプリ識別情報が記憶されており、かつ、JPEGデータの全ページ数と処理済のページ数を示す情報とを比較し、処理済のページ数が全ページ数よりも小さい場合には、連続共有処理の実行中であると判断してもよい。また例えば、共有先アプリ識別情報と、未処理のJPEGデータのファイル名を示す情報と、が記憶されている場合には、連続共有処理の実行中であると判断してもよい。連続共有処理の実行中ではないと判断される場合(S684:NO)には、フローを終了する。一方、連続共有処理の実行中と判断される場合(S684:YES)には、連続共有処理の処理中に本アプリ14bが強制終了された場合であると判断され、S686へ進む。なお、連続共有処理の実行中であるか否かの判断は、処理中フラグ、共有先アプリ識別情報、未処理情報のうち何れかがフラッシュメモリ14に記憶されているか否かによって行われてもよい。具体的には、処理中フラグ、共有先アプリ識別情報、未処理情報のうち何れかが記憶されている場合には、連続共有処理の実行中であると判断してもよい。   When the application 14b is activated, in S684, the CPU 11 determines whether or not a continuous sharing process is being performed in which a plurality of JPEG data is shared one by one with a single processing application. This determination is made based on whether or not shared destination application identification information, which is information for identifying the shared application 64, and unprocessed information indicating that there are remaining pages are stored in the flash memory 14. For example, when sharing destination application identification information and unprocessed information indicating an unprocessed page number are stored, it may be determined that the continuous sharing process is being executed. Also, for example, when the sharing destination application identification information is stored and the total number of pages of JPEG data is compared with information indicating the number of processed pages, and the number of processed pages is smaller than the total number of pages It may be determined that the continuous sharing process is being executed. Further, for example, when shared destination application identification information and information indicating the file name of unprocessed JPEG data are stored, it may be determined that continuous sharing processing is being executed. If it is determined that the continuous sharing process is not being executed (S684: NO), the flow ends. On the other hand, when it is determined that the continuous sharing process is being executed (S684: YES), it is determined that the application 14b is forcibly terminated during the continuous sharing process, and the process proceeds to S686. Note that whether or not the continuous sharing process is being executed may be determined by whether or not any of the processing flag, the sharing destination application identification information, and the unprocessed information is stored in the flash memory 14. Good. Specifically, if any of the processing flag, the sharing destination application identification information, and the unprocessed information is stored, it may be determined that the continuous sharing process is being executed.

S686においてCPU11は、連続共有処理に復帰する指示を受け付けたか否かを判断する。連続共有処理に復帰する指示を受け付けていない場合(S686:NO)にはフローを終了し、受け付けた場合(S686:YES)にはS660(図8)へ進む。S660においてCPU11は、画像編集画面200(図4)をLCD18に表示させる。またCPU11は、フラッシュメモリ14から読み出した未処理情報に基づいて、未処理のうちで最も若い連続番号が付与されているJPEGデータを特定する。そして、特定したJPEGデータのサムネイル画面を、処理対象サムネイル画像201として表示する。以後の処理内容は、前述した処理内容と同様であるため、説明を省略する。   In S686, the CPU 11 determines whether an instruction to return to the continuous sharing process has been received. If an instruction to return to the continuous sharing process has not been accepted (S686: NO), the flow is terminated, and if accepted (S686: YES), the process proceeds to S660 (FIG. 8). In S <b> 660, the CPU 11 displays the image editing screen 200 (FIG. 4) on the LCD 18. Further, the CPU 11 specifies JPEG data to which the smallest serial number among the unprocessed items is assigned based on the unprocessed information read from the flash memory 14. Then, the thumbnail screen of the specified JPEG data is displayed as the processing target thumbnail image 201. Subsequent processing contents are the same as the above-described processing contents, and thus description thereof is omitted.

本明細書に開示されている、本アプリ14bの効果を説明する。本アプリ14bでは、共有先アプリ識別情報をフラッシュメモリ14に記憶させることによって(S624)、共有先アプリ64を記憶させることができる。また本アプリ14bでは、未処理情報をフラッシュメモリ14に記憶させることによって(S648)、未処理のJPEGデータを記憶させることができる。そして、共有先アプリ64で1つのJPEGデータの処理が完了したことを検出することに応じて(S646:YES)、未処理のJPEGデータのうちの1つを、共有先アプリ64で処理させることができる(S638)。これにより、共有先アプリ64が複数のデータを一括して共有する処理に対応していない単数処理アプリケーションである場合においても、複数のJPEGデータを1つずつ共有先アプリ64に処理させる動作を、自動で行うことが可能となる。よって、複数のJPEGデータを1つずつ共有先アプリ64に処理させる、という操作をユーザが繰り返し行う必要を無くすことができるため、ユーザビリティを向上させることが可能となる。   The effect of this application 14b disclosed in this specification will be described. In the application 14b, the sharing destination application 64 can be stored by storing the sharing destination application identification information in the flash memory 14 (S624). The application 14b can store unprocessed JPEG data by storing unprocessed information in the flash memory 14 (S648). Then, in response to detecting that the processing of one JPEG data is completed in the sharing destination application 64 (S646: YES), one of the unprocessed JPEG data is processed in the sharing destination application 64. (S638). Thereby, even when the sharing destination application 64 is a single processing application that does not support the process of sharing a plurality of data at once, the operation of causing the sharing destination application 64 to process a plurality of JPEG data one by one, This can be done automatically. Accordingly, it is possible to eliminate the need for the user to repeatedly perform the operation of causing the sharing destination application 64 to process a plurality of pieces of JPEG data one by one, thereby improving usability.

共有元アプリ60である本アプリ14bと共有先アプリ64との関係を記憶する機能が、OS14aに備えられていない場合がある。この場合、ある1つのJPEGデータの共有先アプリ64での処理が完了して、本アプリ14bと共有先アプリ64との関係が解除されると、次の1つのJPEGデータを処理させる共有先アプリが不明となってしまう場合がある。本明細書に開示されている本アプリ14bでは、共有先アプリ識別情報をフラッシュメモリ14に記憶させることによって(S624)、共有先アプリ64を記憶させることができる。これにより、本アプリ14bと共有先アプリ64との関係が解除された場合においても、共有先アプリ識別情報を読み出すことによって(S668)、次の1つのJPEGデータを処理させる共有先アプリを認識することが可能となる。よって、共有先アプリ64が単数処理アプリケーションである場合においても、複数のJPEGデータを1つずつ共有先アプリ64に処理させる動作を、自動で行うことが可能となる。   In some cases, the OS 14a does not have a function of storing the relationship between the present application 14b, which is the sharing source application 60, and the sharing destination application 64. In this case, when processing of one JPEG data in the sharing destination application 64 is completed and the relationship between the present application 14b and the sharing destination application 64 is canceled, the sharing destination application that processes the next one JPEG data May become unknown. In the application 14b disclosed in this specification, the sharing destination application 64 can be stored by storing the sharing destination application identification information in the flash memory 14 (S624). As a result, even when the relationship between the application 14b and the sharing destination application 64 is canceled, the sharing destination application for processing the next one JPEG data is recognized by reading the sharing destination application identification information (S668). It becomes possible. Therefore, even when the sharing destination application 64 is a single processing application, it is possible to automatically perform an operation for causing the sharing destination application 64 to process a plurality of pieces of JPEG data one by one.

本アプリ14bに発生したエラー等により、複数のJPEGデータを1つずつ共有先アプリ64に処理させている最中に、本アプリ14bを終了して再起動する必要が発生する場合がある。このような場合においても、不揮発性のフラッシュメモリ14に記憶されている未処理情報に基づいて、共有先アプリ64や未処理のJPEGデータを特定することができるため(S684)、本アプリ14bの再起動後において、未処理のJPEGデータから処理を続行することが可能となる。   Due to an error that has occurred in the application 14b, it may be necessary to terminate and restart the application 14b while the sharing destination application 64 is processing a plurality of JPEG data one by one. Even in such a case, the sharing destination application 64 and the unprocessed JPEG data can be specified based on the unprocessed information stored in the nonvolatile flash memory 14 (S684). After restarting, it is possible to continue processing from unprocessed JPEG data.

本アプリ14bでは、選択された全てのJPEGデータのファイル名の各々に、連続番号を付加することができる(S630)。これにより、共有先アプリ64側に、JPEGデータに割り当てられている順番を通知することができる。よって、共有先アプリ64側で、当該連続番号を用いた処理(例:連続番号に従った順番で画像を表示する処理)を実行することが可能となる。   In the application 14b, a serial number can be added to each of the file names of all selected JPEG data (S630). Thereby, it is possible to notify the sharing destination application 64 side of the order assigned to the JPEG data. Therefore, on the shared destination application 64 side, it is possible to execute processing using the serial number (for example, processing for displaying images in the order according to the serial number).

本アプリ14bでは、一括処理アプリケーションと単数処理アプリケーションとの何れか一方を、共有先アプリ64として選択することができる。そして、一括処理アプリケーションを共有先アプリ64として選択する場合には、共有先アプリ識別情報などの情報をフラッシュメモリ14に記憶させないように制御を行うことができる。よって、処理の簡略化や、フラッシュメモリ14の記憶容量の節約化を図ることが可能となる。   In this application 14 b, either the batch processing application or the single processing application can be selected as the sharing destination application 64. When a batch processing application is selected as the sharing destination application 64, control such that information such as sharing destination application identification information is not stored in the flash memory 14 can be performed. Therefore, it is possible to simplify the processing and save the storage capacity of the flash memory 14.

本アプリ14bでは、共有先アプリ64に処理させるJPEGデータについてのサムネイル画像を、自動でLCD18に表示させることができる(S631、S660)。これにより、処理中のJPEGデータをユーザに認識させることができるため、ユーザビリティを向上させることが可能となる。   In this application 14b, a thumbnail image of JPEG data to be processed by the sharing destination application 64 can be automatically displayed on the LCD 18 (S631, S660). As a result, the user can recognize the JPEG data being processed, so that usability can be improved.

本アプリ14bでは、1つのJPEGデータを共有先アプリ64で処理させるたびに、画像編集指示の入力を受け付けることができる(S632、S662)。これにより、複数のJPEGデータの各々に対して、異なる画像編集を実行することが可能となる。   The application 14b can accept input of an image editing instruction every time one JPEG data is processed by the sharing destination application 64 (S632, S662). Thereby, it is possible to execute different image editing for each of the plurality of JPEG data.

本アプリ14bでは、共有先アプリ64から、共有結果取得モードに基づく報知情報を受信することができる(S646)。よって、共有先アプリ64でのJPEGデータの処理が完了したことを検出することが可能となるため、次のJPEGデータを共有先アプリ64に処理させることができる。これにより、複数のJPEGデータを1つずつ共有先アプリ64に処理させる動作を、確実に行うことが可能となる。   The application 14b can receive notification information based on the sharing result acquisition mode from the sharing destination application 64 (S646). Therefore, since it is possible to detect that the processing of JPEG data in the sharing destination application 64 has been completed, it is possible to cause the sharing destination application 64 to process the next JPEG data. This makes it possible to reliably perform an operation for causing the sharing destination application 64 to process a plurality of JPEG data one by one.

OS14aが本アプリ14bの画面を共有先アプリ64の画面に対してフォアグラウンドの位置に表示させることに応じて(S644:YES)、共有先アプリ64でのJPEGデータの処理が完了したことを検出することが可能となるため、次のJPEGデータを共有先アプリ64に処理させることができる。これにより、複数のJPEGデータを1つずつ共有先アプリ64に処理させる動作を、確実に行うことが可能となる。   In response to the OS 14a displaying the screen of the application 14b in the foreground position with respect to the screen of the sharing destination application 64 (S644: YES), it detects that the processing of the JPEG data in the sharing destination application 64 has been completed. Therefore, the next JPEG data can be processed by the sharing destination application 64. This makes it possible to reliably perform an operation for causing the sharing destination application 64 to process a plurality of JPEG data one by one.

上記実施形態において、共有先アプリ64は、出力先アプリケーションの一例である。CPU11は、データ共有部の一例である。携帯端末10は、情報処理装置の一例である。CPU11は、コンピュータの一例である。JPEGデータは、処理対象データの一例である。共有先アプリ識別情報は、出力先アプリケーション識別情報の一例である。フラッシュメモリ14は、記憶部の一例である。S624を実行するCPU11は、第1記憶制御手段の一例である。S648を実行するCPU11は、第2記憶制御手段の一例である。S638を実行するCPU11は、処理制御手段の一例である。デバイス制御アプリケーション14bおよび本アプリ14bは、情報処理プログラムの一例である。サムネイル画像111〜115は、識別画像の一例である。S626を実行するCPU11は、表示制御手段の一例である。処理対象サムネイル画像201は、第2識別画像の一例である。S660を実行するCPU11は、第2表示制御手段の一例である。回転処理ボタン202〜セピア処理ボタン204は、第3識別画像の一例である。S664を実行するCPU11は、画像処理制御手段の一例である。本アプリ14bの画面は、第1表示画面の一例である。共有先アプリ64の画面は、第2表示画面の一例である。   In the above embodiment, the sharing destination application 64 is an example of an output destination application. The CPU 11 is an example of a data sharing unit. The mobile terminal 10 is an example of an information processing device. The CPU 11 is an example of a computer. JPEG data is an example of processing target data. The sharing destination application identification information is an example of output destination application identification information. The flash memory 14 is an example of a storage unit. The CPU 11 that executes S624 is an example of a first storage control unit. The CPU 11 that executes S648 is an example of a second storage control unit. The CPU 11 that executes S638 is an example of a process control unit. The device control application 14b and the application 14b are examples of information processing programs. The thumbnail images 111 to 115 are examples of identification images. The CPU 11 that executes S626 is an example of a display control unit. The processing target thumbnail image 201 is an example of a second identification image. The CPU 11 that executes S660 is an example of a second display control unit. The rotation process button 202 to the sepia process button 204 are an example of a third identification image. The CPU 11 that executes S664 is an example of an image processing control unit. The screen of the application 14b is an example of a first display screen. The screen of the sharing destination application 64 is an example of a second display screen.

ただし、第1記憶制御手段、第2記憶制御手段、処理制御手段、表示制御手段、第2表示制御手段、画像処理制御手段の各々は、ハードウェア単体、または、本発明のプログラムあるいはオペレーティングシステムなど本発明以外のプログラムを実行することにより動作するハードウェアであっても良い。また、これら各部は、複数のプログラムによる処理を組み合わせて動作するハードウェアであっても良い。   However, each of the first storage control means, the second storage control means, the processing control means, the display control means, the second display control means, and the image processing control means is a single hardware, a program or an operating system of the present invention, etc. It may be hardware that operates by executing a program other than the present invention. In addition, each of these units may be hardware that operates by combining processing by a plurality of programs.

以上、実施形態に基づき本発明を説明したが、本発明は上述した実施形態に何ら限定されるものではなく、本発明の趣旨を逸脱しない範囲内で種々の改良変更が可能であることは容易に推察できるものである。   Although the present invention has been described based on the embodiments, the present invention is not limited to the above-described embodiments, and various improvements and modifications can be easily made without departing from the spirit of the present invention. Can be inferred.

<変形例>
S660において、次に処理されるJPEGデータの処理対象サムネイル画像201が、画像編集画面200に自動で表示される形態を説明したが、この形態に限られない。手動処理によって、次に処理されるJPEGデータの処理対象サムネイル画像201が表示されるとしてもよい。例えば、次処理実行ボタンが画像編集画面200に表示され、当該次処理実行ボタンがユーザにタッチされることに応じて、次の処理対象サムネイル画像201が表示されるとしてもよい。またS660において、処理させるJPEGデータの選択を受け付ける画面をLCD18に表示させ、選択を受け付けるとしても良い。そして、選択された1つのJPEGデータが、共有先アプリ64で処理されるとしてもよい。
<Modification>
In S660, the form in which the processing target thumbnail image 201 of JPEG data to be processed next is automatically displayed on the image editing screen 200 has been described. However, the present invention is not limited to this form. The processing target thumbnail image 201 of JPEG data to be processed next may be displayed by manual processing. For example, the next processing execution button may be displayed on the image editing screen 200, and the next processing target thumbnail image 201 may be displayed in response to the user touching the next processing execution button. In S660, a screen for accepting selection of JPEG data to be processed may be displayed on the LCD 18 to accept the selection. Then, the selected single JPEG data may be processed by the sharing destination application 64.

上記実施形態では、マルチページに非対応のフォーマットの一例がJPEGフォーマットであり、マルチページに対応したフォーマットの一例がPDFフォーマットであったが、これに限られるものではない。例えば、PNG、GIF、BMPなど、各種のフォーマットが、マルチページに非対応のフォーマットの一例となり得る。また、DOC、XLSなど、各種のフォーマットが、マルチページに対応したフォーマットの一例となり得る。   In the above embodiment, an example of a format that does not support multi-page is the JPEG format, and an example of a format that supports multi-page is the PDF format. However, the present invention is not limited to this. For example, various formats such as PNG, GIF, and BMP can be examples of formats that do not support multi-page. Various formats such as DOC and XLS can be examples of formats corresponding to multi-pages.

画像編集画面200(図4)で受け付けられる回転処理、モノクロ処理、セピア処理は、画像編集処理の一例である。拡大処理、縮小処理などの他の画像編集処理に対応するボタンが、画像編集画面200に表示されるとしてもよい。   The rotation process, monochrome process, and sepia process accepted on the image editing screen 200 (FIG. 4) are examples of the image editing process. Buttons corresponding to other image editing processing such as enlargement processing and reduction processing may be displayed on the image editing screen 200.

データ選択画面110(図4)では、共有データとして指定されたJPEGデータが5つである場合を例として、サムネイル画像111〜115が表示される場合を説明したが、この形態に限られない。共有データとして指定されたJPEGデータが、6つ以上であってもよい。この場合、全てのサムネイル画像が1つの画面上にまとめて表示できない場合には、スクロール表示によって全てのサムネイル画像を表示するとしてもよい。   In the data selection screen 110 (FIG. 4), the case where the thumbnail images 111 to 115 are displayed has been described by taking as an example the case where there are five JPEG data designated as shared data, but the present invention is not limited to this form. There may be six or more JPEG data designated as shared data. In this case, when all the thumbnail images cannot be displayed together on one screen, all the thumbnail images may be displayed by scroll display.

画像編集処理の対象となるJPEGデータの1回目の選択を行うS633の選択態様と、2回目以降の選択を行うS664の選択態様とが、異なっていてもよい。例えば、S633の選択態様は、連続番号が付加されている全てのJPEGデータを、画像編集処理の対象に選択する態様であってもよい。またS664の選択態様は、画像編集画面200(図4)に表示されている処理対象サムネイル画像201に対応するJPEGデータを、画像編集処理の対象に選択する態様であってもよい。   The selection mode of S633 that performs the first selection of JPEG data to be subjected to image editing processing may be different from the selection mode of S664 that performs the second and subsequent selections. For example, the selection mode in S633 may be a mode in which all JPEG data to which serial numbers are added are selected as targets for image editing processing. The selection mode in S664 may be a mode in which JPEG data corresponding to the processing target thumbnail image 201 displayed on the image editing screen 200 (FIG. 4) is selected as the target of the image editing process.

S656を省略してもよい。この場合、連続共有確認表示をLCD18に表示させることなく、連続共有処理が自動的に続行されるとしてもよい。   S656 may be omitted. In this case, the continuous sharing process may be automatically continued without displaying the continuous sharing confirmation display on the LCD 18.

S670において、共有処理の実行指示の入力とともに、画像編集の指示入力を受け付けるとしてもよい。例えば、JPEGデータを縦向きで共有するボタンと、JPEGデータを横向きで共有するボタンが表示されるとしてもよい。そして、JPEGデータを縦向きで共有するボタンがタッチされると、共有処理の実行指示の入力とともに、JPEGデータを縦向きにする画像編集の指示入力が受け付けられるとしてもよい。これにより、ユーザが指示を入力する回数を減少させる事が可能となる。   In S670, the image editing instruction input may be accepted together with the input of the sharing process execution instruction. For example, a button for sharing JPEG data in portrait orientation and a button for sharing JPEG data in landscape orientation may be displayed. Then, when a button for sharing JPEG data in the portrait orientation is touched, an instruction for image editing to make the JPEG data in portrait orientation may be accepted along with an input of an execution instruction for sharing processing. Thereby, it is possible to reduce the number of times the user inputs an instruction.

例えば、上記実施形態では、通話機能を有する携帯端末10が情報処理装置の一例であったが、パーソナルコンピュータ、デジタルカメラなどの通話機能を持たない各種の装置であっても情報処理装置の一例となり得る。また、タッチパネル17を有しておらず、ハードキーから操作を入力する装置についても、本発明を適用可能である。   For example, in the above-described embodiment, the mobile terminal 10 having a call function is an example of an information processing apparatus. However, various apparatuses that do not have a call function such as a personal computer and a digital camera are examples of the information processing apparatus. obtain. The present invention can also be applied to a device that does not have the touch panel 17 and inputs an operation from a hard key.

また、上記実施形態においては、携帯端末10に着脱可能なメモリカード20にJPEGデータおよびPDFデータが記憶されるものとして説明した。これらのデータは、例えば、携帯端末10に内蔵されたフラッシュメモリ14に記憶されても良い。   In the above embodiment, the JPEG data and the PDF data are described as being stored in the memory card 20 that can be attached to and detached from the mobile terminal 10. These data may be stored in, for example, the flash memory 14 built in the mobile terminal 10.

また、上記実施形態において、スキャナデータを画像データの一例として説明したが、画像データはこれに限られるものではなく、例えば、携帯端末10に内蔵されたデジタルカメラで撮影された画像データであっても良い。また、LCD18に表示させるスキャン画像71のサイズに合わせて、スキャンデータを縮小または拡大して生成したデータが、画像データの一例であっても良い。また、携帯端末10において、LCD18にスキャン画像71を表示させるために、スキャンデータを所定のフォーマットに変換する場合には、その所定のフォーマットに変換されたデータが、画像データの一例であっても良い。   In the above embodiment, the scanner data is described as an example of the image data. However, the image data is not limited to this. For example, the image data is image data captured by a digital camera built in the mobile terminal 10. Also good. Further, data generated by reducing or enlarging scan data in accordance with the size of the scan image 71 displayed on the LCD 18 may be an example of image data. Further, when the scan data is converted into a predetermined format in order to display the scan image 71 on the LCD 18 in the mobile terminal 10, even if the data converted into the predetermined format is an example of the image data. good.

また、上記実施形態において、スキャンデータは、RAW画像データであるものとして説明したが、スキャンデータとしてJPEGデータをデバイス30から取得する場合にも、本発明を適用できる。   In the above embodiment, the scan data is described as being RAW image data. However, the present invention can also be applied to the case where JPEG data is acquired from the device 30 as scan data.

また、上記実施形態では、「作成」とは、デバイス30から取得した画像データを、選択されたフォーマットのファイルに変換することであった。また、この場合、共有データのURIは、ファイルパスで構成されるものとして説明した。しかしながら、「作成」とは、デバイス30から取得した画像データを、処理対象フォーマットのコンテンツに変換することであっても良い。その場合、共有データのURIは、例えば、「Contents:///devicecontrol1/attach/1」のようにアプリケーション中のインデックスやIDでデータを特定する形式である、コンテンツ形式で構成される。   In the above-described embodiment, “creation” is to convert image data acquired from the device 30 into a file of a selected format. In this case, the URI of the shared data has been described as being configured with a file path. However, “creation” may mean converting image data acquired from the device 30 into content in a processing target format. In this case, the URI of the shared data is configured in a content format that is a format for specifying data by an index or ID in the application, such as “Contents: /// devicecontrol1 / attach / 1”.

また、上記実施形態においては、共有データがPDFデータである場合、および、単数のJPEGデータである場合、アクションの値として「VIEW」を指定していた。しかしながら、例えば「SEND」など、他のアクションを指定しても良い。また、共有データがPDFデータである場合は「VIEW」を指定し、単数のJPEGデータである場合は「SEND」を指定するなど、互いに異なるアクションの値を指定してもよい。   In the above embodiment, when the shared data is PDF data or a single piece of JPEG data, “VIEW” is designated as the action value. However, other actions such as “SEND” may be designated. In addition, “VIEW” may be designated when the shared data is PDF data, and “SEND” may be designated when the shared data is a single JPEG data.

また、上記実施形態においては、OS14aはアンドロイドOSであるものとして説明したが、他のOSが搭載された情報処理装置であっても本発明を適用可能である。   In the above-described embodiment, the OS 14a is described as an Android OS. However, the present invention can be applied to an information processing apparatus equipped with another OS.

また、上記実施形態において、共有機能はOS14aによって実現されるものとして説明したが、これに代えて、例えばハードウェアやミドルウェアによって共有機能が実現される場合にも本発明を適用可能である。   In the above embodiment, the sharing function is described as being realized by the OS 14a, but the present invention can be applied to the case where the sharing function is realized by hardware or middleware instead.

また、上記実施形態において、携帯端末10とデバイス30との間は、Wi−Fi接続されるものとして説明したが、これに代えて、例えば、Bluetooth(登録商標)により接続される場合にも、本発明を適用可能である。   Further, in the above embodiment, the mobile terminal 10 and the device 30 are described as being connected by Wi-Fi, but instead, for example, when connected by Bluetooth (registered trademark), The present invention is applicable.

また、上記実施形態においては、ユーザが共有ボタン74にタッチした場合に、フォーマット選択画面77をLCD18に表示させていたが、これに代えて、フォーマット選択画面77によりフォーマットをユーザに選択させた後に、共有ボタン74をLCD18に表示させ、共有機能の実行指示を受け付けても良い。また、フォーマット選択画面77をLCD18に表示させ、フォーマットをユーザに選択させた後、デバイス30に対して、スキャンの実行を指示するように構成しても良い。   In the above embodiment, when the user touches the share button 74, the format selection screen 77 is displayed on the LCD 18. Instead, after the user selects a format on the format selection screen 77, the format selection screen 77 is displayed. The sharing button 74 may be displayed on the LCD 18 and an instruction to execute the sharing function may be received. Alternatively, the format selection screen 77 may be displayed on the LCD 18 and the user may select the format, and then the device 30 may be instructed to execute scanning.

また、上記実施形態においては、共有先アプリ一覧画面81(図3)に含まれるアプリケーションの名称82が、アプリケーションを識別する画像として用いられる場合を説明したが、アプリケーションを識別する画像として、アプリケーションのアイコン画像が用いられても良い。   In the above-described embodiment, the case where the application name 82 included in the sharing destination application list screen 81 (FIG. 3) is used as an image for identifying an application has been described. An icon image may be used.

また、上記実施形態においては、携帯端末10の明示的共有機能を利用していたが、暗黙的共有機能を利用する場合においても、本発明を適用可能である。すなわち、図2(a)を参照して説明したように、暗黙的共有機能においては、共有先アプリ一覧画面81の表示後における、共有先アプリ64の選択(5)、および共有先アプリ64の起動(6)について、共有元アプリ60は関与しない。よって、データの作成完了前に共有先アプリ一覧画面81を表示させてしまうと、データの作成完了前に、ユーザが共有先アプリ一覧画面81から共有先アプリ64を選択し、さらに、その共有先アプリ64がOS14aによって起動され、共有データへのアクセスを開始してしまう事態が発生し得る。その場合、共有先アプリ64は、OS14aから通知された共有データにアクセスすることができないので、ユーザは、原因不明な待ち時間やエラーに対処しなければならず、ユーザにとって不便を強いる可能性がある。しかしながら、本発明を適用すれば、上記実施形態で説明したように、処理対象データが作成された後に、共有先アプリ一覧画面81を表示させるので、OS14aの暗黙的共有機能を利用する場合であっても、上記の不都合が解消されるのである。   In the above-described embodiment, the explicit sharing function of the mobile terminal 10 is used. However, the present invention can be applied even when the implicit sharing function is used. That is, as described with reference to FIG. 2A, in the implicit sharing function, after the display of the sharing destination application list screen 81, the selection of the sharing destination application 64 (5) and the sharing destination application 64 For activation (6), the sharing source application 60 is not involved. Therefore, if the sharing destination application list screen 81 is displayed before the data creation is completed, the user selects the sharing destination application 64 from the sharing destination application list screen 81 before the data creation is completed, and further, the sharing destination. A situation may occur in which the application 64 is activated by the OS 14a and starts to access shared data. In this case, since the sharing destination application 64 cannot access the shared data notified from the OS 14a, the user must deal with a waiting time or an error whose cause is unknown, which may inconvenience the user. is there. However, if the present invention is applied, the sharing destination application list screen 81 is displayed after the processing target data is created as described in the above embodiment, so that the implicit sharing function of the OS 14a is used. However, the above inconvenience is solved.

また、上記実施形態では、本アプリ14bは、2種類のフォーマットのデータを作成させるものとして説明した。しかしながら、本発明は、3種類以上のフォーマットのデータを作成させるプログラムにも適用可能である。   In the above-described embodiment, the application 14b has been described as generating data of two types of formats. However, the present invention can also be applied to a program that creates data of three or more formats.

10 携帯端末
11 CPU
14b デバイス制御アプリケーション
60 共有元アプリ
64 共有先アプリ
10 Mobile terminal 11 CPU
14b Device control application 60 Share source application 64 Share destination application

Claims (12)

データ出力元のアプリケーションが出力するデータを、データ出力先として選択されたアプリケーションである出力先アプリケーションに処理させるデータ共有部を備えた情報処理装置が備えるコンピュータにおいて実行される情報処理プログラムであって、
前記コンピュータを、
前記出力先アプリケーションが処理対象データを1つずつ処理する単数処理アプリケーションである場合に、前記出力先アプリケーションに処理させる処理対象データが複数存在していることを条件として、前記出力先アプリケーションを識別する情報である出力先アプリケーション識別情報を記憶部に記憶させる第1記憶制御手段と、
複数の処理対象データの各々について、前記出力先アプリケーションで未処理の処理対象データを前記出力先アプリケーションに処理させることを前記コンピュータに示すための未処理情報を前記記憶部に記憶させる第2記憶制御手段と、
複数の処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させる動作を、前記データ共有部に行わせる処理制御手段と、
して機能させ、
前記処理制御手段は、前記出力先アプリケーションで1つの処理対象データの処理が完了したことを検出することに応じて、前記記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させることが示されている処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする情報処理プログラム。
An information processing program executed in a computer provided in an information processing apparatus including a data sharing unit that causes an output destination application that is an application selected as a data output destination to process data output by a data output source application,
The computer,
When the output destination application is a single processing application that processes the processing target data one by one, the output destination application is identified on condition that there are a plurality of processing target data to be processed by the output destination application. First storage control means for storing output destination application identification information as information in the storage unit;
Second storage control for storing, in the storage unit, unprocessed information for indicating to the computer that each of a plurality of process target data causes the output destination application to process unprocessed process target data in the output destination application Means,
Processing control means for causing the data sharing unit to perform an operation of causing the output destination application identified by the output destination application identification information to process one of a plurality of pieces of processing target data;
To function,
The processing control unit causes the output destination application to perform processing based on unprocessed information stored in the storage unit in response to detecting that the processing of one processing target data is completed in the output destination application. An information processing program that causes the output destination application identified by the output destination application identification information to process one of the processing target data indicated by
前記記憶部は不揮発性の記憶部であり、
前記処理制御手段は、前記情報処理プログラムの実行を前記コンピュータが開始することに応じて、前記記憶部が前記未処理情報を記憶している場合に、記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させると判断された処理対象データを、前記記憶部が記憶している出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする請求項1に記載の情報処理プログラム。
The storage unit is a nonvolatile storage unit,
The processing control means uses the unprocessed information stored in the storage unit when the storage unit stores the unprocessed information in response to the computer starting execution of the information processing program. The processing target data determined to be processed by the output destination application is processed by the output destination application identified by the output destination application identification information stored in the storage unit. Information processing program.
前記処理制御手段は、複数の処理対象データの各々に連続番号を対応づけて、前記出力先アプリケーションに、処理対象データと、処理対象データに対応する連続番号と、を通知して、前記出力先アプリケーションに処理させることを特徴とする請求項1または2に記載の情報処理プログラム。   The processing control means associates a serial number with each of a plurality of processing target data, notifies the output destination application of the processing target data and a serial number corresponding to the processing target data, and outputs the output destination The information processing program according to claim 1, wherein the information processing program is processed by an application. 前記データ共有部は、前記出力先アプリケーションとして、複数の処理対象データを一括して処理することが可能なアプリケーションである一括処理アプリケーションを選択することが可能とされており、
前記出力先アプリケーションとして前記一括処理アプリケーションが選択されている場合には、前記処理制御手段は、複数の処理対象データを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに一括して処理させる動作を、前記データ共有部に行わせ、
前記出力先アプリケーションとして前記単数処理アプリケーションが選択されている場合には、前記処理制御手段は、複数の処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させる動作を、前記データ共有部に行わせ、前記第1記憶制御手段は前記出力先アプリケーション識別情報を前記記憶部に記憶させ、前記第2記憶制御手段は前記未処理情報を前記記憶部に記憶させることを特徴とする請求項1〜3の何れか1項に記載の情報処理プログラム。
The data sharing unit is capable of selecting a batch processing application that is an application capable of batch processing a plurality of processing target data as the output destination application,
When the batch processing application is selected as the output destination application, the processing control unit collectively processes a plurality of processing target data to the output destination application identified by the output destination application identification information. Causing the data sharing unit to perform the operation of
When the singular processing application is selected as the output destination application, the processing control means is configured to identify one of a plurality of pieces of processing target data by the output destination application identification information. The data sharing unit performs an operation to be processed, the first storage control unit stores the output destination application identification information in the storage unit, and the second storage control unit stores the unprocessed information in the storage unit. The information processing program according to claim 1, wherein the information processing program is stored in the information processing program.
複数の処理対象データのデータ構造は、マルチページを含ませることができないフォーマットのデータ構造であることを特徴とする請求項1〜4の何れか1項に記載の情報処理プログラム。   5. The information processing program according to claim 1, wherein the data structure of the plurality of pieces of processing target data is a data structure in a format that cannot include a multipage. 記憶部が記憶している複数の画像データを識別する識別画像を、前記表示部に表示させる表示制御手段として前記コンピュータをさらに機能させ、
前記処理制御手段は、前記表示部が表示している識別画像のうち複数の識別画像を指示する指示操作を操作受付手段が受け付けた場合に、前記指示操作によって指示された複数の識別画像それぞれに対応する複数の画像データを複数の処理対象データとして、または、前記指示操作によって指示された複数の識別画像それぞれに対応する複数の画像データに基づいてそれぞれ生成された複数の画像データを複数の処理対象データとして、複数の処理対象データを前記出力先アプリケーションに処理させることを特徴とする請求項1〜5の何れか1項に記載の情報処理プログラム。
Causing the computer to further function as display control means for displaying an identification image for identifying a plurality of image data stored in the storage unit on the display unit;
When the operation accepting unit accepts an instruction operation for instructing a plurality of identification images among the identification images displayed on the display unit, the processing control unit applies each of the plurality of identification images instructed by the instruction operation. Corresponding plural image data as plural processing target data, or plural image data respectively generated based on plural image data corresponding to plural identification images instructed by the instruction operation The information processing program according to claim 1, wherein the output destination application is caused to process a plurality of pieces of processing target data as target data.
前記処理制御手段は、前記記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させることが示されている処理対象データのうちの1つであって、前記出力先アプリケーションに処理させる1つの処理対象データを識別する第2識別画像を、前記表示部に表示させる第2表示制御手段を含み、
前記表示部が表示した第2識別画像で識別される処理対象データを前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする請求項1〜6の何れか1項に記載の情報処理プログラム。
The processing control means is one of processing target data indicated to be processed by the output destination application according to unprocessed information stored in the storage unit, and causes the output destination application to process the data. Including a second display control means for displaying a second identification image for identifying one processing target data on the display unit;
The processing target data identified by the second identification image displayed by the display unit is processed by the output destination application identified by the output destination application identification information. Information processing program described in 1.
前記処理対象データは画像データであって、
前記第2表示制御手段は、複数の画像処理それぞれを識別する複数の第3識別画像を前記表示部にさらに表示させ、
前記処理制御手段は、前記表示部が表示している第3識別画像のうちいずれかを指示する第2指示操作を操作受付手段が受け付けた場合に、第2識別画像に対応する処理対象データに対して、第2指示操作によって指示された画像処理を画像処理部に実行させる画像処理制御手段をさらに含み、
前記処理部によって画像処理された処理対象データを前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする請求項7に記載の情報処理プログラム。
The processing target data is image data,
The second display control means further displays a plurality of third identification images for identifying each of a plurality of image processes on the display unit,
The processing control means sets the processing target data corresponding to the second identification image when the operation accepting means accepts a second instruction operation that designates one of the third identification images displayed on the display unit. On the other hand, the image processing unit further includes image processing control means for causing the image processing unit to execute image processing instructed by the second instruction operation.
The information processing program according to claim 7, wherein the processing target data image-processed by the processing unit is processed by the output destination application identified by the output destination application identification information.
前記処理制御手段は、
前記出力先アプリケーションで1つの処理対象データの処理が完了したことに応じて前記出力先アプリケーションから処理が完了したことを報知させるモードで、1つの処理対象データを前記出力先アプリケーションに処理させる動作を前記データ共有部に行わせ、
前記出力先アプリケーションから処理完了を報知されることに応じて、前記記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させることが示されている処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする請求項1〜8の何れか1項に記載の情報処理プログラム。
The processing control means includes
An operation for causing the output destination application to process one processing target data in a mode in which the output destination application notifies the completion of processing in response to the completion of processing of one processing target data in the output destination application. Let the data sharing unit
In response to being notified of processing completion from the output destination application, one of the processing target data indicated to be processed by the output destination application according to unprocessed information stored in the storage unit The information processing program according to claim 1, wherein the output destination application identified by the output destination application identification information is processed.
前記データ共有部は、前記表示制御手段に対応する第1表示画面と前記出力先アプリケーションに対応する第2表示画面とを前記表示部に表示させており、
前記データ共有部は、前記表示制御手段で未処理の処理対象データのうちの1つを選択して前記出力先アプリケーションに処理開始させる動作を実行している期間では、前記第1表示画面を前記第2表示画面よりも優先して前記表示部に表示させており、
前記データ共有部は、前記出力先アプリケーションで処理対象データのうちの1つの処理を実行している期間では、前記第2表示画面を前記第1表示画面よりも優先して前記表示部に表示させており、
前記処理制御手段は、前記データ共有部が前記第1表示画面を前記第2表示画面よりも優先して前記表示部に表示させることに応じて、前記記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させることが示されている処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする請求項1に記載の情報処理プログラム。
The data sharing unit displays a first display screen corresponding to the display control unit and a second display screen corresponding to the output destination application on the display unit,
The data sharing unit is configured to display the first display screen during a period in which the display control unit executes an operation of selecting one of unprocessed data to be processed and causing the output destination application to start processing. It is displayed on the display unit with priority over the second display screen,
The data sharing unit causes the display unit to display the second display screen with priority over the first display screen during a period in which one of the processing target data is being executed by the output destination application. And
In response to the data sharing unit displaying the first display screen on the display unit with higher priority than the second display screen, the processing control unit uses the unprocessed information stored in the storage unit. 2. The output destination application identified by the output destination application identification information is made to process one of processing target data indicated to be processed by the output destination application. Information processing program.
データ出力元のアプリケーションが出力するデータを、データ出力先として選択されたアプリケーションである出力先アプリケーションに処理させるデータ共有部を備えた情報処理装置であって、
前記出力先アプリケーションが処理対象データを1つずつ処理する単数処理アプリケーションである場合に、前記出力先アプリケーションに処理させる処理対象データが複数存在していることを条件として、前記出力先アプリケーションを識別する情報である出力先アプリケーション識別情報を記憶部に記憶させる第1記憶制御手段と、
複数の処理対象データの各々について、前記出力先アプリケーションで未処理の処理対象データを前記出力先アプリケーションに処理させることを前記コンピュータに示すための未処理情報を前記記憶部に記憶させる第2記憶制御手段と、
複数の処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させる動作を、前記データ共有部に行わせる処理制御手段と、
を備え、
前記処理制御手段は、前記出力先アプリケーションで1つの処理対象データの処理が完了したことを検出することに応じて、前記記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させることが示されている処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする情報処理装置。
An information processing apparatus including a data sharing unit that causes an output destination application that is an application selected as a data output destination to process data output by a data output source application,
When the output destination application is a single processing application that processes the processing target data one by one, the output destination application is identified on condition that there are a plurality of processing target data to be processed by the output destination application. First storage control means for storing output destination application identification information as information in the storage unit;
Second storage control for storing, in the storage unit, unprocessed information for indicating to the computer that each of a plurality of process target data causes the output destination application to process unprocessed process target data in the output destination application Means,
Processing control means for causing the data sharing unit to perform an operation of causing the output destination application identified by the output destination application identification information to process one of a plurality of pieces of processing target data;
With
The processing control unit causes the output destination application to perform processing based on unprocessed information stored in the storage unit in response to detecting that the processing of one processing target data is completed in the output destination application. An information processing apparatus that causes the output destination application identified by the output destination application identification information to process one of the processing target data indicated by
データ出力元のアプリケーションが出力するデータを、データ出力先として選択されたアプリケーションである出力先アプリケーションに処理させるデータ共有部を備えた情報処理装置において実行される情報処理方法であって、
前記出力先アプリケーションが処理対象データを1つずつ処理する単数処理アプリケーションである場合に、前記出力先アプリケーションに処理させる処理対象データが複数存在していることを条件として、前記出力先アプリケーションを識別する情報である出力先アプリケーション識別情報を記憶部に記憶させる第1記憶制御ステップと、
複数の処理対象データの各々について、前記出力先アプリケーションで未処理の処理対象データを前記出力先アプリケーションに処理させることを前記コンピュータに示すための未処理情報を前記記憶部に記憶させる第2記憶制御ステップと、
複数の処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させる動作を、前記データ共有部に行わせる処理制御ステップと、
を備え、
前記処理制御ステップは、前記出力先アプリケーションで1つの処理対象データの処理が完了したことを検出することに応じて、前記記憶部が記憶している未処理情報によって前記出力先アプリケーションに処理させることが示されている処理対象データのうちの1つを、前記出力先アプリケーション識別情報で識別される前記出力先アプリケーションに処理させることを特徴とする情報処理方法。
An information processing method executed in an information processing apparatus including a data sharing unit that causes an output destination application that is an application selected as a data output destination to process data output by a data output source application,
When the output destination application is a single processing application that processes the processing target data one by one, the output destination application is identified on condition that there are a plurality of processing target data to be processed by the output destination application. A first storage control step of storing output destination application identification information as information in the storage unit;
Second storage control for storing, in the storage unit, unprocessed information for indicating to the computer that each of a plurality of process target data causes the output destination application to process unprocessed process target data in the output destination application Steps,
A process control step for causing the data sharing unit to perform an operation of causing the output destination application identified by the output destination application identification information to process one of a plurality of pieces of processing target data;
With
The processing control step causes the output destination application to process the unprocessed information stored in the storage unit in response to detecting that the processing of one processing target data is completed in the output destination application. An information processing method that causes the output destination application identified by the output destination application identification information to process one of the processing target data indicated by
JP2012077833A 2012-03-29 2012-03-29 Information processing program, information processing apparatus, and information processing method Active JP5891903B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012077833A JP5891903B2 (en) 2012-03-29 2012-03-29 Information processing program, information processing apparatus, and information processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012077833A JP5891903B2 (en) 2012-03-29 2012-03-29 Information processing program, information processing apparatus, and information processing method

Publications (2)

Publication Number Publication Date
JP2013206394A true JP2013206394A (en) 2013-10-07
JP5891903B2 JP5891903B2 (en) 2016-03-23

Family

ID=49525352

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012077833A Active JP5891903B2 (en) 2012-03-29 2012-03-29 Information processing program, information processing apparatus, and information processing method

Country Status (1)

Country Link
JP (1) JP5891903B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5740015B1 (en) * 2014-02-06 2015-06-24 ヤフー株式会社 Terminal device, storage method, and information processing program
JP2015118443A (en) * 2013-12-17 2015-06-25 ブラザー工業株式会社 Information processing program, information processing device, and control method of information processing device
JP2018092652A (en) * 2018-02-16 2018-06-14 キヤノン株式会社 Information processing terminal, control method, and program
JP2021007023A (en) * 2020-09-23 2021-01-21 ブラザー工業株式会社 Program and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05150941A (en) * 1991-11-26 1993-06-18 Nec Corp System for sharing data
JP2008283441A (en) * 2007-05-10 2008-11-20 Murata Mach Ltd Image processing system, image reader, and control program
JP2010178258A (en) * 2009-02-02 2010-08-12 Nikon Corp Image processing program, image processing apparatus, and camera
JP2011029746A (en) * 2009-07-22 2011-02-10 Brother Industries Ltd Image processing apparatus, and image processing program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05150941A (en) * 1991-11-26 1993-06-18 Nec Corp System for sharing data
JP2008283441A (en) * 2007-05-10 2008-11-20 Murata Mach Ltd Image processing system, image reader, and control program
JP2010178258A (en) * 2009-02-02 2010-08-12 Nikon Corp Image processing program, image processing apparatus, and camera
JP2011029746A (en) * 2009-07-22 2011-02-10 Brother Industries Ltd Image processing apparatus, and image processing program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JPN6015042442; 坂本俊之、出村成和、渡邊昌之: 基礎から学ぶ 組み込みAndroid 第1版, 20110105, p.63-65、68, 株式会社シーアンドアール研究所 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015118443A (en) * 2013-12-17 2015-06-25 ブラザー工業株式会社 Information processing program, information processing device, and control method of information processing device
JP5740015B1 (en) * 2014-02-06 2015-06-24 ヤフー株式会社 Terminal device, storage method, and information processing program
US10296357B2 (en) 2014-02-06 2019-05-21 Yahoo Japan Corporation Portable terminal device specifying content related to first application and copying content to a second application upon predetermined event or operation
JP2018092652A (en) * 2018-02-16 2018-06-14 キヤノン株式会社 Information processing terminal, control method, and program
JP2021007023A (en) * 2020-09-23 2021-01-21 ブラザー工業株式会社 Program and mobile terminal
JP7107341B2 (en) 2020-09-23 2022-07-27 ブラザー工業株式会社 Program and mobile terminal

Also Published As

Publication number Publication date
JP5891903B2 (en) 2016-03-23

Similar Documents

Publication Publication Date Title
US11388307B2 (en) Computer readable recording medium, information processing apparatus, and information processing method
JP6183025B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP5673357B2 (en) Information processing program, information processing apparatus, and information processing method
JP5655747B2 (en) Information processing program, information processing apparatus, and information processing method
JP6194669B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP5891903B2 (en) Information processing program, information processing apparatus, and information processing method
US20150169391A1 (en) Information processing device and control method thereof
JP2013145483A (en) Image processing system, image processing method and program
JP2012165325A (en) Image processing apparatus, screen control program and recording medium
JP5282773B2 (en) Data management application and data management device
JP6583507B2 (en) Information processing program, information processing apparatus, and information processing method
JP6418209B2 (en) Information processing program, information processing apparatus, and information processing method
JP6500944B2 (en) INFORMATION PROCESSING PROGRAM, INFORMATION PROCESSING DEVICE, AND CONTROL METHOD OF INFORMATION PROCESSING DEVICE
JP6347306B2 (en) Information processing program, information processing apparatus, and information processing apparatus control method
JP6750709B2 (en) Information processing program, information processing apparatus, and method of controlling information processing apparatus
JP6711431B2 (en) Information processing program, information processing apparatus, and information processing method
JP6056875B2 (en) Information processing program, information processing apparatus, and information processing method
JP6709201B2 (en) Information processing program, information processing apparatus, and information processing method
JP2020013595A (en) Information processing program, information processing apparatus, and information processing method
JP2022007315A (en) Image processing apparatus, control method of image processing apparatus, and program
JP2018147514A (en) Information processing program, information processing device, and control method of information processing device
JP2018018543A (en) Device control program and device control method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150304

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20151116

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20151222

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160108

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160126

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160208

R150 Certificate of patent or registration of utility model

Ref document number: 5891903

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150