JP4369494B2 - Multimedia data processing apparatus and multimedia data processing program - Google Patents

Multimedia data processing apparatus and multimedia data processing program Download PDF

Info

Publication number
JP4369494B2
JP4369494B2 JP2007093575A JP2007093575A JP4369494B2 JP 4369494 B2 JP4369494 B2 JP 4369494B2 JP 2007093575 A JP2007093575 A JP 2007093575A JP 2007093575 A JP2007093575 A JP 2007093575A JP 4369494 B2 JP4369494 B2 JP 4369494B2
Authority
JP
Japan
Prior art keywords
script
data
template
execution
data processing
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.)
Expired - Lifetime
Application number
JP2007093575A
Other languages
Japanese (ja)
Other versions
JP2007295552A (en
Inventor
達生 首藤
純生 佐藤
良太 八木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP2007093575A priority Critical patent/JP4369494B2/en
Publication of JP2007295552A publication Critical patent/JP2007295552A/en
Application granted granted Critical
Publication of JP4369494B2 publication Critical patent/JP4369494B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

この発明はマルチメディアデータ処理装置に関し、特に、容易にマルチメディアコンテンツを作成できるマルチメディアデータ処理装置に関する。   The present invention relates to a multimedia data processing apparatus, and more particularly to a multimedia data processing apparatus that can easily create multimedia contents.

昨今の携帯電話等の通信機器の普及に伴って、作成したマルチメディアコンテンツを他のユーザに送信したり、他のユーザに対してマルチメディアコンテンツを作成させたりするようなコミュニケーションが広がっている。   With the recent spread of communication devices such as mobile phones, communications that transmit created multimedia contents to other users or cause other users to create multimedia contents have spread.

しかし、マルチメディアコンテンツを作成する際には、煩雑な操作手順を踏む必要である場合が多く、操作に慣れていないユーザによっては作成が困難であることもある。   However, when creating multimedia content, it is often necessary to take a complicated operation procedure, and it may be difficult for some users who are not used to the operation to create the multimedia content.

そこで、ユーザの操作を簡略化することを目指した手法が考えられている。
このようなコミュニケーションのツールとして、特許文献1は、スクリプトが添付されたメールを受信すると、メール開封と連動して添付スクリプトを抽出して実行する受信装置であって、さらに、受信装置において実行されたアクションを反映したスクリプトを生成して、メールの送信元に対して出力するように処理結果の出力を制御する受信装置について開示している。このような特許文献1に記載の受信装置を用いることにより、送り手側が所望したアクションを受け手側に実行させることができる。
Therefore, a method aimed at simplifying the user's operation has been considered.
As such a communication tool, Patent Document 1 is a receiving device that extracts and executes an attached script in conjunction with opening an email when it receives an email attached with a script, and is further executed in the receiving device. A receiving device that controls output of processing results to generate a script reflecting the action and output the script to a mail sender is disclosed. By using such a receiving apparatus described in Patent Document 1, it is possible to cause the sender to receive an action desired by the sender.

さらに特許文献2には、マルチメディアデータが付加された電子メールを容易に作成するために、コンテンツのレイアウト情報を記述したメールテンプレートを用意し、そのテンプレートのレイアウト情報にしたがってマルチメディアを含むメールを作成する手法が記載されている。
特開2002−140270号公報 特開2002−324036号公報
Further, in Patent Document 2, in order to easily create an e-mail to which multimedia data is added, an e-mail template describing content layout information is prepared, and an e-mail including multimedia according to the layout information of the template is prepared. The method to create is described.
JP 2002-140270 A JP 2002-324036 A

しかしながら、上述の特許文献1に記載の受信装置でスクリプトの生成を実行させることでマルチメディアコンテンツの作成をさせる場合には、複雑なスクリプトを記述して受信装置に送信する必要があるという問題がある。また、実行されたスクリプトは受け手側の操作を誘導するものでないために、必ずしも送り手側が所望したアクションが得られない場合もあるという問題もあった。   However, in the case of creating multimedia contents by executing script generation in the receiving device described in Patent Document 1, it is necessary to describe a complex script and transmit it to the receiving device. is there. Further, since the executed script does not guide the operation on the receiver side, there is a problem that the action desired by the sender side may not always be obtained.

さらに、メールなどのメッセージ作成者側でメールの作成を行なうことが容易ではないという問題もあった。すなわち、単にスクリプトとメッセージ作成者が用意したデータとを組合わせたメッセージを作成することは困難である。   In addition, there has been a problem that it is not easy for a mail message creator to create a mail. That is, it is difficult to create a message simply by combining a script and data prepared by the message creator.

マルチメディアデータを含むメッセージやメールの作成を容易にする技術として、特許文献2に開示されている、レイアウト情報が記載されたテンプレートを用いて、文字・静止画などの配置を容易にする技術は、PC(Personal Computer)で見る1枚の大きな画面の中に複数の画像やテキストが混在するメールを作成する場合には有効に働くものの、Aのシーン、Bのシーン、Cのシーンというように、時間的にメール画面が不連続的に変化してコンテンツが切替わるメールを作成する場合については言及されておらず、特許文献2に開示されている技術を用いても、時間的に遷移するマルチメディアデータをユーザが作成するのは困難であるという問題があった。   As a technique for facilitating creation of messages and mails including multimedia data, a technique disclosed in Patent Document 2 that facilitates arrangement of characters and still images using a template in which layout information is described is disclosed. Although it works effectively when creating a mail with multiple images and text mixed in a single large screen viewed on a PC (Personal Computer), the scenes of A, B, C, etc. In addition, there is no mention of creating a mail in which the content of the mail is switched by discontinuously changing the time of the mail screen, and even if the technique disclosed in Patent Literature 2 is used, the time transitions. There is a problem that it is difficult for a user to create multimedia data.

さらに、従来のデータ処理装置である携帯電話や携帯端末などにおいて、端末固有に保有されるカメラ、マイク、および住所録など各種機能を利用して、メッセージの内容を書換えることはできないという問題もある。   Furthermore, there is a problem that the contents of a message cannot be rewritten using a variety of functions such as a camera, a microphone, and an address book that are inherent to the terminal in a conventional data processing device such as a mobile phone or a mobile terminal. is there.

さらに、従来のデータ処理装置である作成者側の端末では、マルチメディアコンテンツの作成に使用したスクリプトの一部を書換え、そのスクリプトが再生側で利用されることで、最小限のスクリプトの書換えで作成と再生とができるようにはなっていないという問題もある。   Furthermore, the creator's terminal, which is a conventional data processing device, rewrites a part of the script used to create the multimedia content, and the script is used on the playback side, so that the script can be rewritten with a minimum. There is also a problem that creation and playback are not possible.

さらに、従来のデータ処理装置である作成者側の端末では、マルチメディアコンテンツの作成に利用したスクリプトコマンドもしくはタグのうち、送信相手が不要であるもの、もしくは標準手順に沿わないものを削除することができないという問題もあった。   In addition, on the creator's terminal, which is a conventional data processing device, delete script commands or tags used for creating multimedia content that do not require a sending partner or that do not conform to standard procedures. There was also a problem that it was not possible.

本発明はこのような問題に鑑みてなされたものであって、容易にマルチメディアコンテンツを作成できるマルチメディアデータ処理装置を提供することを第1の目的とし、さらに、相手に所望のマルチメディアコンテンツの作成・編集操作を確実に行なわせることのできるマルチメディアデータ処理装置を提供することを第2の目的とする。   The present invention has been made in view of such problems, and a first object of the present invention is to provide a multimedia data processing apparatus that can easily create multimedia contents. A second object of the present invention is to provide a multimedia data processing apparatus that can reliably perform creation / editing operations.

上記目的を達成するために、本発明のある局面に従うと、マルチメディアデータ処理装置は、テンプレートに含まれるスクリプトにしたがって、スクリプトから参照されるデータを再生するスクリプト実行手段と、テンプレートに含まれるスクリプトにしたがって、当該マルチメディアデータ処理装置の機能を選択する機能選択手段と、テンプレートに含まれるスクリプトにしたがって、選択された機能を用いて、スクリプトから参照されるデータに対してどのような処理を行なうかを決定するアクション決定手段と、決定された処理を実行するアクション実行手段と、スクリプトから参照されるデータを変更するデータ変更手段と、スクリプトと変更されたデータとの少なくとも一方を出力するスクリプト・データ出力手段とを備える。   In order to achieve the above object, according to an aspect of the present invention, a multimedia data processing apparatus includes: a script execution unit that reproduces data referenced from a script according to a script included in the template; and a script included in the template. In accordance with the function selection means for selecting the function of the multimedia data processing apparatus, and what kind of processing is performed on the data referenced from the script using the selected function according to the script included in the template An action determining means for determining the action, an action executing means for executing the determined process, a data changing means for changing data referred to by the script, and a script for outputting at least one of the script and the changed data Data output means.

以下に、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品および構成要素には同一の符号を付してある。それらの名称および機能も同じである。   Embodiments of the present invention will be described below with reference to the drawings. In the following description, the same parts and components are denoted by the same reference numerals. Their names and functions are also the same.

[第1の実施の形態]
図1は、第1の実施の形態におけるマルチメディアデータ処理装置を含むデータ通信システムの構成を示す図である。図1を参照して、本実施の形態におけるデータ通信システムは、スクリプト言語で記述されているテンプレートを提供するテンプレート提供サーバ(以下、単にサーバと言う)2と、提供されたテンプレートの再生および編集を行なう、マルチメディアデータ処理装置である再生・編集装置1とを含んで構成され、サーバ2と再生・編集装置1とは、インターネットあるいは公衆回線網あるいは放送網を介して通信を行なう。また、図1には示されていないものの、サーバ2と再生・編集装置1とはLAN(Local Area Network)等の専用回線を介して通信を行なってもよいし、無線通信を行なってもよい。なお、図1に示されるように、再生・編集装置1は携帯電話やPDA(Personal Digital Assistants)やパーソナルコンピュータ等が該当し、以下の説明においては、再生・編集装置1が携帯電話1であるものとして説明を行なう。
[First Embodiment]
FIG. 1 is a diagram showing a configuration of a data communication system including a multimedia data processing apparatus according to the first embodiment. Referring to FIG. 1, the data communication system according to the present embodiment includes a template providing server (hereinafter simply referred to as a server) 2 that provides a template described in a script language, and reproduction and editing of the provided template. The server 2 and the playback / editing apparatus 1 communicate with each other via the Internet, a public line network, or a broadcasting network. Although not shown in FIG. 1, the server 2 and the playback / editing apparatus 1 may communicate with each other via a dedicated line such as a LAN (Local Area Network) or may perform wireless communication. . As shown in FIG. 1, the playback / editing apparatus 1 corresponds to a mobile phone, a PDA (Personal Digital Assistants), a personal computer, and the like. In the following description, the playback / editing apparatus 1 is the mobile phone 1. It will be described as a thing.

なお、マルチメディアデータ処理装置である再生・編集装置1としては、情報通信機器、映像・音響機器、家電機器、およびアミューズメント機器などが該当する。   Note that the playback / editing apparatus 1 that is a multimedia data processing apparatus includes information communication equipment, video / audio equipment, home appliances, amusement equipment, and the like.

また、情報通信機器としては、パーソナルコンピュータやホームサーバなどの情報機器や電話機などの通信機器、中でも特に、携帯電話やPDA(Personal Digital Assistants)やノート型、装着型コンピュータなどの携帯型情報通信機器が該当する。   As information communication devices, information devices such as personal computers and home servers, and communication devices such as telephones, especially portable information communication devices such as mobile phones, PDAs (Personal Digital Assistants), notebook computers, and wearable computers. Is applicable.

また、映像・音響機器としては、画像記録機器であるデジタルスチルカメラ、映像記録機器であるデジタルビデオカメラやHDD(Hard Disk Drive)レコーダ、DVD(Digital Versatile Disk)レコーダ、ビデオテープレコーダ、映像再生機器であるDVDプレーヤやビデオプレーヤ、音声記録機器であるボイスレコーダ、音楽記録・再生機器であるシリコンオーディオレコーダまたはプレーヤ、MD(Mini Disk)レコーダまたはプレーヤ、CD(Compact Disk)レコーダまたはプレーヤ、放送データ受信、再生機器であるテレビジョン受像機やラジオなどが該当する。   Also, as video / audio equipment, digital still cameras as image recording equipment, digital video cameras and HDD (Hard Disk Drive) recorders as video recording equipment, DVD (Digital Versatile Disk) recorders, video tape recorders, video playback equipment DVD player and video player, voice recorder as voice recording device, silicon audio recorder or player as music recording / playback device, MD (Mini Disk) recorder or player, CD (Compact Disk) recorder or player, broadcast data reception For example, a television receiver or a radio, which is a playback device, is applicable.

また、家電機器としては、冷蔵庫、洗濯機、エアコンディショナ、掃除機、空気清浄機、および電子レンジなどの機器が該当する。   In addition, examples of home appliances include refrigerators, washing machines, air conditioners, vacuum cleaners, air purifiers, and microwave ovens.

また、アミューズメント機器としては、家庭用もしくは携帯型ゲーム機器などが該当する。   Further, the amusement device corresponds to a home use or a portable game device.

また、マルチメディアデータ処理装置である再生・編集装置1としては、上記の情報処理、通信、画像記録・再生、映像記録・再生、音声記録・再生、音楽記録・再生、放送データ受信・再生といった機能の複数を有する機器であってもよく、その他、上記に挙げたもの以外であっても、マルチメディアデータの再生もしくは編集が可能な機器であればどのような形態であっても構わない。   The reproduction / editing apparatus 1 that is a multimedia data processing apparatus includes the information processing, communication, image recording / reproduction, video recording / reproduction, audio recording / reproduction, music recording / reproduction, and broadcast data reception / reproduction. A device having a plurality of functions may be used, and any device other than those listed above may be used as long as the device can reproduce or edit multimedia data.

本実施の形態においては、特に再生・編集装置1が携帯電話1である場合について詳説する。   In the present embodiment, the case where the playback / editing apparatus 1 is the mobile phone 1 will be described in detail.

なお、本実施の形態においてメディアデータとは、画像(静止画)データ、動画データ、音声データ、音楽データ、テキストデータ、およびアニメーションデータのいずれか、あるいは外部より受信するストリーミングデータや放送データ、もしくはそれらを統合してなる下記のマルチメディアデータを指す。   Note that in this embodiment, media data refers to any of image (still image) data, moving image data, audio data, music data, text data, and animation data, streaming data or broadcast data received from the outside, or It refers to the following multimedia data obtained by integrating them.

また、本実施の形態においてマルチメディアデータとは、1つ以上のメディアデータを統合してなるデータを指し、データの形式は人間に可読なテキスト形式で記述されてもよいし、人間が直接読めないバイナリ形式であってもよい。   In the present embodiment, multimedia data refers to data obtained by integrating one or more media data, and the data format may be described in a human-readable text format or can be directly read by a human. There may be no binary format.

また、本実施の形態においてスクリプトとは、上述のマルチメディアデータを表示、再生、および編集するために、マルチメディアデータが含む各メディアデータに対して画面上のレイアウト情報、時間軸上の再生開始、終了タイミングや、再生速度、音量などの属性を規定する記述形式を指す。また、外部アプリケーションの起動、装置内外からの情報取得、他のマルチメディアデータへのリンク遷移などの制御情報も、スクリプト中に記述することが可能である。   In the present embodiment, the script refers to the layout information on the screen for each media data included in the multimedia data and the start of playback on the time axis in order to display, play, and edit the above-described multimedia data. This refers to a description format that defines attributes such as end timing, playback speed, and volume. Also, control information such as activation of an external application, acquisition of information from inside and outside the apparatus, and link transition to other multimedia data can be described in the script.

また、本実施の形態においてテンプレートとは、上述のスクリプトを含んで構成される、再生あるいは編集可能なマルチメディアデータであって、ユーザ操作などをきっかけとして、該スクリプト内のメディアデータを参照する部分の記述を書換えることにより、メディアデータの追加、変更、および削除を行なうことができるマルチメディアデータの一形態を指す。テンプレートには、スクリプトから参照されるメディアデータを1つ以上含んでもよい。   Further, in the present embodiment, the template is multimedia data that includes the above-described script and can be played back or edited, and refers to the media data in the script triggered by a user operation or the like. Is a form of multimedia data that can add, change, and delete media data. The template may include one or more media data referenced from the script.

次に、図2に、本データ通信システムに含まれる再生・編集装置である携帯電話1のハードウェア構成について具体例を示す。   Next, FIG. 2 shows a specific example of the hardware configuration of the mobile phone 1 which is a playback / editing device included in the data communication system.

図2を参照して、本実施の形態のデータ通信システムに含まれる携帯電話1は、ユーザとのインタフェースである入出力部140と、CPU(Central Processing Unit)等から構成されて、この携帯電話1の全体を制御する制御部120と、他の装置と通信するための通信部110と、ROM(Read Only Memory)やRAM(Random Access Memory)などから構成されて、制御部120において実行されるプログラムや、そのプログラムの中間データおよび他のコンピュータから受信したデータ等を記憶する記憶部130とを含んで構成される。   Referring to FIG. 2, mobile phone 1 included in the data communication system of the present embodiment includes an input / output unit 140 that is an interface with a user, a CPU (Central Processing Unit), and the like. 1 includes a control unit 120 that controls the entire system 1, a communication unit 110 that communicates with other devices, a ROM (Read Only Memory), a RAM (Random Access Memory), and the like, and is executed by the control unit 120. And a storage unit 130 for storing the program, intermediate data of the program, data received from another computer, and the like.

さらに上述の入出力部140は、「1」、「2」などの数字ボタンおよび「R」、「L」などの方向ボタンなどを含むキーコード入力デバイス142と、ユーザに情報を表示するLCD(Liquid Crystal Display)などのディスプレイ144と、音声を入力するマイクロフォン146と、音声を出力するスピーカ148と、画像を撮影して入力するカメラ149とを含む。   Further, the input / output unit 140 includes a key code input device 142 including numeric buttons such as “1” and “2” and direction buttons such as “R” and “L”, and an LCD ( A display 144 such as a liquid crystal display), a microphone 146 that inputs sound, a speaker 148 that outputs sound, and a camera 149 that captures and inputs an image.

また、制御部120は、その内部にタイマを含む。
このような携帯電話1において、ユーザがサーバ2から得たテンプレートの再生および編集を行なう処理は、携帯電話1のハードウェア、記憶部130に記憶され制御部120により実行されるソフトウェアおよびテンプレートにより実現される。なお、図2に示した携帯電話1自体の動作は周知であるので、ここではその詳細な説明は省略する。
The control unit 120 includes a timer therein.
In such a mobile phone 1, the processing for reproducing and editing the template obtained by the user from the server 2 is realized by the hardware of the mobile phone 1, the software and the template stored in the storage unit 130 and executed by the control unit 120. Is done. Since the operation of the mobile phone 1 itself shown in FIG. 2 is well known, detailed description thereof is omitted here.

また、本データ通信システムに含まれるサーバ2は、一般的なパーソナルコンピュータ等で構築されるサーバであり、その構成についてここでの詳細な説明は行なわない。   Further, the server 2 included in the data communication system is a server constructed by a general personal computer or the like, and detailed description thereof will not be given here.

次に、図3に、携帯電話1の記憶部130に記憶されるプログラムと、携帯電話1におけるデータ処理の流れとを示す。図3に示されるデータ処理の流れは、制御部120が記憶部130に記憶される各プログラムを実行することによって、携帯電話1において実現される。すなわち、通信部110でサーバ2から受信したテンプレートは、制御部120が記憶部130に記憶されるプログラムを実行することによって再生および編集処理がなされる。   Next, FIG. 3 shows a program stored in the storage unit 130 of the mobile phone 1 and a flow of data processing in the mobile phone 1. The data processing flow shown in FIG. 3 is realized in the mobile phone 1 by the control unit 120 executing each program stored in the storage unit 130. That is, the template received from the server 2 by the communication unit 110 is played and edited by the control unit 120 executing a program stored in the storage unit 130.

具体的には、図3を参照して、始めに、制御部120は、再生・編集エンジンプログラム131を実行させることで、通信部110において受信したスクリプトとメディアデータとを含むテンプレートを処理する。なお、ここでの再生・編集エンジンプログラム131の機能構成については後述する。   Specifically, referring to FIG. 3, first, control unit 120 executes a playback / editing engine program 131 to process a template including a script and media data received by communication unit 110. The functional configuration of the playback / editing engine program 131 here will be described later.

次に、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、UI(User Interface)内容表示プログラム132を実行させる。UI内容表示プログラム132を実行させてテンプレートを処理することで、テンプレートにおけるUIの内容をディスプレイ144に表示させる。   Next, the control unit 120 causes a UI (User Interface) content display program 132 to be executed based on the processing result of the playback / editing engine program 131. By executing the UI content display program 132 to process the template, the UI content in the template is displayed on the display 144.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、画像撮影プログラム133を実行させ、カメラ149からの画像の入力とキーコード入力デバイス142からの各種指示とを受付ける。また、動画を撮影する際には、さらにマイクロフォン146からの音声の入力も受付ける。   Further, the control unit 120 executes the image capturing program 133 based on the processing result in the reproduction / editing engine program 131 and receives an image input from the camera 149 and various instructions from the key code input device 142. In addition, when shooting a moving image, an audio input from the microphone 146 is also accepted.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、画像データ表示再生プログラム134を実行させ、テンプレートに含まれる画像データをディスプレイ144上で再生させる。また、その画像データに音声も含まれる場合には、その音声をスピーカ148で再生させる。   Further, the control unit 120 executes the image data display / reproduction program 134 based on the processing result in the reproduction / editing engine program 131 and reproduces the image data included in the template on the display 144. If the image data includes sound, the sound is played back by the speaker 148.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、音声データ再生プログラム135を実行させ、テンプレートに含まれる音声データをスピーカ148で再生させる。   Further, the control unit 120 executes the audio data reproduction program 135 based on the processing result in the reproduction / editing engine program 131 and causes the speaker 148 to reproduce the audio data included in the template.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、音声データ録音プログラム136を実行させ、マイクロフォン146からの音声の入力とキーコード入力デバイス142からの各種指示とを受付ける。   Further, the control unit 120 executes the audio data recording program 136 based on the processing result in the reproduction / editing engine program 131, and receives the audio input from the microphone 146 and various instructions from the key code input device 142. .

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、アニメデータ表示再生プログラム137を実行させ、テンプレートに含まれるアニメデータをディスプレイ144上で再生させる。   Further, the control unit 120 executes the animation data display / reproduction program 137 based on the processing result of the reproduction / editing engine program 131 and reproduces the animation data included in the template on the display 144.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、テキストデータ表示再生プログラム138を実行させ、テンプレートに含まれるテキストデータをディスプレイ144上で再生させる。   Further, the control unit 120 executes the text data display / reproduction program 138 based on the processing result in the reproduction / editing engine program 131 and reproduces the text data included in the template on the display 144.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、テキスト編集プログラム139を実行させ、キーコード入力デバイス142からのテキスト情報と各種指示とを受付ける。   Further, the control unit 120 executes the text editing program 139 based on the processing result in the reproduction / editing engine program 131, and accepts text information and various instructions from the key code input device 142.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、WWW(World Wide Web)ブラウザプログラム151を実行させ、WWWコンテンツを再生する。   Further, the control unit 120 executes a WWW (World Wide Web) browser program 151 based on the processing result of the playback / editing engine program 131 to play back the WWW content.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、WWWブラウザプログラム151を実行させ、通信部110を介してサーバ2からデータを取得する。   Further, the control unit 120 executes the WWW browser program 151 based on the processing result in the playback / editing engine program 131 and acquires data from the server 2 via the communication unit 110.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、メールプログラム152を実行させ、キーコード入力デバイス142からのテキスト情報と各種指示と受付け、メールを送信させる。   Further, the control unit 120 executes the mail program 152 based on the processing result in the reproduction / editing engine program 131, receives text information and various instructions from the key code input device 142, and transmits mail.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、通話プログラム153を実行させ、通話を開始させる。   Further, the control unit 120 executes the call program 153 based on the processing result in the reproduction / editing engine program 131 to start a call.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、位置取得プログラム154を実行させ、GPS(Global Positioning System)150から当該端末の現在位置を取得する。   Further, the control unit 120 executes the position acquisition program 154 based on the processing result in the reproduction / editing engine program 131 and acquires the current position of the terminal from the GPS (Global Positioning System) 150.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、アドレス帳プログラム155を実行させ、記憶部130に記憶されたメールアドレスや電話番号を取得する。   Further, the control unit 120 executes the address book program 155 based on the processing result in the reproduction / editing engine program 131 and acquires the mail address and telephone number stored in the storage unit 130.

また、制御部120は、再生・編集エンジンプログラム131での処理結果に基づいて、ファイル取得プログラム156を実行させ、記憶部130に記憶された特定のメディア型のコンテンツデータを取得する。   Further, the control unit 120 executes the file acquisition program 156 based on the processing result of the playback / editing engine program 131 and acquires content data of a specific media type stored in the storage unit 130.

また、制御部120は、上述の画像撮影プログラム132、音声データ録音プログラム136、テキスト編集プログラム139、WWWブラウザプログラム151、位置取得プログラム154、アドレス帳プログラム155、およびファイル取得プログラム156を実行させることによって受付けた情報に基づいて、再生・編集エンジンプログラム131を実行させ、スクリプトとメディアデータとを含むテンプレートを処理する。   Further, the control unit 120 executes the above-described image shooting program 132, audio data recording program 136, text editing program 139, WWW browser program 151, position acquisition program 154, address book program 155, and file acquisition program 156. Based on the received information, the playback / editing engine program 131 is executed to process a template including a script and media data.

さらに、上述の再生・編集エンジンプログラム131の機能構成について図4に示す。制御部120が記憶部130に記憶される再生・編集エンジンプログラム131を実行することで、図4に示される各機能が携帯電話1において実現される。   Furthermore, the functional configuration of the above-described playback / editing engine program 131 is shown in FIG. The control unit 120 executes the playback / editing engine program 131 stored in the storage unit 130, whereby each function shown in FIG.

図4を参照して、始めに、スクリプト読込部1311は、通信部110において受信したテンプレートに含まれるスクリプトを読込む。そして、スクリプト読込部1311は、読込んだスクリプトを構文解析部1312に渡す。   Referring to FIG. 4, first, script reading unit 1311 reads a script included in the template received by communication unit 110. Then, the script reading unit 1311 passes the read script to the syntax analysis unit 1312.

次に、構文解析部1312は、スクリプト読込部1311から渡されたスクリプトの構文を解析する。そして、構文解析部1312は、解析結果を実行制御部1313と時間管理部1314とに渡す。   Next, the syntax analysis unit 1312 analyzes the syntax of the script passed from the script reading unit 1311. Then, the syntax analysis unit 1312 passes the analysis result to the execution control unit 1313 and the time management unit 1314.

次に、時間管理部1314は、構文解析部1312から渡された解析結果に基づいて、タイムテーブルを作成する。そして、時間管理部1314は、作成したタイムテーブルを実行制御部1313に渡す。   Next, the time management unit 1314 creates a time table based on the analysis result passed from the syntax analysis unit 1312. Then, the time management unit 1314 passes the created time table to the execution control unit 1313.

また、イベント管理部1315は、イベントの発生を検出する。そして、イベント管理部1315は、検出結果を実行制御部1313に渡す。   In addition, the event management unit 1315 detects the occurrence of an event. Then, the event management unit 1315 passes the detection result to the execution control unit 1313.

次に、実行制御部1313は、時間管理部1314から渡されたタイムテーブルと、イベント管理部1315から渡されたイベント発生の検出結果と、構文解析部1312から渡された解析結果とに基づいて、スクリプトを実行する。また、実行制御部1313は、イベント管理部1315から渡されたイベント発生の検出結果に基づいて、スクリプト書出部1316にスクリプトの書換えを指示する。   Next, the execution control unit 1313 is based on the time table passed from the time management unit 1314, the detection result of event occurrence passed from the event management unit 1315, and the analysis result passed from the syntax analysis unit 1312. Run the script. Further, the execution control unit 1313 instructs the script writing unit 1316 to rewrite the script based on the detection result of the event occurrence passed from the event management unit 1315.

スクリプト書出部1316は、実行制御部1313からの指示に基づいて、スクリプトを書換え、書換えたスクリプトを実行制御部1313に渡す。そして、書換えられたスクリプトは、実行制御部1313で実行される。   The script writing unit 1316 rewrites the script based on an instruction from the execution control unit 1313, and passes the rewritten script to the execution control unit 1313. Then, the rewritten script is executed by the execution control unit 1313.

なお、本実施の形態においては、サーバ2から提供されたテンプレートを携帯電話1において処理する場合について説明するが、テンプレートに含まれるスクリプトおよびメディアデータの一部またはすべては携帯電話1の記憶部130に記憶されているものであってもよく、その場合、図3あるいは図4に示される各部は、記憶部130から読出して取得したスクリプトまたはメディアデータを処理する。   In the present embodiment, the case where the mobile phone 1 processes the template provided from the server 2 will be described. However, some or all of the script and media data included in the template are stored in the storage unit 130 of the mobile phone 1. In this case, each unit shown in FIG. 3 or FIG. 4 processes a script or media data read out and acquired from the storage unit 130.

次に、サーバ2から携帯電話1に提供され、携帯電話1において処理されるテンプレートに含まれるスクリプトについて説明する。   Next, a script included in a template provided from the server 2 to the mobile phone 1 and processed by the mobile phone 1 will be described.

図5は、スクリプトのデータ構造を模式的に示した図である。図5を参照して、本実施の形態における携帯電話1で処理されるスクリプトは、描画情報記述部分とユーザナビゲート情報記述部分とからなることを特徴とする。   FIG. 5 is a diagram schematically showing the data structure of the script. Referring to FIG. 5, the script processed by mobile phone 1 in the present embodiment is characterized by comprising a drawing information description portion and a user navigation information description portion.

描画情報記述部分には、画像(静止画)データや、動画データや、音声データや、音楽データや、テキストデータや、アニメーションデータや、ストリーミングデータや、放送データなどのメディアデータへの参照情報(ファイル名やURL(Uniform Resource Locators)や放送局の周波数やチャネルなど)が記述される。   In the drawing information description part, reference information to media data such as image (still image) data, moving image data, audio data, music data, text data, animation data, streaming data, broadcast data, etc. File name, URL (Uniform Resource Locators), broadcast station frequency, channel, etc.) are described.

なお、RFC2397で規定されているデータURLなどの記述形式を利用することによって、描画情報記述部分に、メディアデータへの参照情報ではなくメディアデータの実体そのものを記述してもよい。   It should be noted that by using a description format such as a data URL defined in RFC2397, the entity of the media data itself may be described in the drawing information description part instead of the reference information to the media data.

また、ユーザナビゲート情報記述部分には、リンク移動やアプリケーションの起動やヘルプ表示などを実行させるスクリプト定義入力イベントと、アクション(動作)との対応付け、および実行条件とが記述される。   In the user navigation information description portion, a script definition input event for executing link movement, application activation, help display, and the like, an action (operation), and an execution condition are described.

上記アクションの例としては、カメラ起動による動画あるいは静止画の撮像、テキストエディタ起動によるユーザ入力テキストデータの取得、ボイスレコーダ起動による音声データの取得、ファイル選択アプリケーション起動によるメディアデータファイルの取得、機器の内部または外部からの時刻情報、位置情報、アドレス帳、スケジュール情報、その他の情報の自動取得、WWWブラウザやメーラなど機器のアプリケーションの起動、電話発呼やメロディ再生やライト点灯などの機器固有機能の呼出し、あるいは他のスクリプト実行へのリンク遷移、あるいはテレビのチャンネル切替え、エアコンの温度設定など、他の機器を制御する制御信号の発信、などが挙げられる。   Examples of the above actions include capturing a video or still image by camera activation, acquiring user input text data by starting a text editor, acquiring voice data by starting a voice recorder, acquiring a media data file by starting a file selection application, Automatic acquisition of time information, location information, address book, schedule information, and other information from inside or outside, activation of device applications such as WWW browsers and mailers, device-specific functions such as calling, melody playback, and lighting Calling or link transition to execution of another script, transmission of a control signal for controlling other devices such as TV channel switching, air conditioner temperature setting, and the like.

さらに、描画情報記述部分とユーザナビゲート情報記述部分との両方に、時系列的な記述を含むことを特徴とする。すなわち、描画情報記述部分には時系列的にメディアデータへの参照情報が記述され、ユーザナビゲート情報記述部分には時系列的にイベントが記述されることを特徴とする。   Furthermore, both the drawing information description part and the user navigation information description part include a time-series description. That is, the reference information to the media data is described in the drawing information description part in time series, and the event is described in the user navigation information description part in time series.

このような構成とすることで、スクリプトには、画像(静止画)データや、音楽データや、テキストデータや、アニメーションデータや、ストリーミングデータや、放送データなどのメディアデータが時系列的に次々に再生されるようなマルチメディアデータを記述することができる。   With this configuration, the script contains media data such as image (still image) data, music data, text data, animation data, streaming data, and broadcast data one after another in time series. Multimedia data that can be played back can be described.

さらに、時系列的にイベントが記述できることにより、スクリプトを再生させながら、所定の時刻や時間帯において、たとえばカメラの起動などのイベントを実行させることができる。さらに、このようなカメラ起動イベントを、所定の画像と置換するアクションに対応付けるように記述することにより、上述の所定の画像が表示されるべき時間帯にユーザが所定のキーを押下すると、スクリプトの再生を一旦停止して直ちにカメラが起動され、ここで撮影操作を実行すると、スクリプトの再生に復帰し、今撮影された画像が所定の位置に表示される、というようなアプリケーションを実現できる。   Furthermore, since events can be described in time series, events such as camera activation can be executed at a predetermined time or time zone while playing back a script. Further, by describing such a camera activation event so as to be associated with an action for replacing a predetermined image, when the user presses a predetermined key during a time zone in which the predetermined image is to be displayed, When the reproduction is temporarily stopped and the camera is activated immediately, and the photographing operation is executed here, the application can be realized in which the reproduction of the script is resumed and the currently photographed image is displayed at a predetermined position.

以上のように、時系列に沿って起動するイベントとそれに対応するアクションとをスクリプト内で明示的に規定することによって、携帯端末などにおいてカメラやマイク、住所録などの機能を利用して複数のメディアデータが時系列に再生されるようなマルチメディアデータを作成する場合でも、操作手順を簡略化することができ、ユーザの利便性が高まる。   As described above, events that are activated in time series and the corresponding actions are explicitly defined in the script, so that multiple functions can be used using functions such as cameras, microphones, and address books on mobile devices. Even when creating multimedia data in which the media data is reproduced in time series, the operation procedure can be simplified and the convenience for the user is enhanced.

図6および図7に、具体的なスクリプトを示して説明する。
図6を参照して、始めに、スクリプトのヘッダ部分(第2行〜第16行)の第12行〜第15行に、アクションの内容が定義されている。すなわち、図6を参照して、第12行〜第15行には、アクションの内容として、アクションごとの固有の識別情報(action id)と、そのアクションの実行形式(type)と、アクション内容(dest)と、アクションの実行領域(Image)とが定義されている。
A specific script will be described with reference to FIGS.
With reference to FIG. 6, first, the content of the action is defined in the 12th to 15th lines of the header portion (2nd to 16th lines) of the script. That is, referring to FIG. 6, the 12th to 15th lines include, as action contents, unique identification information (action id) for each action, an execution format (type) of the action, and action contents ( dest) and an action execution area (Image) are defined.

より具体的には、図6の第12行には、識別情報act_movieであるアクションは、Image領域に表示されている情報と、movieに格納されているファイルとを置換える(replace)内容である旨が定義されている。   More specifically, in the twelfth line of FIG. 6, the action that is the identification information act_movie replaces the information displayed in the Image area and the file stored in the movie (replace). The meaning is defined.

また、図6の第5行には、携帯電話1においてスクリプトをどのように使用するかについてのヒントが記述されている。すなわち、スクリプトは、コンテンツ編集操作をナビゲートするテンプレート(template)である旨が定義されている。このほかに、編集操作のナビゲートはせず閲覧専用のコンテンツ(contents)である旨を定義することができる。   In the fifth line of FIG. 6, a hint about how to use the script in the mobile phone 1 is described. That is, it is defined that the script is a template for navigating the content editing operation. In addition, it is possible to define that the content is content only for viewing without navigating the editing operation.

次に、図7を参照して、スクリプトの本体(ボディ)部分(第17行〜第40行)の第18行〜第39行の段落には、並列に実行されるメディアデータやアクションが記述されている。さらに、第19行および第37行には、これらのメディアデータやアクションが時系列的に実行される旨が記述されている。さらに、第20行〜第25行、第26行〜第31行、および第32行〜第36行の各段落には、各々、0秒〜8秒目、8秒〜15秒目、および15秒〜19秒目に実行されるメディアデータやアクションが記述されている。   Next, referring to FIG. 7, the paragraphs in the 18th to 39th lines of the main body (the 17th line to the 40th line) of the script describe media data and actions to be executed in parallel. Has been. Further, the 19th and 37th lines describe that these media data and actions are executed in time series. Furthermore, the paragraphs of the 20th to 25th lines, the 26th to 31st lines, and the 32nd to 36th lines respectively include 0 second to 8 seconds, 8 seconds to 15 seconds, and 15 seconds. Media data and actions executed in seconds to 19 seconds are described.

より具体的には、図7の第21行〜第23行には、0秒〜8秒目に、各々、画像データ、テキストデータ、および音声データを再生させる旨が記述されており、第24行には、「ムービー起動」のUIを表示させ、selectキーが操作された場合に、識別情報act_movieであるアクションを実行させる旨が記述されている。第30行には、「音声録音」のUIを表示させ、2秒後にタイマから通知を受け、識別情報act_speechであるアクションを実行させる旨が記述されている。なお、第28行から第30行において、「src=」に続いて記述される名前はイベントの発生元を表わすソースIDである。UIの表示については、図7に示されるようにスクリプトに記述されていてもよいし、図8に示されるような、起動アプリケーションとそのときに表示させるUIとの対応を規定するテーブルが、予め携帯電話1の記憶部130に格納され、携帯電話1の制御部120が再生・編集エンジンプログラム131を実行する際に自動的に当該テーブルを読出して表示されるものであってもよい。   More specifically, lines 21 to 23 in FIG. 7 describe that image data, text data, and audio data are reproduced at times 0 to 8 seconds, respectively. The row describes that the “movie activation” UI is displayed and an action of identification information act_movie is executed when the select key is operated. The 30th line describes that the “voice recording” UI is displayed, a notification is received from the timer two seconds later, and the action of the identification information act_speech is executed. Note that in the 28th to 30th lines, the name described after “src =” is the source ID representing the event generation source. The UI display may be described in a script as shown in FIG. 7, or a table that prescribes the correspondence between the activated application and the UI displayed at that time as shown in FIG. The table may be stored in the storage unit 130 of the mobile phone 1 and automatically read and displayed when the control unit 120 of the mobile phone 1 executes the reproduction / editing engine program 131.

このように、本実施の形態における携帯電話1で処理されるスクリプトは、時系列的に実行される、描画情報とユーザナビゲート情報とを記述する描画情報記述部分とユーザナビゲート情報記述部分とから構成されることを特徴とする。   As described above, the script processed by the mobile phone 1 according to the present embodiment includes a drawing information description portion that describes drawing information and user navigation information, a user navigation information description portion that are executed in time series, It is comprised from these.

なお、本実施の形態においては、人間に可読なテキスト形式のスクリプトを携帯電話1において処理する場合について説明するが、スクリプトは人間が直接読めないバイナリ形式であってもよい。   In the present embodiment, a case where a human-readable script in a text format is processed by the mobile phone 1 will be described, but the script may be in a binary format that cannot be directly read by a human.

また、本実施の形態においては、ひとまとまりのスクリプトを携帯電話1において処理する場合について説明するが、スクリプトをメディアデータへの参照情報を含む描画情報記述部とユーザナビゲート情報記述部とに分割して構成し、メディアデータを置換えまたは挿入する際には、メディアデータへの参照情報を含む描画情報記述部が記述されたスクリプトのみを編集する構成であってもよい。   In this embodiment, a case where a batch of scripts is processed by the mobile phone 1 will be described. However, the script is divided into a drawing information description section including reference information to media data and a user navigation information description section. When the media data is replaced or inserted, only the script in which the drawing information description part including the reference information to the media data is described may be edited.

具体的に、図70および図71に、描画情報記述部とユーザナビゲート情報記述部とに分割して構成された各スクリプトであって、描画情報記述部が記述されたスクリプトと、ユーザナビゲート情報記述部が記述されたスクリプトとを示す。   Specifically, in FIG. 70 and FIG. 71, each script divided into a drawing information description part and a user navigation information description part, the script in which the drawing information description part is described, and user navigation The script in which the information description part is described is shown.

図70に示される描画情報記述部が記述されたスクリプトには、具体的に、スクリプト実行開始0秒〜2秒の間は静止画top.jpgとテキストtop.txtとが表示され、スクリプト実行開始2秒〜8秒の間は静止画image.jpg、音楽データbgm.amr、テキストmessage.txtとが再生されることが記述されている。   Specifically, the script in which the drawing information description part shown in FIG. 70 is described includes a still image top. jpg and text top. txt is displayed, and the still image image. jpg, music data bgm. amr, text message. It is described that txt is reproduced.

また、図71に示されるユーザナビゲート情報記述部が記述されたスクリプトは、図70に参照先として参照情報が記述されているメディアデータのうち、image.jpgとmessage.txtとを置換え、挿入する機能を実現するスクリプトである。   Also, the script in which the user navigation information description part shown in FIG. 71 is described is image.of media data in which reference information is described as a reference destination in FIG. jpg and message. This is a script that realizes the function of replacing and inserting txt.

上述の図70および図71に示されるスクリプトを本実施の形態にかかる携帯電話1で構文解析して実行したときの画面表示の具体例を、図72に示す。まず、図72(A)に示されるように、図71の記述にしたがって、「SELECT PHOTO」の文字列と共に画像ファイル選択フォーム、および「ENTER BIRTHDAY MESSAGE」の文字列と共に文字列入力フォームが表示される。図72(A)に示される画面においてユーザが画像ファイルを選択し、テキストを入力した状況が図72(B)に示される。図72(B)に示される画面において「send」ボタンが選択実行されると、今選択された画像ファイルがimage.jpgとして、入力されたテキストがmessage.txtとしてテンプレートに組込まれ、再生実行される。すなわち、当該スクリプトの再生開始から0秒〜2秒の間は、図72(C)に示されるように静止画top.jpgとテキストtop.txtとが表示され、続いて開始2秒〜8秒の間は、図72(D)に示されるようにimage.jpgとmessage.txtとが表示されて、同時に音楽データbgm.amrが再生される。図72(D)で表示されるimage.jpgはユーザが図72(B)に示される画面で選択した画像であり、message.txtは図72(B)に示される画面で入力したテキストである。   FIG. 72 shows a specific example of screen display when the script shown in FIG. 70 and FIG. 71 described above is parsed and executed by the mobile phone 1 according to the present embodiment. First, as shown in FIG. 72 (A), according to the description of FIG. 71, an image file selection form is displayed together with a character string of “SELECT PHOTO”, and a character string input form is displayed together with a character string of “ENTER BIRTHDAY MESSAGE”. The FIG. 72 (B) shows a situation where the user has selected an image file and entered text on the screen shown in FIG. 72 (A). When the “send” button is selected and executed on the screen shown in FIG. 72B, the currently selected image file is image. As jpg, the input text is message. It is incorporated into the template as txt and played back. That is, during the period from 0 second to 2 seconds from the start of playback of the script, as shown in FIG. jpg and text top. txt is displayed, and then between the start 2 seconds and 8 seconds, image.txt is displayed as shown in FIG. jpg and message. txt is displayed and the music data bgm. amr is played back. The image.image displayed in FIG. jpg is an image selected by the user on the screen shown in FIG. txt is the text entered on the screen shown in FIG.

このように、スクリプトを描画情報記述部とユーザナビゲート記述部とに分割して構成することで、後述するような、スクリプトからユーザナビゲート記述部を削除してメールに添付して送信する場合に、描画情報記述部のみを添付することにすればよく、スクリプトを解析しどの部分を削除すべきかを考慮する処理を省略できるというメリットがある。   In this way, by dividing the script into the drawing information description part and the user navigation description part, and deleting the user navigation description part from the script and sending it attached to an email as described later In addition, it is sufficient to attach only the drawing information description part, and there is an advantage that the process of analyzing the script and considering which part should be deleted can be omitted.

なお、描画情報記述部を含むスクリプトとユーザナビゲート記述部を含むスクリプトとの関係は、たとえば図73に示されるスクリプトのように、両スクリプトを結びつける記述部を含むスクリプトを別に用意し、これらのスクリプトと、描画情報記述部を含むスクリプトとから参照されるメディアデータ群とのセットをテンプレートとして扱うことにするのが好ましい。   The relationship between the script including the drawing information description part and the script including the user navigation description part is such that, for example, a script including a description part linking both scripts, such as the script shown in FIG. 73, is prepared. It is preferable to treat a set of a script and a media data group referenced from a script including a drawing information description part as a template.

また、描画情報記述部を含むスクリプト内に、対応するユーザナビゲート記述部を含むスクリプトへのリンクを記述することによって、描画情報記述部を含むスクリプトを再生させながら、所定のタイミングでユーザナビゲート記述部を含むスクリプトの実行へ移り、図72(A)のような入力画面へ遷移させることもできる。   In addition, by describing a link to the script including the corresponding user navigation description part in the script including the drawing information description part, the user navigation can be performed at a predetermined timing while reproducing the script including the drawing information description part. It is also possible to move to the execution of a script including a description portion and shift to an input screen as shown in FIG.

次に、本実施の形態における携帯電話1での、スクリプトの再生および編集処理について図9のフローチャートを用いて説明する。図9のフローチャートに示される処理は、携帯電話1の制御部120が、図4に構成が示される再生・編集エンジンプログラム131を記憶部130から読出して実行することによって実現される。   Next, script playback and editing processing in the mobile phone 1 according to the present embodiment will be described with reference to the flowchart of FIG. The processing shown in the flowchart of FIG. 9 is realized by reading and executing the playback / editing engine program 131 shown in FIG. 4 from the storage unit 130 by the control unit 120 of the mobile phone 1.

図9を参照して、始めに、ステップS11において初期化を実行した後、ステップS12において、通信部110で、インターネットを介してサーバ2よりスクリプトを取得する。   Referring to FIG. 9, first, after initialization is performed in step S <b> 11, in step S <b> 12, the communication unit 110 acquires a script from the server 2 via the Internet.

次に、ステップS13において、制御部120は、再生・編集エンジンプログラム131を実行し、スクリプト読込部1311で取得したスクリプトを読込む。   Next, in step S <b> 13, the control unit 120 executes the playback / editing engine program 131 and reads the script acquired by the script reading unit 1311.

次に、ステップS14において、構文解析部1312は、読込んだスクリプトを構文解析する。なお、ここでの構文解析の方法については、本発明において限定されるものでなく、一般的な構文解析方法であってよい。   In step S14, the syntax analysis unit 1312 performs syntax analysis on the read script. Note that the syntax analysis method here is not limited in the present invention, and may be a general syntax analysis method.

次に、ステップS15において、時間管理部1314は、構文解析結果に基づいて図10〜図12に示すようなタイムテーブルを作成する。図10は、時間管理部1314が、図6および図7に示されるスクリプトの描画情報記述部分に基づいて作成したメディア描画処理のタイムテーブルの具体例を示す図であり、図11および図12は、図6および図7に示されるスクリプトのユーザナビゲート情報記述部分に基づいて作成したイベント処理タイムテーブルおよびUI割当状況表示タイムテーブルの具体例である。すなわち、ステップS15において、時間管理部1314は、ステップS14で解析されたスクリプトに基づいて、スクリプト実行時間とそのとき再生されるメディアデータとの対応と、スクリプト実行時間とそのとき発生したイベントに応じた処理との対応と、スクリプト実行時間とそのときに操作されるUIの割当との対応とを、図10〜図12に示すようなタイムテーブル形式で作成する。   Next, in step S15, the time management unit 1314 creates a time table as shown in FIGS. 10 to 12 based on the syntax analysis result. FIG. 10 is a diagram showing a specific example of a time table for media drawing processing created by the time management unit 1314 based on the drawing information description portion of the script shown in FIGS. 6 and 7, and FIGS. FIG. 8 is a specific example of an event processing time table and a UI allocation status display time table created based on the user navigation information description portion of the script shown in FIG. 6 and FIG. That is, in step S15, the time management unit 1314 responds to the correspondence between the script execution time and the media data reproduced at that time, the script execution time, and the event generated at that time, based on the script analyzed in step S14. The correspondence between the processing and the correspondence between the script execution time and the allocation of the UI operated at that time is created in a time table format as shown in FIGS.

具体的には、図10に示すメディア描画処理のタイムテーブルは、図6および図7に示されるスクリプトの描画情報記述部分に基づいて、スクリプト実行開始0秒〜8秒の間は、動画1(FirstImage.mpg)と、テキスト1(FirstText.txt)と、音楽1(FirstSound.smf)とが再生され、スクリプト実行開始8秒〜15秒の間は、テキスト2(SecondText.txt)が再生され、スクリプト実行開始15秒〜19秒の間は、静止画3(ThirdImage.jpg)と、テキスト3(ThirdText.txt)と、音楽3(ThirdSound.smf)とが再生されることを示すタイムテーブルである。   Specifically, the time table of the media drawing process shown in FIG. 10 is based on the drawing information description part of the script shown in FIGS. FirstImage.mpg), text 1 (FirstText.txt), and music 1 (FirstSound.smf) are played back, and text 2 (SecondText.txt) is played back for 8 to 15 seconds from the start of script execution. A time table indicating that still image 3 (ThirdImage.jpg), text 3 (ThirdText.txt), and music 3 (ThirdSound.smf) are played for 15 to 19 seconds from the start of script execution. .

なお、スクリプトに含まれるテキストやユーザが入力するテキストが、他の画像や映像と同じ領域に重ねて表示される場合には、該テキストの視認性を高めるために、色やフォントなどの属性を自動的に調整されることが好ましい。このような自動調整の最も単純な実施は、具体的な色属性の表現がRGBの3値の組による場合、テキストと背景との色属性の距離√((ΔR)2+(ΔG)2+(ΔB)2)が所定のしきい値よりも小さい場合に
、背景色の色属性の補色(背景色のRGBの各成分値の1の補数をRGB成分としてもつ色)をテキストの色属性とすることで得られる。
In addition, when the text included in the script or the text input by the user is displayed in the same area as other images and videos, attributes such as color and font are set in order to improve the visibility of the text. It is preferable to adjust automatically. The simplest implementation of such automatic adjustment is that when a specific color attribute expression is a RGB ternary set, the color attribute distance √ ((ΔR) 2 + (ΔG) 2 + When (ΔB) 2 ) is smaller than a predetermined threshold value, the complementary color of the color attribute of the background color (the color having the one's complement of each RGB component value of the background color as an RGB component) is set as the text color attribute. It is obtained by doing.

また、図11に示すイベント処理タイムテーブルは、図6および図7に示されるスクリプトのユーザナビゲート情報記述部分に基づいて、スクリプト実行開始0秒〜8秒の間にSelectキーが操作されると画像撮影プログラム133である動画撮影アプリケーションが起動し、スクリプト実行開始8秒〜15秒の間にSelectキーが操作されると、たとえば画像撮影プログラム133である動画撮影アプリケーションと、テキスト編集プログラム139である文字入力アプリケーションとの中から1つを選択させる画面をディスプレイ144に表示させ、そこで選択されたプログラムが起動し、スクリプト実行開始8秒〜15秒の間にタイマにより音声データ録音プログラム136である音声入力アプリケーションを起動することを示すタイムテーブルである。   Further, the event processing time table shown in FIG. 11 is based on the user navigation information description portion of the script shown in FIGS. 6 and 7, and when the Select key is operated during 0 second to 8 seconds of script execution start. When the moving image shooting application that is the image shooting program 133 is activated and the Select key is operated within 8 to 15 seconds from the start of script execution, for example, the moving image shooting application that is the image shooting program 133 and the text editing program 139 A screen for selecting one of the character input applications is displayed on the display 144, and the selected program is started, and the voice data recording program 136 is recorded by a timer between 8 to 15 seconds from the start of script execution. To launch the input application It is to time table.

また、図12に示すUI割当状況表示タイムテーブルは、図6および図7に示されるスクリプトのユーザナビゲート情報記述部分に基づいて、スクリプト実行開始0秒〜8秒の間には、Selectキーが操作されると画像プログラム133である動画撮影アプリケーションが起動することをユーザに示すために、ディスプレイ144にSelectキーの説明として「ムービー撮影」と表示させ、スクリプト実行開始8秒〜15秒の間には、Selectキーが操作されると画像撮影プログラム133である動画撮影アプリケーションと、テキスト編集プログラム139である文字入力アプリケーションとのいずれかが起動することをユーザに示すために、ディスプレイ144にSelectキーの説明として「カメラ撮影」、および「テキスト入力」などと表示させ、スクリプト実行開始8秒〜15秒の間には、タイマにより音声データ録音プログラム136である音声入力アプリケーションを起動することをユーザに示すために、ディスプレイ144にタイマによる起動の説明として「録音」と表示させることを示すタイムテーブルである。   The UI allocation status display time table shown in FIG. 12 is based on the user navigation information description portion of the script shown in FIGS. 6 and 7, and the Select key is set between 0 second and 8 seconds from the start of script execution. In order to indicate to the user that the moving image shooting application, which is the image program 133, is started when operated, “movie shooting” is displayed on the display 144 as an explanation of the Select key, and the script execution starts between 8 seconds and 15 seconds. The Select key is displayed on the display 144 to indicate to the user that when the Select key is operated, either the moving image shooting application as the image shooting program 133 or the character input application as the text editing program 139 is activated. “Camera shooting” and “ In order to indicate to the user that the voice input application, which is the voice data recording program 136, is started by the timer between 8 seconds and 15 seconds from the start of script execution, the display 144 is started by the timer. 4 is a time table indicating that “recording” is displayed as an explanation of

次に、ステップS16において、実行制御部1313は、構文解析結果およびタイムテーブルに基づいて、スクリプトを実行する。また、スクリプト実行時には、実行制御部1313は、UI割当状況表示タイムテーブルに基づいて、スクリプト実行時間に伴って変化するUIをディスプレイ144に表示させるよう、UI内容表示プログラム132に指示する。なお、ここでのスクリプトの実行処理については、後に、図6および図7に示されるスクリプトに基づく具体例を挙げて説明する。   Next, in step S16, the execution control unit 1313 executes the script based on the syntax analysis result and the time table. At the time of script execution, the execution control unit 1313 instructs the UI content display program 132 to display a UI that changes with the script execution time on the display 144 based on the UI allocation status display time table. The script execution processing here will be described later with reference to specific examples based on the scripts shown in FIGS.

そして、ステップS17において、イベント管理部1315がイベントの発生を検出すると(S17でYES)、ステップS18において、実行制御部1313で、当該イベントに応じた処理を実行する。なお、ここでのイベントに応じた処理については、後にサブルーチンを挙げて説明する。   In step S17, when event management unit 1315 detects the occurrence of an event (YES in S17), in step S18, execution control unit 1313 executes processing corresponding to the event. The processing according to the event here will be described later with a subroutine.

上述のステップS17で検出されるイベントは、主に、スクリプトの実行が時系列に実行する際の実行点の終端に到達した終端到達イベントなどであるシステムイベントと、メニュー表示を指示するなどの固定的な処理を実行させる固定入力イベントと、リンク移動やアプリケーションの起動やヘルプの表示などを指示するスクリプト定義入力イベントとの3つに分けられる。具体的には、固定入力イベントとスクリプト定義入力イベントとは、スクリプト実行中の、キーコード入力デバイス142からのユーザの指示入力などが該当する。そのため、スクリプト実行中に、キーコード入力デバイス142から指示入力などの何らかのイベントが発生するまで、スクリプトの実行が継続される。   The events detected in step S17 described above are mainly fixed, such as a system event such as an end arrival event that reaches the end of the execution point when script execution is executed in time series, and a menu display instruction. There are three types of events: fixed input events for executing general processing and script definition input events for instructing link movement, application activation, and help display. Specifically, the fixed input event and the script definition input event correspond to a user instruction input from the key code input device 142 during script execution. For this reason, during the execution of the script, the execution of the script is continued until some event such as an instruction input occurs from the key code input device 142.

以上で、携帯電話1におけるスクリプトの再生および編集処理を終了する。
なお、上記再生および編集処理は、処理の途中で通話プログラムなどに割込まれたり、またユーザの都合や電池の消耗により中断されたりした場合、その時点での再生および編集時点と変更中のスクリプトとを記憶部130に保存して処理を中断し、後に再開する際には、記憶部130から保存された再生および編集時点と変更中のスクリプトとを読込んで中断前の再生および編集時点から、復帰できるように構成されていることが好ましい。
This completes the script playback and editing process on the mobile phone 1.
Note that if the above playback and editing process is interrupted by a call program, etc. in the middle of the process, or is interrupted due to user convenience or battery consumption, the playback and editing point at that time and the script being changed Are stored in the storage unit 130 and the process is interrupted, and when the process is resumed later, the playback and editing time points saved from the storage unit 130 and the script being changed are read, and from the playback and editing time points before the interruption, It is preferable to be configured to be able to return.

さらに、スクリプトがSMIL(Synchronized Multimedia Integration Language)で記述されたものである場合の再生および編集処理について、具体的に図79のフローチャートを用いて説明する。   Further, reproduction and editing processing when the script is described in SMIL (Synchronized Multimedia Integration Language) will be specifically described with reference to the flowchart of FIG.

図79を参照して、始めに、携帯電話1において、テンプレートに含まれるSMILで記述されたスクリプトが解析(parse)されてデータ構造に格納される(S2401)。   Referring to FIG. 79, first, in mobile phone 1, a script described in SMIL included in a template is parsed and stored in a data structure (S2401).

ステップS2401での解析結果を格納するデータ構造の具体例を図80に示す。図80(B)に示されるように、ステップS2401では、スクリプトに参照情報が記載されて参照されている各メディアデータについて、メディアの種別やファイル名、表示領域等の属性値を保持するDisplayContentクラスのインスタンスが作成され、インスタンスの集合が図80(A)に示されるDisplaySchedulerに統合管理される。   A specific example of the data structure storing the analysis result in step S2401 is shown in FIG. As shown in FIG. 80 (B), in step S2401, a DisplayContent class that holds attribute values such as media type, file name, and display area for each piece of media data that is referred to by reference information included in the script. Instances are created, and a set of instances is integrated and managed in the Display Scheduler shown in FIG.

さらに、ステップS2401でのスクリプトの解析結果を図81に示す。図81は具体的に図6および図7に示されるスクリプトの解析結果を示しており、スクリプトの解析結果として、DisplayContentクラスのインスタンスが11個作られている。この数は、かかるスクリプトに最終的に記載される参照情報で参照されるメディアデータの個数である。   Further, FIG. 81 shows the analysis result of the script in step S2401. FIG. 81 specifically shows the analysis results of the scripts shown in FIGS. 6 and 7, and 11 instances of the DisplayContent class are created as the script analysis results. This number is the number of media data referred to by the reference information finally described in the script.

なお、かかる11個のインスタンスのうち、インスタンス5,6,7に指定されるメディアデータのファイル(Mediafile)は空であり、図6および図7に示される初期状態では、該当するメディアデータが参照されていない状態であることを示している。後に説明する編集処理においてメディアデータの指定を受付けることによって参照情報が記載され、メディアデータが参照される。または、所定のファイルを指定することで、ガイダンス表示を行なうこともできる。たとえば、インスタンス5を例に挙げると、アクション内容がカメラ起動による撮像および挿入であることが解析されているので、カメラのイラスト画像(Camera.jpg)を指定することで、カメラのイラスト画像がガイダンス表示される。また、より簡単には、EvDescの値(「カメラ起動」など)である文字列をガイダンス表示として画面の最下行に表示させてもよい。   Of the 11 instances, the media data file designated for the instances 5, 6 and 7 is empty, and in the initial state shown in FIGS. 6 and 7, the corresponding media data is referred to. This indicates that it has not been performed. Reference information is described by accepting designation of media data in an editing process described later, and the media data is referred to. Alternatively, guidance display can be performed by designating a predetermined file. For example, taking instance 5 as an example, since it has been analyzed that the action content is imaging and insertion by camera activation, the camera illustration image can be guided by specifying the camera illustration image (Camera.jpg). Is displayed. More simply, a character string that is the value of EvDesc (such as “camera activation”) may be displayed as a guidance display on the bottom line of the screen.

そして、図80に示されたようなデータ構造をたどりながら、該スクリプトが再生される(S2402)。   Then, the script is reproduced while following the data structure as shown in FIG. 80 (S2402).

以降に説明するようなメディアデータの挿入や入替処理が行なわれた場合(S2403でYES)、ステップS2401で解析結果を格納するデータ構造のうち、該当する値が更新される(S2404)。なお、メディアデータの挿入や入替処理などの書換処理については、後に詳細に説明する。   When the media data insertion or replacement process described below is performed (YES in S2403), the corresponding value is updated in the data structure storing the analysis result in step S2401 (S2404). Rewriting processing such as media data insertion and replacement processing will be described in detail later.

ステップS2404で更新されたスクリプトの解析結果の具体例を図82に示す。図82に示される編集結果は、図81に示された初期状態の図6および図7に示されたスクリプトに対して書換処理が施された結果である。より具体的には、上述の書換処理が実行されて、初期状態のスクリプトにメディアデータ「CameraPict01.jpg」「EditText01.txt」「Voice01.amr」が追加された場合が示されており、それらの参照情報が、該当するインスタンス5,6,7に記述されている。なお、画像データ「FirstImage.mpg」については、スクリプト側でファイル名が規定されているので、ムービー撮影の結果得られたムービーファイルもこの名前で保持される。すなわち、ファイル名が書換えられずにファイルの実体が上書き変更される。   A specific example of the analysis result of the script updated in step S2404 is shown in FIG. The editing result shown in FIG. 82 is a result of rewriting processing performed on the scripts shown in FIGS. 6 and 7 in the initial state shown in FIG. More specifically, the case where the above-described rewriting process is executed and media data “CameraPict01.jpg”, “EditText01.txt”, and “Voice01.amr” are added to the script in the initial state is shown. Reference information is described in the corresponding instances 5, 6, and 7. As for the image data “FirstImage.mpg”, since the file name is defined on the script side, the movie file obtained as a result of movie shooting is also held with this name. In other words, the file entity is overwritten and changed without rewriting the file name.

上述のステップS2402〜S2404の処理は該スクリプトの実行点の終端に到達するまで繰返し実行されて(S2405でNO)、終端に到達すると(S2405でYES)、スクリプトの再生処理を終了してメールに添付して送信するか否かが判定される(S2406)。   The processes in steps S2402 to S2404 described above are repeatedly executed until the end point of the script execution point is reached (NO in S2405). When the end point is reached (YES in S2405), the script reproduction process is terminated and mail is sent. It is determined whether or not to transmit with attachment (S2406).

メディアデータの挿入や入替処理などのスクリプトの編集が未完了である場合には(S2406でNO)、処理をステップS2402に戻し、該スクリプトの実行点の先頭から再生される。   If script editing such as media data insertion or replacement processing has not been completed (NO in step S2406), the process returns to step S2402, and the script is played from the beginning of the execution point.

一方、編集が完了し、メールに添付して送信する場合(S2406でYES)、図82に示されるデータ構造よりSMILで記述されるスクリプトが生成される(S2407)。そして、ステップS2407で生成されたSMILで記述されるスクリプトがメールに添付されて送信、または保存される(S2408)。なお、ステップS2408におけるメール添付処理についても、後に説明する。   On the other hand, when the editing is completed and the mail is attached and transmitted (YES in S2406), a script described in SMIL is generated from the data structure shown in FIG. 82 (S2407). Then, the script described in SMIL generated in step S2407 is attached to the mail and transmitted or stored (S2408). Note that the mail attachment process in step S2408 will also be described later.

ステップS2408で送信されるスクリプトの具体例を図83に示す。図83に示されるスクリプトは、図6および図7に示される初期状態のスクリプトに対して画像データ、テキストデータ、および音声データであるメディアデータを追加する書換処理を施したスクリプトであって、より具体的には、図83に下線を付して示された箇所が該書換処理によって挿入されたメディアデータの参照情報である。   A specific example of the script transmitted in step S2408 is shown in FIG. The script shown in FIG. 83 is a script that has undergone a rewrite process for adding media data that is image data, text data, and audio data to the script in the initial state shown in FIG. 6 and FIG. Specifically, the part indicated by the underline in FIG. 83 is the reference information of the media data inserted by the rewriting process.

また、スクリプトを送信する際に、ユーザナビゲート情報記述部分である編集機能を削除して送信してもよい。編集機能が削除されたスクリプトの具体例を図84に示す。図84に示されるスクリプトは、図6および図7に示される初期状態のスクリプトに対して画像データ、テキストデータ、および音声データであるメディアデータを追加する書換処理を施した後に、さらに編集機能を削除したスクリプトであって、より具体的には、<action id=・・・>で記述されたアクション内容の定義部分と、<event ref =・・・>で記述されたイベントとアクションとの対応付け部分とが削除されている。それは、図84において下線を付して示されている。   Further, when the script is transmitted, the editing function which is the user navigation information description part may be deleted and transmitted. A specific example of the script from which the editing function has been deleted is shown in FIG. The script shown in FIG. 84 performs an editing function after rewriting processing for adding media data as image data, text data, and audio data to the script in the initial state shown in FIGS. More specifically, the correspondence between the action part defined by <action id = ...> and the event and action described by <event ref = ...> The attached part has been deleted. It is shown underlined in FIG.

なお、ステップS2407において図82に示されるデータ構造からSMILで記述されるスクリプトを書出して図84に示されるスクリプトを生成する際、編集機能を削除する場合には、データ構造に含まれるEventおよびActionに関連する属性は無視する。または、編集機能も含めたスクリプトを書出す場合には、アクション内容として「挿入」が指定されているが(Act Type=“insert”)、すでに上述の処理によってメディアデータの参照情報が記述されているので、アクション内容を「置換」(Act Type=“replace”)に変更する。それは、図83において下線を付して示されている。   Note that when the script described in FIG. 84 is generated by writing the script described in SMIL from the data structure shown in FIG. 82 in step S2407, the event and action included in the data structure are deleted when the editing function is deleted. Ignore attributes related to. Or, when writing a script including an editing function, “insert” is specified as the action content (Act Type = “insert”), but the media data reference information has already been described by the above processing. Therefore, the action content is changed to “replace” (Act Type = “replace”). It is shown underlined in FIG.

次に、上述のステップS18で実行されるイベントに応じた処理について、図13のフローチャートを用いて説明する。   Next, processing according to the event executed in step S18 will be described with reference to the flowchart of FIG.

図13を参照して、上述のステップS17でイベント管理部1315からイベント発生の検出情報を受けると、ステップS21において、実行制御部1312は、実行しているスクリプトを一時停止する。   Referring to FIG. 13, when event occurrence detection information is received from event management unit 1315 in step S17 described above, execution control unit 1312 temporarily stops the script being executed in step S21.

そして、ステップS17で検出されたイベントが、スクリプトの実行が実行点の終端まで到達したことを示すイベントである場合には(S22でYES)、ステップS23において、実行制御部1313は当該スクリプトの実行を終了し、処理を図9のステップS16に戻して、再度スクリプトの実行を開始する。すなわち、再度、スクリプト実行を実行点の始端に戻し、始めからスクリプトの実行を繰返す。なお、本実施の形態においては、取得したテンプレートに含まれるスクリプトを繰返し実行するものとしているが、1回あるいは所定の回数実行して、スクリプトの実行を終了してもよい。あるいは、スクリプト実行を繰返すか終了するかの選択肢を画面に提示し、ボタン操作などのユーザ入力によってスクリプト実行の繰返しまたは終了を指示するようにしてもよい。   If the event detected in step S17 is an event indicating that the execution of the script has reached the end of the execution point (YES in S22), the execution control unit 1313 executes the script in step S23. Is finished, the process is returned to step S16 in FIG. 9, and the execution of the script is started again. That is, the script execution is returned to the start point of the execution point again, and the script execution is repeated from the beginning. In the present embodiment, the script included in the acquired template is repeatedly executed. However, the script may be terminated by executing it once or a predetermined number of times. Alternatively, an option of repeating or ending script execution may be presented on the screen, and a repetition or termination of script execution may be instructed by a user input such as a button operation.

ステップS17で検出されたイベントが、スクリプトの実行が実行点の終端まで到達したことを示すイベント以外のイベントである場合には(S22でNO)、ステップS24において、実行制御部1313は検出されたイベントに基づいて処理内容を決定し、ステップS25〜S27で、決定された処理を実行する。なお、ステップS24における処理内容の決定処理、およびステップS25〜S27に示される各処理については、後に各々フローチャートを挙げて説明する。   If the event detected in step S17 is an event other than an event indicating that the execution of the script has reached the end of the execution point (NO in S22), the execution control unit 1313 is detected in step S24. The processing content is determined based on the event, and the determined processing is executed in steps S25 to S27. The processing content determination processing in step S24 and each processing shown in steps S25 to S27 will be described later with reference to flowcharts.

以上で、ステップS18におけるイベントに応じた処理を終了し、処理を図9のフローチャートに示される再生・編集処理に戻す。   Thus, the process according to the event in step S18 is terminated, and the process returns to the reproduction / editing process shown in the flowchart of FIG.

次に、上述のステップS24における処理内容の決定処理について、図14のフローチャートを用いて説明する。   Next, the process content determination process in step S24 will be described with reference to the flowchart of FIG.

図14を参照して、上述のステップS17でイベントの発生を検出すると、実行制御部1313は、そのときの時間パラメータ値(S31)、すなわち、当該スクリプト実行時間を表わすパラメータと、ソースID(S32)、すなわち、イベントの発生元の識別情報と、時間管理部1314が作成したイベント発生処理タイムテーブル(S33)とを参照し、発生したイベントを判断する。さらに、判断されたイベントとイベント発生処理タイムテーブルとから、イベント発生時にそのイベントに対応付けられている処理内容を決定する。なお、決定された処理が複数である場合には(S34でYES)、ステップS35において、実行制御部1313は、ディスプレイ144等に選択用の画面を表示して、その複数の処理の中から今から開始する処理の選択を受付ける。たとえば、図54に示すように、選択用の画面に表示したリストに「Invoke Camera」と「Local Folder」とを提示して、「Invoke Camera」が選択された場合にはカメラを起動し、「Local Folder」が選択された場合にはデータフォルダにアクセスする。   Referring to FIG. 14, when the occurrence of an event is detected in step S17 described above, execution control unit 1313 determines the time parameter value (S31) at that time, that is, the parameter representing the script execution time and the source ID (S32). That is, the event occurrence source is determined with reference to the identification information of the event occurrence source and the event occurrence processing time table (S33) created by the time management unit 1314. Furthermore, from the determined event and the event occurrence processing time table, the processing content associated with the event when the event occurs is determined. When there are a plurality of determined processes (YES in S34), in step S35, the execution control unit 1313 displays a selection screen on the display 144 or the like, and from among the plurality of processes, Accept selection of process starting from. For example, as shown in FIG. 54, “Invoke Camera” and “Local Folder” are presented in the list displayed on the selection screen, and when “Invoke Camera” is selected, the camera is started, When “Local Folder” is selected, the data folder is accessed.

あるいは、ステップS35において、実行制御部1313は決定された複数の処理を順に1つずつすべて実行する構成でもよい。その場合、当該処理に対応するイベントのスケジュール記述が出現する順序に処理を実行する。より具体的には、図7のスクリプトの8秒目から15秒目の間を例にとると、selectキーが押された場合に、記述の順序に従って28行に記載される「カメラ起動」がまず実行され、その次に29行に記載される「テキスト入力」が実行される。なお、スクリプトに複数の処理の実行優先順序を記述し、その順序に従って複数の処理を順に実行する構成でもよい。   Alternatively, in step S35, the execution control unit 1313 may execute a plurality of determined processes one by one in order. In that case, the process is executed in the order in which the schedule description of the event corresponding to the process appears. More specifically, taking the example between the 8th and 15th seconds of the script of FIG. 7, when the select key is pressed, “camera activation” described in line 28 according to the description order is First, it is executed, and then “text input” described in line 29 is executed. Note that a configuration may be employed in which the execution priority order of a plurality of processes is described in a script, and the plurality of processes are executed in that order.

または、ステップS35において、複数の処理それぞれを実行するためのショートカット手段がある場合には、ユーザにより指定されたショートカット手段に対応する処理を直接実行する構成でもよい。より具体的には、図7のスクリプトの8秒目から15秒目の間を例にとると、カメラ起動用キーが押された場合に28行に記載される「カメラ起動」が実行され、テキスト入力用キーが押された場合には29行に記載される「テキスト入力」が実行されるような構成であってもよい。   Alternatively, when there is a shortcut means for executing each of the plurality of processes in step S35, a configuration corresponding to the shortcut means designated by the user may be directly executed. More specifically, taking the example between the 8th and 15th seconds of the script of FIG. 7, “camera activation” described in line 28 is executed when the camera activation key is pressed, When the text input key is pressed, “text input” described in line 29 may be executed.

以上で、ステップS24におけるイベントに応じた処理を終了し、処理を図13のフローチャートに示されるイベント処理に戻す。   Thus, the process corresponding to the event in step S24 is terminated, and the process is returned to the event process shown in the flowchart of FIG.

さらに、上述のステップS33におけるイベントタイムテーブル参照について、図27のフローチャートを用いて説明する。   Furthermore, referring to the event time table in step S33 described above will be described with reference to the flowchart of FIG.

図27を参照して、参照したソースIDが“Timer”である場合(S131で「ソースID」=Timer)、イベント処理タイムテーブルのTimerの欄と時間パラメータ値とを参照して該当する処理を判断する(S132)。   Referring to FIG. 27, when the referenced source ID is “Timer” (“Source ID” = Timer in S131), the corresponding processing is performed with reference to the Timer column and the time parameter value of the event processing time table. Judgment is made (S132).

一方、参照したソースIDが“UI”である場合(S131で「ソースID」=UI)、さらにイベント処理タイムテーブルのUIの欄と、タイプIDすなわちイベント発生時に操作されたキー固有の識別情報と、時間パラメータ値とを参照し(S133)、該当する処理を判断する(S134)。   On the other hand, when the referenced source ID is “UI” (“source ID” = UI in S131), the UI column of the event processing time table, the type ID, that is, the identification information specific to the key operated when the event occurs, The time parameter value is referred to (S133), and the corresponding process is determined (S134).

なお、イベント処理タイムテーブルおよびスクリプトに記述する上記キー固有の識別情報は、端末のハードウェアキーの識別情報を直接使用してもよいし、論理シンボルを使用し、図28に示すような、論理シンボルとハードウェアキーとの対応を規定するテーブルを予め携帯電話1の記憶部130に格納し、実行制御部1313がイベントタイムテーブルを参照する際に当該テーブルを読出して、操作されたハードウェアキーから論理シンボルを参照してイベントを判断するようにしてもよい。   As the identification information unique to the key described in the event processing time table and the script, the identification information of the hardware key of the terminal may be used directly, or a logical symbol is used as shown in FIG. A table defining the correspondence between symbols and hardware keys is stored in the storage unit 130 of the mobile phone 1 in advance, and when the execution control unit 1313 refers to the event time table, the table is read and the operated hardware key The event may be determined by referring to the logical symbol.

以上でステップS33におけるイベントタイムテーブル参照を終了し、処理を図14のフローチャートに示される処理内容決定処理に戻す。   The event time table reference in step S33 is ended as described above, and the process returns to the process content determination process shown in the flowchart of FIG.

上の処理で、ステップS17で発生を検出したイベントが、メニュー処理を実行させるイベントであると決定された場合、ステップS25において、図15に示す処理を実行する。すなわち、図15を参照して、始めに、ステップS41で実行制御部1313は、図16に示されるようなメニュー画面をディスプレイ144に表示し、ユーザからの選択を受付ける。具体的には、図16を参照して、当該スクリプトのプレビュー処理、データフォルダへの保存処理、当該スクリプトから参照されるメディアデータを個別のメディアファイルに保存する処理、当該スクリプトおよびメディアデータをメールに添付する処理、当該スクリプトおよびメディアデータをMMS(Multimedia Messaging Service)で送信する処理、当該スクリプトの再生中のスライドを編集する処理、当該スクリプトのプロパティを表示する処理、およびアプリケーションを終了する処理などの選択を受付ける。そして、ステップS42で、ユーザからの選択に応じた処理を実行する。なお、スライドとは、図7の20行から25行に記述されるような並列に実行されるスクリプトの一部分を表わす。すなわち、図7に示されるスクリプトは、逐次再生される、20行〜25行、26行〜31行、および32行〜36行の3つのスライドから構成される。   If it is determined in the above process that the event detected in step S17 is an event for executing the menu process, the process shown in FIG. 15 is executed in step S25. That is, referring to FIG. 15, first, in step S41, execution control unit 1313 displays a menu screen as shown in FIG. 16 on display 144, and accepts a selection from the user. Specifically, referring to FIG. 16, preview processing of the script, storage processing in the data folder, processing of storing media data referenced from the script in an individual media file, the script and the media data in an email Processing to attach, processing to send the script and media data by MMS (Multimedia Messaging Service), processing to edit the slide during playback of the script, processing to display the properties of the script, processing to terminate the application, etc. Accept selection. In step S42, processing corresponding to the selection from the user is executed. A slide represents a part of a script executed in parallel as described in lines 20 to 25 in FIG. That is, the script shown in FIG. 7 includes three slides of 20 to 25 lines, 26 to 31 lines, and 32 to 36 lines that are sequentially reproduced.

さらに図16に示されるようなメニュー画面において「スライド編集」が選択された場合、ステップS41において実行制御部1313は、図36に示されるようなスライドを編集するためのメニュー画面をディスプレイ144に表示し、スライド削除処理またはスライド書換え禁止処理の選択を受付ける。   Further, when “slide editing” is selected on the menu screen as shown in FIG. 16, the execution control unit 1313 displays a menu screen for editing the slide as shown in FIG. Then, the selection of the slide deletion process or the slide rewrite prohibition process is accepted.

なお、スクリプトにスライド編集が許可されるか禁止されるかを記述しておき、禁止される場合には上記スライド編集の選択肢を提示せずに、スライド編集ができないようにする構成をとることもできる。   Note that the script may describe whether slide editing is permitted or prohibited, and if it is prohibited, the slide editing option may not be presented and the slide editing may be disabled. it can.

より具体的に、そのようなスライド編集が許可されるか禁止されるかを記述したスクリプトの例を図68に示し、ステップS42でスライドの編集を実行する許可を判定する処理について図69のフローチャートを用いて説明する。すなわち、図69を参照して、スクリプトに図68の4行に示されるような編集禁止のメタ記述(name="readOnly")が記述されている場合(S2201でYES)、禁止を記述する属性(content)を参照する。そして、その属性が“yes”である場合(S2202でYES)、ステップS42でのスライドの編集を禁止する。一方、その属性が“yes”でない場合には(S2202でNO)、ステップS42でのスライドの編集を許可する。また、そもそも当該スクリプトに編集禁止のメタ記述がない場合にも(S2201でNO)、ステップS42でのスライドの編集を許可する。   More specifically, FIG. 68 shows an example of a script that describes whether such slide editing is permitted or prohibited, and the flowchart of FIG. 69 shows processing for determining permission to execute slide editing in step S42. Will be described. That is, referring to FIG. 69, when a meta description (name = "readOnly") of prohibition of editing as shown in line 4 of FIG. 68 is described in the script (YES in S2201), the attribute describing the prohibition Refer to (content). If the attribute is “yes” (YES in S2202), the editing of the slide in step S42 is prohibited. On the other hand, if the attribute is not “yes” (NO in S2202), the editing of the slide in step S42 is permitted. In the first place, even if the script does not have a meta description that prohibits editing (NO in S2201), the editing of the slide in step S42 is permitted.

以上で具体例に基づいたスライド編集許可判定の説明を終える。
また、上述のステップS41で図36に示されるようなスライド編集のメニュー画面においてスライド削除が選択された場合のステップS42における処理について、図35のフローチャートを用いて説明する。
This completes the description of the slide edit permission determination based on the specific example.
The process in step S42 when the slide deletion is selected on the slide editing menu screen as shown in FIG. 36 in step S41 described above will be described with reference to the flowchart of FIG.

すなわち、図35を参照して、上述のステップS41で当該スクリプトの再生中のスライドを削除する処理が選択されると、実行制御部1313はそのときの時間パラメータ値、メディア描画処理タイムテーブル、およびイベント処理タイムテーブルを参照して(S171〜S173)、その時点で有効になっているメディア描画処理とイベント処理とを判断する。そして、その時点で有効になっていると判断されたメディア描画処理とイベント処理とのスケジュール記述部分をスクリプトから削除して、当該スクリプトを書換える(S174)。   That is, referring to FIG. 35, when the process for deleting the slide during playback of the script is selected in step S41 described above, the execution control unit 1313 displays the time parameter value, the media rendering process time table, and With reference to the event processing time table (S171 to S173), the media drawing processing and event processing that are valid at that time are determined. Then, the schedule description portion of the media rendering process and the event process determined to be valid at that time is deleted from the script, and the script is rewritten (S174).

以上でスライドを削除する処理を実行する場合のステップS42における処理を終了し、処理を図15のフローチャートに示されるメニュー処理に戻す。   The process in step S42 in the case of executing the process of deleting the slide is ended as described above, and the process is returned to the menu process shown in the flowchart of FIG.

また、上述のステップS41で図36に示されるようなスライド編集のメニュー画面においてスライド書換禁止が選択された場合のステップS42における処理について、図37のフローチャートを用いて説明する。   The processing in step S42 when the slide rewrite prohibition is selected in the slide editing menu screen as shown in FIG. 36 in step S41 described above will be described with reference to the flowchart of FIG.

すなわち、図37を参照して、上述のステップS41で当該スクリプトの再生中のスライドの書換禁止処理が選択されると、実行制御部1313はそのときの時間パラメータ値、およびイベント処理タイムテーブルを参照して(S181,S182)、その時点で有効になっているイベント処理を判断する。そして、その時点で有効になっていると判断されたイベント処理のスケジュール記述部分をスクリプトから削除して、当該スクリプトを書換える(S183)。   That is, referring to FIG. 37, when the rewrite prohibition process of the slide during reproduction of the script is selected in step S41 described above, the execution control unit 1313 refers to the time parameter value and the event process time table at that time. (S181, S182), and the event processing that is valid at that time is determined. Then, the schedule description portion of the event process determined to be valid at that time is deleted from the script, and the script is rewritten (S183).

以上でスライドの書換を禁止する場合のステップS42における処理を終了し、処理を図15のフローチャートに示されるメニュー処理に戻す。   The process in step S42 in the case of prohibiting the rewriting of the slide is finished as described above, and the process returns to the menu process shown in the flowchart of FIG.

また、上の処理で、ステップS17で発生を検出したイベントが、リンク移動処理を実行させるイベントであると決定された場合、ステップS27において、図17に示す処理を実行する。すなわち、図17を参照して、始めに、ステップS51で実行制御部1313は、スクリプトに含まれるリンク先を示すパラメータを参照して、ステップS52で当該スクリプトの実行を中断する。そして、ステップS53で、ステップS51で参照したパラメータに基づいてリンク先のスクリプトを取得する。その後、処理を図9に示される処理のステップS13に戻し、取得したスクリプトを読出して、同様に実行する。   If it is determined in the above process that the event detected in step S17 is an event for executing the link movement process, the process shown in FIG. 17 is executed in step S27. That is, referring to FIG. 17, first, in step S51, the execution control unit 1313 refers to a parameter indicating a link destination included in the script, and interrupts execution of the script in step S52. In step S53, a link destination script is acquired based on the parameter referred to in step S51. Thereafter, the process returns to step S13 of the process shown in FIG. 9, and the acquired script is read and executed in the same manner.

また、上の処理で、ステップS17で発生を検出したイベントが、アプリケーション実行処理を実行させるイベントであると決定された場合、ステップS26において、図18に示す処理を実行する。すなわち、図18を参照して、始めに、実行制御部1313は、アプリケーションを起動するか否かを選択させる画面をディスプレイ144に表示させる。アプリケーションの起動が選択された場合(S61でYES)、ステップS62で実行制御部1313は、所定のアプリケーションを起動させる。次に、そのアプリケーションから所定のデータを取得する必要がある場合には(S63でYES)、ステップS64で取得する。そして、実行している当該スクリプトの書換えが必要な場合(S65でYES)、ステップS66で、スクリプト書出部1316がスクリプトの書換処理を実行する。   If it is determined in the above process that the event detected in step S17 is an event for executing the application execution process, the process shown in FIG. 18 is executed in step S26. That is, referring to FIG. 18, first, execution control unit 1313 causes display 144 to display a screen for selecting whether to start an application. If activation of the application is selected (YES in S61), the execution control unit 1313 activates a predetermined application in step S62. Next, when it is necessary to acquire predetermined data from the application (YES in S63), it is acquired in step S64. If it is necessary to rewrite the script being executed (YES in S65), the script writing unit 1316 executes a script rewriting process in step S66.

さらに、実行制御部1313は、上述のスクリプト書換処理終了後、スクリプトの再生を再開する。スクリプトの再生は、スクリプトの再生開始時点から、またはその時点でのスクリプト再生時点から、または書換えられた区間の開始時点から始めることができる。上記いずれの構成をとってもよいし、またユーザに上記選択肢から選択させる構成をとってもよい。   Furthermore, the execution control unit 1313 resumes the reproduction of the script after the above-described script rewriting process is completed. The playback of the script can be started from the playback start time of the script, from the playback time of the script at that time, or from the start time of the rewritten section. Any of the above configurations may be adopted, and a configuration in which the user selects from the above options may be adopted.

なお上記の再開時点は、当該端末に設定された所定のルールに従って動的に決定されてもよい。同様に、スクリプトの再生の時間や、終了時点などの再生に関する他の時間も決定されてもよい。以下に図67のフローチャートを用いて、「スクリプトの残りの再生時間が10秒以下だったらスクリプトの現在の再生位置から再開し、そうでない場合は、スクリプトの開始時点から再開する」というルールに従ってスクリプト再生の再開時点を決定する処理について具体的に説明する。   Note that the above restart time point may be dynamically determined according to a predetermined rule set for the terminal. Similarly, other times related to playback such as script playback time and end time may be determined. The script shown in FIG. 67 is used to execute a script according to the rule that “if the remaining playback time of the script is 10 seconds or less, restart from the current playback position of the script, otherwise restart from the start of the script”. The processing for determining the resumption point of reproduction will be specifically described.

図67を参照して、始めに、実行制御部1313は、スクリプトの現在の再生位置を参照する(S2101)。この再生位置は、ステップS21で一時停止を行なった時点での再生位置を示す。   Referring to FIG. 67, first, the execution control unit 1313 refers to the current playback position of the script (S2101). This reproduction position indicates the reproduction position at the time when the pause is performed in step S21.

次に、実行制御部1313は、スクリプトの総再生時間を参照する(S2102)。スクリプトの総再生時間は、スクリプトのスケジュール記述部分から取得される。たとえば、スクリプトが図7に示されるものである場合、ステップS2102では、時系列に実行される、第20行〜第25行、第26行〜第31行、および第32行〜第36行の再生時間の総和を計算して、スクリプトの総再生時間を19秒と取得する。   Next, the execution control unit 1313 refers to the total playback time of the script (S2102). The total playback time of the script is acquired from the schedule description part of the script. For example, if the script is as shown in FIG. 7, in step S2102, lines 20 to 25, lines 26 to 31 and lines 32 to 36 are executed in time series. The total playback time is calculated, and the total playback time of the script is obtained as 19 seconds.

次に、実行制御部1313は、ステップS2102で取得したスクリプトの総再生時間からスクリプトの現在の再生位置を減算して、スクリプトの残りの再生時間を計算する(S2103)。   Next, the execution control unit 1313 calculates the remaining playback time of the script by subtracting the current playback position of the script from the total playback time of the script acquired in step S2102 (S2103).

そして、ステップS2103で計算されたスクリプトの残りの再生時間が10秒以下の場合(S2104でNO)、実行制御部1313は、再生開始時点をスクリプトの現在の再生時点と設定する。そうでない場合(S2104でYES)、実行制御部1313は、再生開始時点をスクリプトの開始時点と設定する。   If the remaining playback time of the script calculated in step S2103 is 10 seconds or less (NO in S2104), the execution control unit 1313 sets the playback start time as the current playback time of the script. If not (YES in S2104), the execution control unit 1313 sets the playback start time as the script start time.

以上で具体的なスクリプト再生の再開時点を決定する処理の説明を終わる。
次に、上述のステップS62におけるアプリケーション起動について、図24のフローチャートを用いて説明する。
This is the end of the description of the process for determining the specific script resumption point.
Next, application activation in step S62 described above will be described using the flowchart of FIG.

図24を参照して、実行制御部1313は、所定のアプリケーションが携帯電話1の記憶部130に登録されている場合には(S101でYES)、スクリプトに記述された再生時間および領域のサイズなどを起動パラメータとして、起動する(S102)。所定のアプリケーションが携帯電話1の記憶部130に登録されていない場合(S101でNO)、さらに当該スクリプトにおいてアプリケーションからのデータ取得が必要な場合には(S103でYES)、ファイル取得プログラム156である、ローカルファイル取得アプリケーションを起動する(S104)。   Referring to FIG. 24, when a predetermined application is registered in the storage unit 130 of the mobile phone 1 (YES in S101), the execution control unit 1313 displays the playback time and area size described in the script, etc. Is started as a startup parameter (S102). If the predetermined application is not registered in the storage unit 130 of the mobile phone 1 (NO in S101), and if data acquisition from the application is necessary in the script (YES in S103), the file acquisition program 156 is used. Then, the local file acquisition application is activated (S104).

なお、上記ステップS101で所定のアプリケーションが携帯電話1の記憶部130に登録されていない場合に、通信部110を介してサーバ2から所定のアプリケーションをダウンロードして携帯電話1の記憶部130に記憶し、起動する構成をとってもよい。   If the predetermined application is not registered in the storage unit 130 of the mobile phone 1 in step S101, the predetermined application is downloaded from the server 2 via the communication unit 110 and stored in the storage unit 130 of the mobile phone 1. However, it may be configured to start.

さらに以下に、上述のステップS102での動作について、起動するアプリケーションが画像撮影アプリケーションである場合を具体例として、図66のフローチャートを用いて説明する。   Further, the operation in step S102 described above will be described with reference to the flowchart of FIG. 66 by taking a case where the application to be activated is an image capturing application as a specific example.

すなわち、図66を参照して、始めに実行制御部1313は、置換えるメディアデータが表示される描画領域のサイズをスクリプトから取得する(S2001)。描画領域のサイズは、一般的にスクリプトのヘッダ部分に記述されている。具体的に、スクリプトが図6であるものとすると、図6の8行の記述から描画領域の幅(width)および高さ(height)に指定される数値176および120が取得される。   That is, referring to FIG. 66, first, the execution control unit 1313 obtains the size of the drawing area in which the media data to be replaced is displayed from the script (S2001). The size of the drawing area is generally described in the header portion of the script. Specifically, assuming that the script is shown in FIG. 6, numerical values 176 and 120 specified for the width (width) and height (height) of the drawing area are acquired from the description of the eight lines in FIG.

次に、実行制御部1313は、ステップS2001で取得した描画領域のサイズに基づいて、当該画像撮影アプリケーションで当該描画領域を含むことができる最小の撮影サイズを判別する(S2002)。具体的に画像撮影アプリケーションが、撮影サイズとして、幅600×高さ480、幅120×高さ160、または幅120×高さ128を選択できるようになっている場合、ステップS2002では、撮影サイズ幅600×高さ480が、具体例にある幅176×高さ120の描画領域のサイズを含むことができるものと判別される。   Next, the execution control unit 1313 determines, based on the size of the drawing area acquired in step S2001, the smallest shooting size that can include the drawing area in the image shooting application (S2002). Specifically, when the image capturing application can select width 600 × height 480, width 120 × height 160, or width 120 × height 128 as the capturing size, in step S2002, the capturing size width It is determined that 600 × height 480 can include the size of the drawing area of width 176 × height 120 in the specific example.

そして、実行制御部1313は、ステップS2002での判別結果に基づいて、画像撮影アプリケーションでの撮影サイズを幅600×高さ480に指定して、画像撮影アプリケーションを起動する(S2003)。   Then, the execution control unit 1313 designates the shooting size in the image shooting application as width 600 × height 480 based on the determination result in step S2002, and starts the image shooting application (S2003).

なお上述の処理と同様の処理を行なって、起動するアプリケーションが音声録音アプリケーションである場合、スクリプトに記述された時間だけ録音することができる。また、起動するアプリケーションがファイル取得アプリケーションである場合、メッセージのファイルサイズ総計が送信可能なサイズの上限を超えないように、利用できる残りサイズよりも大きなサイズのファイルを選択できないようにすることができる。また、起動するアプリケーションが動画を取得するファイル取得アプリケーションである場合、スクリプトに記述された再生時間よりも長い再生時間のファイルを選択できないようにすることができる。   If the application to be activated is the voice recording application by performing the same processing as described above, recording can be performed for the time described in the script. In addition, when the application to be started is a file acquisition application, it is possible to prevent selection of a file larger than the remaining available size so that the total file size of the message does not exceed the upper limit of the sendable size. . Further, when the application to be activated is a file acquisition application that acquires a moving image, it is possible to prevent selection of a file having a reproduction time longer than the reproduction time described in the script.

以上で、ステップS62におけるアプリケーション起動を終了し、処理を図18のフローチャートに示されるアプリケーション実行処理に戻す。   Thus, the application activation in step S62 is terminated, and the process returns to the application execution process shown in the flowchart of FIG.

次に、上述のステップS64におけるデータ取得について、図25のフローチャートを用いて説明する。   Next, the data acquisition in step S64 described above will be described using the flowchart of FIG.

図25を参照して、始めに、実行制御部1313は、ステップS62で起動したアプリケーションからデータを受取る(S111)。そして、その取得データが、スクリプトに記述された再生時間、および領域サイズに適合しない場合(S112でNO)、実行制御部1313は、取得データをスクリプトの記述に適合するように変換する(S113)。   Referring to FIG. 25, first, execution control unit 1313 receives data from the application activated in step S62 (S111). If the acquired data does not match the playback time and area size described in the script (NO in S112), the execution control unit 1313 converts the acquired data to match the description of the script (S113). .

なお、ステップS113において、予めスクリプトに記述された参照情報で参照されるメディアデータと取得データとを合成し、新たにスクリプトまたはメディアデータを生成してもよい。取得データが再生時間をもつメディアデータの場合において、この生成処理は図56を用いて以下のように説明できる。   In step S113, the media data referred to by the reference information previously described in the script and the acquired data may be combined to generate a new script or media data. In the case where the acquired data is media data having a reproduction time, this generation process can be described as follows using FIG.

すなわち図56を参照して、図56の左図に示されるように、本具体例において「元のメディアデータ」は5秒間の再生時間をもち、当初時刻t1から再生されるように記述されている。また、「取得データ」は、ステップS31で参照されるイベントの時間パラメータ値である時刻t2(=t1+3)から5秒間撮影した動画であるものとする。この場合、ユーザが、適当なユーザインタフェースにより、取得データを撮影していた時間に再生時間が該当している「元のメディアデータ」の部分を「取得データ」と置換えるように指示すると、「書換え後に再生されるデータ」の内容と再生時間とは図56の左図の下に示されるデータになる。このような効果を得る処理の1つの実現方法は、実行制御部1313が指示することで、元のメディアデータの所定部分であって取得データの撮影時間と再生時間が重なる部分を、画像データ撮影・編集プログラム133によって書換えて保存することで得られる。他の実現方法は、元のメディアデータおよび取得データそれぞれの新たな開始時刻と再生時間とを表現するスクリプトを、実行制御部1313から指示を受けたスクリプト書出部1316が生成して書出すことである。後者の実現方法によると、上述の具体例においてスクリプト書出部1316で書出されるスクリプトは、図56の右図に示すスクリプトとなる。なお、取得データのうちの、元のメディアデータと重ならない時刻t3から時刻t4の部分を生成されるデータに加えるかどうかは、適当なユーザインタフェースなどによって指示されることが好ましい。   That is, referring to FIG. 56, as shown in the left diagram of FIG. 56, in this specific example, “original media data” is described to have a reproduction time of 5 seconds and to be reproduced from the initial time t1. Yes. The “acquired data” is assumed to be a moving image taken for 5 seconds from time t2 (= t1 + 3), which is the time parameter value of the event referred to in step S31. In this case, when the user instructs to replace the “original media data” portion whose playback time corresponds to the time when the acquired data was captured with an appropriate user interface, “ The content and reproduction time of “data reproduced after rewriting” are data shown in the lower part of the left diagram of FIG. One method for realizing such a process is that the execution control unit 1313 instructs to capture a predetermined portion of the original media data, which overlaps the acquisition time and the reproduction time of the acquired data. Obtained by rewriting and saving with the editing program 133. In another implementation method, a script writing unit 1316 that receives an instruction from the execution control unit 1313 generates and writes a script that expresses a new start time and playback time of each of original media data and acquired data. It is. According to the latter implementation method, the script written by the script writing unit 1316 in the above specific example is the script shown in the right diagram of FIG. In addition, it is preferable to instruct by an appropriate user interface or the like whether or not to add to the generated data a portion from time t3 to time t4 that does not overlap the original media data.

なお、ステップS113において、たとえば、動画データから音声データのみを取出す処理を行なうなどして取得データの一部を取出して、新たにメディアデータを生成してもよい。   In step S113, for example, a part of the acquired data may be extracted by performing a process of extracting only the audio data from the moving image data, and new media data may be generated.

また、上記処理中のステップS112およびステップS113において、取得データが占めるメモリ領域のサイズが所定の値を超えている場合に、たとえば、画像データの減色や音声データのサンプリングレートの低減など、データサイズを削減する処理を行なってもよい。   In step S112 and step S113 during the above processing, when the size of the memory area occupied by the acquired data exceeds a predetermined value, for example, the data size such as color reduction of the image data or reduction of the sampling rate of the audio data You may perform the process which reduces.

また、上記処理中のステップS112において、取得データがスクリプトの記述に適合しない場合に、取得データに替えて携帯電話1の記憶部130に記憶された所定のメディアデータ(デフォルトのデータ)を使用してもよい。   In addition, when the acquired data does not conform to the description of the script in step S112 during the above processing, predetermined media data (default data) stored in the storage unit 130 of the mobile phone 1 is used instead of the acquired data. May be.

以上で、ステップS64におけるデータ取得を終了し、処理を図18のフローチャートに示されるアプリケーション実行処理に戻す。   Thus, the data acquisition in step S64 is terminated, and the process returns to the application execution process shown in the flowchart of FIG.

次に、上述のステップS66におけるスクリプト書換処理について、図26のフローチャートを用いて説明する。   Next, the script rewriting process in step S66 described above will be described using the flowchart of FIG.

図26を参照して、実行制御部1313は、スクリプトに含まれるメディアデータと取得データとの合計が、記憶部130に記憶される規定値以下の場合(S121でYES)、スクリプト書出部1316でスクリプト書換処理を実行させる(S122)。そうでない場合(S121でNO)、実行制御部1313は、ディスプレイ144にスクリプト書換えができない旨を表示する(S123)。   Referring to FIG. 26, execution control unit 1313, when the sum of the media data and the acquired data included in the script is equal to or less than the prescribed value stored in storage unit 130 (YES in S121), script writing unit 1316. Then, the script rewriting process is executed (S122). Otherwise (NO in S121), the execution control unit 1313 displays on the display 144 that the script cannot be rewritten (S123).

なお、上述のステップS122において、実行制御部1313は、ステップS31で参照されるイベントの時間パラメータ値を利用して取得データを書込む時点を変更することもできる。たとえば、スクリプト書換処理として、図57に示されるように、再生開始後4秒目にキー操作を行なって、カメラアプリケーションを起動してメディアデータを書換える処理を行なう場合、キー操作が行なわれた時刻(4秒目)から撮影を開始し、撮影終了後カメラアプリケーションから取得した動画2を、キー操作が行なわれた時刻(4秒目)から、元のメディアデータである動画1の再生終了時刻(8秒目)までの区間に書込む。なお、この例ではイベントの時間パラメータ値の時点にメディアデータを書込んでいるが、イベントの時間パラメータ値より後の時点または前の時点に書込むこともできる。   In step S122 described above, the execution control unit 1313 can also change the time point at which the acquired data is written using the time parameter value of the event referred to in step S31. For example, as script rewriting processing, as shown in FIG. 57, when a key operation is performed 4 seconds after the start of reproduction and a camera application is activated to rewrite media data, the key operation is performed. Shooting is started from the time (fourth second), and the moving image 2 acquired from the camera application after the photographing is finished is reproduced from the time when the key operation is performed (fourth second), and the reproduction end time of the moving image 1 as the original media data Write in the interval up to (8th second). In this example, the media data is written at the time of the time parameter value of the event. However, it can be written at a time after or before the time parameter value of the event.

以上で、ステップS66におけるスクリプト書換処理を終了し、処理を図18のフローチャートに示されるアプリケーション実行処理に戻す。   This completes the script rewriting process in step S66, and returns the process to the application execution process shown in the flowchart of FIG.

以上で、本データ通信システムにおける携帯電話1でのスクリプトの再生および編集処理が終了する。   This completes the script playback and editing process on the mobile phone 1 in the data communication system.

より具体的に、本データ通信システムにおける携帯電話1で、図6および図7に示されるスクリプトの再生および編集処理を実行する場合について、図19および図20のフローチャートを用いて説明する。   More specifically, a case where the mobile phone 1 in the data communication system executes the script reproduction and editing processing shown in FIGS. 6 and 7 will be described with reference to the flowcharts of FIGS. 19 and 20.

図19を参照して、図7に示されるスクリプトの第20行を実行するとき、始めに再生・編集エンジンプログラム131の構文解析部1312でスクリプトの解析を行なって、ステップS71において、実行制御部1313は、画像データ表示再生プログラム134に対して、0秒〜8秒において、Image領域に動画像データ「First Image.mpg」を表示再生するように指示する。すると、ステップS72において、画像データ表示再生プログラム134は、0秒〜8秒において、ディスプレイ144に動画像データ「First Image.mpg」を表示再生し、さらに、そのデータに音データが含まれる場合には、スピーカ148からその音データを再生する。   Referring to FIG. 19, when the 20th line of the script shown in FIG. 7 is executed, the syntax analysis unit 1312 of the playback / editing engine program 131 first analyzes the script, and in step S71, the execution control unit 1313 instructs the image data display / reproduction program 134 to display and reproduce the moving image data “First Image.mpg” in the Image area in 0 second to 8 seconds. Then, in step S72, the image data display / reproduction program 134 displays and reproduces the moving image data “First Image.mpg” on the display 144 in 0 second to 8 seconds, and further includes sound data included in the data. Plays the sound data from the speaker 148.

次に、0秒〜8秒の間に、ユーザからselectキーを操作されるというイベントが発生した場合、図7に示されるスクリプトの第24行に記述される処理である、図20に示される処理を実行する。すなわち、図20を参照して、イベント管理部1315がselectキーが操作されたというイベントの発生を検出すると、ステップS81において、実行制御部1313は、図11に具体例が示されるイベント処理タイムテーブルを参照して、対応する処理内容(アクション)を決定する。すなわち、イベント処理タイムテーブルを参照して、ステップS82において、実行制御部1313は、対応するアプリケーションである画像撮影プログラム133と音声データ録音プログラム136とを起動させる。   Next, when an event that the user operates the select key between 0 second and 8 seconds occurs, the process described in the 24th line of the script shown in FIG. 7 is shown in FIG. Execute the process. That is, referring to FIG. 20, when event management unit 1315 detects the occurrence of an event that the select key has been operated, in step S81, execution control unit 1313 displays an event processing time table whose specific example is shown in FIG. The corresponding processing content (action) is determined with reference to FIG. That is, referring to the event processing time table, in step S82, the execution control unit 1313 activates the corresponding image capturing program 133 and the audio data recording program 136.

次に、ステップS83において、画像撮影プログラム133は、画像撮影に必要なUIをディスプレイ144に表示し、カメラ149とキーコード入力デバイス142とを使用して画像データを生成する。また、それと同時に、音声データ録音プログラム136は、マイクロフォン146を使用して音声データを生成する。そして、図示されないデータ合成プログラムは、生成された画像データと音声データとを合成する。このようにして、ステップS83において、新しいデータを取得する。   Next, in step S <b> 83, the image capturing program 133 displays a UI necessary for image capturing on the display 144, and generates image data using the camera 149 and the key code input device 142. At the same time, the voice data recording program 136 uses the microphone 146 to generate voice data. A data synthesis program (not shown) synthesizes the generated image data and audio data. In this way, new data is acquired in step S83.

上の処理が終了すると、ステップS84において、実行制御部1313は、画像撮影プログラム133と音声データ録音プログラム136とを終了させる。   When the above process ends, the execution control unit 1313 ends the image capturing program 133 and the audio data recording program 136 in step S84.

そして、ステップS85において、再生・編集エンジンプログラム131は、合成されたデータを受取り、そのデータが、Image領域に0秒〜8秒に表示されるように、スクリプト書出部1316がスクリプトを書換える。   In step S85, the playback / editing engine program 131 receives the synthesized data, and the script writing unit 1316 rewrites the script so that the data is displayed in the Image area in 0 second to 8 seconds. .

以上で、図6および図7に示されるスクリプトの第24行の処理を終了し、新たに生成されたスクリプトの再生・編集処理の実行を行なう。   Thus, the process on the 24th line of the script shown in FIGS. 6 and 7 is terminated, and the newly generated script is reproduced and edited.

本データ通信システムの携帯電話1で図6および図7に示されるスクリプトを再生および編集処理を実行する際には、上のような処理を1行ずつ実行する。   When the mobile phone 1 of this data communication system executes the script shown in FIGS. 6 and 7 and executes the editing process, the above process is executed line by line.

このようなスクリプトの再生・編集処理について、図21、図22および図85に示す具体的な表示画面の遷移を用いて説明する。図21および図22は具体的な表示画面の遷移を順に表わす図であり、図85は、それらの表示画面の具体例を1つの図で示したものである。   Such script playback / editing processing will be described with reference to specific display screen transitions shown in FIG. 21, FIG. 22, and FIG. FIG. 21 and FIG. 22 are diagrams showing specific display screen transitions in order, and FIG. 85 shows a specific example of these display screens in one figure.

図21(A)は、使用可能なテンプレートの一覧を表示する画面の具体例である。図21(A)に示される画面では、テンプレート「今ここにきてる」「これ見て!」「かなりひま」および「これうまい!」の4つのテンプレートが選択可能に表示される。なお、この例ではテンプレートの名称のみ表示されているが、テンプレートを利用して作成できるメッセージの具体的なイメージがサムネイル画像として名称と共に表示されることがより好ましい。   FIG. 21A is a specific example of a screen that displays a list of available templates. On the screen shown in FIG. 21 (A), four templates of templates “I'm here now”, “Look at this!”, “Large time”, and “This is good!” Are displayed in a selectable manner. In this example, only the name of the template is displayed, but it is more preferable that a specific image of a message that can be created using the template is displayed as a thumbnail image together with the name.

また、一覧表示されるテンプレートは、通常は端末内のメモリに保存されているテンプレートであるが、ネットワーク接続により外部機器やサーバからダウンロード可能であるものを表示してもよい。   The templates displayed in a list are usually templates stored in a memory in the terminal, but may be displayed that can be downloaded from an external device or server through a network connection.

また、このテンプレート一覧画面では、取得済みまたは取得可能なテンプレートがすべて表示されてもよいし、一部のテンプレートのみが表示されてもよい。このような表示を行なう場合、どのテンプレートを表示するのかの選択方法については、ユーザ操作などにより、よく使用するテンプレートのみを厳選して表示する方法、最近使用したテンプレートのみを表示する方法、メッセージとして送信する場合において、予め送信相手が指定されていて、かつ送信相手端末の機能が判明する場合には、送信相手端末が解釈および実行可能であるテンプレートのみを表示する方法、などが考えられる。このように、送信相手端末の機能に応じてテンプレートを選択表示することにすれば、たとえば、送信相手端末がカメラを持たない携帯電話である場合に、カメラを起動することでその場で写真を撮影し送付してもらう目的のテンプレートは、一覧から除外しておくことができる。   In this template list screen, all acquired or acquirable templates may be displayed, or only some templates may be displayed. When performing such a display, as for how to select which template to display, a method of carefully selecting only frequently used templates by a user operation, a method of displaying only recently used templates, a message, etc. In the case of transmission, if a transmission partner is designated in advance and the function of the transmission partner terminal is known, a method of displaying only a template that can be interpreted and executed by the transmission partner terminal is considered. In this way, if the template is selected and displayed according to the function of the transmission partner terminal, for example, when the transmission partner terminal is a mobile phone that does not have a camera, the camera is activated to display a photo on the spot. Templates that are intended to be photographed and sent can be excluded from the list.

なお、上述の、一部のテンプレートのみ一覧表示する場合においても、所定のユーザ操作によって、他の取得済みまたは取得可能なテンプレートすべてを表示できることが好ましい。さらに、送信相手端末の機能が判明する場合には、記述されているすべての機能が相手端末にて解釈および実行できないと判明したテンプレートについては、色やフォントを区別して表示するか、選択されたときに警告画面を出すなどしてユーザに注意を促がすか、あるいは選択操作を無効にしておいてもよい。   Even when only a part of the templates is displayed as a list, it is preferable that all other acquired or acquirable templates can be displayed by a predetermined user operation. In addition, when the functions of the sending partner terminal are known, the templates that have been found that not all described functions can be interpreted and executed by the partner terminal are displayed separately or selected by distinguishing colors and fonts. Sometimes a warning screen may be displayed to alert the user, or the selection operation may be disabled.

続いて、図21(A)に示される画面においてテンプレート「かなりひま」を選択し、再生処理を実行させる場合の処理について具体的に説明する。   Next, a specific description will be given of processing in a case where the template “pretty” is selected on the screen shown in FIG.

図21を参照して、始めに所定のナビゲーションフレームであるスクリプト「かなりひま」を選択して、再生処理を実行させる。携帯電話1では、上の処理が実行されて該テンプレートに含まれるスクリプトが解析され、図21(B)に示されるように、かかるスクリプトの実行が開始する。   Referring to FIG. 21, first, a script “pretty” which is a predetermined navigation frame is selected, and a reproduction process is executed. In the mobile phone 1, the above processing is executed and the script included in the template is analyzed, and the execution of the script is started as shown in FIG.

スクリプト実行に伴って時系列的に変化するUI部品であって、ユーザをナビゲートするUI部品が、図21(C)以降の画面に示されるようにディスプレイ144に表示される。具体的には、図21(C)に示される実行画面の2コマ目再生時に「カメラ起動」の文字列がディスプレイ144に表示される。この状態でユーザが何の操作も行なわなかった場合には、「カメラ起動」の文字列が所定時間表示された後スクリプトは図21(D)の画面に示される終端まで実行され、自動的に始端である図21(B)の画面に戻って再生を繰返す。   UI parts that change in time series with script execution and that navigate the user are displayed on the display 144 as shown in the screen of FIG. Specifically, a character string “camera activation” is displayed on the display 144 when the second frame of the execution screen shown in FIG. If the user does not perform any operation in this state, after the character string “camera activation” is displayed for a predetermined time, the script is executed to the end shown in the screen of FIG. Returning to the starting screen of FIG. 21B, the reproduction is repeated.

なお、UI部品としてこの例では文字列が表示されるものとしているが、カメラなどのアイコン画像や動画が表示されたり、音声や音楽が再生されたりしてもよい。   Although a character string is displayed as a UI component in this example, an icon image such as a camera or a moving image may be displayed, or voice or music may be played back.

図21(C)に示される「カメラ起動」の文字列がディスプレイ144に表示されているタイミングにユーザが所定のキー操作を行なうことで、画像撮影プログラム133が実行され、図21(E)および図21(F)に示されるようにカメラ149にて動画の撮影を行なうことができる。そして、図21(G)に示されるように、テンプレート「かなりひま」は「カメラ起動」の文字列が表示される時間帯に撮影された動画データが再生されるように書替えられる。すなわち、ユーザがUI部品のナビゲートにさたがって撮影を行なった後、スクリプトの始め、あるいは「カメラ起動」のUI部品がディスプレイ144に表示される時点にスクリプトの実行を戻すと、図22に示されるように、先にテンプレート「かなりひま」を実行したときに「カメラ起動」のUI部品がディスプレイ144に表示された時間帯に、図22(B)に示されるように撮影された動画が再生される。なお、その場合、スクリプト実行の際に、「カメラ起動」のUI部品が表示される時間帯に動画データが登録されたことが判定されると、その時間帯には「カメラ起動」のUI部品が表示されないようにされることが好ましい。あるいは、図22(B)に示されるようにその時間帯には「撮り直し」のUI部品が表示されるように変更されることが好ましい。   When the user performs a predetermined key operation at the timing when the character string “camera activation” shown in FIG. 21C is displayed on the display 144, the image capturing program 133 is executed, and FIG. As shown in FIG. 21F, the camera 149 can shoot a moving image. Then, as shown in FIG. 21G, the template “pretty park” is rewritten so that moving image data shot in the time zone in which the character string “camera activation” is displayed is reproduced. That is, after the user has taken a picture by navigating the UI parts, the execution of the script is returned to the beginning of the script or when the UI part of “camera activation” is displayed on the display 144, as shown in FIG. As shown in FIG. 22B, a moving image shot as shown in FIG. 22B is displayed during the time period when the UI component of “camera activation” is displayed on the display 144 when the template “pretty much” is executed first. Played. In this case, when it is determined at the time of script execution that the moving image data is registered in the time zone in which the “camera activation” UI component is displayed, the “camera activation” UI component is displayed in that time zone. Is preferably not displayed. Or, as shown in FIG. 22B, it is preferable to change the UI so that a “re-shoot” UI part is displayed during the time period.

以降、終了の操作を行なうまで、自動的に書換えられたスクリプトの実行が繰返される。   Thereafter, the execution of the automatically rewritten script is repeated until an end operation is performed.

次に、メニューから「プレビュー」を選択して、プレビュー実行する処理を実行する。プレビュー実行においては、図40に示されるように編集後のスクリプトがUI部品の表示および再生をすべて無効化された状態で再生される。すなわち、図22(B)に示される「撮り直し」の文字列は表示されず、ユーザが所定のキー操作を行なっても、画像撮影プログラム133は実行されない。なおプレビュー処理については後に説明する。   Next, “Preview” is selected from the menu, and a preview execution process is executed. In the preview execution, as shown in FIG. 40, the edited script is played back in a state where display and playback of UI parts are all invalidated. That is, the character string “re-shoot” shown in FIG. 22B is not displayed, and the image shooting program 133 is not executed even if the user performs a predetermined key operation. The preview process will be described later.

編集後のスクリプトの表示をプレビューで確認したのち、メニューから「メール添付」を選択して、スクリプトおよびメディアデータを他の携帯電話1に送信する。なおメール添付処理については、後に説明する。   After confirming the display of the edited script in the preview, “Email attachment” is selected from the menu, and the script and media data are transmitted to the other mobile phone 1. The mail attachment process will be described later.

さらに、本実施の形態の他の具体例として、本データ通信システムにおける携帯電話1で、図29および図30に示されるスクリプトの再生を実行する場合について、図31および図32のフローチャートを用いて説明する。   Furthermore, as another specific example of the present embodiment, a case where the mobile phone 1 in the data communication system executes the reproduction of the script shown in FIGS. 29 and 30 will be described with reference to the flowcharts of FIGS. explain.

図31を参照して、本実施の形態における携帯電話1で図30に示されるスクリプトの第19行を実行するとき、始めに再生・編集エンジンプログラム131の構文解析部1312でスクリプトの解析を行なって、実行制御部1313は、画像データ表示再生プログラム134に対して、0秒〜10秒において、top領域に画像データ「ProductImage.jpg」を表示再生するように指示する(S141)。すると、画像データ表示再生プログラム134は、0秒〜10秒において、ディスプレイ144に画像データ「ProductImage.jpg」を表示再生する。   Referring to FIG. 31, when the 19th line of the script shown in FIG. 30 is executed by the mobile phone 1 in the present embodiment, the script is first analyzed by the syntax analysis unit 1312 of the playback / editing engine program 131. The execution control unit 1313 instructs the image data display / reproduction program 134 to display and reproduce the image data “ProductImage.jpg” in the top area in 0 to 10 seconds (S141). Then, the image data display / reproduction program 134 displays and reproduces the image data “ProductImage.jpg” on the display 144 in 0 to 10 seconds.

次に、図30に示されるスクリプトの第20行を実行するとき、同様にしてステップS142において、実行制御部1313は、テキスト表示再生プログラム134に対して、0秒〜10秒において、middle領域にテキストデータ「ProductDesc.txt」を表示再生するように指示する(S142)。すると、テキストデータ表示再生プログラム138は、0秒〜10秒において、ディスプレイ144にテキストデータ「ProductDesc.txt」を表示再生する。   Next, when the 20th line of the script shown in FIG. 30 is executed, similarly in step S142, the execution control unit 1313 sets the middle display area for the text display reproduction program 134 in 0 to 10 seconds. An instruction is given to display and reproduce the text data “ProductDesc.txt” (S142). Then, the text data display / reproduction program 138 displays and reproduces the text data “ProductDesc.txt” on the display 144 in 0 to 10 seconds.

次に、1秒〜4秒の間に、ユーザからselectキーを操作されるというイベントが発生した場合、図30に示されるスクリプトの第21行に記述される処理である、図32に示される処理を実行する。すなわち、図32を参照して、イベント管理部1315がselectキーが操作されたというイベントの発生を検出すると、実行制御部1313は、イベント処理タイムテーブルを参照して、対応する処理内容(アクション)を決定する(S151)。そして、実行制御部1313は、イベント処理タイムテーブルを参照して、対応するアプリケーションであるWWWブラウザプログラム151を起動させる(S152)。   Next, when an event that the user operates the select key between 1 second and 4 seconds occurs, the processing described in the 21st line of the script shown in FIG. 30 is shown in FIG. Execute the process. That is, with reference to FIG. 32, when the event management unit 1315 detects the occurrence of an event that the select key has been operated, the execution control unit 1313 refers to the event processing time table and corresponds to the processing content (action). Is determined (S151). Then, the execution control unit 1313 refers to the event processing time table and activates the WWW browser program 151 that is a corresponding application (S152).

次に、WWWブラウザプログラム151は、通信部110を介してWWWコンテンツを取得し、ディスプレイ144に表示する(S153)。   Next, the WWW browser program 151 acquires WWW content via the communication unit 110 and displays it on the display 144 (S153).

上の処理が終了すると、実行制御部1313は、WWWブラウザプログラム151を終了させる(S154)。   When the above process ends, the execution control unit 1313 ends the WWW browser program 151 (S154).

以上で、図29および図30に示されるスクリプトの第21行の処理を終了し、スクリプトの再生処理の実行を行なう。   Thus, the process on the 21st line of the script shown in FIGS. 29 and 30 is finished, and the script reproduction process is executed.

本データ通信システムの携帯電話1で図29および図30に示されるスクリプトの再生処理を実行する際には、上のような処理を1行ずつ実行する。このようなスクリプトの再生処理について、図33に示す具体的な表示画面の遷移を用いて説明する。   When the mobile phone 1 of this data communication system executes the script reproduction process shown in FIGS. 29 and 30, the above process is executed line by line. Such script reproduction processing will be described with reference to specific display screen transitions shown in FIG.

図33を参照して、本データ通信システムの携帯電話1は、通信部110からスクリプトを取得して、再生処理を実行させる。携帯電話1では、上の処理を実行して、スクリプトを解析し、スクリプトの実行を開始する。   Referring to FIG. 33, the mobile phone 1 of the data communication system acquires a script from the communication unit 110 and executes a reproduction process. The mobile phone 1 executes the above process, analyzes the script, and starts executing the script.

スクリプトの実行が開始されると、スクリプトの実行に伴って時系列的に変化するUI部品であって、ユーザをナビゲートするUI部品が、図33に示されるようにディスプレイ144に表示される。具体的には、図33(B)に示される再生時に「WWWブラウザ」のアイコン画像がディスプレイ144に表示される。この状態でユーザが何の操作も行なわなかった場合には、自動的に図33(C)に示される状態に遷移し、「通話」のアイコン画像がディスプレイ144に表示される。さらにこの状態でユーザが何の操作も行なわなかった場合には、自動的に図33(D)に示される状態に遷移し、「メール送信」のアイコン画像がディスプレイ144に表示される。   When the execution of the script is started, UI parts that change in time series with the execution of the script and that navigate the user are displayed on the display 144 as shown in FIG. Specifically, an icon image of “WWW browser” is displayed on the display 144 during the reproduction shown in FIG. If the user does not perform any operation in this state, the state automatically changes to the state shown in FIG. 33C and the icon image of “call” is displayed on the display 144. Further, when the user does not perform any operation in this state, the state automatically changes to the state shown in FIG. 33D, and the icon image of “mail transmission” is displayed on the display 144.

「WWWブラウザ」のアイコン画像がディスプレイ144に表示されている図33(B)に示される時間帯にユーザが所定のキー操作を行なうことで、WWWブラウザプログラム151が実行され、通信部110を介して所定のWWWコンテンツを取得してディスプレイ144に再生することができる。WWWコンテンツの閲覧後WWWブラウザプログラムを終了すると、以前の再生位置からスクリプトの再生を再開する。   When the user performs a predetermined key operation during the time period shown in FIG. 33B in which the icon image of “WWW browser” is displayed on the display 144, the WWW browser program 151 is executed and is transmitted via the communication unit 110. The predetermined WWW content can be acquired and reproduced on the display 144. When the WWW browser program is terminated after browsing the WWW content, script playback is resumed from the previous playback position.

以降、終了の操作を行なうまで、スクリプトの再生が繰返される。
さらに、図16に具体例が示されるメニュー画面に「プレビュー」が選択された場合の、携帯電話1におけるプレビュー処理について図23のフローチャートを用いて説明する。すなわち、図23を参照して、プレビュー処理は、図9に示されるスクリプトの再生および編集処理とほぼ同様であるが、プレビュー処理においては、ステップS92での解析結果に基づいて、ステップS93において、スクリプトの描画情報記述部分に基づいてメディアデータ描画処理のタイムテーブルのみ作成する。そして、ステップS94で、スクリプトのユーザナビゲート情報記述部分に基づく部分は再生を実行せずに、描画情報記述部分に基づく部分を実行する。そして、イベント管理部1315がイベントの発生を検出すると(S95でYES)、実行制御部1313は、当該イベントに応じた処理を実行する(S96)。なお、ここでのイベントに応じた処理については、後にサブルーチンを挙げて説明する。プレビュー処理の場合には、スクリプト定義入力イベントは無効であり、ステップS96においてシステムイベントと固定入力イベントとのみが処理される。
Thereafter, the reproduction of the script is repeated until an end operation is performed.
Further, preview processing in the mobile phone 1 when “Preview” is selected on the menu screen shown in FIG. 16 as a specific example will be described with reference to the flowchart of FIG. That is, referring to FIG. 23, the preview process is substantially the same as the script reproduction and editing process shown in FIG. 9, but in the preview process, in step S93 based on the analysis result in step S92. Only the time table for media data drawing processing is created based on the drawing information description part of the script. In step S94, the portion based on the user navigation information description portion of the script is not reproduced, but the portion based on the drawing information description portion is executed. When the event management unit 1315 detects the occurrence of an event (YES in S95), the execution control unit 1313 executes a process corresponding to the event (S96). The processing according to the event here will be described later with a subroutine. In the preview process, the script definition input event is invalid, and only the system event and the fixed input event are processed in step S96.

以上で、携帯電話1におけるスクリプトのプレビュー処理を終了する。
次に、上述のステップS96で実行されるイベントに応じた処理について、図38のフローチャートを用いて説明する。
This completes the script preview process in the mobile phone 1.
Next, processing according to the event executed in step S96 will be described with reference to the flowchart of FIG.

図38を参照して、始めに、上述のステップS95でイベント管理部1315からイベント発生の検出情報を受取ると、実行制御部1312は、実行しているスクリプトを一時停止する(S191)。   Referring to FIG. 38, first, upon receiving event occurrence detection information from event management unit 1315 in step S95 described above, execution control unit 1312 pauses the script being executed (S191).

そして、ステップS95で検出されたイベントが、スクリプトの実行が当該スクリプトの実行点の終端まで到達したことを示すイベントである場合には(S192でYES)、実行制御部1313は、当該スクリプトの実行を終了し(S193)、処理を図23のステップS94に戻して、再度スクリプトの実行を開始する。すなわち、再度、スクリプト実行を実行点の始端に戻し、始めからスクリプトの実行を繰返す。   If the event detected in step S95 is an event indicating that the execution of the script has reached the end of the execution point of the script (YES in S192), the execution control unit 1313 executes the execution of the script. (S193), the process returns to step S94 in FIG. 23, and the script is started again. That is, the script execution is returned to the start point of the execution point again, and the script execution is repeated from the beginning.

一方、ステップS95で検出されたイベントが、スクリプトの実行が実行点の終端まで到達したことを示すイベント以外のイベントである場合には(S192でNO)、実行制御部1313は、検出されたイベントに基づいて処理内容を決定する(S194)。   On the other hand, when the event detected in step S95 is an event other than an event indicating that the execution of the script has reached the end of the execution point (NO in S192), the execution control unit 1313 detects the detected event. The processing content is determined based on (S194).

ステップS194で決定された処理内容が「メニュー」の場合(S194で「処理」=メニュー)、実行制御部1312は、図15に示すメニュー処理を実行する(S195)。メニュー処理の実行の手順は再生・編集処理を行なう場合と同様であるが、図39に示されるようにプレビュー処理の替わりに編集処理が選択肢となるメニュー画面がディスプレイ144に提示される。編集処理が選択された場合、図9に示される再生編集処理が実行される。なお、メニューから再生編集処理を開始する場合、スクリプトの開始時点から開始してもよいし、プレビュー処理のその時点でのスクリプト実行時間から開始してもよい。   When the processing content determined in step S194 is “menu” (“processing” = menu in S194), the execution control unit 1312 executes the menu processing shown in FIG. 15 (S195). The procedure for executing the menu process is the same as that for performing the reproduction / editing process. However, as shown in FIG. 39, a menu screen on which the editing process is an option instead of the preview process is presented on the display 144. When the editing process is selected, the reproduction editing process shown in FIG. 9 is executed. When the playback / editing process is started from the menu, it may be started from the start time of the script, or may be started from the script execution time at the time of the preview process.

一方、ステップS194で決定された処理内容が「スキップ」の場合(S194で「処理」=スキップ)、実行制御部1312は、メディア描画処理タイムテーブルを参照して、次に実行されるメディア描画処理を判断し、当該メディア描画処理の開始時点にスクリプト実行点を更新する(S196)。   On the other hand, when the processing content determined in step S194 is “skip” (“processing” = skip in S194), the execution control unit 1312 refers to the media rendering processing time table and executes the media rendering processing to be executed next. And the script execution point is updated at the start time of the media drawing process (S196).

ここで、スクリプト実行点の移動先としては、上述の、次に実行されるメディア描画処理の開始時点の他に、次の次以降に実行されるメディア描画処理の開始時点や、スキップ処理が選択されずそのままスクリプト実行を続けた場合に所定の時間が経過した時点での実行点などであってもよい。   Here, as the movement destination of the script execution point, in addition to the start point of the media drawing process to be executed next, the start point of the media drawing process to be executed next and the following and the skip process are selected. It may be an execution point when a predetermined time elapses when script execution is continued without being performed.

次に、図16に具体例が示されるメニュー画面において、当該スクリプトおよびメディアデータをメールに添付する処理が選択された場合の、携帯電話1におけるメール添付処理について図34のフローチャートを用いて説明する。   Next, the mail attachment process in the mobile phone 1 when the process for attaching the script and the media data to the mail is selected on the menu screen shown in FIG. 16 will be described with reference to the flowchart of FIG. .

図34を参照して、始めに、実行制御部1313は、再生専用マルチメディアデータとして送信するか否かを選択する画面をディスプレイ144に表示させる。そして、当該画面において再生専用マルチメディアデータを添付するように選択されなかった場合(S161でNO)、実行制御部1313は、マルチメディアデータを受信する他の携帯電話1においてマルチメディアデータをどのように使用するかについてのヒントを設定する(S165)。すなわち、ステップS165において、実行制御部1313は、当該マルチメディアデータに対して、コンテンツ編集操作をナビゲートするテンプレート(template)として使用すべきか、単に閲覧用のコンテンツ(contents)であるかを設定する。そして、処理をステップS163に進める。   Referring to FIG. 34, first, execution control unit 1313 causes display 144 to display a screen for selecting whether to transmit as reproduction-only multimedia data. If it is not selected to attach the reproduction-only multimedia data on the screen (NO in S161), the execution control unit 1313 uses the multimedia data in the other mobile phone 1 that receives the multimedia data. A hint as to whether or not to use is set (S165). In other words, in step S165, the execution control unit 1313 sets whether the multimedia data is to be used as a template for navigating the content editing operation or is simply browsing content (contents). . Then, the process proceeds to step S163.

一方、再生専用マルチメディアデータとして送信するか否かを選択する画面において、再生専用マルチメディアデータを添付するように選択された場合には(S161でYES)、実行制御部1313は、スクリプトのユーザナビゲート情報記述部分を削除する(S162)。   On the other hand, if the screen for selecting whether or not to transmit as reproduction-only multimedia data is selected to attach the reproduction-only multimedia data (YES in S161), the execution control unit 1313 displays the script user. The navigation information description part is deleted (S162).

次に、実行制御部1313は、記憶部130にスクリプトを書出す(S163)。そして、実行制御部1313は、添付ファイルとして前述のスクリプトおよびマルチメディアデータを設定して、メールプログラムを起動する(S164)。   Next, the execution control unit 1313 writes a script in the storage unit 130 (S163). Then, the execution control unit 1313 sets the above script and multimedia data as an attached file and starts the mail program (S164).

なお、上述のメール添付処理において、再生専用マルチメディアデータを添付するように選択された場合に(S161でYES)、編集前のマルチメディアデータテンプレートを再生専用マルチメディアデータと共にメールに添付してもよい。また、上述のメール添付処理のステップS162において、受信する携帯電話1が処理できないと予め判明している記述部が存在する場合には、かかる記述部をスクリプトから削除してもよい。   In the above mail attachment process, if it is selected to attach the reproduction-only multimedia data (YES in S161), the multimedia data template before editing may be attached to the mail together with the reproduction-only multimedia data. Good. In addition, in step S162 of the mail attachment process described above, if there is a description part that has been previously determined that the mobile phone 1 to be received cannot be processed, the description part may be deleted from the script.

[第2の実施の形態]
次に、図面を参照しつつ、本発明の第2の実施の形態について説明する。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to the drawings.

本発明の第2の実施の形態におけるマルチメディアデータ処理装置を含むデータ通信システムの構成は、図1に示される第1の実施の形態の場合と同様であるため、ここでの説明を繰返さない。また第2の実施の形態における携帯電話1の構成および、携帯電話1の記憶部130に記憶されるプログラムとデータ処理の流れもまた、それぞれ図2、図3に示される第1の実施の形態の場合と同様であるため、ここでの説明を繰返さない。   Since the configuration of the data communication system including the multimedia data processing apparatus according to the second embodiment of the present invention is the same as that of the first embodiment shown in FIG. 1, description thereof will not be repeated here. . The configuration of the mobile phone 1 in the second embodiment and the flow of programs and data processing stored in the storage unit 130 of the mobile phone 1 are also shown in FIGS. 2 and 3, respectively. Since this is the same as the case of, the description here will not be repeated.

最初に、第2の実施の形態にかかるマルチメディアデータ処理装置である携帯電話1でメディアデータの再生順序情報を含んだスクリプトを再生し、メディアデータを書込んで変更して、メディアデータの再生順序情報を含んだスクリプトを作成する場合について説明する。   First, the mobile phone 1 which is the multimedia data processing apparatus according to the second embodiment plays a script including the playback order information of the media data, writes the media data, changes it, and plays the media data. A case where a script including order information is created will be described.

図41にテンプレートと当該テンプレートを用いてスクリプトを変更した場合の画面表示の具体例を示す。図41に示されるテンプレートは、シーン1〜シーン3の3つのシーンで構成されている。これらのシーンの遷移は、テンプレート内のスクリプトに時間情報が記載されていてそれに従う場合、端末で設定された切替え時間に従う場合、シーン切替えをユーザが明示的に行なう場合などが考えられるが、本発明において特に規定されるものではない。本具体例では、図41(B)に示されるシーン2の静止画、および図41(C)に示されるシーン3のテキストを、それぞれ図41(E)および図41(F)に示されるようにユーザが入替えることで、修正を行なった場合を示す。   FIG. 41 shows a specific example of a screen display when a template and a script are changed using the template. The template shown in FIG. 41 is composed of three scenes 1 to 3. The transition of these scenes can be considered when the time information is described in the script in the template and follows it, according to the switching time set on the terminal, or when the user explicitly switches the scene. It is not particularly defined in the invention. In this specific example, the still image of scene 2 shown in FIG. 41 (B) and the text of scene 3 shown in FIG. 41 (C) are shown in FIG. 41 (E) and FIG. 41 (F), respectively. Shows a case where correction is performed by replacing the user.

さらに、図41の画面表示を実現するためのスクリプトの具体例を図47に示す。図47に示されるスクリプトは、並行して再生されるメディアデータのまとまりを表わすシーンを、逐次に再生することを表しているスクリプトである。すなわち、図47を参照して、第15行〜第17行、第18行〜第21行、および第22行〜第25行の記述は、各々シーン1〜シーン3を表わしている。   Further, a specific example of a script for realizing the screen display of FIG. 41 is shown in FIG. The script shown in FIG. 47 is a script indicating that scenes representing a collection of media data to be played back in parallel are played back sequentially. That is, referring to FIG. 47, descriptions in lines 15 to 17, lines 18 to 21, and lines 22 to 25 represent scene 1 to scene 3, respectively.

より詳しくは、第18行〜第21行に記述されるシーン2において、第19行には画像を再生することが記述され、第20行にはテキストを再生することが記述されている。これら画像とテキストとは第18行〜第21行が記述するシーン2に属し、並行して再生される。   More specifically, in the scene 2 described in the 18th to 21st lines, the 19th line describes reproduction of an image, and the 20th line describes reproduction of text. These images and text belong to the scene 2 described by the 18th to 21st lines and are reproduced in parallel.

さらに、スクリプト内に「dur=」に引続いて表示されている時間は、対応するシーンの再生を行なう時間を表し、その時間が経過した後は、次のシーンの再生に切替わる。本実施の形態においてスクリプトはこのような記述方法を用いているものとして示されているが、本発明においてスクリプトの記述方法は限定されるものではなく、メディアを再生するシーケンス情報を記述できれば、どのような形式でも構わない。   Furthermore, the time displayed after “dur =” in the script represents the time for reproducing the corresponding scene, and after that time has elapsed, the playback is switched to the next scene. In the present embodiment, the script is shown as using such a description method. However, the description method of the script is not limited in the present invention, and any method can be used as long as sequence information for reproducing media can be described. It does n’t matter if you

なお、シーケンスとは、マルチメディアデータ再生時の、時間的な順序関係を指す。シーケンスは、子要素として再生時間軸上の特定区間(具体的には「シーン」「スライド」、さらに具体的にはSMIL言語で<par>タグや<seq>タグで囲まれることで定義される区間)を1つないし複数含む。時間軸上の各区間の順序関係を把握し、各区間(に含まれるメディアデータ)の再生開始、停止、メディアデータのロード、アンロードを行なう際の手がかりとされるデータ構造を作成、保持することで、シーケンスが管理され
る。具体的には、図10〜12のようなタイムテーブルを用いることでシーケンスが管理される。再生時間軸上において、各区間が開始、終了する時刻をシーケンスの変更点という。図7に示されるUI割当状況表示タイムテーブルの具体例においては、0,8,15,19秒目がシーケンスの変更点に該当する。
The sequence refers to a temporal order relationship during multimedia data playback. A sequence is defined as a specific element (specifically “scene” or “slide”) on the playback time axis as a child element, and more specifically, surrounded by <par> tags or <seq> tags in the SMIL language. One or more (sections). Understand the order relationship of each section on the time axis, and create and maintain a data structure that can be used as a clue to start / stop playback, load / unload media data in each section (media data included) Thus, the sequence is managed. Specifically, the sequence is managed by using a time table as shown in FIGS. The time at which each section starts and ends on the playback time axis is called a sequence change point. In the specific example of the UI allocation status display time table shown in FIG. 7, the 0th, 8th, 15th and 19th seconds correspond to the sequence change points.

さらに、図42に、本実施の形態にかかるマルチメディアデータ処理装置である携帯電話1の再生・編集エンジンプログラム131の機能構成についてブロック図に示す。制御部120が記憶部130に記憶される再生・編集エンジンプログラム131を実行することで、図42に示される各機能が携帯電話1において実現される。   Further, FIG. 42 is a block diagram showing a functional configuration of the playback / editing engine program 131 of the mobile phone 1 which is the multimedia data processing apparatus according to the present embodiment. The control unit 120 executes the playback / editing engine program 131 stored in the storage unit 130, whereby each function shown in FIG.

図42を参照して、本実施の形態における携帯電話1の再生・編集エンジンプログラム131の機能は、テンプレート記憶部1000と、選択部1001と、スクリプト・データ一時記憶部1002と、スクリプト実行部1003と、ユーザ変更データ判定部1004と、端末機能選択部1005と、端末機能実行部1006と、データ変更部1007と、スクリプト・データ変更確定部1008と、スクリプト・データ出力部1009と、出力スクリプト・データ記憶部1010と、データ埋込部1011とを含んで構成される。   Referring to FIG. 42, functions of playback / editing engine program 131 of mobile phone 1 in the present embodiment are a template storage unit 1000, a selection unit 1001, a script / data temporary storage unit 1002, and a script execution unit 1003. A user change data determination unit 1004, a terminal function selection unit 1005, a terminal function execution unit 1006, a data change unit 1007, a script / data change confirmation unit 1008, a script / data output unit 1009, an output script / A data storage unit 1010 and a data embedding unit 1011 are included.

テンプレート記憶部1000は、受信部1015で受信され渡された1つ以上のテンプレートを記憶する。テンプレート記憶部1000に記憶されるテンプレートは、図47に示されるようなスクリプトと、そのスクリプトが使用するサンプルメディアデータ(静止画やテキスト)との両方が含まれる場合が普通であるが、メディアデータだけがファイルなどの形態をとって別に管理されていたり、ネットワークで接続されたサーバに存在していたり、テンプレートを利用するときにアクセス可能であれば他の形態であってもよい。   The template storage unit 1000 stores one or more templates received and passed by the receiving unit 1015. The template stored in the template storage unit 1000 usually includes both a script as shown in FIG. 47 and sample media data (still image or text) used by the script. May be managed separately in the form of a file, etc., may exist in a server connected via a network, or may be in other forms as long as it is accessible when using a template.

なお、テンプレートからテンプレートに含まれるメディアデータのみを取出し、別途転送あるいは保存などの操作を行なうことを、テンプレートに含まれるスクリプトの記述で禁止あるいは許可できることが好ましい。さらに、テンプレートは、通常端末に複数記憶されていて、ユーザが使いたいテンプレートはネットワークで接続したサーバやメモリカードなどから追加可能であることが好ましい。   Note that it is preferable to be able to prohibit or permit the description of the script included in the template to take out only the media data included in the template from the template and perform operations such as separate transfer or storage. Furthermore, it is preferable that a plurality of templates are normally stored in the terminal, and a template that the user wants to use can be added from a server or a memory card connected via a network.

選択部1001は、選択可能に表示されたテンプレートのリストにおいて、ユーザからのテンプレートの選択を受付ける。図21のテンプレート選択画面が典型的な例である。   The selection unit 1001 accepts a template selection from the user in the list of templates displayed in a selectable manner. The template selection screen in FIG. 21 is a typical example.

スクリプト・データ一時記憶部1002は、テンプレートに含まれるスクリプトとメディアデータとを一時記憶する。スクリプトは書換え可能な部分を含むため、通常、テンプレートをコピーしてこの一時記憶エリアであるスクリプト・データ一時記憶部1002に記憶する。しかし、メディアデータについては、ファイル名の書換えなどメディアデータそのものに修正が加わらない場合には、特に複製を作る必要はない。   The script / data temporary storage unit 1002 temporarily stores the script and media data included in the template. Since the script includes a rewritable part, the template is usually copied and stored in the script / data temporary storage unit 1002 which is this temporary storage area. However, there is no need to make a copy of the media data if the media data itself is not modified, such as rewriting the file name.

スクリプト実行部1003は、本発明のコアの部分である。本発明においてスクリプトは、シーンを切替えた表示を実現するためのものである。スクリプト実行部1003は、スクリプト再生の際のシーンや時間については、あらかじめテーブルを作成することで管理することが好ましい。   The script execution unit 1003 is a core part of the present invention. In the present invention, the script is for realizing display in which scenes are switched. The script execution unit 1003 preferably manages the scene and time during script playback by creating a table in advance.

ユーザ変更データ判定部1004は、テンプレートに含まれるメディアが変更可能であるかどうかを判定する。テンプレートに含まれるメディアは、その大部分は書換え不可であるが、そのうちのメディアファイル名などのメディアを参照する参照情報を書換えることによって、最終的にユーザが望むマルチメディアデータを生成することができる。   The user change data determination unit 1004 determines whether the media included in the template can be changed. Most of the media included in the template are not rewritable, but by rewriting the reference information that refers to the media such as the media file name, multimedia data desired by the user can be generated in the end. it can.

テンプレートに含まれるメディアデータは、スクリプトにおいては通常ファイル名の形で指定されて記述される。ユーザ変更データ判定部1004は、当該メディアデータが変更可能かどうかを判定する。たとえば図41(B)に示されるシーン2の場合には静止画を入替えることが端末側で可能であるので、ユーザ変更データ判定部1004は、静止画入替が可能と判定する。また、スクリプトに静止画ファイルが指定されている場合であっても、当該静止画ファイルはデータ変更が不可能であるということもあり得る。   Media data included in a template is usually specified and described in the form of a file name in a script. The user change data determination unit 1004 determines whether the media data can be changed. For example, in the case of the scene 2 shown in FIG. 41B, since it is possible to replace still images on the terminal side, the user change data determination unit 1004 determines that still image replacement is possible. Even when a still image file is specified in the script, it is possible that the data of the still image file cannot be changed.

さらに、時間で管理されるスクリプトの場合には、そのメディアデータが再生されている時間をユーザ変更データ判定部1004で選択して、再生時間そのものを書換えることや、3つあるシーンにさらに4つ目のシーンを追加というようなこともユーザ変更データ判定部1004で判定して可能にすることが好ましい。   Further, in the case of a script managed by time, the user change data determination unit 1004 selects the time during which the media data is played, and rewrites the playback time itself, or further adds 4 to three scenes. It is preferable to allow the user change data determination unit 1004 to determine that the first scene is added.

端末機能選択部1005は、当該携帯電話1の備える機能の中から、ユーザ変更データ判定部1004で選択された部分を変更するのに必要な端末機能を選択する。たとえば、ユーザ変更データ判定部1004で選択された部分が静止画である場合には、端末機能選択部1005は、静止画を入替えるための機能を選択する。またたとえば、当該携帯電話1がカメラ付端末の場合には、端末機能選択部1005は、カメラを起動する機能も選択できることが好ましい。   The terminal function selection unit 1005 selects a terminal function necessary for changing the part selected by the user change data determination unit 1004 from the functions of the mobile phone 1. For example, when the part selected by the user change data determination unit 1004 is a still image, the terminal function selection unit 1005 selects a function for replacing a still image. For example, when the mobile phone 1 is a camera-equipped terminal, it is preferable that the terminal function selection unit 1005 can also select a function for starting the camera.

端末機能実行部1006は、端末機能選択部1005で選択された端末機能を用いてメディアデータを取得する。そして、端末機能実行部1006は、取得したメディアデータをデータ変更部1007に出力する。   The terminal function execution unit 1006 acquires media data using the terminal function selected by the terminal function selection unit 1005. Then, the terminal function execution unit 1006 outputs the acquired media data to the data change unit 1007.

データ変更部1007は、端末機能実行部1006から入力されたメディアデータをスクリプトから参照される元のメディアデータと入替える。このときに、テンプレートでは静止画であったものが変更後は動画やテキストなど別の種類のメディアデータになっても構わない。   The data change unit 1007 replaces the media data input from the terminal function execution unit 1006 with the original media data referenced from the script. At this time, what was a still image in the template may be changed to another type of media data such as a moving image or text after the change.

また、このとき、スクリプトにおいてメディアデータへの参照情報がファイル名で記述されている情報である場合には、変更後のメディアデータをファイルの形式で保持し、その名前をスクリプトに記述されているファイル名にする、または変更後のメディアデータがそもそもファイルの形式であって名前が付けられて管理されている場合には、スクリプト内の該メディアデータを指定する部分を、該ファイル名に書換える必要がある。   At this time, if the reference information to the media data is information described in the file name in the script, the changed media data is held in the file format, and the name is described in the script. When the media data after the file name or after the change is in the form of a file and is managed with a name, the part specifying the media data in the script is rewritten with the file name. There is a need.

スクリプト・データ変更確定部1008は、スクリプトおよびメディアデータの変更がすべて終了したことの確定をユーザから受付ける。そして、スクリプト・データ変更確定部1008は、スクリプトおよびメディアデータの変更が確定した旨を、スクリプト・データ出力部1009に出力する。   The script / data change confirming unit 1008 accepts confirmation from the user that all the script and media data changes have been completed. Then, the script / data change confirming unit 1008 outputs to the script / data output unit 1009 that the change of the script and the media data is confirmed.

スクリプト・データ出力部1009は、変更し確定されたスクリプトとメディアデータとを出力する。スクリプト・データ出力部1009は、典型的にはMMS(Multimedia Messaging Service)など電子メールの形で他の端末やサーバに送信する。そして、スクリプト・データ出力部1009は、他の端末などに出力したスクリプトとメディアデータとを出力スクリプト・データ記憶部1010とデータ埋込部1011とに出力する。   The script / data output unit 1009 outputs the changed script and media data. The script / data output unit 1009 typically transmits it to another terminal or server in the form of an electronic mail such as MMS (Multimedia Messaging Service). Then, the script / data output unit 1009 outputs the script and media data output to another terminal or the like to the output script / data storage unit 1010 and the data embedding unit 1011.

出力スクリプト・データ記憶部1010は、スクリプト・データ出力部1009から出力されたスクリプトとメディアデータとを保持する。また、データ埋込部1011は、出力されたスクリプトとメディアデータとからメディアデータを取出して、テンプレートに埋込む。   The output script / data storage unit 1010 holds the script and media data output from the script / data output unit 1009. The data embedding unit 1011 extracts media data from the output script and media data, and embeds it in the template.

次に、第2の実施の形態にかかるマルチメディアデータ処理装置である携帯電話1の再
生・編集エンジンプログラムにおける処理について図43のフローチャートを用いて説明する。図43のフローチャートに示される処理もまた、携帯電話1の制御部120が、図42に構成が示される再生・編集エンジンプログラム131を記憶部130から読出して実行することによって実現される。
Next, processing in the playback / editing engine program of the mobile phone 1 which is the multimedia data processing apparatus according to the second embodiment will be described with reference to the flowchart of FIG. The processing shown in the flowchart of FIG. 43 is also realized by reading and executing the playback / editing engine program 131 having the configuration shown in FIG. 42 by the control unit 120 of the mobile phone 1.

図43を参照して、始めに、選択部1001は、テンプレート記憶部1000に記憶されるテンプレート、あるいは他の装置から取得したテンプレートを読出して、選択可能にディスプレイ144にリスト表示を行ない、ユーザの選択を受付ける(S1100)。ステップS1100において選択部1001は、各テンプレートについて、当該テンプレートの最初もしくは代表的な画面をサムネイルにして、当該テンプレートのタイトルと共に表示することが好ましい。   Referring to FIG. 43, first, selection unit 1001 reads out a template stored in template storage unit 1000 or a template acquired from another device, displays the list on display 144 in a selectable manner, and displays the user's list. The selection is accepted (S1100). In step S1100, the selection unit 1001 preferably displays, for each template, the first or representative screen of the template as a thumbnail and the template title.

次に、スクリプト実行部1003は、ステップS1100で選択されたテンプレートを再生しながら、ユーザの指示に応じて編集を行なう再生・編集処理を実行する(S1101)。なお、ステップS1101における再生・編集処理については、後に詳細を説明する。さらに、再生と編集とは、ユーザが切替え可能なモードがあることが一般的であるが、編集と再生とが同時にできることが好ましい。   Next, the script execution unit 1003 executes reproduction / editing processing for editing in accordance with a user instruction while reproducing the template selected in step S1100 (S1101). Details of the reproduction / editing process in step S1101 will be described later. Furthermore, although it is common for playback and editing to have a mode that can be switched by the user, it is preferable that editing and playback can be performed simultaneously.

次に、スクリプト・データ変更確定部1008は、ユーザによるスクリプトの変更が終了したかどうかを確認する(S1102)。そして、スクリプトの変更が終了していると(S1102でYES)、スクリプト・データ出力部1009は、確定されたスクリプトとデータとのいずれかもしくは両方を出力する(S1103)。   Next, the script / data change confirmation unit 1008 confirms whether or not the script change by the user is completed (S1102). When the script change is completed (YES in S1102), the script / data output unit 1009 outputs either or both of the confirmed script and data (S1103).

以上で、本実施の形態におけるテンプレートの再生および編集処理を終了する。
次に、図46のフローチャートを用いて、上述のステップS1101における再生・編集処理について説明する。
This completes the template reproduction and editing process in the present embodiment.
Next, the reproduction / editing process in step S1101 described above will be described with reference to the flowchart of FIG.

図46を参照して、始めに、スクリプト実行部1003は、スクリプトの記述に従って、再生されるシーンの切替えを行なう(S1200)。ステップS1200における処理については本発明において限定されるものではないが、その典型的な処理方法としては、最初に時間テーブルもしくは図58に示すような切替えテーブルを作成して、それに基づき次のシーンに移行する方法が挙げられる。   Referring to FIG. 46, first, script execution unit 1003 switches the scene to be reproduced according to the description of the script (S1200). Although the processing in step S1200 is not limited in the present invention, a typical processing method is to first create a time table or a switching table as shown in FIG. A method to migrate is mentioned.

図58は、図47に示すスクリプトを再生・編集する場合のメディア管理テーブルの具体例を示している。より具体的には図58を参照して、「シーン1」では「静止画1」が(図58(A))、「シーン2」では「静止画2」と「テキスト2」とが(図58(B))、「シーン3」では「静止画3」と「テキスト3」とが(図58(C))再生されることを示している。ステップS1200においてデータ変更部1007は、このようなメディア管理テーブルを参照して、シーン単位で順々に再生・編集を行なう。   FIG. 58 shows a specific example of the media management table when the script shown in FIG. 47 is played back / edited. More specifically, referring to FIG. 58, “Still Image 1” is displayed in “Scene 1” (FIG. 58A), and “Still Image 2” and “Text 2” are displayed in “Scene 2” (FIG. 58). 58 (B)), “Scene 3” indicates that “Still Image 3” and “Text 3” are reproduced (FIG. 58C). In step S1200, the data changing unit 1007 refers to such a media management table and sequentially performs playback / editing in units of scenes.

次に、スクリプト・データ出力部1009は、端末の機能を用いてデータを出力する(S1201)。ステップS1201において出力されるデータの形態は、静止画、動画、音楽、テキストその他、どのようなものでも構わない。なおステップS1201における出力処理については、サブルーチンを挙げて後に詳細に説明する。   Next, the script data output unit 1009 outputs data using the function of the terminal (S1201). The data output in step S1201 may be any form such as a still image, moving image, music, text, or the like. Note that the output processing in step S1201 will be described in detail later with a subroutine.

次に、スクリプト実行部1003は、修正モードか再生モードかを判定する(S1202)。既存のテンプレートをベースにして新たなテンプレートを作成する場合には、修正モードを実行するだけで再生モードとの切替えが不要である場合もある。逆に、他の端末から送られてきたメールやメッセージを新しいテンプレートとして使用する場合には、通常は再生モードであるので、修正モードに変更できることが好ましい。   Next, the script execution unit 1003 determines whether the mode is the correction mode or the reproduction mode (S1202). When a new template is created based on an existing template, it may be unnecessary to switch to the playback mode only by executing the correction mode. On the other hand, when a mail or message sent from another terminal is used as a new template, it is usually in the playback mode, and it is preferable that the mode can be changed to the correction mode.

ステップS1202において修正モードである場合(S1202でYES)、さらにユーザから入力を取得し、ユーザ変更データ判定部1004は、何の入力かを判定する(S1203)。   If the correction mode is set in step S1202 (YES in S1202), an input is further obtained from the user, and the user change data determination unit 1004 determines what input is made (S1203).

ステップS1203における判定の結果、ユーザからの入力が前のシーンの再生を指示する入力であった場合には(S1203で「前シーン」)、スクリプト実行部1003は、当該スクリプトの前のシーン表示の処理を行なう(S1204)。   If the result of determination in step S1203 is that the input from the user is an input for instructing playback of the previous scene (“previous scene” in S1203), the script execution unit 1003 displays the scene before the script. Processing is performed (S1204).

あるいは、ステップS1203における判定の結果、ユーザからの入力がスクリプトの変更処理を指示する入力であった場合には(S1203で「変更処理」)、データ変更部1007は、具体的な変更作業を行なう(S1205)。なお、ステップS1205における変更作業については、サブルーチンを挙げて後に詳細に説明する。   Alternatively, when the result of determination in step S1203 is that the input from the user is an input that instructs script change processing (“change processing” in S1203), the data changing unit 1007 performs a specific change operation. (S1205). Note that the change operation in step S1205 will be described in detail later with a subroutine.

さらに、スクリプト・データ変更確定部1008は、ステップS1205における変更後、ユーザからの入力を得て再度確認するかどうかを判定する(S1206)。ステップS1206における判定の結果、変更後のスクリプトを再度確認する場合には(S1206で「再出力」)、ステップS1201に処理を戻し、スクリプト・データ出力部1009は、ステップS1201において同じシーンを変更後のデータを出力する。これは、静止画と音楽とが同時に出力される場合など、静止画変更だけではシーンが確認できないときなどに有効である。   Further, after the change in step S1205, the script / data change confirmation unit 1008 determines whether or not to obtain an input from the user and confirm again (S1206). As a result of the determination in step S1206, when the script after the change is confirmed again (“re-output” in S1206), the process returns to step S1201, and the script / data output unit 1009 changes the same scene in step S1201. Output the data. This is effective when a scene cannot be confirmed only by changing the still image, such as when a still image and music are output simultaneously.

そして、ステップS1202において修正モードではなく(S1202でNO)、さらに当該スクリプトの再生が終了した場合には(S1207でYES)、本再生および編集処理を終了する。   If the script is not in the correction mode in step S1202 (NO in S1202) and the reproduction of the script is completed (YES in S1207), the reproduction and editing process is terminated.

次に、上述のステップS1201におけるデータ出力処理について図44のフローチャートを用いて詳細に説明する。   Next, the data output processing in step S1201 described above will be described in detail with reference to the flowchart of FIG.

図44を参照して、始めに、ユーザ変更データ判定部1004は、当該シーン内の変更データの有無を判定する(S1110)。ステップS1110での判定処理については後にサブルーチンを挙げて詳細に説明する。   Referring to FIG. 44, first, the user change data determination unit 1004 determines whether there is change data in the scene (S1110). The determination process in step S1110 will be described in detail later with a subroutine.

次に、端末機能選択部1005は、ステップS1110で判定された変更データの変更手段を選択する(S1111)。たとえば、同じスクリプトであっても、図49に示されるように端末によって再生に用いることのできる機能が異なる。図49は端末に応じて、同じスクリプトであっても選択される機能が異なることを示す図である。この機能の選択は、端末のハードウェアだけでなく、端末のソフトウェアによる違いも考慮することが可能である。この場合、ステップS1111においては、静止画ファイル選択、動画カメラ選択など、端末に合わせて使用可能な機能が選択されることが好ましい。なお、ステップS1111での変更データの変更手段選択処理については後にサブルーチンを挙げて詳細に説明する。   Next, the terminal function selection unit 1005 selects the change data changing means determined in step S1110 (S1111). For example, even if the script is the same, the functions that can be used for reproduction differ depending on the terminal as shown in FIG. FIG. 49 is a diagram illustrating that different functions are selected for the same script depending on the terminal. In selecting this function, not only the hardware of the terminal but also the difference depending on the software of the terminal can be considered. In this case, in step S1111, it is preferable to select a function that can be used in accordance with the terminal, such as still image file selection, video camera selection, and the like. Note that the change data changing means selection processing in step S1111 will be described in detail later with a subroutine.

次に、データ変更部1007は、操作ガイドとして、ディスプレイ144に変更のガイダンスを表示する(S1112)。ステップS1112で表示される変更ガイダンスとは、たとえば静止画を入替える場合に、入替えるファイルを選択するためのガイド機能であり、典型的には静止画ファイル選択ボタンの表示などを指す。ステップS1112においてデータ変更部1007がこのようなガイダンスを動的に生成することで、ユーザにどうすれば変更可能かを容易に知らせることができる。   Next, the data changing unit 1007 displays the change guidance on the display 144 as an operation guide (S1112). The change guidance displayed in step S1112 is a guide function for selecting a file to be replaced when, for example, still images are replaced, and typically indicates display of a still image file selection button. In step S1112, the data changing unit 1007 dynamically generates such guidance, so that the user can be easily informed how the change can be made.

次に、スクリプト実行部1003は、ステップS1112で表示された変更のガイダンスと共に、シーンの出力を実行する(S1113)。   Next, the script execution unit 1003 executes scene output together with the change guidance displayed in step S1112 (S1113).

そして、スクリプト・データ一時記憶部1002は、変更データごとに、ステップS1111で選択された変更手段(アプリケーション)と、ステップS1112で生成された変更のガイダンスとに対応する入力イベントの組をシーンイベントテーブルに記憶する(S1114)。ステップS1114において、具体的には、スクリプト・データ一時記憶部1002は、図64のシーンイベントテーブルの具体例に示されるように、変更データ「静止画2」は、「F1」キーイベントで起動される「画像撮影」アプリケーションと、「F2」キーイベントで起動される「ファイル取得」アプリケーションとで変更でき、変更データ「テキスト2」は、「select」キーイベントで起動される「ファイル取得」アプリケーションで変更できることを記憶する。   Then, the script data temporary storage unit 1002 displays, for each change data, a set of input events corresponding to the change means (application) selected in step S1111 and the change guidance generated in step S1112 in the scene event table. (S1114). In step S1114, specifically, the script / data temporary storage unit 1002 is activated by the “F1” key event for the change data “still image 2” as shown in the specific example of the scene event table of FIG. Can be changed between the “image capture” application and the “file acquisition” application activated by the “F2” key event, and the change data “text 2” is the “file acquisition” application activated by the “select” key event. Remember that you can change it.

次に、上述のステップS1205での変更処理について図65のフローチャートを用いて説明する。   Next, the changing process in step S1205 will be described with reference to the flowchart of FIG.

図65を参照して、始めに、データ変更部1007は、シーンイベントテーブルを参照する(S1501)。シーンイベントテーブルに、ステップS1203で入力されたユーザ入力イベントが登録されていない場合(S1502でNO)、当該処理を終了する。   Referring to FIG. 65, first, the data changing unit 1007 refers to the scene event table (S1501). If the user input event input in step S1203 is not registered in the scene event table (NO in S1502), the process ends.

シーンイベントテーブルに、ステップS1203で入力されたユーザ入力イベントが登録されている場合(S1502でYES)、スクリプト実行部1003は、シーンイベントテーブルから対応するアプリケーションを判定して起動させる(S1503)。そして、データ変更部1007は、シーンイベントテーブルから対応するユーザ変更データを判別し、起動したアプリケーションからメディアデータを取得して、当該ユーザ変更データを起動したアプリケーションから取得したメディアデータに書換える(S1504)。より具体的には、キー「F1」が押されると、ステップS1503において、「画像撮影」アプリケーションが起動される。また、ユーザが「画像撮影」アプリケーションで静止画を撮影し終了すると、ステップS1504においてユーザ変更データ「静止画2」が新たに撮影したデータで書換えられる。   If the user input event input in step S1203 is registered in the scene event table (YES in S1502), the script execution unit 1003 determines and activates the corresponding application from the scene event table (S1503). Then, the data change unit 1007 determines the corresponding user change data from the scene event table, acquires the media data from the started application, and rewrites the user change data with the media data acquired from the started application (S1504). ). More specifically, when the key “F1” is pressed, the “image capture” application is activated in step S1503. When the user finishes taking a still image with the “image capture” application, the user change data “still image 2” is rewritten with the newly captured data in step S1504.

なお、上記の例において、画像、音声、映像、テキストなどのメディアデータをユーザが入力する操作を行なったときに、テンプレート内に入力されたメディアメディアを挿入することが可能な箇所が複数存在する場合には、2つ以上の箇所に該メディアデータを挿入しても構わない。あるいは、ユーザが入力したメディアデータを分割し、複数の箇所にその一部分を挿入しても構わない。   In the above example, when the user performs an operation of inputting media data such as an image, sound, video, and text, there are a plurality of locations where the input media media can be inserted into the template. In some cases, the media data may be inserted into two or more locations. Alternatively, the media data input by the user may be divided and a part thereof may be inserted at a plurality of locations.

また、音声、音楽、映像、アニメーションなどの時間軸をもったメディアデータをテンプレートに挿入する場合に、それぞれのメディアデータの再生時間が、予めテンプレートで規定された時間よりも長い場合には、そのメディアデータは挿入禁止にしてもよいし、規定の時間に合わせるべく各メディアデータの再生速度を上げてもよいし、規定の時間が経過したら途中で再生終了するのでもよいし、規定の時間に収まる一部分だけを再生するのでもよい。もしくは、各メディアデータが完全に再生されるようにテンプレートの時間規定を変更するのでも構わない。   In addition, when media data with a time axis such as voice, music, video, animation, etc. is inserted into a template, if the playback time of each media data is longer than the time specified in the template in advance, Insertion of media data may be prohibited, the playback speed of each media data may be increased to match the specified time, or playback may end halfway after the specified time has passed, or at the specified time Only the part that fits may be played back. Alternatively, the time rule of the template may be changed so that each media data is completely reproduced.

また、テキスト、静止画、動画、音声、音楽、アニメーションなどのメディアデータを挿入する際、上記の例では挿入されるメディアデータに応じたファイル選択、カメラなどのアプリケーション起動を行なっているが、ユーザが自由にメディアデータを選択し、そのメディアデータをテンプレートに収まるメディアデータに変換するようにしても構わない。たとえば、撮影した動画から音声のみ抽出してテンプレートに埋込む、動画の先頭フレームを静止画として抽出してテンプレートに埋込む、などを行なってもよい。   In addition, when inserting media data such as text, still image, video, voice, music, animation, etc., the above example selects the file according to the inserted media data and activates the application such as the camera. However, media data may be freely selected, and the media data may be converted into media data that fits in a template. For example, only sound may be extracted from the captured moving image and embedded in the template, or the first frame of the moving image may be extracted as a still image and embedded in the template.

なお、上記のテキスト入力の際に、機器内に保持している定型文やクリップボードに一時保存されているテキスト、あるいは機器内に保持されていてテキストデータとして取得可能な、アドレス帳やスケジュール、送受信したメールなどのデータを読込めることが好ましい。   In addition, when entering the above text, the fixed text stored in the device, the text temporarily saved on the clipboard, or the address book, schedule, and transmission / reception that can be acquired as text data stored in the device It is preferable to read data such as e-mail.

次に、上述のステップS1110での判定処理について図59のフローチャートを用いて説明する。   Next, the determination process in step S1110 will be described with reference to the flowchart of FIG.

すなわち、図59を参照して、ユーザ変更データ判定部1004は、現在再生しているシーンと、メディア管理テーブルとを参照して(S1301,S1302)、当該シーンのメディアデータを判定する。たとえば、現在携帯電話1において図47に示すスクリプトの「シーン2」を再生している場合、ユーザ変更データ判定部1004は、図58に示されるメディア管理テーブルを参照して、「静止画2」と「テキスト2」とを変更データとして判定する。   That is, with reference to FIG. 59, the user change data determination unit 1004 refers to the currently reproduced scene and the media management table (S1301, S1302), and determines the media data of the scene. For example, when the mobile phone 1 is currently playing “Scene 2” of the script shown in FIG. 47, the user change data determination unit 1004 refers to the media management table shown in FIG. And “text 2” are determined as change data.

次に、上述のステップS1111での変更データの変更手段選択処理について図60を参照して説明する。図60は、携帯電話1に格納されるデータ取得プログラムと携帯電話1がサポートするメディアタイプとの対応を記録するテーブルであって、携帯電話1の記憶部130に記憶されているテーブルである。より具体的には、図60に示されるテーブルには、当該携帯電話1には「画像撮影」アプリケーションが登録され「静止画」と「動画」とが取得できること、「音声データ録音」アプリケーションが登録され「音声」が取得できること、「ファイル取得」アプリケーションが登録され「静止画」と「動画」と「テキスト」とが取得できることが記録されている。   Next, the change data selection unit selection process in step S1111 described above will be described with reference to FIG. FIG. 60 is a table that records the correspondence between the data acquisition program stored in the mobile phone 1 and the media types that the mobile phone 1 supports, and is a table that is stored in the storage unit 130 of the mobile phone 1. More specifically, in the table shown in FIG. 60, an “image capture” application is registered in the mobile phone 1, and “still image” and “moving image” can be acquired, and an “audio data recording” application is registered. “Audio” can be acquired, and “File acquisition” application is registered and “Still image”, “Movie” and “Text” can be acquired.

上述のステップS1111で端末機能選択部1005は、上記テーブルを参照して、ステップS1110で判定された変更データのメディアタイプに基づいて、使用可能な変更手段を選択する。たとえば、変更データのメディアタイプが「静止画」の場合、「画像撮影」と「ファイル取得」とのアプリケーションを選択する。   In step S1111 described above, the terminal function selection unit 1005 refers to the table, and selects a usable changing unit based on the media type of the change data determined in step S1110. For example, when the media type of the change data is “still image”, an application of “image capture” and “file acquisition” is selected.

図53に、携帯電話1においてスクリプトが実行される際の画面遷移の表示の具体例を示す。図53を参照して、シーン2ではステップS1113の処理が実行されて静止画とテキストとが表示されると共に、ステップS1112での処理が実行されて変更のガイダンスが表示されている。すなわち、図53のシーン2では「You can attach a picture here」という文字(ガイダンス)が表示され、対応するボタンを押すとデータフォルダの静止画のデータがサムネイルとなってリスト表示される。このリスト表示画面においては、ファイル名やデータサイズ情報などが併記されるとより好ましい。   FIG. 53 shows a specific example of screen transition display when a script is executed on the mobile phone 1. Referring to FIG. 53, in scene 2, the process of step S1113 is executed to display a still image and text, and the process of step S1112 is executed to display a change guidance. That is, in the scene 2 of FIG. 53, characters (guidance) “You can attach a picture here” are displayed, and when the corresponding button is pressed, still image data in the data folder is displayed as a thumbnail and displayed as a list. In this list display screen, it is more preferable that file names, data size information, and the like are written together.

また、静止画と音楽となど2つ以上のメディアが同じシーンで出力される場合には、本携帯電話1は、「You can attach a picture here」と「You can attach a music here」との修正のガイドを複数表示してショートカットキー押下などのユーザ操作により静止画データ入力または音楽データ入力のいずれかが選択される方法や、時間的に切替えて、最初「You can attach a picture here」のガイドを出し、次に「You can attach a music here」のガイドを出す方法や、何らかのメディアデータを挿入可能であることを示す「You can attach data here」のガイドを表示し、対応するボタンを押すと次の画面へ遷移して、次の画面においては「Attach a picture」と「Attach a music」とのメニューを選択可能に表示し、これをユーザが選択することによって静止画データ入力や音楽データ入力へ移行する方法など、いずれの方法を行なう構成であっても構わない。   In addition, when two or more media such as still images and music are output in the same scene, the mobile phone 1 is modified with “You can attach a picture here” and “You can attach a music here” A method of selecting either still image data input or music data input by a user operation such as displaying a plurality of guides and pressing a shortcut key, or switching in time, and first “You can attach a picture here” guide , Then display the “You can attach a music here” guide or the “You can attach data here” guide indicating that some media data can be inserted, and press the corresponding button. next In the next screen, the menu of “Attach a picture” and “Attach a music” is selectably displayed, and the user selects this to move to still image data input or music data input. Any method such as a method for performing the method may be used.

また、本携帯電話1は、修正可能なメディアデータと修正不可能なメディアデータとが区別できる場合には、そのシーンで修正可能なものを区別して、ユーザに示すことが好ましい。これはスクリプト中にメディアデータが変更可能かどうかを記載することでその判別を行なうことができる。   In addition, when the correctable media data and the uncorrectable media data can be distinguished, it is preferable that the mobile phone 1 distinguishes and indicates to the user what can be corrected in the scene. This can be determined by describing whether the media data can be changed in the script.

さらに好ましくは、本携帯電話1は、シーンごとに次に飛ぶ、あるいは前に戻る機能を備える。通常の再生では、シーン1が8秒間表示される場合でも、「次シーン」機能を用いることで、1秒経ったところでユーザがボタンを押すと残りの7秒はスキップされるというように、効率的にメールの作成、確認が可能になる。   More preferably, the mobile phone 1 has a function of jumping to the next time or returning to the previous time for each scene. In normal playback, even if scene 1 is displayed for 8 seconds, the “next scene” function is used so that when the user presses the button after 1 second, the remaining 7 seconds are skipped. E-mail can be created and confirmed.

さらに好ましくは、編集の意思をユーザが示した場合には、本携帯電話1は、その時点で再生を止める機能を備える。たとえば、図53のシーン2で静止画を入替えているところでユーザがボタンを押すことで、静止画選択画面で静止画を選択するところで再生のタイマをストップすることが好ましい。なお、データの変更を終えて再生を再開する場合には、編集操作を行なうときに止めた再生時間からスタートする、全体の最初から再生する、あるいは当該シーンの最初の時間から再開するなどが考えられる。当該シーンの最初とは、シーン2を8秒目から15秒目まで再生する予定であるところの13秒のところで編集ボタンを押されてデータを入替えた場合に、シーン2の最初、つまり8秒目を指す。   More preferably, when the user indicates an intention to edit, the mobile phone 1 has a function of stopping reproduction at that time. For example, it is preferable to stop the playback timer when a user selects a still image on the still image selection screen by pressing a button when the still image is replaced in scene 2 of FIG. When resuming playback after changing the data, it may be possible to start from the playback time that was stopped when the editing operation was performed, start playback from the beginning of the whole, or restart from the first time of the scene. It is done. The beginning of the scene is the beginning of scene 2, that is, when the editing button is pressed at 13 seconds where the scene 2 is scheduled to be reproduced from the 8th to 15th seconds, that is, 8 seconds. Point to your eyes.

なお、上述のテンプレートの編集工程において、テキスト、静止画、動画、音声、音楽、およびアニメーションなどのメディアデータをテンプレートに1箇所以上挿入した時点で、ユーザが現在選択し編集中のテンプレートとは別のテンプレートの編集に変更したいと思う場合が考えられる。この場合、どのテンプレートへの変更に際しても、それまでに挿入したメディアデータは破棄してしまってもよいし、変更後のテンプレートに挿入するようにしてもよい。またこの場合、変更後のテンプレートには変更前に挿入したメディアデータを挿入することが不可能である場合が考えられるが、このときには、そのようなテンプレートへの変更は許可しないようにしてもよいし、挿入不可能なメディアデータは破棄し、挿入可能なメディアデータのみ挿入するようにしてもよい。また、変更前のテンプレートに挿入していたメディアデータが変更後のテンプレートの複数箇所に挿入可能である場合においては、複数箇所のうち1箇所に挿入するのでもよいし複数箇所に挿入するのでもよい。また、そもそも他のテンプレートへの変更を全面的に許可しないようにしてもよい。   In the template editing process described above, when one or more media data such as text, still image, video, sound, music, and animation is inserted into the template, the template is different from the template currently selected and edited by the user. You may want to change to editing the template. In this case, when changing to any template, the media data inserted so far may be discarded or inserted into the template after the change. In this case, it may be impossible to insert the media data inserted before the change into the template after the change, but in this case, such a change to the template may not be permitted. However, media data that cannot be inserted may be discarded, and only media data that can be inserted may be inserted. In addition, when media data that has been inserted into the template before the change can be inserted into a plurality of locations in the template after the change, it may be inserted into one of the plurality of locations or may be inserted into a plurality of locations. Good. Also, changes to other templates may not be completely permitted in the first place.

[変形例]
次に、メディアデータの再生順序情報とアクションの実行順序情報とを含んだスクリプトを再生し、アクションを実行して、メディアデータの再生順序情報を含んだスクリプトを作成する処理について説明する。
[Modification]
Next, a description will be given of a process of playing back a script including media data playback order information and action execution order information, executing an action, and creating a script including media data playback order information.

図50および図61は、メディアデータの再生順序情報とアクションの実行順序情報とを含んだスクリプトの具体例を示している。図50に示されるスクリプトの記述は、図6に示されるスクリプトの記述と同様にアクションと描画領域とを定義している。図61に示されるスクリプトの記述は、第17行〜第33行において、メディアデータの再生とアクションの実行の順序情報とを定義している。また、第18行〜第32行は、第19行〜第21行、第22行〜第26行、および第27行〜第31行でそれぞれ定義されるシーン1〜シーン3を順番に実行することを示している。   50 and 61 show specific examples of scripts including media data playback order information and action execution order information. The script description shown in FIG. 50 defines an action and a drawing area in the same manner as the script description shown in FIG. The script description shown in FIG. 61 defines media data playback and action execution order information in the 17th to 33rd lines. Lines 18 to 32 sequentially execute scenes 1 to 3 defined in lines 19 to 21, lines 22 to 26, and lines 27 to 31, respectively. It is shown that.

また、第22行〜第26行では、第2のシーンの実行を定義している。より詳しくは、第23行において、“SecondImage.jpg”で示される画像を“Image”領域に表示することを記述している。第24行において“SecondText.txt”で示されるテキストを “Text”領域に表示することを記述している。第25行において“UI”の“select”キーイベントが検出された場合に“act_image”で参照されるアクションを実行することを記述している。   Lines 22 to 26 define execution of the second scene. More specifically, the 23rd line describes that the image indicated by “SecondImage.jpg” is displayed in the “Image” area. Line 24 describes that the text indicated by “Second Text.txt” is displayed in the “Text” area. Line 25 describes that the action referred to by “act_image” is executed when the “select” key event of “UI” is detected.

さらに、図48に、第2の実施の形態の変形例における携帯電話1の再生・編集エンジンプログラム131の機能構成についてブロック図に示す。図48において図42と同じ番号が付加されている構成要素は、図42に示される構成要素と同様のものであるため、ここでの説明は繰返さない。すなわち、図48を参照して、第2の実施の形態の変形例における携帯電話1の再生・編集エンジンプログラム131の機能は、テンプレート記憶部1000と、選択部1001と、スクリプト・データ一時記憶部1002と、スクリプト実行部1003と、端末機能選択部1012と、アクション決定部1013と、アクション実行部1014と、データ変更確定部1008と、スクリプト・データ出力部1009と、出力スクリプト・データ記憶部1010と、データ埋込部1011とを含んで構成される。なお、ここでは、図42とは異なる構成要素について説明する。   Further, FIG. 48 is a block diagram showing a functional configuration of the reproduction / editing engine program 131 of the mobile phone 1 in a modification of the second embodiment. 48, the same reference numerals as those in FIG. 42 are the same as those shown in FIG. 42, and therefore description thereof will not be repeated here. 48, the functions of the playback / editing engine program 131 of the mobile phone 1 in the modification of the second embodiment are the template storage unit 1000, the selection unit 1001, and the script / data temporary storage unit. 1002, script execution unit 1003, terminal function selection unit 1012, action determination unit 1013, action execution unit 1014, data change confirmation unit 1008, script / data output unit 1009, output script / data storage unit 1010 And a data embedding unit 1011. Here, components different from those in FIG. 42 will be described.

端末機能選択部1012は、スクリプトの記載に応じて端末機能を選択する。スクリプトには、たとえば図50の第12行〜第15行のaction文中のdestというような形で端末機能が書かれている。そして、端末機能選択部1012は、その選択結果を、アクション実行部1014に出力する。   The terminal function selection unit 1012 selects a terminal function according to the description of the script. In the script, for example, the terminal function is written in the form of dest in the action statement in the 12th to 15th lines of FIG. Then, the terminal function selection unit 1012 outputs the selection result to the action execution unit 1014.

アクション決定部1013は、スクリプトの記載に応じてアクションを決定する。アクション決定部1013におけるアクションの決定は、たとえば図50に示されるスクリプトの第12行〜第15行のtypeで記載されているところを解釈することで実現される。そして、アクション決定部1013は、その決定結果を、アクション実行部1014に出力する。   The action determination unit 1013 determines an action according to the description of the script. The determination of the action in the action determination unit 1013 is realized by, for example, interpreting what is described in the type of the 12th to 15th lines of the script shown in FIG. Then, the action determination unit 1013 outputs the determination result to the action execution unit 1014.

アクション実行部1014は、端末機能選択部1012で選択された機能を用いて得られたデータを、アクション決定部1013で決められたアクションに基づいて処理を行なう。アクション実行部1014では、明示的に記載されたアクションを実行することで、単に挿入や置換だけでなく、画像の合成や、音楽のつなぎ合わせ、特殊効果など各種の処理が可能になる。   The action execution unit 1014 processes the data obtained using the function selected by the terminal function selection unit 1012 based on the action determined by the action determination unit 1013. The action execution unit 1014 executes various actions such as image synthesis, music splicing, special effects, etc., as well as insertion and replacement, by executing the actions explicitly described.

なお、第2の実施の形態の変形例における携帯電話1の再生・編集エンジンプログラムにおける処理は、図43に示される処理と同様であるため、ここでの説明を繰返さない。また、第2の実施の形態の変形例における携帯電話1での、スクリプトであるナビゲーションフレームの再生および編集処理も、図46に示される処理とほぼ同様であるため、同様の処理についてはここでの説明を繰返さない。   Note that the processing in the playback / editing engine program of mobile phone 1 in the modification of the second embodiment is similar to the processing shown in FIG. 43, and therefore description thereof will not be repeated here. Also, since the playback and editing processing of the navigation frame, which is a script, in the mobile phone 1 in the modification of the second embodiment is almost the same as the processing shown in FIG. 46, the same processing is here. Will not be repeated.

なお、本変形例では、図46に示される処理において、最初に、図58に示すようなメディア管理テーブルの他に、図63に示すようなアクション管理テーブルを作成する。図63は、図61に示すスクリプトを再生・編集する場合のアクション管理テーブルの具体例を示す図である。より具体的には、図63を参照して、「シーン1」では実行可能なアクションはなく(図63(A))、「シーン2」では「静止画埋込みアクション」が実行可能であり(図63(B))、「シーン3」では「テキスト埋込みアクション」が実行可能である(図63(C))ことを示している。変形例の携帯電話1は、このようなアクション管理テーブルを参照して、シーン単位で順々に再生・編集を行なう。   In this modification, in the process shown in FIG. 46, first, an action management table as shown in FIG. 63 is created in addition to the media management table as shown in FIG. FIG. 63 is a diagram showing a specific example of the action management table when the script shown in FIG. 61 is reproduced / edited. More specifically, referring to FIG. 63, there is no action that can be executed in “scene 1” (FIG. 63A), and “still image embedding action” can be executed in “scene 2” (FIG. 63). 63 (B)), “scene 3” indicates that “text embedding action” can be executed (FIG. 63C). The mobile phone 1 according to the modification refers to such an action management table, and performs reproduction / editing sequentially in units of scenes.

次に、変形例における上述のステップ1201でのデータ出力処理について図62のフローチャートを用いて詳細に説明する。   Next, the data output processing in step 1201 in the modification will be described in detail with reference to the flowchart of FIG.

図62を参照して、始めに、アクション決定部1013は、アクション管理テーブルを参照して、当該シーンで実行可能なアクションを判定する(S1401)。次に、アクション決定部1013は、ディスプレイ144に、アクション実行のガイダンス表示を行なう(S1402)。アクション実行のガイダンスとは、アクションの実行を開始するための操作のガイド機能である。ステップS1402でのアクション実行のガイダンス表示処理については第1の実施の形態のステップS1112における変更ガイダンスの表示処理と同様であるので説明を繰返さない。そして、スクリプト実行部1003は、ステップS1402で表示されたガイドと共に、シーンの出力を実行する(S1403)。   Referring to FIG. 62, first, the action determination unit 1013 refers to the action management table to determine an action that can be executed in the scene (S1401). Next, the action determination unit 1013 displays an action execution guidance on the display 144 (S1402). The action execution guidance is an operation guide function for starting execution of an action. The action execution guidance display process in step S1402 is the same as the change guidance display process in step S1112 of the first embodiment, and therefore description thereof will not be repeated. Then, the script execution unit 1003 executes scene output together with the guide displayed in step S1402 (S1403).

図45に、変形例における携帯電話1でスクリプトが実行される際の画面遷移の表示の具体例を示す。図45を参照して、図45(B)に示されるシーン2では、ステップS1113の処理が実行されて静止画が表示されると共に、ステップS1112の処理が実行されて変更のガイダンスが表示されている。すなわち、図45(B)に示されるシーン2では「You can attach a picture here」という文字(ガイダンス)が表示され、対応するボタンを押すと図45(D)に示されるようにカメラアプリケーションが起動される。   FIG. 45 shows a specific example of display of screen transition when a script is executed on the mobile phone 1 in the modification. Referring to FIG. 45, in scene 2 shown in FIG. 45 (B), the process in step S1113 is executed to display a still image, and the process in step S1112 is executed to display a change guidance. Yes. That is, in the scene 2 shown in FIG. 45 (B), the letters (guidance) “You can attach a picture here” are displayed, and when the corresponding button is pressed, the camera application is started as shown in FIG. 45 (D). Is done.

なお、図49のように使える機能が異なるそれぞれの端末専用の記述を、スクリプトにすべて記述し、テンプレート再生時に端末が使える機能についての記述のみを有効にするようにしてもよい。これら機能としては、たとえば3D液晶表示機能や、2画面以上のディスプレイ表示機能などが特に挙げられる。   Note that, as shown in FIG. 49, all the descriptions dedicated to each terminal having different usable functions may be described in the script, and only the description about the functions that can be used by the terminal during template reproduction may be validated. Examples of these functions include a 3D liquid crystal display function and a display display function of two or more screens.

また、対象ユーザの属性ごとに異なる内容のメディアデータへの参照情報をスクリプトにすべて記述し、テンプレート使用時に、対象ユーザの属性に適したメディアデータのみを有効にする構成をとってもよい。この属性としては、たとえばユーザの使用する言語や住んでいる地域などが特に挙げられる。   Alternatively, a configuration may be adopted in which all reference information to media data having different contents for each attribute of the target user is described in a script so that only media data suitable for the attribute of the target user is valid when the template is used. As this attribute, for example, the language used by the user, the area where the user lives, and the like are particularly mentioned.

なお、上記の実施例においては、カメラを起動することを示すUI部品を画面に表示し、所定のキー操作によってカメラを起動させる方法を説明したが、図52に示すようにこの時間帯にカメラをインラインで起動し、撮影を実行することを示すUI部品を所定時間表示して(図52(D))、この時間帯に所定のキー操作がなされるとカメラによる撮影を行ない、その画像や映像を即座に再生させるようにしてもよい。なお、このとき撮影を行なわないまま「撮影」のUI部品を表示させる所定の時間が経過した場合、該時間帯の次の再生処理を進めてもよい。あるいは、該時間帯の終端時刻において再生を一時停止し、「撮影」操作が行なわれるまで待機してもよい。あるいは、該時間帯の先頭へ戻って該時間帯の再生を繰返してもよい。この繰返し処理は「撮影」操作が行なわれないもしくは中断処理がない限り無限に行なってもよいし、所定の回数のみ繰返しを行ない、それが終われば「撮影」操作が済んでいなくても次へ進むようにしてもよい。   In the above-described embodiment, a method for displaying a UI component indicating that the camera is to be activated on the screen and activating the camera by a predetermined key operation has been described. However, as shown in FIG. Is displayed in-line, and a UI part indicating that shooting is to be performed is displayed for a predetermined time (FIG. 52D). When a predetermined key operation is performed during this time period, shooting is performed by the camera. The video may be played back immediately. At this time, when a predetermined time for displaying the “photographing” UI component has passed without performing the photographing, the next reproduction process in the time zone may be advanced. Alternatively, playback may be paused at the end time of the time period, and may wait until a “shoot” operation is performed. Alternatively, the reproduction of the time period may be repeated by returning to the beginning of the time period. This repetition process may be performed indefinitely unless the “shoot” operation is performed or interrupted, or after a predetermined number of repetitions, if the “shoot” operation is not completed, You may make it go to.

なお、上記の実施例におけるメッセージの作成工程において、メッセージのデータサイズ総計が、送信可能なサイズの上限を超えてしまう場合が考えられる。この対策として、ユーザがメッセージの送信操作を行なった時点でサイズ超過の警告を出して送信を行なわないようにしてもよい。あるいは、ユーザがメディアデータを挿入するごとにサイズの合計を逐一調査し、もし制限を超えた場合にはその時点で警告を出してその挿入操作を無効にしてもよい。もしくは、予め挿入の候補となるメディアデータのサイズが判明しているのであれば、現在までのメッセージサイズの総計と該メディアデータのサイズとの合計が送信可能なサイズ上限を超えるかどうかを判別し、超える場合のメディアデータについては選択を許可しないようにしてもよい。   Note that, in the message creation process in the above embodiment, the total data size of the message may exceed the upper limit of the transmittable size. As a countermeasure for this, when the user performs a message transmission operation, an oversize warning may be issued and transmission may not be performed. Alternatively, each time the user inserts media data, the total size may be checked one by one, and if the limit is exceeded, a warning may be issued at that point to invalidate the insertion operation. Alternatively, if the size of media data that is a candidate for insertion is known in advance, it is determined whether or not the total of the total message size up to the present and the size of the media data exceeds the maximum size that can be transmitted. However, selection may not be permitted for media data exceeding the limit.

なお、上述の図50および図61は、作成側のみで使われるスクリプトの具体例である。この第12行〜第15行は、メッセージを作成および送信する装置側のみで使われる。それ以外の部分は、メッセージを受信する装置側で再生する際にも必要である。このようなスクリプトをスクリプト・データ出力部1009において出力する際には、スクリプト中に含まれる、受信装置では不要な表記や、通信手順の中で送信できないコマンドなどは最終的に削除もしくはコメントアウトして出力すべきである。このような場合には、スクリプト・データ出力部1009においては削除すべき表記のルールを備えて、これらを削除することが好ましい。   Note that FIG. 50 and FIG. 61 described above are specific examples of scripts used only on the creation side. The twelfth to fifteenth lines are used only on the device side that creates and transmits the message. The other parts are also necessary for playback on the device receiving the message. When such a script is output by the script / data output unit 1009, notation contained in the script that is not required by the receiving device or a command that cannot be transmitted in the communication procedure is finally deleted or commented out. Should be output. In such a case, the script / data output unit 1009 preferably includes notation rules to be deleted, and these are deleted.

なお、メッセージ受信者が同じテンプレート利用して別のメッセージを作成するなどの目的で、受信側でテンプレートそのものをサーバからダウンロードする場合に便利なように、スクリプト・データ出力部1009は、今使用したテンプレートのダウンロード元のアドレスを付加して送ることがさらに好ましい。   Note that the script / data output unit 1009 is now used so that the receiver can download the template itself from the server for the purpose of creating another message using the same template. It is more preferable to send the template download source address.

さらに、スクリプト・データ処理部1009でスクリプトをたとえばHTMLなどのフォーマットに変換し、元のスクリプトと共に変換したスクリプトも送信することが好ましい。このことで、受信側が全く元のスクリプトを処理できない場合でも、変換したスクリプトの処理が可能であれば、受信側で再生を行なうことが可能になる。   Furthermore, it is preferable that the script / data processing unit 1009 converts the script into a format such as HTML, and transmits the converted script together with the original script. Thus, even if the receiving side cannot process the original script at all, if the converted script can be processed, the receiving side can perform reproduction.

さらに、テンプレートを元に編集し、送信済みのメッセージを再編集して送信する場合に便利なように、出力スクリプト・データ記憶部1010において、削除処理を施す前のスクリプトおよびメディアデータを記憶してもよい。また同様の目的で、図55に示すように、送信したメッセージと使用したテンプレートとの対応を示すテーブルを保持し、たとえば、メッセージ「1221」を再編集したい場合に、上記テーブルを検索してテンプレート「かなりひま」を自動的に選択し、データ埋込み部1011でメッセージ「1221」に含まれるメディアデータをテンプレート「かなりひま」に埋込んでから編集するようにしてもよい。   Further, the script and media data before the deletion process are stored in the output script / data storage unit 1010 so as to be convenient when editing based on the template and re-editing and transmitting the transmitted message. Also good. For the same purpose, as shown in FIG. 55, a table indicating the correspondence between the transmitted message and the used template is held. For example, when the message “1221” is to be re-edited, the above table is searched and the template is searched. It is also possible to automatically select “pretty time” and embed the media data included in the message “1221” in the template “pretty time” in the data embedding unit 1011 before editing.

さらに編集を容易にするために、シーンごとにサムネイルを作ることが好ましい。図51にその表示例を示す。これは、テンプレートに含まれるスクリプト全体を解釈して図10のような全体のタイムテーブルもしくはシーケンステーブルを作成することで、容易に実現できる。このようなシーンごとのサムネイルを用意することで、スクリプトに基づいてサムネイルのリスト表示を行なって、ユーザ操作により任意のサムネイルを選択することをきっかけに該当シーンの再生実行点より再生開始できるようにすれば、スクリプトの書換えを行なう場合に、当該スクリプトの先頭からの再生を行なうことなく、所望のところのデータのみを書換えることが容易に可能になる。   In order to further facilitate editing, it is preferable to create a thumbnail for each scene. FIG. 51 shows an example of the display. This can be easily realized by interpreting the entire script included in the template and creating the entire time table or sequence table as shown in FIG. By preparing thumbnails for each scene, the thumbnail list is displayed based on the script so that playback can be started from the playback execution point of the scene triggered by the user selecting an arbitrary thumbnail. Then, when rewriting the script, it becomes possible to easily rewrite only the desired data without reproducing from the beginning of the script.

このようなスクリプトを携帯電話1で実行することによって容易にマルチメディアコンテンツを作成することができる。すなわち、本スクリプトを実行することによって時系列的に変化して表示されるガイダンス情報にしたがって所定の操作を行なうだけで、直感的な方法で、容易にマルチメディアコンテンツを作成することができる。また、すでにメディアデータが挿入されているテンプレートに対しても、そのスクリプトを実行することによって時系列的に変化して表示されるガイダンスにしたがって所定の操作を行なうだけで、容易にメディアデータを置換えることができ、ユーザの所望するマルチメディアコンテンツを容易に作成することができる。   By executing such a script on the mobile phone 1, multimedia contents can be easily created. In other words, multimedia contents can be easily created by an intuitive method simply by performing a predetermined operation in accordance with guidance information displayed by changing the time series by executing this script. Also, even if a template has already been inserted with media data, the media data can be easily replaced simply by performing a predetermined operation in accordance with the guidance that changes in time series by executing the script. The multimedia content desired by the user can be easily created.

さらに、このようなテンプレートを他の携帯電話1に対して送信して返信を要求することで、送り手側の所望の操作を受け手側に行なわせることが可能である。たとえば、図21に示されるようなテンプレート「かなりひま」に新たな動画の挿入を要求する旨のテキストメッセージを添えて他の携帯電話1に対して送信することで、該携帯電話1のユーザに対して、当該テンプレートに新たな動画データを挿入する編集作業の実施を指示することができる。   Furthermore, by sending such a template to another mobile phone 1 and requesting a reply, it is possible to perform a desired operation on the sender side on the sender side. For example, by sending a text message for requesting insertion of a new video to the template “substantial time” as shown in FIG. 21 to another mobile phone 1, the user of the mobile phone 1 is notified. On the other hand, it is possible to instruct execution of editing work for inserting new moving image data into the template.

[第3の実施の形態]
次に、マルチメディアデータ処理装置がテレビジョン受像機(以下、テレビと略する)である場合について、第3の実施の形態として説明する。すなわち、第3の実施の形態にかかるテンプレートには、テレビ画面のレイアウトおよび時間情報が記述されていて、メディアデータの1つとして、テレビ番組が取扱われる。
[Third Embodiment]
Next, a case where the multimedia data processing apparatus is a television receiver (hereinafter abbreviated as a television) will be described as a third embodiment. That is, the template according to the third embodiment describes the layout and time information of the television screen, and the television program is handled as one of the media data.

図74は、第3の実施の形態におけるマルチメディアデータ処理装置であるテレビを含むデータ通信システムの構成を示す図である。図74を参照して、データ通信システムは、マルチメディアデータ処理装置であるテレビ6と、スクリプト言語で記述されているテンプレートを提供するテンプレート提供サーバ2と、テレビの番組情報および番組関連情報を提供するEPGサーバ3と、インターネットコンテンツを提供するWWWサーバ4と、放送波を介して番組をテレビ6へ提供する放送局5とを含んで構成される。   FIG. 74 is a diagram showing a configuration of a data communication system including a television which is a multimedia data processing apparatus in the third embodiment. Referring to FIG. 74, the data communication system provides television 6 as a multimedia data processing device, template providing server 2 that provides a template described in a script language, and television program information and program related information. The EPG server 3 is configured to include the WWW server 4 that provides Internet content, and the broadcast station 5 that provides programs to the television 6 via broadcast waves.

テレビ6のマルチメディアデータ処理装置としての構成は、第1の実施の形態において図4に示される構成と同様であるため、ここでの説明を繰返さない。さらに、テレビ6は、その表示部に、メイン領域7401とサブ領域7402,7403とを含む。   The configuration of television 6 as a multimedia data processing device is similar to the configuration shown in FIG. 4 in the first embodiment, and therefore description thereof will not be repeated here. Furthermore, the television 6 includes a main area 7401 and sub areas 7402 and 7403 in the display unit.

図75、図76、および図77に、第3の実施の形態にかかるマルチメディアデータ処理装置であるテレビ6で取扱われるテンプレートに含まれるスクリプトの具体例を示す。図75はメディアデータを参照する描画情報記述部を含むスクリプトを示す具体例であり、図76は時間帯に応じた番組情報を記述する番組表情報記述部を含むスクリプトを示す具体例であり、図77は図75、図76に示される両スクリプトを関係付ける記述を含むスクリプトを示す具体例である。なお、図76に示されるスクリプトは、第1の実施の形態における、ユーザナビゲート情報記述部を含むスクリプトに相当するものであるが、本実施の形態においては、テレビ6を視聴するユーザの操作をナビゲートするのではなく、表示再生する番組を時間帯に応じて自動的に決定する役割を果たすスクリプトである。このスクリプトが解析されることによって、番組表情報が得られる。   75, 76, and 77 show specific examples of scripts included in a template that is handled by the television 6 that is the multimedia data processing apparatus according to the third embodiment. FIG. 75 is a specific example showing a script including a drawing information description part that refers to media data, and FIG. 76 is a specific example showing a script including a program guide information description part that describes program information according to a time zone. FIG. 77 is a specific example showing a script including a description relating both scripts shown in FIGS. 75 and 76. The script shown in FIG. 76 corresponds to the script including the user navigation information description part in the first embodiment, but in this embodiment, the operation of the user who views the television 6 is performed. Is a script that plays a role of automatically determining a program to be displayed and reproduced according to a time zone. Program guide information is obtained by analyzing the script.

次に、テレビ6におけるデータ処理の流れを示す。スクリプトの読込みおよび実行処理、ならびにイベント処理に関しては、大まかな流れは図9に示された処理と同様であるため、図9を用いて説明する。   Next, the flow of data processing in the television 6 is shown. Regarding the script reading and execution process and the event process, the general flow is the same as the process shown in FIG. 9 and will be described with reference to FIG.

図9を参照して、まずテレビ6は、図75、図76、および図77に示される各スクリプトを取得して(S12)、これらのスクリプトを読込む(S13)。さらに、読み込んだ各スクリプトの構文を解析し(S14)、タイムテーブルを作成する(S15)。その後、作成されたタイムテーブルにしたがって、該スクリプトを実行(S16)する。   Referring to FIG. 9, first, television 6 acquires each script shown in FIGS. 75, 76, and 77 (S12), and reads these scripts (S13). Further, the syntax of each read script is analyzed (S14), and a time table is created (S15). Thereafter, the script is executed according to the created time table (S16).

より具体的には、図75の14行および15行ではWWWサーバ上の画像ファイルが指定されているので、上述のステップS12ではかかる記載にしたがってWWWサーバ4より該当ファイルが取得され、ステップS16での実行時には領域「right」および「left」で指定される位置であるサブ領域7402,7403に表示される。   More specifically, since the image file on the WWW server is designated in lines 14 and 15 in FIG. 75, the corresponding file is acquired from the WWW server 4 in accordance with the description in step S12 described above, and in step S16. Is displayed in the sub-areas 7402 and 7403 which are positions designated by the areas “right” and “left”.

また、図75の13行には、メイン領域7401(main)にビデオコンテンツ「tvcontents」を再生表示することが記載されており、かかるビデオコンテンツ「tvcontents」は、図76に示されるスクリプトの記述にしたがって決定される、ムービーデータもしくはTVチャンネルである。図76の5行の記述は、図76に示されるスクリプトが、図75に示されるスクリプトにおけるidが「tvcontents」である部分のメディアデータを指定するものであることを表わしている。   Also, line 13 in FIG. 75 describes that video content “tvcontents” is reproduced and displayed in main area 7401 (main). Such video content “tvcontents” is described in the script description shown in FIG. Therefore, it is determined movie data or TV channel. The description on line 5 in FIG. 76 indicates that the script shown in FIG. 76 specifies media data of a part whose id in the script shown in FIG. 75 is “tvcontents”.

次に、テレビ6において、このビデオコンテンツ「tvcontents」を決定する決定処理の流れを、図78のフローチャートを用いて説明する。   Next, the flow of determination processing for determining the video content “tvcontents” in the television 6 will be described with reference to the flowchart of FIG.

図78を参照して、まず、テレビ6においてスクリプトの描画情報記述部中に「video id=“tvcontents”」と指定されていることが解析されると(S2301でYES)、図76に示されるスクリプトの解析結果である番組表情報を参照して、現在時刻に対応する番組情報を取得する(S2302)。   Referring to FIG. 78, first, when it is analyzed that “video id =“ tvcontents ”” is specified in the drawing information description portion of the script on TV 6 (YES in S2301), FIG. 76 shows. The program information corresponding to the current time is acquired with reference to the program guide information which is the analysis result of the script (S2302).

図76の第6行〜第13行には0時から2時までの間はテレビのチャンネル番号4の番組が、第14行〜第21行には2時から4時までの間は第20行に記述されているURLで指定されるインターネットコンテンツが、ビデオコンテンツ「tvcontents」に該当する旨の記述がなされている。そこで、現在時刻が0時から2時までの間の時刻であれば、かかる記述よりビデオコンテンツ「tvcontents」はチャンネル番号4のテレビ番組であると定まるので、ステップS2303においてその番組情報の種別(テレビ番組であること)が判別されて、その判別結果にしたがってテレビ6は放送局5より該当する放送波を受信して所定の位置に表示する(S2304)。   76, the program of the TV channel number 4 is shown from 0:00 to 2 o'clock, and the line 14 to 21 is shown as 20th from 2 o'clock to 4 o'clock. There is a description that the Internet content specified by the URL described in the row corresponds to the video content “tvcontents”. Therefore, if the current time is between 0 o'clock and 2 o'clock, the video content “tvcontents” is determined to be a TV program of channel number 4 from this description, so in step S2303 the type of the program information (TV The television 6 receives the corresponding broadcast wave from the broadcast station 5 and displays it at a predetermined position according to the determination result (S2304).

一方、現在時刻が2時から4時までの間の時刻であれば、かかる記述よりビデオコンテンツ「tvcontents」は図76の第20行に記述されるURLで指定されるインターネットコンテンツであると定まるので、ステップS2303においてその番組情報の種別(インターネットコンテンツであること)が判別されて、その判別結果にしたがってテレビ6はWWWサーバ4より該コンテンツデータを取得して所定の位置に表示する(S2305)。   On the other hand, if the current time is between 2 o'clock and 4 o'clock, the video content “tvcontents” is determined from this description to be the Internet content specified by the URL described in the 20th line of FIG. In step S2303, the type of the program information (which is Internet content) is determined, and the television 6 acquires the content data from the WWW server 4 and displays it at a predetermined position according to the determination result (S2305).

なお、図76に示されるスクリプトでは4時以降の番組記述部分については省略されているが、かかる時間についても同様の記述があり、現在時刻が上述の時刻以外であっても同様の処理が行なわれる。   In the script shown in FIG. 76, the program description portion after 4 o'clock is omitted, but there is a similar description for the time, and the same processing is performed even if the current time is other than the above time. It is.

以上の処理により、テレビ6において、サブ領域7402,7403にはWWWサーバ4より取得されたメディアデータが再生表示され、メイン領域7401には、図76に示されるスクリプトを解析して得られる番組表情報に基づいて時間帯に応じて指定される、テレビ番組またはインターネットコンテンツが、放送局5またはWWWサーバ4より取得されて再生表示される。   Through the above processing, in the television 6, the media data acquired from the WWW server 4 is reproduced and displayed in the sub areas 7402 and 7403, and the program table obtained by analyzing the script shown in FIG. 76 is displayed in the main area 7401. A television program or Internet content designated according to the time zone based on the information is acquired from the broadcast station 5 or the WWW server 4 and reproduced and displayed.

また、本実施の形態では、サブ領域7402,7403にWWWサーバより取得された静止画像データが表示されるものとしたが、かかる領域の表示に関しても、図75の第14行および第15行の記述を第13行と同様の記述にして図76に示されるスクリプトの記述と組合わせることで、または、第1、2の実施の形態で説明したような時間に伴うメディアデータの切替えやイベントに関する記述を加えることによって、時間帯に応じてEPGサーバ3、WWWサーバ4、および放送局5より放送波や番組関連情報などを取得して表示したり、ユーザ操作を受付けるUIコンポーネントを表示して該UIコンポーネントに対してユーザ操作がなされた場合に対応するアクションを実行したりするようにしてもよい。   In the present embodiment, the still image data acquired from the WWW server is displayed in the sub-areas 7402 and 7403. The display of such areas also includes the 14th and 15th lines in FIG. The description is the same as the description in the 13th line and combined with the description of the script shown in FIG. 76, or it is related to media data switching and events with time as described in the first and second embodiments. By adding a description, broadcast waves and program-related information are acquired and displayed from the EPG server 3, WWW server 4, and broadcast station 5 according to the time zone, and UI components that accept user operations are displayed and displayed. An action corresponding to a user operation performed on the UI component may be executed.

さらに、かかるアクションとしては、テレビのチャンネル切替えや音量、輝度などの調整、「詳細情報」などのボタンを表示してユーザがこれを押すことによってメイン領域7401で再生されている番組に連動した情報を表示するWEBコンテンツへリンク遷移する、あるいは、テレビ6が録画機能を具備しているか録画機器と接続されている場合には録画操作を行なう、画面のスクリーンショットを記録して他のユーザへメールなどにより送信する、電話機能と連動できる場合には所定の番号への発信を行なう、などが挙げられる。   Further, as such an action, information related to a program being played back in the main area 7401 by displaying a button such as TV channel switching, volume and brightness adjustment, and displaying a button such as “detailed information”. Link transition to WEB content that displays, or if the TV 6 has a recording function or is connected to a recording device, perform a recording operation, record a screen shot of the screen, and send it to another user For example, when the telephone function is linked, a call is made to a predetermined number.

本実施の形態におけるマルチメディアデータ処理装置であるテレビ6を含んで構成されるデータ通信システムは上述の構成であることから、主にコンテンツ制作業者にとって、テレビ番組やインターネットコンテンツを組合わせたマルチメディアコンテンツデータを容易に作成できるようになるというメリットがある。   Since the data communication system including the television 6 which is the multimedia data processing apparatus in the present embodiment has the above-described configuration, it is mainly for content producers that combine television programs and Internet content. There is an advantage that content data can be created easily.

なお、第1〜第3実施の形態、および第2の実施の形態に変形例においては、サーバ2から提供されるテンプレートを図2に構成の具体例が示される携帯電話1またはテレビ6において処理する場合について述べたが、テンプレートを処理する処理装置は携帯電話1のような各機能が一体に構成されてなる装置に限定されるものではない。すなわち、受信機などのテンプレートを取得する取得装置、画像を取得するカメラなどのメディアデータ入力装置、およびテレビジョン受像機などのメディアデータ出力装置など、携帯電話1やテレビ6を構成する各機能が各々独立した装置であってもよい。その場合であっても、相互に専用回線を介した通信あるいは無線通信などを行なってデータや制御信号をやり取りし、データ処理装置において、上述のスクリプトの再生および編集処理を実行して、取得装置で取得させたスクリプトを処理し、メディア入力装置で入力させたメディアデータなどを用いて、マルチメディアコンテンツの編集を行なうことができる。そして、メディアデータ出力装置で取得したテンプレート、あるいはテンプレートを編集したマルチメディアデータを再生させることができる。   In the first to third embodiments and the second embodiment, the template provided from the server 2 is processed by the mobile phone 1 or the television 6 whose specific example is shown in FIG. However, the processing device for processing the template is not limited to a device such as the mobile phone 1 in which functions are integrally configured. That is, each function constituting the mobile phone 1 and the television 6 includes an acquisition device that acquires a template such as a receiver, a media data input device such as a camera that acquires an image, and a media data output device such as a television receiver. Each may be an independent device. Even in such a case, data and control signals are exchanged by performing communication via a dedicated line or wireless communication with each other, and the above-described script reproduction and editing processing is executed in the data processing device, and the acquisition device It is possible to edit the multimedia content using the media data or the like input by the media input device by processing the script acquired in step (b). Then, the template acquired by the media data output device or multimedia data obtained by editing the template can be reproduced.

さらに、このようなスクリプトを実行するスクリプト実行方法を、プログラムとして提供することもできる。このようなプログラムは、コンピュータに付属するフレキシブルディスク、CD−ROM(Compact Disk-Read Only Memory)、ROM(Read Only Memory)、RAM(Random Access Memory)およびメモリカードなどのコンピュータ読取り可能な記録媒体にて記録させて、プログラム製品として提供することもできる。あるいは、コンピュータに内蔵するハードディスクなどの記録媒体にて記録させて、プログラムを提供することもできる。また、ネットワークを介したダウンロードによって、プログラムを提供することもできる。   Furthermore, a script execution method for executing such a script can be provided as a program. Such a program is stored in a computer-readable recording medium such as a flexible disk attached to the computer, a CD-ROM (Compact Disk-Read Only Memory), a ROM (Read Only Memory), a RAM (Random Access Memory), and a memory card. And can be provided as a program product. Alternatively, the program can be provided by being recorded on a recording medium such as a hard disk built in the computer. A program can also be provided by downloading via a network.

提供されるプログラム製品は、ハードディスクなどのプログラム格納部にインストールされて実行される。なお、プログラム製品は、プログラム自体と、プログラムが記録された記録媒体とを含む。   The provided program product is installed in a program storage unit such as a hard disk and executed. The program product includes the program itself and a recording medium on which the program is recorded.

今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined by the terms of the claims, rather than the description above, and is intended to include any modifications within the scope and meaning equivalent to the terms of the claims.

本実施の形態におけるデータ通信システムの構成を示す図である。It is a figure which shows the structure of the data communication system in this Embodiment. データ通信システムに含まれる再生・編集装置である携帯電話1のハードウェア構成の具体例を示すブロック図である。It is a block diagram which shows the specific example of the hardware constitutions of the mobile telephone 1 which is a reproduction | regeneration / editing apparatus contained in a data communication system. 携帯電話1の記憶部130に記憶されるプログラムと、携帯電話1におけるデータ処理の流れとを示す図である。FIG. 4 is a diagram showing a program stored in a storage unit 130 of the mobile phone 1 and a data processing flow in the mobile phone 1. 再生・編集エンジンプログラム131の機能構成を示すブロック図である。3 is a block diagram showing a functional configuration of a playback / editing engine program 131. FIG. スクリプトのデータ構造を模式的に示した図である。It is the figure which showed the data structure of the script typically. スクリプトの具体例を示す図である。It is a figure which shows the specific example of a script. スクリプトの具体例を示す図である。It is a figure which shows the specific example of a script. 起動アプリケーションとそのときに表示させるUIとの対応を規定するテーブルの具体例を示す図である。It is a figure which shows the specific example of the table which prescribes | regulates correspondence with a starting application and UI displayed at that time. 携帯電話1における、スクリプトの再生および編集処理を示すフローチャートである。4 is a flowchart showing script playback and editing processing in the mobile phone 1; メディアデータ描画処理のタイムテーブルの具体例を示す図である。It is a figure which shows the specific example of the time table of a media data drawing process. イベント処理タイムテーブルの具体例を示す図である。It is a figure which shows the specific example of an event processing time table. UI割当状況表示タイムテーブルの具体例を示す図である。It is a figure which shows the specific example of UI allocation status display time table. ステップS18で実行されるイベントに応じた処理を示すフローチャートである。It is a flowchart which shows the process according to the event performed by step S18. ステップS24における処理内容の決定処理を示すフローチャートである。It is a flowchart which shows the determination process of the processing content in step S24. ステップS25におけるメニュー処理を示すフローチャートである。It is a flowchart which shows the menu process in step S25. メニュー画面の具体例を示す図である。It is a figure which shows the specific example of a menu screen. ステップS27におけるリンク移動処理を示すフローチャートである。It is a flowchart which shows the link movement process in step S27. ステップS26におけるアプリケーション実行処理を示すフローチャートである。It is a flowchart which shows the application execution process in step S26. 図7に示されるスクリプトの第20行を実行時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of performing the 20th line of the script shown by FIG. 図7に示されるスクリプトの第23行を実行時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of performing the 23rd line of the script shown by FIG. スクリプト実行時の表示画面の遷移の具体例を示す図である。It is a figure which shows the specific example of the transition of the display screen at the time of script execution. スクリプト実行時の表示画面の遷移の具体例を示す図である。It is a figure which shows the specific example of the transition of the display screen at the time of script execution. 携帯電話1における、スクリプトのプレビュー処理を示すフローチャートである。6 is a flowchart showing script preview processing in the mobile phone 1; ステップS62におけるアプリケーション起動処理を示すフローチャートである。It is a flowchart which shows the application starting process in step S62. ステップS64におけるデータ取得処理を示すフローチャートである。It is a flowchart which shows the data acquisition process in step S64. ステップS66におけるスクリプト書換処理を示すフローチャートである。It is a flowchart which shows the script rewriting process in step S66. ステップS33におけるイベントタイムテーブル参照処理を示すフローチャートである。It is a flowchart which shows the event time table reference process in step S33. 論理シンボルとハードウェアキーとの対応を規定するテーブルの具体例を示す図である。It is a figure which shows the specific example of the table which prescribes | regulates a correspondence with a logic symbol and a hardware key. スクリプトの具体例を示す図である。It is a figure which shows the specific example of a script. スクリプトの具体例を示す図である。It is a figure which shows the specific example of a script. 図30に示されるスクリプトの第19行を実行時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of performing the 19th line of the script shown by FIG. 図30に示されるスクリプトの第21行を実行時の処理を示すフローチャートである。It is a flowchart which shows the process at the time of performing the 21st line of the script shown by FIG. スクリプト実行時の表示画面の遷移の具体例を示す図である。It is a figure which shows the specific example of the transition of the display screen at the time of script execution. 携帯電話1における、スクリプトのメール添付処理を示すフローチャートである。4 is a flowchart showing script mail attachment processing in the mobile phone 1; 携帯電話1における、スクリプトのスライド削除処理を示すフローチャートである。6 is a flowchart showing a script slide deletion process in the mobile phone 1; スライド削除処理時のメニュー画面の具体例を示す図である。It is a figure which shows the specific example of the menu screen at the time of a slide deletion process. 携帯電話1における、スクリプトのスライド書換禁止処理を示すフローチャートである。6 is a flowchart showing a script slide rewrite prohibition process in the mobile phone 1; ステップS96におけるイベント処理を示すフローチャートである。It is a flowchart which shows the event process in step S96. プレビュー処理時のメニュー画面の具体例を示す図である。It is a figure which shows the specific example of the menu screen at the time of a preview process. プレビュー処理時の画面遷移の具体例を示す図である。It is a figure which shows the specific example of the screen transition at the time of a preview process. テンプレート書換前の表示画面と、テンプレートの書換後の画面遷移との具体例を示す図である。It is a figure which shows the specific example of the display screen before template rewriting, and the screen transition after template rewriting. 第2の実施例の形態における再生・編集エンジンプログラム131の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the reproduction | regeneration / editing engine program 131 in the form of a 2nd Example. 再生・編集エンジンプログラムにおける処理を示すフローチャートである。It is a flowchart which shows the process in a reproduction | regeneration / editing engine program. ステップS1201におけるデータ出力処理を示すフローチャートである。It is a flowchart which shows the data output process in step S1201. カメラ起動アプリケーションによる書換の画面遷移の具体例を示す図である。It is a figure which shows the specific example of the screen transition of rewriting by a camera starting application. ステップS1101における再生・編集処理を示すフローチャートである。It is a flowchart which shows the reproduction | regeneration and edit process in step S1101. スクリプトの具体例を示す図である。It is a figure which shows the specific example of a script. 第2の実施例の形態の変形例における再生・編集エンジンプログラム131の機能構成を示すブロック図である。It is a block diagram which shows the function structure of the reproduction | regeneration / editing engine program 131 in the modification of the form of a 2nd Example. 端末に応じて同じスクリプトであっても選択される機能が異なることを模式的に示す図である。It is a figure which shows typically that the function selected even if it is the same script according to a terminal differs. 作成側の端末で使用されるスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script used with the terminal by the side of preparation. シーンごとのサムネイル表示の具体例を示す図である。It is a figure which shows the specific example of the thumbnail display for every scene. インラインカメラアプリケーションおよびインラインテキスト入力アプリケーションによる書換の画面遷移の具体例を示す図である。It is a figure which shows the specific example of the screen transition of rewriting by an inline camera application and an inline text input application. ファイル取得アプリケーションによる書換の画面遷移の具体例を示す図である。It is a figure which shows the specific example of the screen transition of rewriting by a file acquisition application. 複数の処理の中から今から開始する処理の選択を受付けるための選択用の画面の具体例を示す図である。It is a figure which shows the specific example of the screen for selection for receiving selection of the process started from now among several processes. 送信したメッセージと、メッセージを作成するのに使用したテンプレートとの対応を保持するテーブルの具体例を示す図である。It is a figure which shows the specific example of the table which hold | maintains a response | compatibility with the transmitted message and the template used for creating a message. スクリプトの参照情報で参照されるメディアデータと取得データとをイベントの時間パラメータ値の時点で合成する例を示す図である。It is a figure which shows the example which synthesize | combines the media data and acquisition data which are referred with the reference information of a script at the time of the time parameter value of an event. 取得データをイベントの時間パラメータ値の時点に書込む例を示す図である。It is a figure which shows the example which writes acquisition data at the time of the time parameter value of an event. 切替えテーブルの具体例を示す図である。It is a figure which shows the specific example of a switching table. ステップS1110での判定処理を示すフローチャートである。It is a flowchart which shows the determination process in step S1110. 携帯電話1に格納されるデータ取得プログラムと携帯電話1がサポートするメディアタイプとの対応を記録するテーブルの具体例を示す図である。It is a figure which shows the specific example of the table which records a response | compatibility with the data acquisition program stored in the mobile telephone 1, and the media type which the mobile telephone 1 supports. 作成側の端末で使用されるスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script used with the terminal by the side of preparation. ステップS1201でのデータ出力処理を示すフローチャートである。It is a flowchart which shows the data output process in step S1201. アクション管理テーブルの具体例を示す図である。It is a figure which shows the specific example of an action management table. シーンイベントテーブルの具体例を示す図である。It is a figure which shows the specific example of a scene event table. ステップS1205での変更処理を示すフローチャートである。It is a flowchart which shows the change process in step S1205. ステップS102での画像撮影アプリケーション起動処理を示すフローチャートである。It is a flowchart which shows the image pick-up application starting process in step S102. スクリプト再生の再開時点を決定する処理を示すフローチャートである。It is a flowchart which shows the process which determines the restart time of script reproduction | regeneration. スライド編集が許可されるか禁止されるかを記述したスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script which described whether slide edit was permitted or prohibited. ステップS42でスライドの編集を実行する許可を判定する処理を示すフローチャートである。It is a flowchart which shows the process which determines permission to perform edit of a slide by step S42. スクリプトを描画情報記述部とユーザナビゲート記述部とに分割して構成する場合の、描画情報記述部を含むスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script containing a drawing information description part in the case of dividing | segmenting and comprising a script into a drawing information description part and a user navigation description part. スクリプトを描画情報記述部とユーザナビゲート記述部とに分割して構成する場合の、ユーザナビゲート記述部を含むスクリプトの具体例を示す図である。It is a figure which shows the specific example of a script containing a user navigation description part in the case of dividing | segmenting and comprising a script into a drawing information description part and a user navigation description part. スクリプトを実行した際の画面遷移の具体例を示す図である。It is a figure which shows the specific example of the screen transition at the time of executing a script. 2つのスクリプトを関係付ける記述を含むスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script containing the description which relates two scripts. 第3の実施の形態におけるマルチメディアデータ処理装置であるテレビを含んで構成されるデータ通信システムの構成を示す図である。It is a figure which shows the structure of the data communication system comprised including the television which is the multimedia data processing apparatus in 3rd Embodiment. 第3の実施の形態における、描画情報を記述する描画情報記述部を含むスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script containing the drawing information description part which describes drawing information in 3rd Embodiment. 第3の実施の形態における、時間帯に応じた番組情報を記述する番組表情報記述部を含むスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script containing the program schedule information description part which describes the program information according to a time slot | zone in 3rd Embodiment. 2つのスクリプトを関係付ける記述を含むスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script containing the description which relates two scripts. 受信・再生すべきコンテンツの決定処理の流れを示すフローチャートである。It is a flowchart which shows the flow of the determination process of the content which should be received and reproduced | regenerated. スクリプトがSMILで記述されたものである場合の再生および編集処理の流れを示すフローチャートである。It is a flowchart which shows the flow of a reproduction | regeneration and edit process in case a script is described by SMIL. スクリプトの解析結果を格納するデータ構造の具体例を示す図である。It is a figure which shows the specific example of the data structure which stores the analysis result of a script. スクリプトの解析結果の具体例を示す図である。It is a figure which shows the specific example of the analysis result of a script. 更新されたスクリプトの解析結果の具体例を示す図である。It is a figure which shows the specific example of the analysis result of the updated script. メディアデータを追加する書換処理を施したスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script which performed the rewriting process which adds media data. メディアデータを追加する書換処理を施した後に、さらに編集機能を削除したスクリプトの具体例を示す図である。It is a figure which shows the specific example of the script which deleted the edit function after performing the rewriting process which adds media data. スクリプト実行時の表示画面の遷移の具体例を示す図である。It is a figure which shows the specific example of the transition of the display screen at the time of script execution.

符号の説明Explanation of symbols

1 携帯電話、2 ナビゲーションフレーム提供サーバ、3 EPGサーバ、4 WWWサーバ、5 放送局、6 テレビ、110 通信部、120 制御部、130 記憶部、131 再生・編集エンジンプログラム、132 UI内容表示プログラム、133 画像撮影プログラム、134 画像データ表示再生プログラム、135 音データ再生プログラム、136 音声データ録音プログラム、137 アニメデータ表示再生プログラム、138 テキストデータ表示再生プログラム、139 テキスト編集プログラム、140 入出力部、142 キーコード入力デバイス、144 ディスプレイ、146 マイクロフォン、148 スピーカ、149 カメラ、150 GPS、151 WWWブラウザプログラム、152 メールプログラム、153 通話プログラム、154 位置取得プログラム、155 アドレス帳プログラム、156 ファイル取得プログラム、1000 テンプレート記憶部、1001 選択部、1002 スクリプト・データ一時記憶部、1003 スクリプト実行部、1004 ユーザ変更データ判定、1005,1012 端末機能選択部、1006 端末機能実行部、1007 データ変更部、1008 スクリプト・データ変更確定部、1009 スクリプト・データ出力部、1010 出力スクリプト・データ記憶部、1011 データ埋込部、1013 アクション決定部、1014 アクション実行部、1015 受信部、1311 スクリプト読込部、1312 構文解析部、1313 実行制御部、1314 時間管理部、1315 イベント管理部、1316 スクリプト書出部、7401 メイン領域、7402,7403 サブ領域。   1 mobile phone, 2 navigation frame providing server, 3 EPG server, 4 WWW server, 5 broadcast station, 6 TV, 110 communication unit, 120 control unit, 130 storage unit, 131 playback / editing engine program, 132 UI content display program, 133 Image shooting program, 134 Image data display reproduction program, 135 sound data reproduction program, 136 voice data recording program, 137 animation data display reproduction program, 138 text data display reproduction program, 139 text editing program, 140 input / output unit, 142 key Code input device, 144 display, 146 microphone, 148 speaker, 149 camera, 150 GPS, 151 WWW browser program, 152 mail program, 1 3 Call program, 154 Location acquisition program, 155 Address book program, 156 File acquisition program, 1000 Template storage unit, 1001 selection unit, 1002 Script data temporary storage unit, 1003 Script execution unit, 1004 User change data determination, 1005, 1012 Terminal function selection unit, 1006 terminal function execution unit, 1007 data change unit, 1008 script / data change confirmation unit, 1009 script / data output unit, 1010 output script / data storage unit, 1011 data embedding unit, 1013 action determination unit, 1014 Action execution unit, 1015 reception unit, 1311 script reading unit, 1312 syntax analysis unit, 1313 execution control unit, 1314 time management unit, 1315 event management unit, 1 16 script written out section, 7401 the main area, 7402,7403 sub-region.

Claims (25)

当該マルチメディアデータ処理装置内部の記憶装置、またはネットワークを介して他の装置より、スクリプトを含むテンプレートを取得するテンプレート取得手段と、
前記取得されたテンプレートから所望のテンプレートを選択する選択手段と、
前記選択されたテンプレートに含まれる前記スクリプトにしたがって、前記スクリプトから参照されるデータを再生するスクリプト実行手段と、
前記テンプレートに含まれるスクリプトにしたがって、当該マルチメディアデータ処理装置の機能を選択する機能選択手段と、
前記テンプレートに含まれるスクリプトにしたがって、前記選択された機能を用いて、前記スクリプトから参照されるデータに対してどのような処理を行なうかを決定するアクション決定手段と、
前記決定された処理を実行するアクション実行手段と、
前記スクリプトから参照されるデータを変更するデータ変更手段と、
前記データの変更を確定するデータ変更確定手段と、
前記スクリプトと前記変更されたデータとの少なくとも一方を出力するスクリプト・データ出力手段とを備え
前記アクション実行手段は、前記選択された機能を用いてデータを取得し、前記選択された機能の仕様と状態と前記テンプレートと前記選択された機能を用いて取得されたデータとのいずれかを含む環境情報に応じて、前記取得されたデータの使用の要否を判定する、マルチメディアデータ処理装置。
A template acquisition means for acquiring a template including a script from a storage device inside the multimedia data processing device or another device via a network;
Selecting means for selecting a desired template from the obtained templates;
In accordance with the script included in the selected template, and the script execution means for reproducing data referenced from the script,
Function selecting means for selecting the function of the multimedia data processing device according to the script included in the template;
Action determining means for determining what processing is to be performed on data referenced from the script using the selected function according to the script included in the template;
Action execution means for executing the determined process;
Data changing means for changing data referenced from the script;
Data change confirmation means for confirming the change of the data;
Script data output means for outputting at least one of the script and the changed data ;
The action execution means acquires data using the selected function, and includes any of the specification and state of the selected function, the template, and data acquired using the selected function. depending on the environment information, it determines the necessity of the use of the acquired data, the multimedia data processing device.
前記テンプレートには、前記スクリプトから参照されるデータに対して実行するアクシThe template includes an action to be performed on data referenced from the script.
ョンを決定する時間制約が記載されており、前記アクション実行手段は、前記時間制約にしたがって前記決定された処理を行なう、請求項1に記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, wherein a time constraint for determining an action is described, and the action execution unit performs the determined process according to the time constraint.
前記アクション決定手段は、前記選択された機能を用いて、ネットワークを介してデータを取得し、前記取得したデータを用いて前記スクリプトから参照されるデータに対してどのような処理を行なうかを決定する、請求項1に記載のマルチメディアデータ処理装置。The action determination means acquires data via the network using the selected function, and determines what processing is to be performed on the data referenced from the script using the acquired data. The multimedia data processing apparatus according to claim 1. 前記アクション実行手段において実行する前記決定された処理は、所定のWEBページにアクセスする処理である、請求項1に記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, wherein the determined process executed by the action execution unit is a process of accessing a predetermined WEB page. 前記アクション実行手段において実行する前記決定された処理は、所定の電話番号へ発呼する処理である、請求項1に記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, wherein the determined process executed by the action execution unit is a process of calling a predetermined telephone number. 前記アクション実行手段は、前記選択された機能を用いてデータを取得して、前記選択された機能の仕様と状態と前記テンプレートと前記選択された機能を用いて取得されたデータとのいずれかを含む環境情報に応じて、前記取得されたデータに変換処理を行なうことを特徴とし、The action execution means acquires data using the selected function, and selects any one of the specification and state of the selected function, the template, and the data acquired using the selected function. According to the environment information including, characterized by performing a conversion process on the acquired data,
前記環境情報に応じた変換処理は、前記取得されたデータを所定の代替データに変更する処理である、請求項1に記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, wherein the conversion process according to the environment information is a process of changing the acquired data to predetermined alternative data.
前記アクション実行手段は、前記決定された処理を実行する直前に、ユーザインタフェースを介して、前記処理を行なうことを通知した後に前記処理を行なうことと、前記処理を行なうことに対する確認を受付けることと、前記処理を行なうか否かの選択を受付けることとのいずれか1つを実行する、請求項1に記載のマルチメディアデータ処理装置。The action execution means performs the processing after notifying the execution of the processing via a user interface immediately before executing the determined processing, and accepts confirmation for the processing. The multimedia data processing apparatus according to claim 1, wherein one of selection of whether to perform the process is accepted. 前記テンプレートにはメディアデータ再生状態の遷移情報が記載されており、前記スクリプト実行手段は、前記メディアデータ再生状態の遷移を管理する、請求項1〜7のいずれかに記載のマルチメディアデータ処理装置。8. The multimedia data processing apparatus according to claim 1, wherein transition information of media data playback state is described in the template, and the script execution unit manages transition of the media data playback state. . 前記スクリプト実行手段は、前記テンプレートに記載された前記メディアデータ再生状態の遷移情報にしたがって、前記メディアデータ再生状態の遷移を、前記アクション決定手段が前記選択された機能を用いてイベントを取得したときに行なう、請求項8に記載のマルチメディアデータ処理装置。The script execution means acquires the transition of the media data reproduction state according to the transition information of the media data reproduction state described in the template, and the action determination means acquires an event using the selected function. 9. The multimedia data processing apparatus according to claim 8, wherein 前記テンプレートにはメディアデータ再生状態の遷移情報が時間制約と共に記載されており、前記スクリプト実行手段は、前記メディアデータ再生状態の遷移を時間的に管理する、請求項1〜9のいずれかに記載のマルチメディアデータ処理装置。The media data reproduction state transition information is described in the template together with a time constraint, and the script execution unit manages the transition of the media data reproduction state in time. Multimedia data processing device. 前記テンプレートにはメディアデータ再生状態の遷移情報が記載されており、Transition information of media data playback state is described in the template,
前記テンプレートに含まれるメディアデータのサムネイルを生成するサムネイル生成手段と、Thumbnail generation means for generating thumbnails of media data included in the template;
前記生成したサムネイルを、前記遷移情報に基づいて表示するプレビュー手段とをさらに備える、請求項1〜10のいずれかに記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, further comprising a preview unit that displays the generated thumbnail based on the transition information.
前記スクリプトにしたがって、前記データの変更を制限する制限手段をさらに備える、請求項1〜11のいずれかに記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, further comprising a restriction unit that restricts the change of the data according to the script. 前記スクリプトに記述されたシーケンスを管理するシーケンス管理手段と、Sequence management means for managing a sequence described in the script;
前記シーケンスに対応して変更可能なデータを示す変更可能データ提示手段とをさらに備える、請求項1〜12のいずれかに記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to claim 1, further comprising changeable data presenting means that indicates data that can be changed in correspondence with the sequence.
前記スクリプト実行手段は、前記スクリプトから参照されるデータのうち、実行あるいは停止を行なうことのできる箇所を判断し選択するメディア上時刻選択手段をさらに備え、The script execution means further comprises time selection means on the medium for determining and selecting a place where execution or stop can be performed among data referenced from the script,
前記スクリプト実行手段は、前記データのうちの前記選択された箇所を実行する際、前記箇所で一時停止する、請求項1〜13のいずれかに記載のマルチメディアデータ処理装置。The multimedia data processing apparatus according to any one of claims 1 to 13, wherein the script execution unit pauses at the location when the selected location of the data is executed.
前記データ変更の操作を行なった場合に、前記データのうちの変更された区間の先頭箇所または終了箇所を前記データの所定箇所に加える、請求項1〜14のいずれかに記載のマルチメディアデータ処理装置。The multimedia data processing according to any one of claims 1 to 14, wherein when the data change operation is performed, a start position or an end position of the changed section of the data is added to a predetermined position of the data. apparatus. スクリプトを含んで構成されるテンプレートの処理をコンピュータに実行させるプログラムであって、A program for causing a computer to execute a template process including a script,
マルチメディアデータ処理装置内部の記憶装置、またはネットワークを介して他の装置より、前記テンプレートを取得するテンプレート取得ステップと、A template acquisition step of acquiring the template from a storage device inside the multimedia data processing device or another device via a network;
前記取得されたテンプレートから所望のテンプレートを選択する選択ステップと、A selection step of selecting a desired template from the acquired templates;
前記選択されたテンプレートに含まれる前記スクリプトにしたがって、前記スクリプトから参照されるデータを再生するスクリプト実行ステップと、A script execution step of reproducing data referenced from the script according to the script included in the selected template;
前記テンプレートに含まれるスクリプトにしたがって、マルチメディアデータ処理装置の機能を選択する端末機能選択ステップと、A terminal function selection step of selecting a function of the multimedia data processing device according to the script included in the template;
前記選択された機能を用いて、前記スクリプトから参照されるデータに対してどのような処理を行なうかを決定するアクション決定ステップと、An action determining step for determining what processing is to be performed on the data referred to by the script using the selected function;
前記決定された処理を実行するアクション実行ステップと、An action execution step for executing the determined process;
前記スクリプトから参照されるデータを変更するデータ変更ステップと、A data change step for changing data referenced from the script;
前記データの変更を確定するデータ変更確定ステップと、A data change confirmation step for confirming the change of the data;
前記スクリプトと前記変更されたデータとの少なくとも一方を出力するスクリプト・データ出力ステップとを実行させ、Executing a script data output step for outputting at least one of the script and the changed data;
前記テンプレートには、前記スクリプトから参照されるデータに対して実行するアクションを決定する時間制約が記載されており、The template describes a time constraint for determining an action to be performed on data referenced from the script,
前記アクション実行ステップは、前記時間制約にしたがって前記決定された処理を行なう、マルチメディアデータ処理プログラム。The multimedia data processing program, wherein the action execution step performs the determined process according to the time constraint.
前記テンプレートにはメディアデータ再生状態の遷移情報が記載されており、前記スクリプト実行ステップは、前記メディアデータ再生状態の遷移を管理する、請求項16に記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to claim 16, wherein transition information of a media data playback state is described in the template, and the script execution step manages transition of the media data playback state. 前記テンプレートにはメディアデータ再生状態の遷移情報が時間制約と共に記載されており、前記スクリプト実行ステップは、前記メディアデータ再生状態の遷移を時間的に管理する、請求項16または17に記載のマルチメディアデータ処理プログラム。The multimedia according to claim 16 or 17, wherein transition information of a media data reproduction state is described in the template together with a time constraint, and the script execution step temporally manages the transition of the media data reproduction state. Data processing program. 前記テンプレートにはメディアデータ再生状態の遷移情報が記載されており、Transition information of media data playback state is described in the template,
前記テンプレートに含まれるメディアデータのサムネイルを生成するサムネイル生成ステップと、A thumbnail generation step of generating thumbnails of media data included in the template;
前記生成したサムネイルを、前記遷移情報に基づいて表示するプレビューステップとをさらに実行させる、請求項16〜18のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to claim 16, further causing a preview step of displaying the generated thumbnail based on the transition information.
前記スクリプトを含むテンプレートを取得するテンプレート取得ステップと、A template acquisition step of acquiring a template including the script;
前記取得されたテンプレートから所望のテンプレートを選択する選択ステップとをさらに実行させる、請求項16〜19のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to claim 16, further causing a selection step of selecting a desired template from the acquired templates.
前記スクリプトにしたがって、前記データの変更を制限する制限ステップをさらに実行させる、請求項16〜20のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to any one of claims 16 to 20, further comprising a restriction step of restricting the change of the data according to the script. 前記スクリプトに記述されたシーケンスを管理するシーケンス管理ステップと、A sequence management step for managing a sequence described in the script;
前記シーケンスに対応して変更可能なデータを提示する変更可能データ提示ステップとをさらに実行させる、請求項16〜21のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to any one of claims 16 to 21, further comprising a changeable data presentation step of presenting changeable data corresponding to the sequence.
前記スクリプトに記述されたシーケンスを管理するシーケンス管理ステップと、A sequence management step for managing a sequence described in the script;
前記シーケンスに対応してデータ変更を行なうための操作ガイドを提示する操作ガイド提示ステップとをさらに実行させる、請求項16〜22のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to any one of claims 16 to 22, further comprising an operation guide presenting step of presenting an operation guide for performing data change corresponding to the sequence.
前記スクリプト実行ステップは、前記スクリプトから参照されるデータのうち、実行あるいは停止を行なうことのできる箇所を判断し選択するメディア上時刻選択ステップをさらに実行し、The script execution step further executes a time selection step on the media for selecting and selecting a portion that can be executed or stopped from the data referred to by the script,
前記スクリプト実行ステップは、前記データのうちの前記選択された箇所を実行する際、前記箇所で一時停止する、請求項16〜23のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing program according to any one of claims 16 to 23, wherein the script execution step pauses at the location when the selected location of the data is executed.
前記データ変更の操作を行なった場合に、前記データのうちの変更された区間の先頭箇所または終了箇所を前記データの所定箇所に加える、請求項16〜24のいずれかに記載のマルチメディアデータ処理プログラム。The multimedia data processing according to any one of claims 16 to 24, wherein, when the data change operation is performed, a start position or an end position of the changed section of the data is added to a predetermined position of the data. program.
JP2007093575A 2002-12-12 2007-03-30 Multimedia data processing apparatus and multimedia data processing program Expired - Lifetime JP4369494B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007093575A JP4369494B2 (en) 2002-12-12 2007-03-30 Multimedia data processing apparatus and multimedia data processing program

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2002360716 2002-12-12
JP2003122447 2003-04-25
JP2007093575A JP4369494B2 (en) 2002-12-12 2007-03-30 Multimedia data processing apparatus and multimedia data processing program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2003403118A Division JP3987025B2 (en) 2002-12-12 2003-12-02 Multimedia data processing apparatus and multimedia data processing program

Publications (2)

Publication Number Publication Date
JP2007295552A JP2007295552A (en) 2007-11-08
JP4369494B2 true JP4369494B2 (en) 2009-11-18

Family

ID=38765669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007093575A Expired - Lifetime JP4369494B2 (en) 2002-12-12 2007-03-30 Multimedia data processing apparatus and multimedia data processing program

Country Status (1)

Country Link
JP (1) JP4369494B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8078693B2 (en) * 2008-04-14 2011-12-13 Microsoft Corporation Inserting a multimedia file through a web-based desktop productivity application
JP2010157867A (en) * 2008-12-26 2010-07-15 Visionere Corp Dynamic image reproduction code generation device, dynamic image distribution system, execution format program, recording medium containing the program, server, and dynamic image reproduction code generation method
CN103460707B (en) * 2012-02-09 2017-05-17 松下知识产权经营株式会社 Multimedia content editing server, multimedia content editing method and integrated circuit
WO2017056955A1 (en) * 2015-09-29 2017-04-06 シャープ株式会社 Receiving device, control method and program
JP6157014B2 (en) * 2015-09-29 2017-07-05 シャープ株式会社 Receiving device, control method, and program

Also Published As

Publication number Publication date
JP2007295552A (en) 2007-11-08

Similar Documents

Publication Publication Date Title
JP3987025B2 (en) Multimedia data processing apparatus and multimedia data processing program
US9798442B2 (en) Information processing apparatus display control method and program
JP4684626B2 (en) Information display device, information display method, information display program, and recording medium
JP2006523418A (en) Interactive content synchronization apparatus and method
EP2191472B1 (en) Method for editing playlist and multimedia reproducing apparatus employing the same
JP2005117659A (en) Storage medium to record search information, and its reproduction apparatus and method
JP4369494B2 (en) Multimedia data processing apparatus and multimedia data processing program
JP4369434B2 (en) Multimedia data processing apparatus, multimedia data processing program, and data structure of multimedia content data
JP4954247B2 (en) Multimedia data processing apparatus and data structure of multimedia content data
JP2004007407A (en) Template file editing apparatus and editor program
JP3987096B2 (en) Multimedia data processing apparatus and multimedia data processing program
KR100677132B1 (en) Storage medium recording multimedia data for reproduction of audio-visual data and programming function, and reproducing apparatus and method thereof
US20080218632A1 (en) Method and apparatus for modifying text-based subtitles
JP2004357293A (en) Process of navigation for selection of documents associated with identifiers, and apparatus for implementing the process
JP2006114208A (en) Recording medium recording multimedia data for providing moving image reproduction function and programming function, and apparatus and method for reproducing moving image
CN1809148B (en) Multi-medium data processing device capable of easily creating multi-medium content
JP2007295316A (en) Record reproducer
KR20050051470A (en) Multimedia message editing and viewing method
KR20090015744A (en) Method and apparatus for generating media-changable multimedia data, and method and apparatus for reconstructing media-changable multimedia data
KR101483995B1 (en) A electronic album and a method reproducing the electronic album
CN1864216B (en) Recording medium, method and apparatus of controlling data reproducing from recording medium
JP2006164509A (en) Information recording medium on which a plurality of titles to be reproduced by animation are recorded, and its play back device and method
JP2009004034A (en) Information storage medium and information reproducing method
JP2006209782A (en) Data processor

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090526

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090715

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090827

R150 Certificate of patent or registration of utility model

Ref document number: 4369494

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130904

Year of fee payment: 4

SG99 Written request for registration of restore

Free format text: JAPANESE INTERMEDIATE CODE: R316G99

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

EXPY Cancellation because of completion of term