The present invention relates to improvements in a mobile terminal having a function of copying character data, a method of controlling a computer, and a program.
Heretofore, a copy/paste function of fetching in desired character data to paste and/or substitute the desired character data thus fetched to and/or into a desired input position has been used in a mobile terminal, a computer terminal, and the like. Since predetermined key operations need to be performed in order to use such a copy/paste function, it is desired to simplify the key operations.
For example, JP 2002-290543 A discloses a technique in which a full data copy key, and a character string copy key are set, and thus the designation of full data displayed on a screen as a copy range and the designation of registered specific character string data as a copy range can be simplified. In addition, JP 2002-94685 A discloses a data pasting method in which in order to read the contents in which inputted data is reflected, the data inputted from a cellular phone or the like is received and stored in a memory, and the data to be used in the contents is retrieved from the memory and pasted and/or substituted to and/or for the contents in order to be transmitted to the cellular phone or the like.
However, the above-mentioned prior art involves such a problem that the key operations are not necessarily sufficiently simplified.
For example, the technique disclosed in JP 2002-290543 A involves such a problem that when there are a plurality of paste destinations for the character string data copied to be fetched in a clip board, the copy/paste operation needs to be repeatedly performed plural times, and thus the number of times of the key operations increases.
In addition, the technique disclosed in JP 2002-94685 A involves such a problem that it is necessary to specially provide a server including a memory and serving to perform an operation for transmitting/receiving data to/from a terminal in addition to the terminal such as the cellular phone.
The present invention has been made in the light of the above-mentioned problems associated with the prior art, and it is, therefore, an object of the present invention to provide a mobile terminal, a method of controlling a computer, and a program which are capable of making cost required a server or the like other than a terminal unnecessary and of simplifying key operations.
In order to attain the above-mentioned object, according to an aspect of the present invention, there is provided a mobile terminal having a function of copying character data, the mobile terminal including: a copy device which copies and fetches therein arbitrary character string data; a discrimination device which classifies the fetched character string data into the character data of predetermined character string types to punctuate the character string data; and a character string data storage device which stores therein the classified character string data together with classification item names thereof.
Preferably, the mobile terminal further includes first paste device which selects the character string data of the character string type corresponding to a paste destination from among the character string data stored in the character string data storage device to paste the selected character string data. In addition, preferably, the first paste device selects the character string data of the character string type corresponding to a plurality of paste destinations to paste the selected character string data.
In addition, preferably, the mobile terminal further includes second paste device which selects the character string data from among the character string data stored in the character string data storage device in accordance with an instruction from a user to paste the selected character string data. Also, preferably, the second paste device receives an instruction to select a plurality of character string data.
In addition, according to another aspect of the present invention, there is provided a method of controlling a computer, the method including the steps of: copying and fetching in arbitrary character string data; classifying the fetched character string data into the character data of predetermined character string types to punctuate the character string data; and storing the classified character string data together with classification item names thereof.
Preferably, the method of controlling a computer further includes the step of selecting the character string data of the character string type corresponding to a paste destination from among the stored character string data to paste the selected character string data.
In addition, preferably, the method of controlling a computer further includes the step of selecting the character string data from among the stored character string data in accordance with an instruction from a user to paste the character string data selected.
Moreover, according to still another aspect of the present invention, there is provided a mobile terminal having a function of copying character data, the mobile terminal including: means for copying and fetching in arbitrary character string data; means for classifying the fetched character string data into the character data of predetermined character string types to punctuate the character string data; and means for storing classified the character string data together with classification item names thereof.
In addition, the mobile terminal further includes means for selecting the character string data of the character string type corresponding to a paste destination from among the stored character string data.
Also, the mobile terminal further includes means for selecting the character string data from among the stored character string data in accordance with an instruction from a user to paste the selected character string data.
According to those aspects of the present invention described above, since the fetched character string data is classified into the character data of the predetermined character string types to be stored, the character string data of the character string type corresponding to the paste destination can be selected to be pasted. Consequently, it is possible to simplify the key operations during a copy/paste mode.
a is a diagram showing an example of a screen during the paste operation performed by the mobile terminal according to the embodiment shown in
b is a diagram showing an example of a screen during the paste operation performed by the mobile terminal according to the embodiment shown in
a is a diagram showing another example of a screen during the paste operation performed by the mobile terminal according to the embodiment shown in
b is a diagram showing another example of a screen during the paste operation performed by the mobile terminal according to the embodiment shown in
Hereinafter, the preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The display portion 10, for example, is constituted by a liquid crystal display or the like, and serves to display thereon the contents of key input such as character data, various kinds of figures, or the like. Incidentally, when the present invention is applied to a personal computer or the like, the display portion 10 may also be constituted by a CRT or the like.
The input of the character data or the like through the keying operation is performed by operating the operation portion 12 shown in
The storage portion 14, for example, is constituted by a RAM (Random Access Memory) for work of the control portion 18, an EEPROM as a nonvolatile memory, a magnetic storage medium, or the like. The various kinds of data such as the contents of the key input is stored in the storage portion 14.
The communication portion 16 communicates with a base station by utilizing the known method, thereby realizing a call function of a mobile communication terminal. It should be noted that when the present invention is applied to the personal computer or the like, the communication portion is not necessarily required.
The control portion 18, for example, is constituted by a CPU (Central Processing Unit) or the like. The control portion 18 controls the operations of the display portion 10, the operation portion 12, the storage portion, and the communication portion 16 while transmitting/receiving data to/from the display portion 10, the operation portion 12, the storage portion, and the communication portion 16.
A display control portion 20 of the control portion 18 mainly controls the contents displayed on the display portion 10. A copy control portion 22 controls a copy operation for setting a copy range, fetching in character string data existing in the copy range thus set and storing the character string data thus fetched in the storage portion 14, retrieving the character string data corresponding to a paste destination from the storage portion 14, and pasting and/or substituting the character string data to and/or into the paste destination. A data discrimination portion 24 performs the control for classification of the character string data into the character data of character string types which will be described later.
Incidentally, the above-mentioned control portion 18 may be a computer which is configured with a CPU as a main constituent element. In this case, the CPU executes a program stored in a memory card or any other suitable medium, thereby realizing the functions of the control portion 18.
Then, the data discrimination portion 24 classifies the character string data thus fetched into the character data of predetermined character string types to punctuate the character string data. As regards the character string types in this case, as stated with respect to the classification items described above, there are “full name”, “telephone number”, “E-mail address”, “URL”, and the like of the user, etc. “Full name”, for example, can be judged by reading source codes in the pages concerned. In addition, “telephone number” can be judged on the basis of a keyword such as “090” contained in the character string; “E-mail address” can be judged on the basis of a keyword such as “@” contained in the character string; and “URL” can be judged on the basis of a keyword such as “http:” contained in the character string. Consequently, the data discrimination portion 24 classifies the character string data into the data sets of character string types to punctuate the character string data, thereby performing the data classification (S2). Incidentally, the punctuation positions for the character string data are judged by referring to “punctuation marks”, points where kinds of characters such as “2 byte character” and “1 byte alphanumeric characters” change, “line feed”, and the like as well.
The copy control portion 22 stores the classified character string data together with the classification items thereof described above in the storage area of the storage portion 14 (S3).
Next, the data discrimination portion 24 sets 1 to an integral number (n=1) (S11), and acquires an n-th segment (i.e., a first segment) of the punctuated character string data (S12). The data discrimination portion 24 judges whether or not the character string type of the segment of the acquired character string data corresponds to “full name” (S13). When the data discrimination portion 24 judges in S13 that the character string type corresponds to “full name”, the copy control portion 22 stores the segment of the character string data concerned together with the classification item of “full name” in the storage area of the storage portion 14 shown in
On the other hand, when judging in S13 that the character string type does not correspond to “full name”, the data discrimination portion 24 judges whether or not the character string type of the segment of the acquired character string data corresponds to “E-mail address” (S15). When the data discrimination portion 24 judges in S15 that the character string type corresponds to “E-mail address”, the copy control portion 22 stores the segment of the character string data concerned together with the classification item of “E-mail address” in the storage area of the storage portion 14 shown in
On the other hand, when judging in S15 that the character string type does not correspond to “E-mail address”, the data discrimination portion 24 judges whether or not the character string type of the segment of the character string data corresponds to “URL” (S17). When the data discrimination portion 24 judges in S17 that the character string type of the segment of the character string data corresponds to “URL”, the copy control portion 22 stores the segment of the character string data concerned together with the classification item of “URL” in the storage area of the storage portion 14 shown in
On the other hand, when the data discrimination portion 24 judges in S17 that the character string type of the segment of the character string data does not correspond to “URL”, the copy control portion 22 gives the classification item of “others” to the segment of the character string data (S19), and stores the segment of the character string data concerned together with the classification item of “others” in the storage area of the storage portion 14 (S20) Incidentally, while in the above-mentioned example, the three items: “full name”; “E-mail address”; and “URL” are given as the classification items, “telephone number” and other classification items may be added to or exchanged for any ones.
Next, the data discrimination portion 24 checks whether or not the segments of the character string data still remain (S21). When checking in S21 that segments of the character string data still remain, the data discrimination portion 24 sets (n+1) to n (n=2), and the operations are repeatedly performed from S12. On the other hand, when the data discrimination portion 24 checks in S21 that no segment of the character string data remains, the operation for classifying the data is completed.
The above-mentioned operation portion 12 and copy control portion 22 operate as copy means of the present invention. In addition, the data discrimination portion 24 corresponds to data discrimination means of the present invention.
When checking in S103 that there is the input column, the copy control portion 22 analyzes the source code of the above-mentioned page to acquire the character string type corresponding to the input column as a paste destination (S104).
Next, the copy control portion 22 acquires the character string data of the character string type corresponding to the above-mentioned input column from the storage area of the storage portion 14 shown in
The copy control portion 22 sticks and pastes the acquired character string data to the above-mentioned input column (S106).
After completion of the operation for pasting the character string data, the operation is repeatedly performed from S103. On the other hand, when the copy control portion 22 judges in S103 that there is no input column, the paste operation is completed. The copy control portion 22 selects the character string data of the character string type corresponding to the paste destination from among the character string data stored in the storage portion 14 to paste the selected character string data in such a manner. Consequently, the number of times of the key operations during the copy/paste mode can be reduced and thus the key operations can be simplified.
Here, the operation portion 12 and the copy control portion 22 operate as first paste means of the present invention.
Next, when the user selects the desired data from among the character string data displayed on the display portion 10 by operating the operation portion 12 (S204), the copy control portion 22 acquires the selected character string data from the storage area of the storage portion 14 shown in
Next, when the user designates an input column of a paste destination by operating the operation portion (S206), the copy control portion 22 pastes the acquired character string data to the input column (S207). Thereafter, when a completion instruction is issued from the operation portion 12, the paste operation is completed, while when the operation portion 12 issues no completion instruction, the operation is repeatedly performed from S203 (S208).
Here, the operation portion 12 and the copy control portion 22 operate as second paste means of the present invention.
The page having the input column described above is not especially limited. That is to say, the present invention can be applied to any one of a page represented by the data stored in the storage portion 14 of the mobile terminal, a page within the contents existing on the network, and the like as long as there exists the input column to which the data is to be pasted by using the copy/paste function of the mobile terminal.
a and 7b show examples of screens during the paste operation in the mobile terminal according to the embodiment of the present invention. At that, the examples shown in
When the user specifies the paste destination shown in
a and 8b show examples of other screens during the paste operation in the mobile terminal according to the embodiment of the present invention. At that, the examples shown in
When the user specifies the paste destination shown in
Number | Date | Country | Kind |
---|---|---|---|
246494/2004(PAT.) | Aug 2004 | JP | national |