Transmitting device, receiving device, transmitting method, and receiving method
The described devices and methods convert and correct low-speed data using error correction codes to ensure reliable transmission and recovery, addressing inefficiencies in existing methods.
Patent Information
- Application Number
- JP2020038839
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-03-06
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2040-03-06
AI Technical Summary
Existing methods for transmitting high-speed and low-speed data over a single transmission medium face inefficiencies when low-speed data is transmitted using high-speed data transmission, leading to potential loss of low-speed data during errors without effective recovery.
A transmitting device and receiving device utilize conversion laws and error correction codes to convert and correct low-speed data, ensuring both high-speed and low-speed data can be accurately restored even in the presence of errors.
The solution allows for efficient transmission and recovery of both high-speed and low-speed data by employing error correction techniques, ensuring reliable data recovery even in the presence of errors.
Smart Images

Figure 0007540166000013 
Figure 0007540166000011 
Figure 0007540166000008
Abstract
Description
[Technical field]
[0001] The present invention relates to a transmitting device, a receiving device, a transmitting method, and a receiving method. [Background technology]
[0002] In communication between devices, it may be necessary to transmit information of different natures, for example, actual data to be sent to other devices and data related to the device's status information, over a single transmission medium. In such cases, there is usually a large difference between the amount of actual data transmitted and the amount of status information transmitted. Therefore, while a high transmission speed is required for transmitting actual data, a slower transmission speed may be sufficient for transmitting data related to status information.
[0003] One method for transmitting these two pieces of information with different characteristics, as high-speed data with a large amount of data and low-speed data with a small amount of data, is to transmit low-speed data indicating device status information using a high-speed data transmission medium. In this case, when transmitting device status information, the data to be transmitted and the device status information are transmitted in a time-division manner. With this transmission method, a dedicated transmission medium is not required for transmitting device status information, but the data transmission efficiency of the data to be transmitted deteriorates because the device status information is transmitted in a time-division manner using a data transmission medium.
[0004] Patent Document 1 discloses a method of transmitting low-speed data using transmission of a Code Mark Inversion (CMI) code that converts a 1-bit signal into 2 bits and transmits it. That is, Patent Document 1 discloses a method of changing 1 bit into 2 bits by changing the original CMI according to the bit value of the low-speed data and transmitting the low-speed data superimposed on the high-speed data. Patent Document 1 also discloses that the receiving side identifies the change rule and restores the low-speed data.
[0005] Patent Document 2 discloses that when the number of bits that have changed simultaneously in 64-bit data exceeds a predetermined threshold, the data is output with the polarity of each bit reversed, and otherwise the data is output without the polarity being reversed. Patent Document 2 also discloses transmitting the output data, an inversion indication signal indicating whether the number of changed bits has exceeded a threshold, and an error correction code. Patent Document 2 further discloses that when an inversion indication signal in which error code correction has been performed indicates that the number of changed bits has exceeded a threshold, the data in which error code correction has been performed is output with the polarity of each bit reversed, and otherwise the data in which error code correction has been performed is output. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] Japanese Patent Application Publication No. 4-252633 [Patent Document 2] JP 2012-100210 A Summary of the Invention [Problem to be solved by the invention]
[0007] Incidentally, the inversion instruction signal in Patent Document 2 is information regarding polarity inversion of 64-bit data, and is not related to the low-speed data relative to the high-speed data described above. The transmission method disclosed in Patent Document 1 attempts to transmit the low-speed data superimposed on the high-speed data described above, but if an error occurs during data transmission, there is a problem that neither the data originally coded with CMI nor the low-speed data can be restored. SUMMARY OF THE PRESENT DISCLOSURE An object of the present invention is to provide a transmitting device, a receiving device, a transmitting method, and a receiving method that solve the above problems. [Means for solving the problem]
[0008] According to a first aspect of the present invention, a transmitting device includes a converter that converts a transmission unit of data, the conversion rules being 2 n conversion rules each corresponding to an n-bit bit string of low-speed data, and the 2 n conversion rules are different from one another, and the converter converts the transmission unit of data, in which high-speed data that is a processing unit for error correction includes an error correction code of the high-speed data, based on the conversion rules corresponding to the n-bit bit string of the low-speed data to generate transmission data.
[0009] According to a second aspect of the present invention, a receiving device that receives data transmitted from a transmitting device according to the first aspect includes an inverse converter that inversely converts received data based on each of 2 n inverse conversion rules for performing inverse conversion corresponding to each of the 2 n conversion rules of the transmitting device and outputs 2 n inverse conversion data, and an encoder that performs error correction processing on each of the 2 n inverse conversion data corresponding to an error correction method used in the transmitting device and outputs 2 n error correction data after the error correction processing, and outputs a result related to the 2 n error correction. a determiner that identifies an inverse transformation law corresponding to the inverse transformation data for which error correction processing was possible from the results of the 2 n error corrections, and outputs the n-bit bit string corresponding to the identified inverse transformation law as low-speed data based on a correspondence relationship of the inverse transformation law to the 2 n transformation laws corresponding to each n-bit bit string of the low-speed data in the transmitting device; and a selector that outputs, from the 2 n error correction data, error correction data that has been error corrected using the inverse transformation law identified by the determiner as high-speed data.
[0010] According to a third aspect of the present invention, a transmission method includes a conversion rule for converting data of a transmission unit, the conversion rule being 2 n -number of conversion rules corresponding to an n-bit bit string of low-speed data, and the 2 n -number of conversion rules being different from one another, and the data of the transmission unit, in which high-speed data serving as a processing unit for error correction contains an error correction code of the high-speed data, is converted based on the conversion rule corresponding to the n-bit bit string of the low-speed data to generate transmission data.
[0011] According to a fourth aspect of the present invention, there is provided a receiving method for receiving data transmitted by the transmitting method described in the third aspect, which inversely transforms received data based on each of 2n inverse transformation laws for performing inverse transformation corresponding to each of the 2n transformation laws of the transmission method, and outputs 2n inverse transformed data, and performs error correction processing on each of the 2n inverse transformed data corresponding to the error correction method used in the transmission method, and outputs 2n error corrected data after the error correction processing, and outputs a result of the 2n error correction, identifies an inverse transformation law corresponding to the inverse transformed data for which error correction processing was possible from the result of the 2n error correction, and outputs the n-bit bit string corresponding to the identified inverse transformation law as low-speed data based on the correspondence relationship of the inverse transformation law to the 2n transformation laws corresponding to each of the n-bit bit strings of low-speed data in the transmission method, and outputs error corrected data that has been error corrected from the 2n error correction data using the inverse transformation law identified by the judgment as high-speed data. Effect of the Invention
[0012] According to the present invention, when transmitting, data of a transmission unit, in which the high-speed data serving as a processing unit for error correction includes an error correction code of the high-speed data, is converted based on a conversion rule corresponding to an n-bit bit string of low-speed data to generate transmission data. Also, when receiving, one of 2 n inverse conversion rules is identified based on the processing result of 2 n error correction data, and an n-bit bit string corresponding to the identified inverse conversion rule is output as low-speed data. Also, error correction data that has been error corrected using the identified inverse conversion rule when receiving is output as high-speed data. This provides the effect that errors can be detected when transmitting low-speed data without affecting the transmission of high-speed data, and that even if an error occurs during data transmission, both high-speed data and low-speed data can be restored to the extent that error correction can be performed. [Brief description of the drawings]
[0013] [Figure 1] 1 is a diagram showing an outline of the configuration of a transmitting device according to an embodiment of the present invention. [Diagram 2] 1 is a diagram showing an outline of the configuration of a receiving device according to an embodiment of the present invention; [Diagram 3] FIG. 2 is a diagram illustrating the operation of a transmitting device according to an embodiment of the present invention. [Figure 4] FIG. 2 is a diagram illustrating an example of processing of transmission data by a transmitting device according to an embodiment of the present invention. [Diagram 5] FIG. 2 is a diagram illustrating the operation of a receiving device according to an embodiment of the present invention. [Figure 6] FIG. 2 is a diagram showing an example of processing of received data by a receiving device according to an embodiment of the present invention. [Figure 7] FIG. 13 is a diagram showing an outline of the configuration of a transmitting device according to another embodiment of the present invention. [Figure 8] FIG. 11 is a diagram illustrating the operation of a transmitting device according to another embodiment of the present invention. [Figure 9] FIG. 13 is a diagram showing an outline of the configuration of a receiving device according to another embodiment of the present invention. [Figure 10] FIG. 11 is a diagram illustrating the operation of a receiving device according to another embodiment of the present invention. [Figure 11] FIG. 2 is a diagram illustrating an example of the hardware configuration of a transmitting device and a receiving device according to an embodiment of the present invention. [Figure 12] FIG. 2 is a diagram showing a minimum configuration of a transmitting device according to an embodiment of the present invention. [Figure 13] FIG. 2 is a diagram showing a minimum configuration of a receiving device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] A transmitting device and a receiving device according to an embodiment of the present invention will be described below with reference to the drawings. Fig. 1 is a diagram showing an outline of the configuration of a transmitting device 1. In the following, data that is originally transmitted at high speed is referred to as high-speed data, and data that is transmitted at a speed slower than the high-speed data is referred to as low-speed data.
[0015] 1, a transmitting device 1 receives high-speed data and low-speed data, converts the data, and generates and transmits transmission data. The transmitting device 1 includes an error correction encoder 11 and a converter 12.
[0016] The error correction encoder 11 receives high-speed data and generates an error correction code (ECC: Error Correction Code) for error correction for each error correction processing unit for the input high-speed data. The error correction encoder 11 also outputs transmission unit data in which the error correction code is added to the high-speed data that is the error correction processing unit.
[0017] The converter 12 receives the transmission unit data from the error correction encoder 11 and also receives the low-speed data. The converter 12 also encodes the transmission unit data in accordance with the low-speed data to generate transmission data. The transmitting device 1 outputs the generated transmission data.
[0018] 2 is a diagram showing an outline of the configuration of the receiving device 2. By inputting and processing received data, the receiving device 2 reconstructs and outputs the high-speed data and low-speed data from the transmitting device 1. The receiving device 2 includes an inverse converter 21, an error corrector 22, a determiner 23, and a selector 24.
[0019] The inverse converter 21 receives the transmission data, performs an inverse conversion process to the conversion process performed by the converter 12 of the transmission device 1, and outputs the converted data.
[0020] The error corrector 22 includes an error corrector 0·22-0 and an error corrector 1·22-1. The error corrector 0·22-0 and the error corrector 1·22-1 have the same functions. The error corrector 0·22-0 and the error corrector 1·22-1 delete the error correction code from the input data, and perform error detection and error correction processing using the error correction code, and output the processed data. The error corrector 0·22-0 and the error corrector 1·22-1 also output the results of the error correction processing, such as whether an error was detected and corrected, or whether an error was detected and corrected. The error corrector 0·22-0 performs error correction processing on the received data. On the other hand, the error corrector 1·22-1 performs error correction processing on the output data from the inverse converter 21.
[0021] The decision unit 23 inputs the results of the error correction process from the error correctors 0·22-0 and 1·22-1. The decision unit 23 then determines whether the bit value of the low-speed data is “0” or “1” based on the error correction result, and outputs the result as the low-speed data. The decision unit 23 also outputs the decision result to the selector 24.
[0022] Based on the result of the determination by the determiner 23, the selector 24 outputs the output from either the error corrector 0·22-0 or the error corrector 1·22-1 as high-speed data.
[0023] The operation of the transmitting device 1 will be described more specifically with reference to the drawings. Fig. 3 is a diagram showing the operation of the transmitting device 1. In the explanation using Fig. 3, an example of data processing by the transmitting device 1 shown in Fig. 4 will be described.
[0024] As an example of the data to be processed, as shown in FIG. 4, the high-speed data is structured as 8 bytes from B0 to B7, and these 8 bytes are used as a processing unit for error correction. The error correction code is for 1-byte error correction and 2-byte error detection, and the error correction code for error correction is 3 bytes, from C0 to C2. Furthermore, when converter 12 of transmitting device 1 transmits "0" as low-speed data, it outputs as transmission data data in which all bits of the output from error correction encoder 11 are not inverted. Furthermore, when converter 12 transmits "1" as low-speed data, it outputs as transmission data data in which all bits of the output from error correction encoder 11 are not inverted. In addition, in FIG. 4, the transmission data (B0, B1, B2, . . . B7, C0, C1, C2) are non-inverted.
[0025]
number
[0026] indicates inversion.
[0027] When high-speed data and low-speed data are input to the transmitting device 1, the transmitting device 1 starts processing.
[0028] The error correction encoder 11 receives high-speed data as a processing unit for correction encoding, and generates an error correction code according to the error correction and error detection rules of the error correction code. The error correction encoder 11 also adds an error correction code to the high-speed data as a processing unit, and outputs it as data for a transmission unit (step S11). The data for a transmission unit from the error correction encoder 11 is output to the converter 12.
[0029] In the example of Fig. 4, the error correction encoder 11 receives an input of 8 bytes of high-speed data (B0, B1, B2,..., B7) which is a processing unit of correction encoding. The error correction encoder 11 generates a 3-byte error correction code (C0, C1, C2) for the input high-speed data according to the error correction code rule of 1-byte error correction and 2-byte error detection. The error correction encoder 11 also adds the 3-byte error correction code to the 8-byte high-speed data, and outputs 11 bytes of data as a transmission unit of data (B0, B1, B2,..., B7, C0, C1, C2).
[0030] The converter 12 receives the input of low-speed data to be transmitted, and determines whether the bit value of the input low-speed data is "1" or not (step S12).
[0031] If the bit value of the low-speed data is "1" (step S12: YES), the converter 12 inverts all bits of the data of the transmission unit from the error correction encoder 11 (step S13). The converter 12 also generates the data of the transmission unit in which all bits have been inverted as transmission data. The transmitting device 1 transmits the generated transmission data (step S14).
[0032] On the other hand, if the bit value of the low-speed data is not "1" (step S12: NO), converter 12 generates the data of the transmission unit from error correction encoder 11 as transmission data without modification. Then, transmitting device 1 transmits the transmission data generated by converter 12 (step S14). That is, converter 12 does not process the data of the transmission unit from error correction encoder 11 (no inversion of all bits), and uses the data of the transmission unit from error correction encoder 11 as transmission data without modification.
[0033] In the example of Figure 4, when the bit value of the low-speed data is “1”,
[0034]
number
[0035] The 11 bytes of inverted data are output from the transmitter 1 as transmission data.
[0036] Furthermore, if the bit value of the low-speed data is not "1", 11 bytes of non-inverted data (B0, B1, B2, . . . , B7, C0, C1, C2) are output from the transmitting device 1 as transmission data.
[0037] The transmitting device 1 determines whether there is further data to be transmitted, and if there is data to be transmitted (step S15: YES), the process returns to step S11. On the other hand, if there is no data to be transmitted (step S15: NO), the transmitting device 1 ends the transmission process.
[0038] As described above, in the transmitting device 1, when a bit "0" is transmitted as low-speed data, the transmission unit data is not inverted, and when a bit "1" is transmitted as low-speed data, the transmission unit data is inverted and transmitted. On the receiving side, low-speed data can be detected by identifying whether the received data is non-inverted or inverted.
[0039] In the example of Fig. 4, the transmitting device 1 can transmit 1 bit of low-speed data for every 8 bytes of high-speed data. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmission data, the conversion process of the high-speed data that is the processing unit of the correction coding may be performed according to a predetermined transmission rule. For example, as an example of the predetermined transmission rule, the conversion process of the high-speed data that is the processing unit of the correction coding may be performed in the same bit value state until the transmission bit of the low-speed data changes. In this case, the transmitting device 1 and the receiving device 2 may exchange the transmission rules of the high-speed data and the low-speed data, such as information on the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting the transmission and reception of data.
[0040] As an example of a predetermined transmission rule, when converting high-speed data, which is the processing unit for correction coding, with the same bit value until a change occurs in the transmission bit of the low-speed data, an example is as follows: When transmitting 1 bit of low-speed data while processing 16 bytes of high-speed data with 8 bytes of high-speed data, the converter 12 processes the 1 bit of low-speed data with the same value while processing the 8 bytes of high-speed data, which is the processing unit for correction coding, twice.
[0041] Next, the operation of the receiving device 2 will be described in more detail with reference to the drawings. FIG. 5 is a diagram showing the operation of the receiving device 2. In the explanation using FIG. 5, an example of data processing by the receiving device 2 shown in FIG. 6 will be described. In the example of FIG. 6, as in FIG. 4, it is assumed that the high-speed data, which is the processing unit for error correction, is 8 bytes and the code for error correction is 3 bytes. Also, in the example of FIG. 6, the data from the transmitting device 1 is processed as transmission data in units of 11 bytes (8 bytes + 3 bytes). Also, in FIG. 6, the transmission data in units of 11 bytes from the transmitting device is transmitted from time t0 to t 11 In this example,
[0042] Upon receiving data from the transmitting device 1, the receiving device 2 starts processing.
[0043] The receiving device 2 branches the received data into two systems. The receiving device 2 processes the received data of the first system, expecting that the bit value of the low-speed data is "0", and processes the received data of the second system, expecting that the bit value of the low-speed data is "1". That is, the received data of the second system is input to the inverse converter 21, which inverts all bits of the input received data and outputs it as inversely converted data (step S21).
[0044] The first system of received data is a system in which the bit value of the low-speed data is expected to be "0". When the bit value of the low-speed data is "0", the high-speed data is transmitted without inversion, so the receiver 2 does not invert the received data, that is, inputs the received data directly to the error corrector 0·22-0. The error corrector 0·22-0 checks whether there is an error using data corresponding to the error correction code included in the received data, and corrects the error if it is possible (step S22).
[0045] In Fig. 6, error correction processing is performed on 11 bytes of received data using 3 bytes of error correction code, the error correction code is removed, and the remaining 8 bytes of data are output as error corrected data. In the example of Fig. 6, the 8 bytes of data output from the error corrector 0·22-0 (ECC0) are shown as (D0, D1, D2,...D6, D7).
[0046] The error corrector 0·22-0 outputs the error correction data to the selector 24. The error corrector 0·22-0 also outputs error information indicating whether the error was correctable or uncorrectable to the determiner 23. Note that "correctable" includes the case where it has been confirmed that error correction is unnecessary by using an error correction code, and the case where an error is correctable and has been corrected. "Uncorrectable" refers to the case where an error cannot be corrected by using an error correction code.
[0047] The inversely transformed data output from the inverse transformer 21 is input to the error corrector 1·22-1. The error corrector 1·22-1 checks whether there is an error by using data corresponding to an error correction code included in the inversely transformed data, and corrects the error if it is possible (step S23).
[0048] In Fig. 6, error correction processing is performed on 11 bytes of inversely converted data using a 3-byte error correction code, the error correction code is removed, and the remaining 8 bytes of data are output as error corrected data. In the example of Fig. 6, the 8 bytes of data output from the error corrector 1·22-1 (ECC1) are shown as (E0, E1, E2,..., E6, E7).
[0049] Moreover, the error corrector 1·22-1 outputs the error correction data to the selector 24. Moreover, the error corrector 1·22-1 outputs to the determiner 23 error information indicating whether the error was correctable or uncorrectable.
[0050] Based on the error information from error corrector 0·22-0 and error corrector 1·22-1, determiner 23 identifies which error corrector is on the side where no correctable errors have occurred, and outputs information indicating the error corrector on the correctable side to selector 24. Based on the identification result, determiner 23 outputs the bit value of the low-speed data (step S24). That is, if error corrector 0·22-0 was able to correct the error, determiner 23 outputs "0" as the bit value of the low-speed data, and if error corrector 1·22-1 was able to correct the error, determiner 23 outputs "1" as the bit value of the low-speed data.
[0051] In the example of Figure 6, the 8-byte error correction data from the error corrector 0·22-0 (ECC0) that could not be corrected is shown in black, and the 8-byte error correction data where there was no error or where an error was detected but was corrected is shown in white. Similarly, in the error correction data from the error corrector 1·22-1 (ECC1), 8 bytes of error correction data that could not be corrected are shown in black, and 8 bytes of error correction data where there was no error or where an error was detected but was corrected are shown in white.
[0052] 6, since the error corrector 0·22-0 was able to correct the error at times t0 and t1, the determiner 23 outputs "0" as the bit value of the low-speed data at times t0 and t1. Since the error corrector 1·22-1 was able to correct the error at times t2 to t6, the determiner 23 outputs "1" as the bit value of the low-speed data at times t2 to t6. Furthermore, since the error corrector 0·22-0 was able to correct the error at times t7 to t11, the determiner 23 outputs "0" as the bit value of the low-speed data at times t7 to t11.
[0053] The selector 24 outputs, as high-speed data, the input from the error corrector on the side where correction was possible based on the information on the occurrence status of correctable errors from the decision unit (step S25).
[0054] The receiving device 2 determines whether further data has been received (step S26), and if no data has been received (step S26: NO), ends the process. On the other hand, if data has been received (step S26: YES), the receiving device 2 returns to step S21 to process the next received data.
[0055] In this manner, the receiving device 2 outputs high-speed data and low-speed data.
[0056] 6, the operation of the receiving device 2 has been described as an example in which the transmitting device 1 transmits 1 bit of low-speed data for 8 bytes of high-speed data. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmission data, the determiner 23 of the receiving device 2 may output bits of the low-speed data according to a predetermined transmission rule. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules, such as information on the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting transmission and reception of data.
[0057] In FIG. 6, the operation of the receiving device 2 has been described in the case where no error occurs during transmission, or even if an error occurs during transmission, it is within the error correction capability, that is, the error is a one-byte error.
[0058] If an error of 2 bytes or more occurs during transmission, it becomes an error that cannot be corrected by either error corrector. In this case, the determiner 23 outputs information to the selector 24 to output data from either side as high-speed data, so as to obtain high-speed data. The determiner 23 also outputs either low-speed data. The high-speed data and low-speed data output from the receiving device 2 are erroneous data, but this is not due to the transmission of low-speed data, but is an error that was bound to occur and exceeds the correction capability of the error corrector. Such errors can be processed by a subsequent circuit (not shown) included in the receiving device 2, which processes error data in a normal receiving device, such as processing a retransmission request.
[0059] 1 and 2, it has been explained that when the bit value of the low-speed data is "0", all bits of the transmission data are not inverted, and when the bit value is "1", all bits of the transmission data are inverted. This is not limited to this, and for example, when the bit value of the low-speed data is "0", all bits of the transmission data are inverted, and when the bit value is "1", all bits of the transmission data are non-inverted.
[0060] Furthermore, when the bit value of the low-speed data is "0", "conversion rule 0" for converting data may be applied to the transmission data, and when the bit value is "1", "conversion rule 1" for converting data may be applied to the transmission data. In this case, "conversion rule 0" and "conversion rule 1" are different conversion rules. In this case, the converter 12 of the transmitting device 1 performs data conversion processing using "conversion rule 0" or "conversion rule 1" on the data output from the error correction encoder 11 according to the bit value of the low-speed data. In this case, the receiving device 2 includes an "inverse converter 0" that performs an inverse conversion of "conversion rule 0" on the received data, and an "inverse converter 1" that performs an inverse conversion of "conversion rule 0" on the received data. Then, the data from "inverse converter 0" is input to the error corrector 0·22-0 for processing, and the data from "inverse converter 1" is input to the error corrector 1·22-1 for processing.
[0061] Also, in the receiving device 2, the error corrector 22 has been described as including two error correctors, error corrector 0·22-0 and error corrector 1·22-1. However, if the processing speed of the receiving device 2 is sufficiently fast compared to the receiving transmission speed, the error corrector 22 may include a single error corrector. In this case, the error corrector 22 may be configured to process the two systems of transmission data alternately and output the processing results.
[0062] In the above embodiment, the conversion process performed on high-speed data is changed based on one bit of low-speed data. However, the present invention is not limited to this. In the case of n bits of low-speed data (where "n" is an integer), the conversion process may be performed using 2 n conversion rules. In other words, data including an error correction code of high-speed data may be converted using a conversion rule corresponding to a bit string of n bits. In this case, the receiving device 2 may also perform the process using 2 n inverse converters that perform processing based on 2 n inverse conversion rules corresponding to the 2 n conversion rules.
[0063] The following describes a transmitting device 1 and a receiving device 2 that use conversion processing based on n bits ("n" is an integer) of low-speed data.
[0064] 7, a transmitting device 1 receives high-speed data and low-speed data, converts the data based on n bits of the low-speed data, and generates transmission data. The transmitting device 1 includes an error correction encoder 11 and a converter 12.
[0065] The error correction encoder 11 is the same as the error correction encoder 11 described in FIG.
[0066] Converter 12 receives the transmission unit data from error correction encoder 11 and also receives the low-speed data. Converter 12 then encodes the transmission unit data in accordance with the n-bit value of the low-speed data to generate transmission data. Converter 12 comprises switch 12a and 2 n converters 1·12-1, 2·12-2, ..., converter 2 n 12-2 n Each converter has a different conversion law.
[0067] Switch 12a performs a process of inputting data output from error correction encoder 11 to one of the converters based on the value of n bits of the low-speed data. For example, if n bits is 2 bits, converter 12 has four converters, which is 2^2. Switch 12a also performs a process of connecting (selecting) with error correction encoder 11 to converter 1·12-1 when the value of the 2 bits is "00", to converter 2·12-2 when the value is "01", to converter 3·12-3 when the value is "10", and to converter 4·12-4 when the value is "11".
[0068] The operation of the transmitting device 1 shown in Fig. 7 will be described in more detail with reference to Fig. 8. Fig. 8 is a diagram showing the operation of the transmitting device 1 shown in Fig. 7.
[0069] The error correction encoder 11 receives the input of high-speed data that is the processing unit of the correction encoding, and generates an error correction code according to the error correction and error detection rules of the error correction code. The error correction encoder 11 also adds an error correction code to the high-speed data that is the processing unit, and outputs it as data of a transmission unit (step S31). The data of the transmission unit from the error correction encoder 11 is output to the converter 12.
[0070] Converter 12 receives input of the low-speed data to be transmitted, and switch 12a of converter 12 connects (selects) the converter so that the converter corresponding to the n-bit bit string of the input low-speed data is connected to error correction encoder 11 (step S32).
[0071] The converter that is connected (selected) and receives input from the error correction encoder 11 converts the transmission unit data from the error correction encoder 11 according to the conversion rule assigned to that converter, to generate transmission data (step S33).
[0072] The transmitting device 1 outputs the output data from the converter 12 as transmission data (step S34).
[0073] The transmitting device 1 determines whether there is further data to be transmitted, and if there is data to be transmitted (step S35: YES), the process returns to step S31. If there is no data to be transmitted (step S35: NO), the transmitting device 1 ends the transmission process.
[0074] As described above, the transmitting device 1 converts n bits of low-speed data into high-speed data with error correction codes. This makes it possible to send low-speed data even if the transmission speed of the low-speed data is n times faster than that of the transmitting device 1 shown in FIG.
[0075] For example, the transmitting device 1 can transmit n bits of low-speed data for each 8-byte unit of high-speed data to which an error correction code is added. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmission data, conversion processing of the high-speed data that is the processing unit for the error correction coding may be performed according to a predetermined transmission rule. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules, such as information on the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting data transmission and reception.
[0076] 9 is a diagram showing an outline of the configuration of a receiving device 2 that reconstructs low-speed data in units of n bits. The receiving device 2 inputs and processes the received data, and sequentially reconstructs and outputs high-speed data and n-bit low-speed data. The receiving device 2 includes an inverse converter 21, an error corrector 22, a determiner 23, and a selector 24.
[0077] The inverse converter 21 is made up of 2 n inverse converters 1·21-1, 2·21-2, and so on. n 21-2 n The 2n inverse transformers are assigned 2n inverse transform rules for performing inverse transforms corresponding to the 2n transform rules of the transmitting device 1. The 2n inverse transformers perform inverse transform processing of the received data according to the assigned inverse transform rules. The inverse transformer 21 receives input of the received data, and outputs 2n inverse transformed data that have been subjected to different inverse transforms.
[0078] The error corrector 22 is made up of 2 squared error correctors 1·22-1, 2·22-2, . . . , and 2 n 22-2 n Each of the 2 n error correctors has the same function. The 2 2 error correctors are made up of 2 n inverse converters 1·21-1, 2·21-2, …, and 2 n inverse converter 2. n 21-2 nEach of the 2n error correctors removes the error correction code from the input data, detects errors using the error correction code, and corrects errors, outputting the processed data. Each of the 2n error correctors also outputs information about the results of the error correction process, such as whether an error was detected and corrected, or whether an error was detected and corrected.
[0079] The decision unit 23 inputs information on the results of error correction processing from the 2 n error correctors, determines an n-bit bit string of low-speed data from the results of error correction, and outputs the low-speed data.
[0080] Based on the result of the determination by the determiner 23, the selector 24 outputs one of the outputs from the 2 n error correctors as high-speed data.
[0081] Next, the operation of the receiving device 2 shown in Fig. 9 will be described in more detail with reference to Fig. 10. Fig. 10 is a diagram showing the operation of the receiving device 2 shown in Fig. 9.
[0082] Upon receiving the data from the transmitting device 1, the receiving device 2 starts processing.
[0083] The receiver 2 branches the received data into 2 n routes and inputs them to 2 n inverse transformers. The 2 n inverse transformers that receive the inputs perform inverse transform processing on the input received data based on the inverse transform rule assigned to each inverse transformer, and output the data as inverse transformed data (step S41). Each inverse transformer also outputs the inverse transformed data to the error corrector connected thereto.
[0084] The 2 n error correctors that receive the inverse transformed data check whether there is an error using data corresponding to the error correction code contained in the inverse transformed data, and correct the error if it is possible (step S42).
[0085] The determiner 23 identifies an error corrector that was able to correct the error based on information on the results of 2 n error correction from each error corrector, and outputs information indicating the error corrector that was able to correct the error to the selector 24. The determiner 23 also outputs an n-bit bit string of low-speed data based on the identification result (step S43). That is, the determiner 23 outputs an n-bit bit string corresponding to the identified error corrector as low-speed data.
[0086] The selector 24 outputs, as high-speed data, the input from the error corrector that was correctable based on the identification result from the determiner (step S44).
[0087] For example, when n bits is 2 bits, the converter 12 of the transmitting device 1 selects converter 1·12-1 when the value of the 2 bits is “00”, converter 2·12-2 when the value is “01”, converter 3·12-3 when the value is “10”, and converter 4·12-4 when the value is “11”. The inverse converter 21 of the receiving device 2 is provided with four inverse converters, inverse converter 1·21-1, inverse converter 2·21-2, inverse converter 3·21-3, and inverse converter 4·21-4, corresponding to the respective converters. In this case, when the 2-bit value of the low-speed data transmitted from the transmitting device 1 is “01”, the error corrector 2·22-2 outputs information that “correction is possible”. As a result, the determiner 23 outputs “01” as the low-speed data (step S43). Furthermore, the selector 24 outputs the data output by the error corrector 2·22-2 as high-speed data based on the result of the determiner 23 identifying the error corrector 2·22-2 as an error corrector that was “correctable” (S44).
[0088] The receiving device 2 determines whether further data has been received (step S45), and if no data has been received (step S45: NO), ends the process. On the other hand, if data has been received (step S45: YES), the receiving device 2 returns to step S41 to process the next received data.
[0089] In this manner, the receiver 2 outputs high-speed data and low-speed data in response to the input of received data.
[0090] The operation of the receiving device 2 shown in Fig. 9 has been described as an example in which the transmitting device 1 shown in Fig. 7 transmits n bits of low-speed data for 8 bytes of high-speed data. If the transmission speed of the low-speed data can be slower than the transmission speed of the transmission data, the determiner 23 of the receiving device 2 may output bits of the low-speed data according to a predetermined transmission rule. In this case, the transmitting device 1 and the receiving device 2 may exchange transmission rules such as information on the transmission rates of the high-speed data and the low-speed data, or the ratio of the transmission rates of the high-speed data and the low-speed data, before starting transmission and reception of data.
[0091] 9, the receiving device 2 includes an error corrector 22 that is made up of 2 n error correctors 1·22-1, 2·2-2, and 2 n 22-2 n However, if the processing speed of the receiving device 2 is sufficiently fast compared to the transmission speed of the transmission data from the transmitting device 1, the error corrector 22 may be one having fewer than 2 n error correctors. In this case, the fewer than 2 n error correctors in the error corrector 22 may process the output from one or more inverters.
[0092] In the explanation of the operation of the receiving device 2 using Figure 10, the operation of the receiving device 2 has been explained in the case where no errors occur during transmission, or even if an error occurs during transmission, it is within the range of error correction capabilities, i.e., a 1-byte error.
[0093] In the operation of the receiving device 2 using FIG. 10, if an error of 2 bytes or more occurs during transmission, it becomes an error that cannot be corrected by any of the error correctors. In this case, the determiner 23 outputs information to the selector 24 to output data from any of the error correctors as high-speed data, thereby obtaining high-speed data. The determiner 23 also outputs any of the n-bit data as low-speed data. The high-speed data and low-speed data output from the receiving device 2 are erroneous data, but this is not due to the transmission of low-speed data, but is an error that was bound to occur and exceeds the correction capability of the error corrector. Such errors can be processed by a subsequent circuit included in the receiving device 2 (not shown) to process error data in a normal receiving device, such as processing a retransmission request.
[0094] In the above embodiment, the error correction code is described as an example of 1-byte error correction and 2-byte error detection, but is not limited thereto. For example, the error correction code may be any code capable of correcting errors, such as a convolutional code.
[0095] Considering the processing speed, it is preferable that each processor constituting the transmitting device 1 and the receiving device 2 is configured with a dedicated circuit. However, the functions of the transmitting device 1 and the receiving device 2 may be realized by software using a general-purpose processor, memory, bus, etc. that is sufficiently fast for the data to be transmitted and received. An example of the hardware configuration of the transmitting device 1 and the receiving device 2 in such a case is shown in FIG. 11.
[0096] 11 illustrates a computer 9 for implementing the transmitting device 1 and the receiving device 2, as well as a network 81. The computer 9 is any computer. For example, the computer 9 is a personal computer (PC), a server machine, or a tablet terminal. The computer 9 may be a dedicated computer designed for implementing the transmitting device 1 and the receiving device 2, or may be a general-purpose computer.
[0097] The computer 9 includes a bus 91, a processor 92, a memory 93, a storage device 94, an input / output interface 95, and an external interface 96. The bus 91 is a data transmission path for the processor 92, the memory 93, the storage device 94, the input / output interface 95, and the external interface 96, which also serves as a network interface, to transmit and receive data to and from each other. However, the method of connecting the processor 92 and the like to each other is not limited to bus connection. The processor 92 is various processors such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), or an FPGA (Field-Programmable Gate Array). The memory 93 is a main storage device realized using a RAM (Random Access Memory) or the like. The storage device 94 is an auxiliary storage device realized using a hard disk, an SSD (Solid State Drive), a memory card, or a ROM (Read Only Memory), or the like.
[0098] The input / output interface 95 is an interface for connecting the computer 9 to an input / output device. For example, the input / output interface 95 is connected to an input device such as a keyboard and an output device such as a display device.
[0099] The external interface 96 is an interface for connecting the computer 9 to a network 81 or the like. Fig. 11 illustrates a case in which the external interface 96 is a network interface and is connected to the network 81, but this is not limited thereto. In the illustrated example, the network is, for example, a LAN (Local Area Network) or a WAN (Wide Area Network). The method for connecting the external interface 96 to the network may be a wireless connection or a wired connection.
[0100] The external interface 96 may be an interface for directly connecting an external device, other than a network interface, for example, a Universal Serial Bus (USB) or IEEE1394 for connection to other devices.
[0101] The storage device 94 stores program modules that realize each processing unit of the transmitting device 1 and the receiving device 2. The processor 92 reads each of these program modules into the memory 93 and executes them to realize the function corresponding to each program module.
[0102] 12 is a diagram showing the minimum configuration of the transmitting device 1. The transmitting device 1 includes a converter 12. The converter 12 includes conversion rules for converting transmission unit data, which are 2 n conversion rules corresponding to n-bit bit strings of low-speed data, and each of the 2 n conversion rules is different. The converter 12 converts the transmission unit data, in which high-speed data, which is a processing unit for error correction, includes an error correction code of high-speed data, based on the conversion rule corresponding to the n-bit bit string of low-speed data, to generate transmission data.
[0103] Fig. 13 is a diagram showing a minimum configuration of a receiving device 2 that receives reception data from the transmitting device 1 shown in Fig. 12. The receiving device 2 includes an inverse converter 21, an error corrector 22, a determiner 23, and a selector 24. The inverse transformer 21 inverse transforms the received data based on each of the 2n inverse transform rules for performing inverse transform corresponding to the 2n conversion rules of the transmitting device 1, and outputs 2n inverse transformed data. The error corrector 22 performs error correction processing on each of the 2 n inverse transformed data corresponding to the error correction method used by the transmitting device 1, and outputs the 2 n error corrected data after the error correction processing, as well as the results regarding the 2 n error correction. The decision unit 23 identifies an inverse transformation rule corresponding to the inverse transformation data for which error correction processing was possible, based on the results of the 2 n error corrections. The decision unit 23 outputs an n-bit bit string corresponding to the identified inverse transformation rule as low-speed data, based on the correspondence relationship of the inverse transformation rule to the 2 n transformation rules corresponding to each n-bit bit string of the low-speed data in the transmitting device 1. The selector 24 selects the error correction data that has been subjected to error correction processing according to the inverse transformation rule specified by the determiner 23 from the 2 n error correction data, and outputs the error correction data as high-speed data.
[0104] The transmitting device 1 and the receiving device 2 have been described above as examples applied to the exemplary embodiments described above. However, the technical scope of the transmitting device 1 and the receiving device 2 is not limited to the scope described in each of the above-mentioned embodiments. It is clear to those skilled in the art that various modifications or improvements can be made to such embodiments. In such cases, new embodiments incorporating such modifications or improvements may also be included in the technical scope of the transmitting device 1 and the receiving device 2. [Explanation of symbols]
[0105] 1. Transmitting device 11. Error correction coder 12. Converter 2. Receiving device 21... Inverse converter 22 Error corrector 22-0 Error corrector 0 22-1 Error corrector 1 23...Judgment device 24...Selector
Claims
1. A converter that converts data in a transmission unit, the conversion rules being 2 n in number corresponding to an n-bit bit string of low-speed data, and the 2 n conversion rules being different from one another, and that converts data in a transmission unit, in which high-speed data serving as a processing unit for error correction includes an error correction code of the high-speed data, based on the conversion rules corresponding to the n-bit bit string of the low-speed data to generate transmission data. Equipped with exchanging, with a receiving device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting transmission of the transmission data; Transmitting device.
2. In the converter, the n bits are 1 bit, and the converter includes, as the conversion rules, two conversion rules corresponding to the bit value of the 1 bit. The transmitting device according to claim 1 .
3. In the converter, one of the two conversion rules is a bit inversion of all bits of the data of the transmission unit, and the other of the two conversion rules is a bit non-inversion of all bits of the data of the transmission unit. The transmitting device according to claim 2.
4. The error correction coder generates data in units of transmission, the data including an error correction code for the high-speed data, the high-speed data being a processing unit for error correction, The converter generates the transmission data from the transmission unit data generated by the error correction encoder. The transmitting device according to any one of claims 1 to 3.
5. A receiving device for receiving data transmitted from the transmitting device according to claim 1, an inverse converter that inversely converts received data based on 2 n inverse conversion rules for inversely converting the received data corresponding to the 2 n conversion rules of the transmitting device, and outputs 2 n inverse converted data; an error corrector that performs an error correction process on each of the 2 n inverse transformed data in accordance with an error correction method used in the transmitting device, outputs the 2 n error corrected data after the error correction process, and outputs a result of the 2 n error correction; a decision unit that identifies an inverse transformation rule corresponding to the inverse transformation data that has been error-corrected based on the result of the 2 n error correction, and outputs the n-bit bit string corresponding to the identified inverse transformation rule as low-speed data based on a correspondence relationship between the inverse transformation rule and the 2 n transformation rules that respectively correspond to the n-bit bit string of the low-speed data in the transmitting device; a selector for selecting the error correction data that has been subjected to error correction processing using the inverse transformation rule specified by the determiner, and outputting the error correction data as high-speed data; Equipped with exchanging, with a transmitting device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting to receive the transmitted data; Receiving device.
6. A receiving device for receiving data transmitted from the transmitting device according to claim 2, an inverse converter that inversely converts received data based on two inverse conversion rules for inverse conversion corresponding to the two conversion rules of the transmitting device, respectively, and outputs two inverse converted data; an error corrector that performs an error correction process on each of the two inverse transformed data in accordance with an error correction method used in the transmitting device, and outputs two pieces of error corrected data after the error correction process, and outputs a result of the two error corrections; a determiner for determining an inverse transformation rule corresponding to the inverse transformation data for which error correction processing has been possible based on the results of the two error corrections, and outputting a bit value corresponding to the determined inverse transformation rule as the low-speed data based on a correspondence relationship between the inverse transformation rules and two transformation rules each corresponding to a bit value of one bit of the low-speed data in the transmitting device; a selector for selecting the error correction data that has been subjected to error correction processing based on the inverse transformation rule specified by the determiner, and outputting the error correction data as high-speed data; A receiving device comprising:
7. A receiving device for receiving data transmitted from the transmitting device according to claim 3, an inverse converter that performs bit inversion of received data; an error corrector that performs an error correction process corresponding to an error correction method used in the transmitting device on the received data and the received data on which all bits have been inverted, and outputs two pieces of error-corrected data after the error correction process, and outputs results related to the two error corrections; a determiner for identifying the error-corrected data that has not been error-corrected or that has been error-corrected from the results of the two error corrections, and outputting a bit value corresponding to the inverse conversion law of the identified error-corrected data as low-speed data based on a correspondence relationship between an inverse conversion law and two conversion laws, full bit inversion and full bit non-inversion, corresponding to a bit value of one bit of the low-speed data in the transmitting device; a selector for outputting the error correction data identified by the determiner as high-speed data from the two error correction data; A receiving device comprising:
8. A conversion rule for converting data in a transmission unit includes 2 n conversion rules each corresponding to an n-bit bit string of low-speed data, and the 2 n conversion rules are different from each other; A transmission unit of data, in which the high-speed data serving as a processing unit for error correction contains an error correction code of the high-speed data, is converted based on the conversion rule corresponding to the n-bit bit string of the low-speed data to generate transmission data. A transmission method, comprising: exchanging, with a receiving device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting transmission of the transmission data; Transmission method.
9. A receiving method for receiving data transmitted by the transmitting method according to claim 8, comprising the steps of: inversely transforming the received data based on 2n inverse transformation rules for performing inverse transformation corresponding to the 2n transformation rules of the transmission method, respectively, and outputting 2n inverse transformed data; performing an error correction process corresponding to the error correction method used in the transmission method on each of the 2 n inverse transformed data, outputting the 2 n error corrected data after the error correction process, and outputting the results of the 2 n error correction; From the result of the 2 n error correction, an inverse transformation rule corresponding to the inverse transformation data for which error correction processing was possible is identified, and based on a correspondence relationship of the inverse transformation rule to the 2 n transformation rules corresponding to each n-bit bit string of the low-speed data in the transmission method, the n-bit bit string corresponding to the identified inverse transformation rule is output as low-speed data; outputting error correction data, which has been subjected to error correction processing based on the specified inverse transformation rule, as high-speed data from the 2 n error correction data; A receiving method, comprising: exchanging, with a transmitting device, a transmission rule for the high-speed data and the low-speed data, which is related to a transmission rate of the high-speed data and the low-speed data, before starting to receive the transmitted data; Receiving method.
Citation Information
Patent Citations
Digital signal transmission system
JP1992252633A
Multiple access coding for wireless communication
JP1994511371A
Radio communication equipment and radio communication method
JP2007202070A
Communication system
JP2008048111A
Data packet type recognition system
JP2011182419A
