This application is based upon and claims the benefit of priority from Japanese Patent Application No. 2008-270928, filed Oct. 21, 2008, the entire contents of which are incorporated herein by reference.
1. Field
The present invention relates to a terminal apparatus in which the data amount of an attachment file of an e-mail is limited and a method for transmitting data thereof.
2. Description of the Related Art
Among examples in which the data amount of a moving image file is limited is a moving image extraction apparatus capable of limiting the data amount in uploading a moving image over the Internet (refer to JP-A-2005-108193 (pages 1-6, FIGS. 1-5), for example). In this moving image extraction apparatus, limit capacity value is acquired from a server on the Internet and a section, corresponding to the limit capacity value, of a moving image file is displayed on the screen. The user shifts the section arbitrarily and thereby specifies a desired section, and the apparatus generates a new moving image file of the specified section and uploads it.
Although the moving image extraction apparatus of JP-A-2005-108193 can generates a new moving image file of one arbitrarily extracted section corresponding to a limit, capacity from a moving image file, it cannot collect sections that are separated from each other. In general, favorite scenes of the user or scenes that user wants others to see do not necessarily continue and are in many cases separated from each other. Furthermore, the capacity limitation is imposed by a server when a file is uploaded over the Internet.
Incidentally, as for mail communication from a terminal apparatus, there are capacity limitation due to a limit capacity of a transmission source contract communication company, capacity limitation due to a limit capacity of destination person contract communication company, and other kinds of capacity limitation. It is difficult for the user to recognize those kinds of limitation and send a mail that satisfies a resulting limit capacity.
According to an aspect of the present invention, there is provided a terminal apparatus including: a limiting module that determines a limiting data size that is receivable data size by a destination terminal of a mail from the terminal apparatus; a editing module that generates a plurality of scenes from an original file to be send when data size of the mail including the original file is larger than the limiting data size; and a sending module that combines the generated scenes so that the data size does not exceed the limiting data size and sends the mail including the combined scene.
The control section 10, which is composed of a CPU, a ROM, a RAM, etc. (not shown), performs a mail control function 11, a moving image file edit function 21, etc. according to software stored in the ROM. The mail control function 11 has and performs a mail generating function 12, a limit capacity determining function 13, and a mail sending function 14. The control section 10 has, as storage means, a company limit capacity storage unit 15, a moving image file storage unit and an edit information storage unit 23.
Next, the individual constituent elements will be described. The antenna 1 is a wireless communication antenna. The wireless communication section 2 performs frequency conversion, modulation/demodulation, etc. on a radio signal and also performs communication (transmission/reception) processing on mail data etc. The display unit 3 is an LCD, for example. The display control section 4, which is a display controller for the display unit 3, controls display data according to the form of the display unit 3 and sends resulting data to the display unit 3. The key manipulation unit 5 includes user manipulation keys.
Constituent elements relating to a mail control function of the invention are the mail control function 11 and the company limit capacity storage unit 15. The mail generating function 12 of the mail control function 11 processes user interfaces for specification of a mail destination, mail generation, designation of an attachment file, etc. The limit capacity determining function 13 determines a limit capacity of a current mail transmission by recognizing a limit capacity corresponding to a specified destination, a limit capacity corresponding to the transmission source terminal (self terminal), a limit capacity set by the user, etc.
The mail sending function 14 activates the moving image file edit function 21 and has it cut out individual scenes if the data amount of an attachment file exceeds the determined limit capacity. The mail sending function 14 sends a mail by attaching, to it, a resulting edited moving image file that consists of cut-out scenes and satisfies the limit capacity.
The company limit, capacity storage unit 15 is stored in advance with mail limit capacities of respective communication companies. That portion of mail address information which follows the mark “@” represents the name of a communication company. A communication company to which a terminal apparatus concerned is under contract can thus be known. For example, in the case of mail address information “xxx@ooo.ne.jp, ” a communication company can be identified from “ooo.”
Constituent elements relating to a moving image tile edit function of the invention are the moving image file edit function 21, the moving image file storage unit 22, the edit information storage unit 23, etc.
The moving image file edit function 21 provides a user interface through which one or plural scenes to be left preferentially are specified and priority ranks of those scenes are registered when a small moving image file is edited from one original moving image file stored in the moving image file storage unit 22 according to user manipulations while the original moving image file is reproduced and displayed.
When this moving image file is reproduced and display the user can see a displayed moving image that corresponds to the data field mdat. By making user edit manipulations, the user cuts out one or plural scenes to be left by specifying an arbitrary start point(s) and end point(s) and gives priority ranks to the respective scenes without duplication.
If the data amount of an attachment file specified by the user in sending a mail exceeds a limit capacity, one of plural edited moving image files each of which contains one or plural scenes selected according to priority order starting from a scene having the first priority rank is employed as an attachment file to be sent. Therefore, it is not necessary to generate substance data of all of the plural edited moving image files in advance; it is sufficient to generate substance data of an optimum edited moving image file that satisfies the limit capacity in sending a mail actually and to send it as an attachment file. Naturally, substance data of all of the plural edited moving image files may be generated in advance and stored in a memory.
Next, the moving image file edit function 21 will be described in detail.
Another application function activates the moving image file edit function 21 after specifying a subject moving image file for the moving image file edit function 21.
The moving image file edit function 21 operates in response to user manipulations and hence takes edit work time. First, at step S11, reproduction and display of one original moving image file in the moving image file storage unit 22 that has been specified by the mail control function 11 is started. Looking at the displayed moving image, the user specifies start points and end points of scenes he or she wants to leave and gives priority ranks to the respective scenes by making key manipulations.
In response to the key manipulations by the user, the moving image file edit function 21 extracts corresponding positions in the original moving image file of each scene at step S12 and recognizes the priority ranks of the respective scenes. The moving image file edit function 21 stores the positions and the priority rank of each scene in the edit information storage unit 23 at step S14 and finishes the reproduction and display of the moving image file at step S15.
Then, the limit capacity determining function 13 starts to operate. At step S32, the limit capacity determining function 13 checks key manipulations by the user and recognizes an input user-set limit capacity. Although in the embodiment step S32 is executed every time a mail is generated, it may be executed when, for example, initial settings are made.
Since the destination person has been determined, at step S33 the limit capacity determining function 13 recognizes a contract communication company of the destination person on the basis of that portion of mail address information of the destination person which follows the mark “@” and recognizes its limit capacity by referring to the company limit capacity storage unit
At step S34, the limit capacity determining function 13 recognizes a contract communication company of the self terminal apparatus 100 on the basis of that portion of mail address information of the self terminal 100 which follows the mark “@” and recognizes its limit capacity by referring to the company limit capacity storage unit 15.
At step S35, the limit capacity determining function 13 determines that the limit capacity of the current mail transmission should be a smallest one of the limit capacities recognized at steps S32-S34.
Then, the mail sending function 14 starts to operate. At step S36, the mail sending function 14 judges whether the data amount of the original moving image file that was specified as the attachment file by the user at step S31 is within the determined limit capacity.
If the data amount of the original moving image file is within the limit capacity, at step S37 the mail sending function 14 sends, as it is, the original moving image file that was specified as the attachment file by the user at step S31. Then, the process is finished.
If the data amount of the original moving image file is larger than the limit capacity, at step 38 the mail sending function 14 designates, for the moving image file edit function 21, the original moving image file specified at step S31. At. step S39, the mail sending function 14 activates the moving image file edit function 21.
At step S39, as described above with reference to
At step S40, the mail sending function 14 refers to the edit information storage unit 23 and calculates data amounts of the respective cut-out scenes. At step S41, the mail sending function 14 selects a largest edited moving image file whose data amount falls within the limit capacity determined at step S35 from plural edited moving image files each of which is obtained by combining one or plural scenes selected according to the priority order starting from a scene having the first priority rank. The selection is done in the following manner. Whether the data amount of the edited moving image file falls within the limit capacity is judged one by one starting from an edited moving image file having a largest or smallest data amount. The selection processing is finished as soon as largest edited moving image file whose data amount falls within the limit capacity has been found. It is not necessary to calculate data amounts of the remaining edited moving image files.
At step S42, the mail sending function. 14 generates substance data of the thus-selected edited moving image file. At step S43, the mail sending function 14 sends the generated edited moving image file. Then, the process is finished.
In the embodiment of the invention, in a situation that the data amount of a file to be attached to a mail should satisfy various limitations such as a limitation relating to a transmission source contract communication company, a limitation relating to a destination person contract communication company, and a user-set limitation, a limit capacity of the intended mail transmission is determined on the basis of destination person information and transmission source information that are determined at the time of a mail transmission, the user-set limitation, etc. An edited moving image file that satisfies the thus-determined limit capacity is generated and sent. This procedure makes it possible to avoid such trouble that the mail cannot be sent because its data amount does not satisfy some limit capacity.
Among the above-mentioned various limit capacities, the limit capacity relating to the destination person contract communication company may be employed as a limit capacity of the intended mail transmission.
Although in the embodiment the limit capacities of the contract communication companies are stored in the company limit capacity storage unit 15 in advance, those limit capacities may be updated automatically using a proper system or updated by a user manipulation because they are subject to change.
Where the terminal apparatus of a destination person is a personal computer, for example, and is not a cell phone, in many cases that portion of its mail address which follows the mark “@” does not represent a communication company. In this case, the user may check a limit capacity of the destination person side and register it in advance by a user manipulation. In general, terminal apparatus other than cell phones have large limit capacities.
Where, for example, d limit capacity on the destination person side is unknown, the following procedure may be employed. The user tries to send a file and adjusts the data amount of file according to whether the mail has been sent successfully or not. The data amount of a mail that has been sent successfully is employed as a limit capacity. Once a limit capacity is registered, the user can send mails without any disadvantageous.
The invention can be applied to cell phones, PHS phones, PDAs, personal computers, and other terminal apparatus capable of communication.
The invention makes it possible to edit an attachment file of a mail so that it satisfies a smallest limit capacity among various limit capacities that occur depending on a mail communication situation, and thereby allows the user to send an attachment file reliably without the need for paying attention to a limit capacity in generating a mail.
Number | Date | Country | Kind |
---|---|---|---|
P2008-270928 | Oct 2008 | JP | national |