Data communicating apparatus

Abstract: A data communicating apparatus adapted to be used in a small-sized personal instrument on a receiving side and arranged that data groups of a plurality of applications in a small-sized personal instrument on a transmitting side is used in the small-sized personal instrument on the receiving side, includes a unit for storing a plurality of data correlated each other in a state of keeping a correlation of each data according to a predetermined method, a unit connected to the storing unit for outputting the plurality of data stored in the storing unit, and a unit connected to both the storing unit and the outputting unit for controlling both the storing unit and the outputting unit in such a manner that the plurality of data are output from the storing unit with the state of keeping the correlation.

Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data communicating apparatus which is used for a small-sized personal instrument, and more particularly to the data communicating apparatus which is capable of managing data held by a plurality of applications in a one-dimensional manner. 2. Description of the Related Art The inventors of the present invention know that a data communicating apparatus used for a small-sized personal instrument provides applications for managing respective ones of data items. For each of the applications, only data communication for one piece of data or for all pieces of data is executed. To communicate data between two or more applications, the data communication for all the data items in the small-sized personal instrument is carried out. The above mentioned data communicating apparatus has no function of one-dimensionally managing data in a plurality of applications, and a particular data item is managed by a particular application only. Hence, the above mentioned data communicating apparatus has a shortcoming that although a certain data item is correlated with another data item managed by another application with respect to a specific matter, when performing data communication, data communication has to be done one data item for one application at one time. SUMMARY OF THE INVENTION It is therefore an object of the present invention to provide a data communicating apparatus that achieves that a data group comprised of correlated data items managed by two or more applications provided in a small-sized personal instrument on the transmitting side can be used in a small-sized personal instrument on the receiving side. The object of the present invention can be achieved by a data communicating apparatus as claimed in claim 1. With the data communicating apparatus according to the invention, the data communication is allowed to be done without having to lose the correlating relation of the data on the sending side. BRIEF DESCRIPTION OF THE DRAWINGS Fig. 1 is a block diagram showing an arrangement of an essential part of a data communicating apparatus according to the present invention; Fig. 2 is an explanatory view showing a format of data stored in a RAM shown in Fig. 1; Fig. 3 is a block diagram showing one arrangement of a small-sized personal instrument which corresponds to one embodiment of a data communicating apparatus providing the essential part shown in Fig. 1; Fig. 4 is a schematic explanatory view showing one arrangement of a communicating system provided with the data communicating apparatus shown in Fig. 3; Fig. 5 is a flowchart for explaining an operation of the small-sized personal instrument shown in Fig. 4 while data of one application is being displayed; Fig. 6 composed of Fig. 6a and Fig. 6b is an explanatory view showing a reversed part displayed as a menu while data of Fig. 5 is being displayed; Fig. 7 is a flowchart for explaining the operation of the communicating process on the small-sized personal instrument composing the communicating system shown in Fig. 4; Fig. 8 is a flowchart for explaining the operation of sending a folder name on the side of the small-sized personal instrument composing the communicating system shown in Fig. 4; Fig. 9 is a flowchart for explaining the operation of sending filer data on the side of the small-sized personal instrument composing the communicating system shown in Fig. 4; Fig. 10 is a flowchart for explaining the operation of receiving filer data on the side of the personal computer composing the communicating system shown in Fig. 4; Fig. 11 is an explanatory view showing one example of a folder name transfer format; Fig. 12 is an explanatory view showing one example of a filer data transfer format; Fig. 13 is a flowchart for explaining the operation of receiving filer data on the side of the small-sized personal instrument composing the communicating system shown in Fig. 4; and Fig. 14 is a flowchart for explaining the operation of sending filer data on the side of the personal computer composing the communicating system shown in Fig. 4. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring to the accompanying drawings, a preferred embodiment of a data communicating apparatus according to the present invention will be described in detail. Fig. 1 shows an essential part of the data communicating apparatus according to the present embodiment. The essential part 10 in the data communicating apparatus according to this embodiment is arranged to have a random access memory (RAM) 11 served as storage means, a central processing unit (CPU) 12 served as control means and connected to the RAM 11, and a communication connector 13 served as output means and connected to the CPU 12. Fig. 2 is one format of data stored in the RAM 11 shown in Fig. 1. In Fig. 2, the portions indicated by reference numbers 11a and 11b stand for storing formats of data in an application program provided in a small-sized personal instrument. Each component stores numbers (referred to as data identification numbers) A1, A3, A4, B1, B2, B4 for identifying individual data items input by a user. Registering data onto an application for data management (hereinafter, the application for data management is referred to as a filer), a user presses a specific key (see Fig. 3) when entering or displaying data in one's application program. The registered data is listed on a liquid crystal display (LCD) (see the reference number 17 of Fig. 3) when the filer is in operation. With a simple key operation, the application holding the data is invoked for displaying and modifying the data. The portions indicated by reference numbers 11c and 11d of Fig. 2 stand for data structure for management used by the filer and store the data identification numbers A1, A3, A4, B1, B2, and B4. These data management items are prepared for all the application programs in order to collectively manage a data group registered by a user. According to this embodiment, each filer enables to store up to 15 data groups (referred to as a folder). A name can be given to each of the folders from No. 1 to No. 15. Those given names are stored in a portion indicated by a reference number 11e. Fig. 3 shows one arrangement of a small-sized personal instrument provided with the essential part 10 of Fig. 1. The small-sized personal instrument shown in Fig. 3 is arranged to have a keyboard 14 connected to the CPU 12 of the essential part 10, a read-only memory (ROM) 15 connected to the CPU 12 and the RAM 11, an LCD driver 16 connected to the CPU 12 and an LCD 17 connected to the LCD driver 16. The keyboard 14 provides a [FILER] key 14a, a [FILE IT] key 14b, a [REMOVE] key 14c, a [COLLECT] key 14d, a [PERIPHERAL] key 14e, a [?] key 14f, a [?] key 14g, an [ENTER] key 141, a [C·CE] key 14i, and a [QWERTY] key 14j. The [FILER] key 14a is a key for starting the filer. The [FILE IT] key 14b is used for registering data in the filer while another application is executed. The [REMOVE] key 14c is used for deleting the data registered before. The [COLLECT] key 14d is used for retrieving data. The retrieved data is allowed to be registered by the [FILE IT] key 14b. To register data in the filer, each user presses the [FILE IT] key 14b when data is input or displayed in the corresponding application program. The registered data is listed on the LCD 17 while the filer is in operation. With a predetermined key operation, an application holding this data is invoked in order to display and modify the data. Fig. 4 shows one arrangement of a communication system provided with the data communicating apparatus according to this embodiment. As shown in Fig. 4, the communication system provides a personal computer 18, a small-sized personal instrument 19, a level converter 20 connected to the personal computer 18, and a cable connected between the level converter 20 and the small-sized personal instrument 19. Next, the description will be oriented to the operation on the side of the small-sized personal instrument with respect to the data communication between the personal computer 18 and the small-sized personal instrument 19 included in the communication system shown in Fig. 4, in particular, the communication of the data registered by the filer. Fig. 5 is a flowchart showing an operation of the communication system shown in Fig. 4, in particular, the small-sized personal instrument while data of one application is displayed. While data is displayed (step S1), the [PERIPHERAL] key 14e (see Fig. 3) is pressed (step S2). The menu shown in Fig.6a is displayed (step S3). Then, the [?] key 14g (see Fig. 3) is pressed twice (step S4) so that a reversed portion may be moved to the place of PC-LINK as shown in Fig. 6b (step S5). By pressing the [ENTER] key 14h (see Fig. 3) (step S6), the communication processing is started (step S7). If the [C·CE] key 14j is input (step S8), at the step S6, when the [ENTER] key 14h is not input, the operation goes to the step S1. If the [C·CE] key 14j is not input, the other process is executed (step S9) and then the operation goes back to the step S4. If, at the step S2, the [PERIPHERAL] key 14e is not input, the other process is executed (step S10). and the operation goes back to the step S2. Next, the description will be oriented to the operation of processing communication between the personal computer 18 and the small-sized personal instrument 19 included in the communication system shown in Fig. 4. In the communication processing, after setting the start input/output (I/O) instruction (referred to as SIO) and opening the SIO, a command from the personal computer is awaited. By receiving the command, the data of the filer is sent or received. At first, the transmission of the filer data (from the small-sized personal instrument 19 to the personal computer 18) will be described as referring to a flowchart for executing communication processing on the side of the small-sized personal instrument 19 shown in Fig. 7, a flowchart for sending a folder name on the side of the small-sized personal instrument 19 shown in Fig. 8, a flowchart for sending filer data on the side of the small-sized personal instrument 19 shown in Fig. 9, and a flowchart for receiving filer data on the side of the personal computer 19 shown in Fig. 10. As shown in the flowchart of Fig. 7, for executing communication processing on the side of the small-sized personal instrument 19, the steps of starting communication processing (step T1), initializing SIO (step T2), opening SIO (step T3), receiving a command (step T4), checking whether or not it is an error (step T5), if it is an error at step T5, then proceeds to step S17 (described later). If it is not an error at step T5, then checking whether or not a folder name of a filer is requested (step T6), if the folder name of the filer is requested at step T6, then processing of sending the folder name (step T7), and the process returns to step T4. If the folder name of the filer is not requested at step T6, then checked whether or not it is a request of sending data of a filer (step T8), if it is the request of sending the data of the filer at step T8, then processing of sending the data of the filer (step T9), then checking whether or not it is an error (step T10), if it is an error at step T10, proceeds to step T17 (described later). If it is not an error at step T10, then the process returns to the step 4. If it is not the request of receiving data of the filer at step T8, then checking whether or not it is a request of receiving data of a filer (step T11), and if it is not the request of receiving data of the filer at step T11, then checking whether or not it is a request of a termination (step T12), if it is not the request of the termination at step T12, then processing other process (step T13) and returns to step T2. If it is the request of the termination at step T12, then executing the termination processing (step T14) and closing the SIO (step T15). If it is the request of receiving data of the filer at step T11, then processing of receiving data of the filer (step T16), and checking whether or not it is an error (step T17), if it is not an error at step T17, returns to step T4. If it is an error at step T16, then executing an error processing (step T18) and proceeds to step T15 for closing the SIO. As described above, in order for a user to select the folder whose data is to be sent to the personal computer 18 on the side of the personal computer 18, a request for sending a folder name is issued to the small-sized personal instrument 19. On the side of the small-sized personal instrument 19, as shown in the flowchart of Fig. 8, a folder number and a folder name of the folder having the data registered therein are sent on the format indicated by a folder name transfer format shown in Fig. 11. Now, referring to the flowchart shown in Fig. 8, processing for sending a folder name on the side of the small-sized personal instrument 19 will be described below. First, starting the process of sending a folder name (step U1), then searching the first folder (step U2), and checking whether or not data is left in the folder (step U3). If no data is left in the folder at step U3, then proceeds to step U8 (describe later). If the data is left in the folder at step U3, then sending a folder number (step U4), and checking whether or not a folder name is set (step U5). If the folder name is not set at step U5, then proceeds to step U7 (describe later). If the folder name is set at step U5, then sending a set folder name (step U6), sending a delimiting code (step U7), searching a next folder (step U8), and then checking whether or not the next folder exists (step U9). If the next folder exists at step U9, then returns to step U3. If the next folder does not exist at step U9, then sending a termination code (step U10), and end the process (step U11). Next, referring to the flowchart shown in Fig. 9, the processing for sending filer data on the side of the small-sized personal instrument 19 will be describe below. First, start the process of sending filer data (step V1), sending a folder number and a request command (step V2), receiving a folder number (step V3), and checking whether or not it is an error (step V4). If it is an error at step V4, then executing an error processing (step V10), and terminating the process (step V21). On the other hand, if it is not an error at step V4, then sending a normal receive code (step V5), receiving the normal receive code (step V6), and checking whether or not it is an error (step V7). If it is an error at step V7, then proceeds to step V10 and V21 as described above. If it is not an error at step V7, then sending the folder name (step V8), sending delimiting code (step V9), sending an application name (step V11), sending delimiting code (step V12), and checking whether or not there is a data identification number of an application to be transmitted in the folder (step V13). If there no data identification number exist at step V13, then proceeds to step V18 (describe later). If there exists data identification number at step V13, then obtaining a first identification number (step V14), sending data of identification number (step V15), setting delimiting code (step V16), and checking whether or not a next data exists (step V17). If there exists the next data at step V17, then returns to step V15. On the other hand, if no next data exists at step V17, then sending the delimiting code of application (step V18), and checking whether or not there exists a next application (step V19). If the next application exists at step V19, then returns to step V11. On the other hand, if the next application does not exist at step V19, then sending the termination code (step V20) and ending the process (step V21). Next, referring to the flowchart of Fig. 10, the processing for receiving filer data on the side of the personal computer 19 will be described below. Start a process of receiving filer data (step W1), sending a command for requesting to send a folder name (step W2), receiving a folder name (step W3), and checking whether or not it is an error (step W4). If it is an error at step W4, then ends the process (step W23). If it is not an error at step W4, then processing a folder selection (step W5), and checking whether or not a folder is selected (step W6). If a folder is not selected at step W6, then proceeds to step W13. If a folder is selected at step W6, then sending a command for requesting to send filer data (step W7), receiving a request for sending a folder number (step W8), and checking whether or not it is an error (step W9). If it is an error at step W9, then proceeds to step W13. If it is not an error at step W9, then sending a number of selected folder (step W10), receiving a normal receive code (step W11), and checking whether or not it is an error (step W12). If it is an error at step W12, then proceeds to step W13. If it not an error at step W12, then sending a normal receive code (step W14), receiving a folder name (step WA), checking whether or not it an error (step WB), receiving an application name (step W15), and checking whether or not it is an error (step W16). If it is an error at step W16, then proceeds executing an error processing (step W21), and ending the process (step W23). If it is not an error at step W16, then checking whether or not a termination code is received (step W17). If the termination code is received at step W17, then ending the process (step W23). If the termination code is not received at step W17, then proceeds to step W21. If the termination code is not received at step W17, then receiving one data item (step W18) and checking whether or not it is an error (step W19). If it is an error at step W19, then proceeds to step W21. If it is not an error at step W19, then checking whether or not an application delimiting code is received (step W20). If the application delimiting code is not received at step W20, then returns to step W18, and if the application delimiting code is received at step W20, then returns to step W15. Herein, the folder number corresponds to No. 1 to No. 15 shown in Fig. 2. These numbers are not changed by a user. However, the folder name can be changed by a user. On the personal computer 18, the received folder name is displayed as a menu so that a user can select a folder whose data is to be received. If the folder is selected, from the personal computer 18, a command for requesting to send filer data is sent to the small-sized personal instrument 19. In response to the command for requesting to send the filer data, the small-sized personal instrument 19 sends the command for requesting to send a folder number to the personal computer 18 for inquiring a folder in which data is held. In response to the command for requesting to send this folder number, the personal computer 18 operates to send the number of the selected folder. When receiving the folder number, the small-sized personal instrument 19 sends it at each application based on the data identification number registered in the folder. Fig. 12 shows a transmitting format used for that purpose. The transmitting format is a transfer format for the filer data as shown in Fig. 12. At first, the name of the application is sent and then the data of the application is sent. An application-delimiting code is sent, and the name and the data of the next application are sent. Until sending the data of all the application is terminated, this process is repeated. After sending the data of the final application, a termination code is sent for terminating the transfer. As mentioned above, by using the name of the application, the data of the application, and the application-delimiting code, it is possible to transmit to the receiving side which application the data in the specified folder belongs to. Next, the receipt of the filer data (from the personal computer 18 to the small-sized personal instrument) will be described as referring to a flowchart for executing the communication processing on the side of the small-sized personal instrument 19 shown in Fig. 7, a flowchart for receiving filer data on the side of the small-sized personal instrument 19 shown in Fig. 13, and a flowchart for sending filer data on the side of the personal computer 18 shown in Fig. 14. Referring to the flowchart of Fig. 13, the processing for receiving filer data on the side of the small-sized personal instrument will be described below. Start a processing of receiving filer data (step X1), and checking whether or not there exists an empty folder (step X2). If no empty folder exists at step X, then proceeds to an error processing (step X11), and ending the process (step X19). If an empty folder exists at step X2, then sending a receive OK code (step X3), receiving a folder name (step X4), and checking whether or not it is an error (step X5). If it is an error at step X5, then proceeds to step X11. On the other hand, if it is not an error at step X5, then setting a folder name (at step X6), receiving an application name (step X7), and checking whether or not it is an error (step X8). If it is an error at step X8, then proceeds to step X11. On the other hand, if it is not an error at step X8, then checking whether or not a termination code is received (step X9). If an application delimiting code is not received at step X9, then receiving one item data (step X12), and checking whether or not it is an error (step X13). If it is an error at step X13, then executing an error processing (step X17) and ending the process (step X19). On the other hand, if it is not an error at step X13, checking whether or not there exists an empty area for registering data (step X14). If no empty area exists at step X14, then proceeds to step X17. On the other hand, if there is an empty area at step X17, then checking whether or not an application delimiting code is received (step X15). If an application delimiting code is not received at step X15, then returns to step X7. On the other hand, if no application delimiting code is received at step X15, then registering a received data in a specified application (step X16), registering a data identification number in a folder (step X18), and returns to step X12. If an application delimiting code is received at step X9, sending a receive OK code (step X10), and ending the process (step X19). Next, referring to the flowchart in Fig. 14, the processing for sending filer data on the side of the personal computer 18 will be described below. Start a process of sending filer data (step Y1), processing a folder selection (step Y2), and checking whether or not a folder is selected (step Y3). If no folder is selected at step Y3, then executing an error processing (step Y7), and ending the process (step Y18). If a folder is selected at step Y3, then sending a command for requesting to receive filer data (step Y4), receiving a receive OK command (step Y5), and checking whether or not it is an error (step Y6). If it is an error at step Y6, proceeds to step Y7. On the other hand, if it is not an error, then sending a folder name (step Y8), sending an application name (step Y9), obtaining a first data (step Y10), sending one item data (step Y11), searching a next data (step Y12), and checking whether or not there exists data (step Y13). If no data exists at step Y13, then returns to step Y11. If data exists at step Y13, then sending an application delimiting code (step Y14), and checking whether or not all application are sent (step Y15). If all application are not sent at step Y15, then returns to step Y9. On the other hand, if all application are sent at step Y15, then sending a termination code (step Y17), and ending the process (step Y18). On the personal computer 18, the selecting process is carried out for selecting a folder whose data is to be sent. To send the data of the selected folder, a command for requesting to send the filer data is sent to the small-sized personal instrument 19. In response to this command, the small-sized personal instrument 19 operates to check whether or not there exists an empty folder for storing data in the small-sized personal instrument 19, and if it exists, sends a code indicating the receive is all right (OK code) to the personal computer 18. In response to the receive OK code, the personal computer 18 operates to send the data to the small-sized personal instrument 19 according to the format shown in Fig. 12. Since the data is transferred on the format shown in Fig. 12, in response to the folder name, the small-sized personal instrument 19 sets the folder name (11e of Fig. 2) to an empty folder having the smallest number. Then, the name and the data of the application to be transmitted next are registered as data of each application. By registering the data identification number to the folder, the data of the filer in the personal computer 18 is allowed to be sent to the small-sized personal instrument 19. As mentioned above, by sending the data registered as the data of a filer with a certain relation according to a user in a form of a combination of an application name, one data piece, and an application-delimiting code, on the receiving side, the data can be registered as keeping the relation.

Claims: A data communicating apparatus adapted to be used in a small-sized personal instrument and arranged to provide in a sending mode data groups of a plurality of first applications located in the small-sized personal instrument to another small-sized personal instrument, and arranged to receive in a receiving mode data groups of a pluralitiy of second applications located in said another small-sized personal instrument, wherein a data group comprises correlated data items which are managed by different application programs, comprising a CPU (12), a communication connector (13) connected to said CPU (12) for outputting information to the communicating apparatus of said another instrument, a ROM (15) connected to said CPU (12) for storing said plurality of first application programs, a RAM (11) connected to said CPU (12) having: first portions (11a, 11b) for storing data items of an application program in partitioned areas, each partitioned area comprising a data identification number (A1, A2 ;...; B1, B2, ...) for identifying the individual data item in said area as corresponding to a respective one of said application programs, and having: second portions (NO. 1, ...NO.15) in a data management area used by an application for data management, each second portion storing a data group being referred to as a folder and being indicated by a reference number of folder name (11e), each folder having third portions (11c, 11d) each storing data identification numbers corresponding to a respective one of said application programs, a keyboard (14) connected to said CPU (12) for inputting data and instructions, including keys for providing identification numbers for said data management area when one of said plurality of first applications is in operation, wherein: said CPU (12) controls said RAM (11) to store correlated data items with corresponding identification numbers in a folder of said data management area, and in the sending mode said CPU (12) on receipt of a folder name of the other small-sized personal instrument controls said RAM (11) and said communicating connector (13) to send for the corresponding folder the data items with the corresponding identification numbers to the other small-sized personal instrument. A data communicating apparatus according to claim 1, wherein said data communicating apparatus further comprises display means (17) for displaying said data and/or said instructions input by said keyboard (14); and a display driver (16) connected to both said CPU (12) and said display means (17) for driving said display means (17) according to said CPU (12). A data communicating apparatus according to claim 1 or 2, wherein said keyboard (14) is further arranged that said application holding said data is invoked for displaying and modifying said data with a simple key operation through said CPU (12). A data communicating apparatus according to claim 3, wherein said display means (17) is so arranged that registered data from said keyboard (14) is displayed and listed on said display means (17) at a time when said application for data management is in operation, and said application for data management enabling to store up to a plurality of data groups.

Inventors: TAKAHASHI NOBUTAKA, TAKAHASHI, NOBUTAKA
Applicants: SHARP KK, SHARP KABUSHIKI KAISHA
Application year: 1993
Main classification: G06F15
IPC codes: G06F15, G06F13