Information
-
Patent Application
-
20010054167
-
Publication Number
20010054167
-
Date Filed
January 08, 200123 years ago
-
Date Published
December 20, 200122 years ago
-
Inventors
-
Original Assignees
-
CPC
-
US Classifications
-
International Classifications
- G10L011/00
- G10L021/00
- H04L001/18
- H03M013/00
Abstract
When recording digital data corresponding to a voice signal, a voice data recording and reproducing apparatus generates an error correction code and records this code together with the digital data in semiconductor memory. When transferring the digital data to the PC, a system control section in the voice data recording and reproducing apparatus transmits voice data including the error correction code without performing error correction. The system control section provides a lower data processing capability than that of a PC's CPU. The PC's CPU having a higher data processing capability performs error correction of the voice data by using the error correction code included in the received voice data.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2000-4692, filed Jan. 13, 2000; the entire contents of which are incorporated herein by reference.
BACKGROUND OF THE INVENTION
[0002] The present invention relates to a data transfer system and a data transfer method for transferring data between a transmission apparatus and a reception apparatus.
[0003] Generally, dictation is one of uses of a voice recording and reproducing apparatus, namely a tape recorder. For example, the dictation uses the tape recorder to record on a recording tape the content of a read-aloud document to be created on paper. The recorded tape is handed over to a secretary or the like. The secretary or the like plays back the recording tape and type the document by listening to the played back voice. Alternatively, the content of a meeting is recorded for later creating the minutes by listening to the recorded content.
[0004] In recent years, an increasing demand for compactness has encouraged development of a voice recording and reproducing apparatus which uses semiconductor memory as a storage medium instead of a magnetic tape.
[0005] Some such apparatuses using semiconductor memory for recording voice data make the semiconductor memory undetachable from the body of the apparatus. When this apparatus is used for the dictation, the recorded voice data needs to be submitted to the secretary or the like for typing. It may be necessary to use voice data recorded in this semiconductor memory on an external apparatus such as a voice reproduction apparatus other than the voice data recording and reproducing apparatus. In this case, a cable or the like is connected to the external apparatus to transfer the voice data.
[0006] Along with the widespread use of personal computers (PCs), a PC-based word processor is used for typing in most cases. Many PCs have a sound capability, making it possible to reproduce voice data from a speaker connected to the PC. It is becoming an increasingly popular practice to transfer the voice data from the voice data recording and reproducing apparatus to the PC and use the word processor for typing by playing back the voice data on the PC.
[0007] Incidentally, it is becoming commonplace to use PCs having the USB (Universal Serial Bus) interface specification which is compliant with the so-called Plug and Play capability and enables connection of many devices. Using the USB connection makes it possible to extremely fast transfer voice data from the voice data recording and reproducing apparatus to the PC compared to conventional data transfer using connection of a cable such as a serial cable.
[0008] On the other hand, when transferring data to the PC, the conventional voice data recording and reproducing apparatus needs to apply error correction to voice data read from the semiconductor memory such as flash memory. Generally, the voice data recording and reproducing apparatus uses a less powerful central processing unit (CPU). Despite the use of the USB path capable of fast data transfer, the time needed for this error correction bottlenecks a high-speed data transfer.
BRIEF SUMMARY OF THE INVENTION
[0009] In view of the above-described drawbacks in the prior art, it is an object of the present invention to provide a data transfer system and a data transfer method capable of high-speed data transfer.
[0010] According to a first aspect of the present invention, there is provided a data transfer system including a transmission apparatus and reception apparatus,
[0011] the transmission apparatus comprising:
[0012] conversion means for converting an input voice signal to a voice file;
[0013] error correction data generation means for generating error correction data on the basis of specified unit data in the voice file;
[0014] recording means for recording the error correction data as well as the voice file on a storage medium; and
[0015] transmission means for transmitting the voice file and the error correction data recorded on the storage medium on the basis of the specified unit, and
[0016] the reception apparatus comprising:
[0017] reception means for receiving the voice file and the error correction data transmitted from the transmission apparatus; and
[0018] error correction means for performing error correction of the voice file on the basis of the specified unit data by using the error correction data.
[0019] According to a second aspect of the present invention, there is provided a data transfer system including a transmission apparatus and a reception apparatus,
[0020] the transmission apparatus comprising:
[0021] A/D converter for converting an input voice signal to digital data;
[0022] DSP for converting the digital data to encoded data;
[0023] first CPU for generating a voice file based on the encoded data and generating error correction data for each specified unit data in the voice file;
[0024] memory for storing the voice file and the error correction data; and
[0025] a data transfer section for transmitting the voice file and the error correction data stored in the memory based on the specified unit under control of the first CPU, and
[0026] the reception apparatus comprising:
[0027] a second CPU for receiving the voice file and the error correction data from the transmission apparatus via an external connection interface and performing error correction of the voice file on the basis of each the specified unit data by using the error correction data.
[0028] According to a third aspect of the present invention, there is provided a data transfer method for a data transfer system including a transmission apparatus and a reception apparatus, the method comprising the steps of:
[0029] a) reading voice data and error correction data from a storage medium in the transmission apparatus for storing voice data and its error correction data;
[0030] b) transferring the voice data and error correction data from the transmission apparatus to the reception apparatus; and
[0031] c) performing error correction of the voice data by using the error correction code in the transmission apparatus.
[0032] According to a fourth aspect of the present invention, there is provided a data transfer method for a data transfer system including a transmission apparatus and a reception apparatus, the method comprising the steps of:
[0033] a) allowing the reception apparatus to issue a request signal to the transmission apparatus so that the transmission apparatus transmits a specified unit of voice data;
[0034] b) allowing the transmission apparatus, on receipt of the request signal, to read the specified unit of voice data and its error correction data from a storage medium and transmit them to the reception apparatus; and
[0035] c) allowing the reception apparatus to repeat the step “a” until there remains no voice data to be transferred, the voice data being corrected errors in the specified unit of voice data using the error correction data.
[0036] According to a fifth aspect of the present invention, there is provided a data transfer system including a transmission apparatus and a reception apparatus,
[0037] the transmission apparatus comprising:
[0038] a storage medium storing a voice file and error correction data for the voice file; and
[0039] transmission means for reading the voice file and the error correction data from the storage medium and transmitting them to the reception apparatus, and
[0040] the reception apparatus comprising:
[0041] reception means for receiving the voice file and the error correction data transmitted from the transmission apparatus; and
[0042] error correction means for performing error correction of the voice file using the error correction data.
[0043] According to a sixth aspect of the present invention, there is provided a data transmission system including a voice reproducing apparatus and reception apparatus, the voice reproducing apparatus comprising:
[0044] a storage medium storing a voice file and error correction data for the voice file;
[0045] read means for reading the voice file and the error correction data from the storage medium;
[0046] first error correction means for performing error correction of the read voice file using error correction data;
[0047] playback means for playing back the error-corrected voice file; and
[0048] transmission means for transmitting the read voice file and the error correction data to a reception apparatus, and
[0049] the reception apparatus comprising:
[0050] reception means for receiving the voice file and the error correction data transmitted from the transmission apparatus; and
[0051] second error correction means, having a higher data processing capability than that for the first error correction means, for performing error correction of the voice file using the error correction data.
[0052] According to a seventh aspect of the present invention, there is provided the following data transfer system.
[0053] A transmission apparatus for transmitting a voice file to a reception apparatus, comprising:
[0054] a storage medium storing a voice file and error correction data for the voice file;
[0055] read means for reading the voice file and the error correction data from the storage medium;
[0056] first error correction means for performing error correction of the read voice file using error correction data;
[0057] playback means for playing back the error-corrected voice file;
[0058] transmission means for transmitting the read voice file and the error correction data to the reception apparatus; and
[0059] control means for providing control to perform error correction of the voice file read by the first error correction means when playing back voice files in the transmission apparatus and inhibit error correction of voice files by the first error correction means when transmitting a voice file to the reception apparatus.
[0060] Additional objects and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention may be realized and obtained by means of the instrumentalities and combinations particularly pointed out hereinafter.
BRIEF DESCRIPTION OF THE SEVERAL VIEWS OF THE DRAWING
[0061] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate presently preferred embodiments of the invention, and together with the general description given above and the detailed description of the preferred embodiments given below, serve to explain the principles of the invention.
[0062]
FIG. 1 shows a configuration of a data transfer system according to an embodiment of the present invention;
[0063]
FIG. 2 shows a flowchart of a control program executed on a PC;
[0064]
FIG. 3 shows a flowchart of a connection routine for the PC as a data processing apparatus;
[0065]
FIG. 4 shows a flowchart of a connection confirmation subroutine in FIG. 3;
[0066]
FIG. 5 shows a flowchart of a control changeover subroutine in FIG. 3;
[0067]
FIG. 6 shows a flowchart of remote processing in a voice data recording and reproducing apparatus;
[0068]
FIG. 7 shows a flowchart of a file transfer subroutine for the PC as a reception apparatus;
[0069]
FIG. 8 shows a flowchart of a file transfer subroutine for the voice data recording and reproducing apparatus as a transmission apparatus;
[0070]
FIG. 9 illustrates an explained of the communication procedure between the PC and voice data recording and reproducing apparatus; and
[0071]
FIG. 10 illustrates a data structure transferred to a PC 10 from a voice data recording and reproducing apparatus 20.
DETAILED DESCRIPTION OF THE INVENTION
[0072] An embodiment of the present invention will be described with reference to the accompanying drawings.
[0073]
FIG. 1 shows a configuration of a data transfer system according to an embodiment of the present invention. The data transfer system comprises a PC 10 as transmission apparatuses which can connect with a plurality of data recording and reproducing apparatuses and can transfer data to the data recording and reproducing apparatuses. The system further comprises a voice data recording and reproducing apparatus 20 which is one of transmission apparatuses configured as a plurality of USB devices connected to the PC 10.
[0074] In the voice data recording and reproducing apparatus 20, a microphone (MIC) 21 connects with a system control section 25 via an amplifier (AMP) 22, a low-pass filter (LPF) 23, and an analog/digital (A/D) converter 24. The system control section 25 contains a digital signal processing section (DSP) 25A and a CPU 25B. The DSP 25A functions as an encoding/decoding circuit for compressing or decompressing voice data. The CPU 25B controls each section in the voice data recording and reproducing apparatus 20. The system control section 25 connects with nonvolatile semiconductor memory 26 as a medium for storing voice data and a power control section 27. Further, the system control section 25 connects with a speaker 31 via a digital/analog (D/A) converter 28, an LPF 29, and a power amplifier 30.
[0075] Furthermore, the system control section 25 connects with an operation/input section 32. The operation/input section 32 includes not only a recording button REC and a stop button STOP, but also a playback button, a fast-forward button, a rewind button, an I-mark button, an E-mark button, an endless recording button, and the like, though not shown.
[0076] The I-mark and the E-mark have the following functions. The semiconductor memory 26 can store a plurality of voice data entries. When the voice data recording and reproducing apparatus 20 is used for dictation, for example, a narrator can use the I-mark button to record an instruction (I) mark during operation. This I-mark indicates priorities among a plurality of voice data entries stored in the semiconductor memory 26 and is used as an index mark for giving instructions to a typist or a secretary. Accordingly, the narrator can use this I-mark to concretely specify priorities by his or her voice. The E-mark button can be used to record an end (E) mark. This E-mark is an index mark for indicating a separation between a plurality of voice data entries.
[0077] The system control section 25 connects with a data conversion section 33 for data transfer so as to communicate with the PC 10 via a USB cable 40. The data conversion section 33 for data transfer provides means for receiving signals from an external device such as a PC, means for sending a connection completion signal to an external device, and means for sending data. When the USB cable 40 is connected, the data conversion section 33 for data transfer supplies a connection confirmation signal 34 to a terminal T1 of the system control section 25.
[0078] In the voice data recording and reproducing apparatus 20, an analog signal input from the MIC 21 is amplified in the AMP 22. The amplified signal passes the LPF 23, and then is converted to a digital signal in the A/D converter 24. The signal is input to the system control section 25 for coding. The coded data is stored in the semiconductor memory 26. At this time, one voice data entry separated by the E-mark is recorded as one file.
[0079] The system control section 25 reads and encodes data stored in the semiconductor memory 26. The encoded read data is input to the D/A converter 28. The data is converted to an analog signal via the LPF 29. The signal output from the LPF 29 is amplified in the power amplifier 30 and is externally output as sound from the speaker 31.
[0080] When data is stored in the semiconductor memory 26, an error correction code is provided during recording every n-byte block, for example, every 512 bytes as a packet unit in a file. During playback, the system control section 25 uses the error correction code to perform error correction processing for data read from the semiconductor memory 26, and then perform decoding.
[0081] Data stored in the semiconductor memory 26 is read by the system control section 25 and is input to the data conversion section 33 for data transfer. The data is then input to an external connection interface of the PC 10 via the USB cable 40. The data is processed by data conversion here and is then sent to the CPU (not shown) of the PC 10. It is assumed that the CPU of the PC 10 provides a data processing capability superior to that of the CPU 25B for the voice data recording and reproducing apparatus 20. In this case, as will be described later in greater detail, when the 512-byte data is read from the semiconductor memory 26, it is transferred as is without error correction.
[0082] The following describes operations of the PC 10 capable of connecting a plurality of voice data recording and reproducing apparatuses 20 having this configuration.
[0083]
FIG. 2 shows a flowchart of a control program for the voice data recording and reproducing apparatus 20 executed on the PC 10.
[0084] When this control program is started, the program initializes screen display and parameter settings (step S11). During this initialization, the program investigates all currently connected USB-compliant devices to create a connection table. Then, based on this connection table, the program performs control changeover (parameter setup) for the voice data recording and reproducing apparatus 20 as an intended USB device.
[0085] Namely, this initialization allows a connection routine as shown in FIG. 3 to be executed for setting parameters. This connection routine first calls a connection confirmation subroutine which investigates all currently connected USB-compliant devices and creates a connection table (step S11A). Then, based on this connection table, the routine calls a control changeover (parameter setup) subroutine for the voice data recording and reproducing apparatus 20 as an intended USB device (step S11B).
[0086]
FIG. 4 details the connection confirmation subroutine at the step S11A. First, for initializing a connection number, an internal counter N (not shown) is reset to 0 (step S11A1). Then, an identification code transfer request is sent to a USB device with a connection number N indicated by this counter N (step S11A2). The PC awaits data (identification code) to receive for a specified period (step S11A3). Whether or not the data is received determines whether the Nth USB device is connected (step S11A4). When that device is not connected, this connection confirmation subroutine terminates and control then returns to the higher-order connection routine. On the other hand, when that device is connected, this connection number (N) and the received identification code is appended to the connection table in RAM (not shown) in the PC 10 (step S11A5). Here, the identification code includes, for example, the corresponding USB device's model name (connected device type) or user ID information (ID number). The PC then increments the connection number N indicated by the counter N by 1 (step S11A6), returns to step S11A2, and issues an identification code transfer request to the next USB device. Repeating steps S11A2 to S11A6 creates the connection table, a list of all connected USB devices.
[0087] This embodiment assumes that connection numbers sequentially from 0 are automatically assigned to devices connected to the PC 10.
[0088]
FIG. 5 details the control changeover (parameter setup) subroutine at the step S11B. First, a connection recorder determination process is performed (step S11B1). In this step, a list of all USB devices connected to the PC 10 recorded in the connection table, i.e., connection numbers is displayed on a PC monitor. When a user enters a desired connection number, it is accepted to select the voice data recording and reproducing apparatus (recorder) 20 as a USB device specified by the user. Then, the identification code is re-obtained from the device corresponding to the connection number selected by the user and that code is compared with the corresponding identification code (connected device type and ID number) in the connection table (step S11B2). This step is needed for ensuring the specified USB device in the following case. The connection confirmation subroutine confirms connection of a USB device to be connected posterior to the USB device whose connection is already confirmed. Meanwhile, this confirmed USB device may be disconnected or newly added to the end of a sequence of connected devices.
[0089] Then, it is checked whether a data transfer control method A is used for the above-mentioned USB device, namely the voice data recording and reproducing apparatus 20 in this case (step S11B3). For doing this, the PC 10 can maintain a determination criterion such as correspondence between a model name and a control method. Alternatively, it is also possible to store a control method for the voice data recording and reproducing apparatus 20 in its semiconductor memory 26 and send this information to the PC 10 so that the PC 10 can check it.
[0090] When the data transfer control method A is detected, a corresponding parameter A is selected (step S11A4). Otherwise, a parameter B corresponding to a data transfer control method B is selected (step S11A5). This example uses two types of data transfer control methods. Obviously, it may be preferable to use three or more methods.
[0091] After the initialization, the PC 10 displays a main screen for controlling the voice data recording and reproducing apparatus 20 on the monitor (step S12). The PC 10 awaits input from a mouse or a keyboard (step S13).
[0092] When an input from the mouse or the keyboard specifies file transfer processing (step S14), a file transfer processing subroutine which will be described later in detail is called to receive a file from the voice data recording and reproducing apparatus 20 via the USB cable 40 (step S15). Then, it is checked if a mouse or keyboard input specifies termination of this control program (step S16). If no termination is specified, control returns to the step S13.
[0093] When a mouse or keyboard input specifies file reproduction (step S17), a file reproduction processing subroutine is called (step S18). In the file reproduction processing subroutine, a file reproduction command is sent to the voice data recording and reproducing apparatus 20 and a specified file is reproduced in this apparatus 20. Thereafter, control advances to the step S16.
[0094] When a mouse or keyboard input specifies recorder storage information confirmation (step S19), a recorder storage information confirmation process subroutine is called (step S20). In this subroutine, a record count confirmation command is sent to the voice data recording and reproducing apparatus 20. Then, the number of records stored in the semiconductor memory 26 is returned from the voice data recording and reproducing apparatus 20 and this number of records is displayed on the monitor. Control then advances to the step S16.
[0095] When a mouse or keyboard input specifies PC clock setup (step S21), a clock setup processing subroutine is called (step S22). In the clock setup processing subroutine, a clock setup command (including time data measured by the PC's built-in clock) is sent to the voice data recording and reproducing apparatus 20 and this apparatus 20's built-in clock is synchronized with the PC 10's clock. Control then advances to the step S16.
[0096] When a mouse or keyboard input specifies recording (step S23), a recording processing subroutine is called (step S24). In the recording processing subroutine, a recording command is sent to the voice data recording and reproducing apparatus 20 and this apparatus 20 records data in the semiconductor memory 26. Control then advances to the step S16.
[0097] If it is determined that termination of the control program is specified at step S16, a power-down processing subroutine is called (step S25). In the power-down processing subroutine, a command for lowering power of the voice data recording and reproducing apparatus 20 is sent to it and this apparatus 20 switches to power-saving mode.
[0098] In the voice data recording and reproducing apparatus 20, the system control section 25 operates as follows though not shown in the figure.
[0099] When a power switch (not shown) is turned on, the system control section 25 initializes internal work memory, registers, and the like (not shown), determines which operation button in the operation/input section 32 is manipulated, and then performs processing according to an operation of the manipulated button. Namely, when the recording button REC is pressed, a recording processing is performed. When a playback button (not shown) is pressed, a playback processing is performed. Further, when a fast-forward button (not shown) is pressed, a fast-forward processing is performed. When a rewind button (not shown) is pressed, a rewind processing is performed. These recording, playback, fast-forward, and rewind processings are same as those for the prior art and a detailed description is omitted for simplicity.
[0100] When no operation button is pressed, the connection confirmation signal 34 from the data conversion section 33 for data transfer is used to check whether the connector of the USB cable 40 is connected. When the connector is connected, the system control section 25 performs processing according to an identification code transfer request or a remote operation request from the PC 10, if any. Namely, during the initialization at the step S11, the system control section 25 receives an identification code transfer request from the PC 10 via the data conversion section 33 for data transfer and the USB cable 40. The system control section 25 then reads a recorder identification code and transfers it to the PC 10. The recorder identification code is unique identification information managed by the pertinent voice data recording and reproducing apparatus 20 and is stored in a specified area in the nonvolatile semiconductor memory 26 as a storage medium. When receiving remote operation request (command) from the PC 10 via the USB cable 40 and the data conversion section 33 for data transfer in the subroutines at the steps S15, S18, S20, S22, S24, and S25, the system control section 25 executes a remote processing subroutine as shown in FIG. 6.
[0101] First, it is checked if a command is received from the PC 10 (step S31).
[0102] When no command is received, control returns to the higher-order connection processing subroutine.
[0103] On the other hand, when receiving any command, it is checked if the command is the file transfer command to be sent at the step S15. If this is true, the file transfer processing is performed (step S33). As will be described later in detail, in this file transfer processing, voice data for a file requested by the PC 10 is read from the semiconductor memory 26, the read data is supplied to the data conversion section 33 for data transfer, and then is transferred to the PC 10 via the USB cable 40. Control then returns to the higher-order connection processing subroutine.
[0104] When the file reproduction command at the step S18 is transferred from the PC 10 (step S34), voice data for the specified file is read from the semiconductor memory 26 and is played back from the speaker 31 according to the above-mentioned processing (step S35). Control then returns to the higher-order connection processing subroutine.
[0105] When the record count confirmation command to be transferred at the step S20 is received (step S36), it is referenced the semiconductor memory 26 to confirm the number of records, then a record count is displayed on the display section not shown (step S37). It is also possible to display this record count information on the monitor of the PC 10 by sending this information to the PC 10 via the data conversion section 33 for data transfer and the USB cable 40. Control then returns to the higher-order connection processing subroutine.
[0106] When receiving the PC clock setup command transferred at the step S22 (step S38), a built-in clock (not shown) is synchronized with the PC 10's clock (step S39). Control then returns to the higher-order connection processing subroutine.
[0107] When receiving the power lowering command sent at the step S25 from the PC 10 (step S40), it is used the power control section 27 to enable the power-saving mode for decreasing the power consumption (step S41). Control then returns to the higher-order connection processing subroutine.
[0108] When receiving the recording command sent at the step S24 (step S42), the subroutine records voice data input from the MIC 21 as mentioned above (step S43). Control then returns to the higher-order connection processing subroutine.
[0109] During the file transfer processing at the step S33, the PC 10 calls the file transfer subroutine at the step S15 as shown in FIG. 7. The voice data recording and reproducing apparatus 20 executes the file transfer processing subroutine as shown in FIG. 8. FIG. 9 shows communication procedure between the PC 10 and the voice data recording and reproducing apparatus 20 at this time.
[0110] The PC 10 checks if the parameter specified at the step S11A4 or S11A5 corresponds to transfer rate A (step S15A). If this is true, the PC 10 uses the setting-A transfer rate, namely the slow transfer, for example, at 1.5 Mbps (step S15B). Otherwise, the PC 10 uses the setting-B transfer rate, namely the fast transfer, for example, at 12 Mbps (step S15C). When a user specifies a file to be transferred, the PC 10 sends the corresponding file number to the voice data recording and/or reproducing apparatus 20 via the USB cable 40 (step S15D).
[0111] The system control section 25 in the voice data recording and reproducing apparatus 20 receives the file number of the file to be transferred (step S331). As a transfer preparation, this section 25 reads file information about that file such as a file size (L) and the like from the semiconductor memory 26 (step S332). The section 25 then transfers that file information to the PC 10 (step S333).
[0112] The PC 10 obtains the file information sent from the voice data recording and reproducing apparatus 20 (step S15E). The PC 10 sends a signal requesting transfer of an n-byte block, for example, 512-byte data as a packet unit in the file and the error correction code to the voice data recording and reproducing apparatus 20 (step S15F), and then enters a reception wait state (step S15G).
[0113] When receiving the data transfer request (step S334), the voice data recording and reproducing apparatus 20 transfers 512-byte data as a packet unit to the PC 10 (step S335). At this time, the system control section 25 in the voice data recording and reproducing apparatus 20 reads voice data from the semiconductor memory 26 and transfers this data as is without the error correction needed for playback. The 6-byte error correction code is appended to the 512-byte data and is stored in the semiconductor memory 26. This error correction code is transferred to the PC (step S336).
[0114] The following describes a structure of data transferred to the PC 10 from the voice data recording and/or reproducing apparatus 20 with reference to FIG. 10. This figure diagrams a data block transferred at a time at the steps S335 and S336.
[0115] The byte number 0 represents an end-of-file flag. The end-of-file flag is set to “0” when the current data block terminates the data block transfer and indicates the last data block in the file. By contrast, the end-of-file flag is set to “1” when the next data block exists and files remain to be transferred. By referencing this end-of-file flag, the PC 10 can determine whether the file transfer is terminated.
[0116] The byte number 1 represents an ECC flag. The ECC flag indicates whether the data block contains an error correction code as will be described later. The ECC flag is set to “1” when the data block contains the error correction code. Otherwise, it is set to “0”.
[0117] The byte numbers 2 to 257 and 258 to 513 record encoded voice data (encoded data 1 and 2). This voice data may contain coding errors such as an error during writing to the semiconductor memory 26.
[0118] Byte numbers 514 to 521, 525, and 526 are used for reserved areas. These areas contain data irrelevant to data processing or no data.
[0119] Byte numbers 522 to 524 record an error correction code for the above-mentioned encoded data 2. Byte numbers 527 to 529 record an error code for the above-mentioned encoded data 1. This error correction code is a redundant code for correcting a 1-bit error in 256-byte data. Such an error may occur during writing to the semiconductor memory 26.
[0120] Accordingly, a single transfer operation transfers 512 bytes of voice data. However, an actual transfer operation transfers a total of 530 bytes of data including additional data as mentioned above.
[0121] When receiving 512 bytes of data from the voice data recording and reproducing apparatus 20, the PC 10 computes “L-512” and stores the result as a new file size L (step S15H). The PC 10 receives an error correction code from the voice data recording and reproducing apparatus 20 (step S15I), applies error correction to the received 512-byte data using its error correction code, and stores the error-corrected data in memory (step S15J). The PC 10 checks if the file size L newly stored at the step S15H is greater than or equal to 512 bytes (step S15K). If this is true, the PC 10 repeats the processing at the steps S15F to S15K.
[0122] When the file size L is smaller than 512 bytes at the step S15K, the PC 10 checks if the parameter specified at the step S11A4 or S11A5 corresponds to a format A (step S15L). If this is true, the conversion method, for example, a data expansion method is set to conversion A which converts format-A data to the PC10's data format (step S15M). Otherwise, the conversion method is set to conversion B which converts format-B data to the PC10's data format (step S15N).
[0123] The PC 10 sends a signal requesting transfer of remaining L bytes (n′ bytes) of data to the voice data recording and reproducing apparatus 20 (step S150). The PC 10 receives the n′-byte data and the error correction code and perform the error correction to terminate this sequence of file transfer processing.
[0124] Thereafter, the transferred data stored in the memory is converted according to the specified conversion method and is saved as a file. At this time, it may be preferable to check if the size of data stored in the memory matches the file size obtained at the step S15E. When a match is found, data is converted to the file. Otherwise, the data stored in the memory is destroyed and an error indication is displayed on the monitor. The voice data recording and reproducing apparatus 20 may be requested to re-transfer data.
[0125] The setup of the data format conversion method is not limited to the above-mentioned step in the flowchart, but may be performed, for example, before sending the file number at the step S15D.
[0126] AS mentioned above, a request to transfer the 512-byte data and the corresponding transfer are repeated until data remaining in the file becomes less than 512 bytes. Finally, the PC 10 issues a request to transfer remaining bytes of data (n′-byte block) to the voice data recording and reproducing apparatus 20. Then, the voice data recording and reproducing apparatus 20 transfers the remaining bytes of data to the PC 10 (step S337). At this time, the system control section 25 in the voice data recording and reproducing apparatus 20 terminates this file transfer processing.
[0127] When this embodiment records digital data corresponding to a voice signal, the voice data recording and reproducing apparatus 20 generates an error correction code and records it as well as that digital data in the semiconductor memory 26. When that digital data is transferred to the PC 10, the system control section 25 in the voice data recording and reproducing apparatus 20 transfers voice data including the error correction code without error correction. The system control section 25 provides a lower data processing capability than the PC 10's CPU. The PC 10's CPU with a higher data processing capability uses an error correction code contained in the received voice data for performing the error correction of the voice data. Namely, the PC 10 with higher throughput is responsible for error correction which requires long time for data transfer. The voice data recording and reproducing apparatus 20 just transfers data stored in the semiconductor memory 26 without performing time-consuming processing, making it possible to fast transfer data.
[0128] According to the prior art, for example, transferring 8-MB data requires 3 minutes and 50 seconds. Our experiment confirmed that this embodiment shortens the transfer time to 1 minute and 30 seconds.
[0129] While there has been described a preferred form of the present invention, the present invention is not limited thereto. It is further understood by those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope thereof.
[0130] For example, the transmission apparatus can be an apparatus for recording and reproducing image data and the like instead of the voice data recording and reproducing apparatus 20 for recording and playing back voice data as described in the above example. The USB connection is used between the PC 10 and the voice data recording and/or reproducing apparatus 20 in the above example. However, the present invention is not limited thereto.
[0131] Additional advantages and modifications will readily occur to those skilled in the art. Therefore, the invention in its broader aspects is not limited to the specific details and representative embodiments shown and described herein. Accordingly, various modifications may be made without departing from the spirit or scope of the general inventive concept as defined by the appended claims and their equivalents.
Claims
- 1. A data transfer system including a transmission apparatus and reception apparatus,
said transmission apparatus comprising:
conversion means for converting an input voice signal to a voice file; error correction data generation means for generating error correction data on the basis of specified unit data in said voice file; recording means for recording said error correction data as well as said voice file on a storage medium; and transmission means for transmitting said voice file and said error correction data recorded on said storage medium on the basis of said specified unit, and said reception apparatus comprising:
reception means for receiving said voice file and said error correction data transmitted from said transmission apparatus; and error correction means for performing error correction of said voice file on the basis of said specified unit data by using said error correction data.
- 2. The data transfer system according to claim 1, wherein
said reception apparatus further comprises transmission request means for generating a transmission request signal in order to request said transmission apparatus to transmit a voice file of specified unit data, and said transmission means, when receiving said transmission request signal, sends a voice file on the basis of specified unit data and corresponding error correction data to said reception apparatus.
- 3. The data transfer system according to claim 2, wherein
said transmission request means requests transmission of next encoded data according to a specified unit after said error correction means finishes error correction for specified unit data in a voice file.
- 4. The data transfer system according to claim 1, wherein
said transmission apparatus further comprises:
read means for reading a voice file and error correction data recorded on said storage medium; error correction means in a transmission apparatus for correcting an error in said voice file by using said read error correction data; and playback means for playing back a voice file an error-corrected by said error correction means in said transmission apparatus, and wherein said error correction means in said reception apparatus provides a higher data processing capability than that for said error correction means in said transmission apparatus.
- 5. A data transfer system including a transmission apparatus and a reception apparatus,
said transmission apparatus comprising:
A/D converter for converting an input voice signal to digital data; DSP for converting said digital data to encoded data; first CPU for generating a voice file based on said encoded data and generating error correction data for each specified unit data in said voice file; memory for storing said voice file and said error correction data; and a data transfer section for transmitting said voice file and said error correction data stored in said memory based on said specified unit under control of said first CPU, and said reception apparatus comprising:
a second CPU for receiving said voice file and said error correction data from said transmission apparatus via an external connection interface and performing error correction of said voice file on the basis of each said specified unit data by using said error correction data.
- 6. The data transfer system according to claim 5, wherein
said second CPU provides higher performance than that for said first CPU.
- 7. A data transfer method for a data transfer system including a transmission apparatus and a reception apparatus, the method comprising the steps of:
a) reading voice data and error correction data from a storage medium in said transmission apparatus for storing voice data and its error correction data; b) transferring said voice data and error correction data from said transmission apparatus to said reception apparatus; and c) performing error correction of said voice data by using said error correction code in said transmission apparatus.
- 8. A data transfer method for a data transfer system including a transmission apparatus and a reception apparatus, the method comprising the steps of:
a) allowing said reception apparatus to issue a request signal to said transmission apparatus so that said transmission apparatus transmits a specified unit of voice data; b) allowing said transmission apparatus, on receipt of said request signal, to read said specified unit of voice data and its error correction data from a storage medium and transmit them to said reception apparatus; and c) allowing said reception apparatus to repeat said step “a” until there remains no voice data to be transferred, the voice data being corrected errors in said specified unit of voice data using said error correction data.
- 9. A data transfer system including a transmission apparatus and a reception apparatus,
said transmission apparatus comprising:
a storage medium storing a voice file and error correction data for said voice file; and transmission means for reading said voice file and said error correction data from said storage medium and transmitting them to said reception apparatus, and said reception apparatus comprising:
reception means for receiving said voice file and said error correction data transmitted from said transmission apparatus; and error correction means for performing error correction of said voice file using said error correction data.
- 10. The data transfer system according to claim 9, wherein
said transmission means transmits said voice file for each specified unit data and corresponding error correction data, and said error correction means performs error correction of said voice file for each specified unit data.
- 11. A data transmission system including a voice reproducing apparatus and reception apparatus,
said voice reproducing apparatus comprising:
a storage medium storing a voice file and error correction data for said voice file; read means for reading said voice file and said error correction data from said storage medium; first error correction means for performing error correction of said read voice file using error correction data; playback means for playing back said error-corrected voice file; and transmission means for transmitting said read voice file and said error correction data to a reception apparatus, and said reception apparatus comprising:
reception means for receiving said voice file and said error correction data transmitted from said transmission apparatus; and second error correction means, having a higher data processing capability than that for said first error correction means, for performing error correction of said voice file using said error correction data.
- 12. A transmission apparatus for transmitting a voice file to a reception apparatus, comprising:
a storage medium storing a voice file and error correction data for said voice file; read means for reading said voice file and said error correction data from said storage medium; first error correction means for performing error correction of said read voice file using error correction data; playback means for playing back said error-corrected voice file; transmission means for transmitting said read voice file and said error correction data to said reception apparatus; and control means for providing control to perform error correction of said voice file read by said first error correction means when playing back voice files in said transmission apparatus and inhibit error correction of voice files by said first error correction means when transmitting a voice file to said reception apparatus.
Priority Claims (1)
Number |
Date |
Country |
Kind |
2000-004692 |
Jan 2000 |
JP |
|