COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM
By monitoring bandwidth and switching to optimal error correction methods, the communication system reduces delays associated with encoding/decoding processing, enhancing communication efficiency.
Patent Information
- Application Number
- JP2022572878
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-01-04
- Publication Date
- 2024-09-18
- Estimated Expiration
- 2041-01-04
AI Technical Summary
Existing communication systems experience delays due to the use of predetermined error correction encoding/decoding methods that require large processing loads and times, regardless of data communication volume, leading to increased encoding/decoding delays.
A communication device and method that monitors available bandwidth and selects the optimal error correction encoding/decoding method based on bandwidth availability, switching to methods with shorter processing times when possible, using a plurality of error correction codes to minimize delays.
Reduces communication delays by dynamically selecting encoding/decoding methods that balance processing time with bandwidth availability, optimizing communication efficiency.
Smart Images

Figure 0007552730000002 
Figure 0007552730000003 
Figure 0007552730000006
Abstract
Description
[Technical field]
[0001] The present invention relates to a technique for selecting an optimum error correction encoding / decoding method to be used between communication devices that make up a network. [Background technology]
[0002] In general, between a network device on the upper side (upper network device) and a network device on the lower side (lower network device) that constitute a network, an error correction coding / decoding process accompanied by a coding / decoding delay is performed (for example, see Non-Patent Document 1). For example, in the case of a PON (Passive Optical Network) system, the upper network device corresponds to an OLT (Optical Line Terminal) and the lower network device corresponds to an ONU (Optical Network Unit), and an error correction coding / decoding process using FEC (Forward Error Control Code) is performed (for example, see Non-Patent Document 2). [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] P. Wu et al, “Delay Constraints in 40GBASE-T,” IEEE 802.3: 40G-BASE-T Task Force, May 2014.(https: / / www.ieee802.org / 3 / bq / public / phyproposal / Wu_3bq_01_0514.pdf) [Non-Patent Document 2] DvVeen et al, “FEC code for 25 / 50 / 100G EPON,” IEEE P802.3ca 100G-EPON Task Force Meeting, Mar 2017.(http: / / www.ieee802.org / 3 / ca / public / meeting_archive / 2017 / 03 / vanveen_3ca_1b_0317.pdf) Summary of the Invention [Problem to be solved by the invention]
[0004] Conventionally, regardless of the amount of data being communicated, a predetermined error-correcting encoding / decoding method that imposes a large processing load and takes a long processing time has been used, resulting in a problem that the encoding / decoding delay becomes large and appears as a communication delay, even when the amount of communication is small.
[0005] For example, in high-speed communications known as IEEE802.3ca and ITU-T G.HSP, the adoption of LDPC (Low Density Parity Check) codes is being considered. In this case, the coding overhead is small (there are few redundant bits), but the number of bits required for coding / decoding is large, resulting in large coding / decoding delays.
[0006] On the other hand, in the majority of applications, multiple packet exchanges are performed during communication between a user terminal and a content server. For example, when higher layer processing such as TCP (Transmission Control Protocol) is performed, which controls the amount of transmission according to the round-trip delay time, the encoding delay has a significant impact on the control of the amount of transmission.
[0007] The present invention aims to provide a communication device, a communication method, and a communication program that can reduce communication delays associated with encoding / decoding processes by monitoring the available bandwidth between an upper network device and a lower network device, and selecting an optimal error correction encoding / decoding method based on the available bandwidth. [Means for solving the problem]
[0008] The present invention relates to a communication device that performs communication using an error correction code, the communication device including: an encoding / decoding unit that performs encoding and decoding of data to be communicated using a first error correction code selected from a plurality of error correction codes; a communication traffic monitoring unit that monitors an available bandwidth of a communication path; and whether communication delays are acceptable a switching determination unit that switches a first error correction code used in the encoding / decoding unit to a second error correction code from among the plurality of error correction codes based on the and the switching determination unit selects an error correction code having a larger number of redundant bits but requiring shorter times for encoding and decoding as the available bandwidth increases, or selects an error correction code that minimizes the time from the start of communication to the completion of communication, taking into consideration at least one of the encoding delay required for the encoding process, the time required from the end of the encoding process to the completion of data transmission, the time required from data reception to the completion of the decoding process, and the time required for switching the error correction code. It is characterized by:
[0009] The present invention also provides a communication method in a communication system for performing communication between communication devices using an error correction code, the method comprising: an encoding / decoding process for encoding and decoding data to be communicated using a first error correction code selected from a plurality of error correction codes; a traffic monitoring process for monitoring an available bandwidth of a communication path; and whether communication delays are acceptable A switching determination process for switching a first error correction code used in the encoding / decoding process from the plurality of error correction codes to a second error correction code based on the In the switching judgment process, the larger the available bandwidth is, the greater the number of redundant bits is, but an error correction code that requires a shorter time for encoding and decoding is selected, or the error correction code that minimizes the time from the start of communication to the completion of communication is selected, taking into consideration at least one of the encoding delay required for the encoding process, the time required from the end of the encoding process to the completion of data transmission, the time required from data reception to the completion of the decoding process, and the time required for switching the error correction code. It is characterized by:
[0010] The communication program of the present invention is characterized in that it causes a computer or an integrated circuit to execute the processes performed by the communication device. Effect of the Invention
[0011] The communication device, communication method, and communication program of the present invention can reduce communication delays associated with the encoding / decoding process by monitoring the available bandwidth between an upper network device and a lower network device, and selecting the optimal error correction encoding / decoding method based on the available bandwidth. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a diagram illustrating an example of the overall configuration of a communication system common to each embodiment. [Diagram 2] 1 is a diagram illustrating an example of the configuration of a lower network device and an upper network device. [Diagram 3] FIG. 1 is a diagram illustrating an example of using a PON system. [Figure 4] FIG. 2 is a diagram illustrating an example of the configuration of an ONU and an OLT. [Diagram 5] FIG. 11 is a diagram showing an example of the configuration of a lower network device and an upper network device as a comparative example. [Figure 6] FIG. 2 is a diagram illustrating an example of a plurality of error correction coding schemes. [Figure 7] FIG. 13 is a diagram illustrating an example of encoding delay and transmission time for a payload before encoding. [Figure 8] FIG. 13 is a diagram illustrating an example of encoding delay, transmission time, and switching time for a payload before encoding. [Figure 9] FIG. 13 is a diagram illustrating a configuration example when the encoding method is switched based on content information acquired in advance. [Figure 10] FIG. 2 is a diagram illustrating an example of the configuration of a content server. [Figure 11] FIG. 2 is a diagram illustrating an example of the configuration of a terminal device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a communication device, a communication method, and a communication program according to an embodiment of the present invention will be described with reference to the drawings.
[0014] [Example of overall configuration of communication system 100] FIG. 1 shows an example of the overall configuration of a communication system 100 common to all of the embodiments.
[0015] 1, a communication system 100 includes a terminal device 101, a lower network device 102, an upper network device 103, an L2SW 104, a router 105, an L2SW 106, and a content server 107. In the following embodiment, a case will be described in which the terminal device 101 communicates with the content server 107 in the communication system 100.
[0016] The terminal device 101 is an information terminal used by a user, such as a personal computer, and is connected to a lower network device 102. The terminal device 101 accesses a content server 107 from the lower network device 102 via an upper network device 103, an L2SW 104, a router 105, and an L2SW 106, and transmits and receives content data.
[0017] The lower network device 102 communicates with the upper network device 103 using an error correction code. For example, the lower network device 102 performs encoding processing on data received from the terminal device 101 using a preset error correction code and transmits the encoded data to the upper network device 103. The lower network device 102 also receives data encoded by the upper network device 103 using a preset error correction code, performs decoding processing corresponding to the error correction code, and transmits the decoded data to the terminal device 101.
[0018] The upper network device 103 communicates with the lower network device 102 using an error correction code. For example, the upper network device 103 performs encoding processing on data received from the L2SW 104 connected to the upper side using a preset error correction code and transmits the data to the lower network device 102. The upper network device 103 also receives data encoded by the lower network device 102 using a preset error correction code, performs decoding processing corresponding to the error correction code, and transmits the decoded data to the L2SW 104. Here, in this embodiment, when the terminal device 101 connected to the lower network device 102 communicates with the content server 107, the upper network device 103 monitors the available bandwidth available on the communication path between the upper network device 103 and the lower network device 102. Then, the upper network device 103 selects the error correction encoding / decoding method to be used based on the available bandwidth. Here, the available bandwidth can be measured, specifically, using the link bandwidth, the communication volume (transmission volume or reception volume) within a certain period of time immediately before, and the like. However, if the transmission distance between the lower network device 102 and the upper network device 103 is long and the signal attenuation is large, unless an advanced error correction coding method is used, the error correction capability may be insufficient and correct decoding may not be possible. Therefore, whether or not to switch the coding method is determined taking into account the coding strength required to establish communication.
[0019] The L2SW 104 performs communication processing at the data link layer corresponding to Layer 2 of the OSI reference model. For example, the L2SW 104 transmits data to a destination based on a MAC (Media Access Control) address of data transmitted and received by a connected device. In this embodiment, data transmitted from the terminal device 101 is transmitted to a router 105 in the direction to which the content server 107 is connected, and data transmitted from the content server 107 is transmitted to an upper network device 103 in the direction to which the terminal device 101 is connected.
[0020] The router 105 is a communication device that connects different networks in accordance with various protocols, and performs routing processing to determine a transmission path according to the destination. In this embodiment, the router 105 transmits data transmitted from the terminal device 101 to the L2SW 106 on the path to which the content server 107 is connected, and transmits data transmitted from the content server 107 to the L2SW 104 on the path to which the terminal device 101 is connected.
[0021] Like the L2SW 104, the L2SW 106 performs communication processing at the data link layer corresponding to Layer 2 of the OSI reference model. In this embodiment, data transmitted from the terminal device 101 and received from the router 105 is transmitted to the content server 107, and data transmitted from the content server 107 is transmitted to the router 105.
[0022] The content server 107 provides various contents, ranging from general contents such as streaming video, images, music, news, maps, and games to contents for specific users, to the user who accesses from the terminal device 101 via communication. Here, when the terminal device 101 connects with HTTP (HyperText Transfer Protocol), for example, the content server 107 notifies the terminal device 101 of the amount of data by Content-Length described in the HTTP header of the HTTP response. In this case, the upper network device 103 reads information on the content (referred to as content information) such as Content-Length of the HTTP response, and recognizes how much data is to be transmitted. In addition, when the content server 107 communicates with the terminal device 101, the upper network device 103 may read the description of data described when a session is established with a protocol such as SIP (Session Initiation Protocol) / SDP (Session Description Protocol) or RTCP (Real-time Transport Protocol) Control Protocol, and obtain content information such as transmission frequency, transmission rate, and whether or not low latency is recommended for the application.
[0023] In this way, in the communication system 100 of this embodiment, when communication using error correction codes is performed between the lower network device 102 and the upper network device 103, the optimal error correction encoding / decoding method can be selected based on the available bandwidth and the content information communicated between the terminal device 101 and the content server 107.
[0024] Here, the more advanced the error correction encoding / decoding method is, such as LDPC, the higher the coding efficiency and error correction capability will be compared to a simple encoding method such as the Reed-Solomon code RS(232,255). However, the processing delay will increase due to the more complex processing or the need to compare a larger number of bits in the encoding / decoding.
[0025] In the communication system 100 according to this embodiment, the available bandwidth of the communication path between the lower network device 102 and the upper network device 103 is monitored, and the larger the available bandwidth, the shorter the encoding processing time is selected, thereby making it possible to reduce communication delay. In other words, when the available bandwidth is large, communication is possible even if the overhead is large, so the encoding method with the shortest possible encoding processing time is selected.
[0026] FIG. 2 shows an example of the configuration of the lower network device 102 and the upper network device 103. As shown in FIG.
[0027] (Lower network device 102) The lower network device 102 includes a communication interface (communication IF) 201 for connecting the terminal device 101 , a communication IF 202 for communicating with the upper network device 103 , and a control unit 203 .
[0028] The communication IF 201 is an interface for communicating with the terminal device 101 connected downstream.
[0029] The communication IF 202 is an interface for communicating with the upper network device 103 connected to the upper side.
[0030] The control unit 203 is composed of a CPU (Central Processing Unit) that controls the entire device based on a program previously stored in an internal memory, an FPGA (Field Programmable Gate Array), etc. In Fig. 2, the control unit 203 has an encoding / decoding unit 211 and a switching unit 212. Note that components that are not related to the description of the embodiment (e.g., communication control, etc.) are omitted.
[0031] The encoding / decoding unit 211 performs encoding processing on data received from the terminal device 101 via the communication IF 201 using a specified error correction encoding / decoding method, and transmits the encoded data to the upper network device 103 via the communication IF 202. The encoding / decoding unit 211 also performs decoding processing on data received from the upper network device 103 via the communication IF 202 using a specified error correction encoding / decoding method, and transmits the encoded data to the terminal device 101 via the communication IF 201.
[0032] The switching unit 212 performs a process of switching the error correction encoding / decoding method used in the encoding / decoding unit 211 in response to a command from the upper network device 103 .
[0033] In this way, the lower network device 102 performs encoding / decoding processing using the error correction encoding / decoding method specified by the upper network device 103, and communicates with the upper network device 103. In particular, in this embodiment, the upper network device 103 monitors the available bandwidth available on the communication path between the lower network device 102 and the lower network device 102, and selects the optimal error correction encoding / decoding method according to the available bandwidth, thereby reducing communication delays associated with the encoding / decoding processing.
[0034] (Host network device 103) The upper network device 103 includes a communication IF 301 for connecting the lower network device 102 , a communication IF 302 for communicating with an upper-level communication device (L2SW 104 ), and a control unit 303 .
[0035] The communication IF 301 is an interface for communicating with the downstream network device 102 connected downstream.
[0036] The communication IF 302 is an interface for communicating with the L2SW 104 connected to the upper side.
[0037] The control unit 303, like the control unit 203 of the lower network device 102, is composed of a CPU, FPGA, etc. that controls the entire device based on a program stored in advance in an internal memory, for example. In Fig. 2, the control unit 303 has an encoding / decoding unit 311, a switching determination unit 312, and a communication traffic monitoring unit 313. Note that components that are not related to the description of the embodiment will be omitted.
[0038] The encoding / decoding unit 311 performs a decoding process on data received from the lower network device 102 via the communication IF 301 using a specified error correction encoding / decoding method, and transmits the data to the L2SW 104 via the communication IF 302. The encoding / decoding unit 311 also performs an encoding process on data received from the L2SW 104 via the communication IF 302 using a specified error correction encoding / decoding method, and transmits the data to the lower network device 102 via the communication IF 301.
[0039] The switching decision unit 312 performs a process of determining whether to switch to the optimum error correction coding / decoding method to be used by the encoding / decoding unit 311 from among a plurality of error correction coding / decoding methods so as to reduce communication delay based on the available bandwidth monitored by the communication traffic monitoring unit 313 described later (switching decision process). When switching the method, the switching decision unit 312 instructs the encoding / decoding unit 311 and the lower network device 102 via the communication IF 301 to switch from the error correction code being used (first error correction code) to a new error correction code (second error correction code). Specifically, the switching decision unit 312 transmits a message to the encoding / decoding unit 311 and the lower network device 102, including information such as the frame number at which the switching starts and the switching start time, to instruct the switching unit 311 and the lower network device 102 to switch to the new error correction coding / decoding method. This allows the same error correction coding / decoding method to be used at the destination and the source. Here, the multiple error correction coding / decoding methods include at least the conditions of coding delay (decoding delay), redundancy, and coding gain, and may further include conditions such as the time required to switch between error correction coding / decoding methods (switching time), the transmission time after coding, etc. These conditions will be described in detail later.
[0040] The traffic monitoring unit 313 performs a process of monitoring the available bandwidth of the communication path between the lower network device 102 and the upper network device 103 (traffic volume monitoring process). In the example of FIG. 1, only one terminal device 101 is connected to the lower side, but when multiple terminal devices are connected, the traffic volume of each terminal device and the available bandwidth at that time (bandwidth not used by multiple terminal devices) are measured. Specifically, the measurement of the available bandwidth may be performed using the link bandwidth, the amount of reception within a certain period of time immediately before, the amount of transmission within a certain period of time immediately before, etc. However, when the transmission distance between the lower network device 102 and the upper network device 103 is long and the attenuation of the signal is large, if an advanced error correction coding method is not used, the error correction ability may be insufficient and the signal may not be decoded correctly. For this reason, the switching determination unit 312 needs to select the optimal error correction coding / decoding method including the coding strength required for establishing communication.
[0041] In this way, the upper network device 103 can monitor the available bandwidth of the communication path between the upper network device 103 and the lower network device 102, and select the optimal error correction encoding / decoding method depending on the available bandwidth, thereby reducing communication delays associated with the encoding / decoding process.
[0042] The encoding / decoding unit 211 of the lower network device 102 and the encoding / decoding unit 311 of the upper network device 103 may be realized by configuring a plurality of encoding / decoding methods in parallel in advance using an ASIC or the like, or by configuring them in parallel using an FPGA or the like. Alternatively, they may be realized by a means that is reconfigurable on demand (including download), or two encoding / decoding methods may be prepared in parallel on demand so that one can be reconfigured later even while the other is in operation.
[0043] [PON system example] Fig. 3 shows an example using a PON system. In Fig. 3, a communication system 100a includes a terminal device 101, an ONU 102a, an OLT 103a, an L2SW 104, a router 105, an L2SW 106, a content server 107, and an optical splitter 108. Here, the difference from the communication system 100 described in Fig. 1 is that the lower network device 102 is replaced with an ONU 102a, and the upper network device 103 is replaced with an OLT 103a, respectively, and a PON system is configured between the ONU 102a and the OLT 103a via the optical splitter 108.
[0044] In the protocol of the PON system, the ONU 102a notifies the OLT 103a of a transmission request amount based on the amount of data to be transmitted, and the OLT 103a instructs each ONU on the transmission permission amount and transmission timing based on the transmission request amounts from a plurality of ONUs including the ONU 102a connected via the optical splitter 108. In this embodiment, the available bandwidth of the communication path can be monitored based on the transmission request amount and transmission permission amount communicated between the ONU 102a and the OLT 103a.
[0045] FIG. 4 shows an example of the configuration of the ONU 102a and the OLT 103a described in FIG.
[0046] (ONU102a) The ONU 102a includes a communication IF 201 for connecting the terminal device 101, a PONIF 202a for PON communication with the OLT 103a, and a control unit 203a. Here, the communication IF 201 is an interface for communicating with the terminal device 101 connected downstream, similarly to FIG.
[0047] The PONIF 202a is an interface that performs PON communication with the OLT 103a that is connected on the upper side.
[0048] The control unit 203a is configured and operates in the same manner as the control unit 203 in Fig. 2. However, the control unit 203a performs control in accordance with the PON standard. For example, the amount of data received from the terminal device 101 is transmitted to the OLT 103a as a transmission request amount, and data transmission from the PONIF 202a to the OLT 103a becomes possible upon receiving a transmission permission amount, transmission timing, and the like from the OLT 103a. The encoding / decoding unit 211 and the switching unit 212 operate in the same manner as in Fig. 2. Components not related to the description of the embodiment (e.g., communication control, etc.) will be omitted.
[0049] Here, when there are multiple ONUs including ONU 102a, different processing is performed for each ONU. This is because the terminal device connected to each ONU is different, and the available bandwidth and communication volume are also different, so the error correction encoding / decoding processing optimal for the content communicated by each terminal device is used. In other words, a different error correction encoding / decoding method may be used for each ONU.
[0050] (OLT103a) The OLT 103a includes a PONIF 301a for connecting the ONU 102a, a communication IF 302 for communicating with an upper-level communication device (L2SW 104), and a control unit 303a. Here, the communication IF 302 is an interface for communicating with the L2SW 104 connected to the upper-level side, as in FIG.
[0051] The PONIF 301a is an interface that performs PON communication with the ONU 102a connected downstream.
[0052] The control unit 303a is configured similarly to the control unit 303 in FIG. 2 and operates similarly. However, the control unit 303a performs control in compliance with the PON standard. For example, the control unit 303a determines a transmission band to be allocated to each ONU based on the transmission request amount received from each of a plurality of ONUs including the ONU 102a, and transmits information specifying the transmission permission amount, transmission timing, and the like to each ONU. In addition, the communication traffic monitoring unit 313 can obtain information on the available band from the transmission request amount received from the ONU 102a or the transmission permission amount to be allocated to the ONU 102a. The encoding / decoding unit 311 and the switching unit 212 operate similarly to FIG. 2.
[0053] In this way, the OLT 103a monitors the available bandwidth of the communication path between the OLT 103a and the ONU 102a, and can select the optimal error correction encoding / decoding method according to the available bandwidth, as described in Fig. 2. This makes it possible to reduce communication delays associated with the encoding / decoding process.
[0054] Here, since the OLT 103a accommodates multiple ONUs, the above-mentioned processing is performed for each ONU. For example, the available bandwidth of each communication path is monitored for each ONU, and the optimal error correction encoding / decoding method for each ONU is selected according to each available bandwidth. This makes it possible to reduce communication delays associated with the encoding / decoding processing for each ONU.
[0055] [Comparative Example] 5 shows, as a comparative example, an example of the configuration of a lower network device 702 and an upper network device 703. Here, the lower network device 702 and the upper network device 703 are devices corresponding to the lower network device 102 and the upper network device 103 shown in FIG.
[0056] The lower network device 702 has a communication IF 801 for connecting to the terminal device 101 , a communication IF 802 for communicating with the upper network device 703 , and a control unit 803 .
[0057] The upper network device 703 has a communication IF 901 for connecting the lower network device 702 , a communication IF 902 for communicating with an upper communication device (L2SW 104 ), and a control unit 903 .
[0058] Here, the communication IF 801, the communication IF 802, the communication IF 901, and the communication IF 902 operate in the same manner as the communication IF 201, the communication IF 202, the communication IF 301, and the communication IF 302 described in FIG. 2, respectively.
[0059] The control unit 803 of the lower network device 702 differs from the control unit 203 described in FIG. 2 in that it only has an encoding / decoding unit 811, and the control unit 903 of the upper network device 703 differs from the control unit 303 described in FIG. 2 in that it only has an encoding / decoding unit 911.
[0060] The encoding / decoding unit 811 of the lower network device 702 performs encoding processing on data received from the terminal device 101 via the communication IF 801 using a predetermined fixed error correction encoding / decoding method, and transmits the encoded data to the upper network device 703 via the communication IF 802. The encoding / decoding unit 811 also performs decoding processing on data received from the upper network device 703 via the communication IF 802 using a predetermined fixed error correction encoding / decoding method, and transmits the encoded data to the terminal device 101 via the communication IF 801.
[0061] Similarly, the encoding / decoding unit 911 of the upper network device 703 performs encoding processing on data received from the lower network device 702 via the communication IF 901 using a predetermined fixed error correction encoding / decoding method, and transmits the data to the L2SW 104 via the communication IF 902. Also, the encoding / decoding unit 811 performs decoding processing on data received from the L2SW 104 via the communication IF 902 using a predetermined fixed error correction encoding / decoding method, and transmits the data to the lower network device 702 via the communication IF 901.
[0062] In this way, in the comparative example, the lower network device 702 and the upper network device 703 communicate by performing encoding / decoding processing using a predetermined fixed error correction encoding / decoding method. Therefore, in the configuration of the comparative example, even if the communication volume is small, a predetermined error correction encoding / decoding method that has a large processing load and takes a long time to process is used, so there is a problem that the encoding / decoding delay becomes large and appears as a communication delay.
[0063] [An example of an error correction coding method] An example of a plurality of error correction coding methods is shown in Fig. 6. In the example of Fig. 6, the characteristics of three types of error correction coding methods, coding method A, coding method B, and coding method C, are described.
[0064] In Fig. 6, coding method A has a coding delay of 10 μs, a redundancy of 12%, and a coding gain of 6.5 dB. Coding method B has a coding delay of 100 μs, a redundancy of 12%, and a coding gain of 10 dB. Coding method C has a coding delay of 300 μs, a redundancy of 25%, and a coding gain of 12 dB.
[0065] Here, the encoding delay is the delay time associated with the encoding process from input of payload data before encoding to output of payload data after encoding. Redundancy is expressed as the ratio of the number of bits after encoding to the number of bits of the payload before encoding, and is calculated as redundancy=number of bits after encoding / number of bits of payload before encoding. Note that the number of bits after encoding is the number of payload bits+number of redundant bits due to encoding. Also, the coding gain corresponds to the substantial improvement in BER characteristics before and after error correction. Note that the encoding delay may include the decoding delay.
[0066] Next, a description will be given of an example of processing performed by the switching determination unit 312 described with reference to FIG. 2 or FIG. 4 at the start of communication and during communication.
[0067] (Processing at the start of communication) At the initial stage, a coding scheme with the highest coding gain is selected even if the coding delay is large. In the example of Fig. 6, coding scheme C is selected and communication is started. In this case, the switching determination unit 312 of the upper network device 103 or the OLT 103a instructs the switching unit 212 of the lower network device 102 or the ONU 102a to select coding scheme C at the start of communication. The types of selectable coding schemes are stored in advance in the switching determination unit 312 and the switching unit 212.
[0068] (Processing during communication) At regular intervals (a certain number of bits) during communication, the switching decision unit 312 counts the number of bits detected and corrected by error correction decoding processing such as FEC (Forward Error Correction) to estimate the error rate before decoding. Then, the switching decision unit 312 sets the requirement for the bit error rate after decoding to, for example, 1.0x10 -5 In this case, the estimated bit error rate before decoding is 1.0x10 -6 If the estimated bit error rate before decoding is less than 1.0x10, coding method A in Fig. 6, which has a low coding gain, can be selected. -3If the estimated bit error rate before decoding is about 1.0x10, the coding scheme C with the high coding gain selected at the start of communication is not changed. -4 In this case, coding method B with a coding gain of 10 dB can be selected. Therefore, the coding / decoding unit 311 switches to coding method B and instructs the switching unit 212 of the lower network device 102 (or ONU 102a) to switch to coding method B.
[0069] In this way, the restriction of the selection range due to the distance between the devices corresponding to the bit error rate before error correction can be taken into consideration. In other words, if an advanced error correction coding / decoding method is not used when the distance between the communication devices is long and the signal attenuation is large, there is a possibility that the error correction ability is insufficient and decoding cannot be performed correctly. However, as described above, by determining the switching of the coding method taking into account the bit error rate before error correction, it is possible to select an error correction coding / decoding method with the coding strength required for establishing communication. In the above explanation, the method of selecting the coding method was explained, but in reality, the optimal coding method is selected within a range that satisfies conditions such as the available bandwidth of the communication path, as described later.
[0070] [Example considering encoding delay and transmission time] Figure 7 shows an example of the encoding delay and transmission time for a payload before encoding. In Figure 7, the horizontal axis shows time t, (a) shows the payload before encoding, (b) shows the payload after encoding method (1), (c) shows the payload after encoding method (2), and (d) shows the payload after encoding method (3).
[0071] In the example of Fig. 7, the error correction code is a block code for the sake of simplicity, but the same calculation and comparison may be performed using a continuous coding method based on the total number of bits after coding and the coding rate. Also, in Fig. 7, the process during coding is described, but the processing delay during decoding may also be calculated by adding it up.
[0072] In FIG. 7, when the length of the payload before encoding is time T0, the encoding delay of encoding method (1) is T11, and the transmission time of the payload with redundant bits added is T12. Similarly, the encoding delay of encoding method (2) is T21, and the transmission time of the payload with redundant bits added is T22. Also, the encoding delay of encoding method (3) is T31, and the transmission time of the payload with redundant bits added is T32. Note that the encoding delays of the respective encoding methods have the relationship T31 < T11 < T21, and the transmission times with redundant bits added have the relationship T22 < T12 < T32.
[0073] In the communication system 100 according to the present embodiment, for example, the larger the available bandwidth, regardless of whether delay is allowed or not, an encoding method (encoding method (3) in FIG. 7(d)) with a shorter time required for encoding and decoding processes instead of a larger number of redundant bits is selected. Also, when the available bandwidth is small and delay is not allowed, the encoding method (1) in (b) is selected. Alternatively, when the available bandwidth is very small, the encoding method (2) in (c) may be selected. Note that when a plurality of communications are performed on the same communication path, an encoding method with the minimum available bandwidth that satisfies the required delay condition may be selected based on the information of the content to be communicated so as not to occupy the available bandwidth.
[0074] Thus, in the communication system 100 according to the present embodiment, it is possible to select an optimal encoding method considering the encoding delay, transmission time, etc. of the encoding method based on the available bandwidth or the conditions of the available bandwidth and delay.
[0075] [Example of considering the switching time of the encoding method] FIG. 8 shows an example of the encoding delay, transmission time, and switching time for the payload before encoding. In FIG. 8, the horizontal axis represents time t, (a) represents the payload before encoding, (b) represents the payload after encoding method (1), and (c) represents the payload after encoding method (4). Note that (a) and (b) in FIG. 8 are the same as (a) and (b) in FIG. 7.
[0076] Here, similar to FIG. 7, in the example of FIG. 8, for simplicity of explanation, the case where the error correction code is a block code is shown, but similar calculations and comparisons may be performed from the total number of bits and the coding rate after coding in a continuous coding method. Also, in FIG. 8, the processing during coding is described, but the processing delay during decoding may also be calculated in total.
[0077] In FIG. 8, when the length of the payload before coding in (a) is time T0, the coding delay of the coding method (1) in (b) is T11, and the transmission time of the payload with redundant bits added in (c) is T12. Similarly, the coding delay of the coding method (4) in (c) is T41, and the transmission time of the payload with redundant bits added is T42. Here, the switching time T10 of the coding method (1) in (b) can be regarded as almost 0, but the switching time of the coding method (4) in (c) is T40. Note that the coding delay is T11 < T41, the transmission time with redundant bits added is T42 < T12, and since the switching time of the coding method is 0 for the coding method (1), T40 of the coding method (4) is larger.
[0078] As described above, in the example of FIG. 7, the switching time of the coding method was described as 0, but as shown in FIG. 8, it may take time to switch the coding method.
[0079] In FIG. 8, when communicating information with a large available bandwidth and unacceptable communication delay, the switching determination unit 312 selects the coding method (1) in (b) with a short overall communication time (switching time + coding delay + transmission time) instead of the coding method (4) in (c). Conversely, when communicating information with a narrow available bandwidth and acceptable communication delay, the switching determination unit 312 selects the coding method (4) in (c) with short redundant bits. Note that when communicating information with a narrow available bandwidth and unacceptable communication delay, a coding method that can fully utilize the available bandwidth with redundant bits and has the shortest overall communication time (switching time + coding delay + transmission time) is selected. Furthermore, when considering the processing delay during decoding, the decoding delay is totaled in addition to the above. Alternatively, the decoding delay may be included in the above-mentioned coding delay for calculation.
[0080] In this manner, in the communication system 100 according to this embodiment, based on the available bandwidth and whether or not communication delay is acceptable, it is possible to select an error correcting code that minimizes the time from the start of communication to the completion of communication, taking into consideration at least one of the time required for the encoding process (encoding delay), the time required from after the encoding process to the completion of data transmission (transmission time), the time required to switch error correcting codes (switching time), and the time required from data reception to the completion of the decoding process.
[0081] [Example of pre-acquisition of content information] Fig. 9 shows a configuration example when switching the encoding method based on previously acquired content information. In Fig. 9, blocks with the same reference numerals as in Fig. 2 show the same components as in Fig. 2, and the lower network device 102 is the same as the lower network device 102 in Fig. 2. Furthermore, the upper network device 103b corresponds to the upper network device 103 in Fig. 2, and the configuration of the control unit 303b is slightly different from that of the control unit 303.
[0082] 9, upper network device 103b has communication IF 301, communication IF 302, and control unit 303b. Control unit 303b also has encoding / decoding unit 311, switching determination unit 312b, communication traffic monitoring unit 313, and content information advance acquisition unit 314. Here, communication IF 301, communication IF 302, encoding / decoding unit 311, and communication traffic monitoring unit 313 are the same as the blocks with the same symbols in FIG.
[0083] In the above explanation, we have described the case where switching time occurs when switching encoding methods. However, if the switching time is long, a new problem arises in that it is not possible to switch to an encoding method with a shorter encoding delay, and low-latency communication cannot be provided.
[0084] Therefore, in the embodiment of FIG. 9, a content information advance acquisition unit 314 is provided in the upper network device 103 (or the OLT 103a).
[0085] The content information advance acquisition unit 314 performs a process of acquiring information about the content to be communicated between the lower network device 102 and the upper network device 103b in advance (before the content is communicated) (content information advance acquisition process). Then, the switching determination unit 312b performs a process of identifying whether the content requires communication with low delay based on the acquired content information. Alternatively, the switching determination unit 312b may identify whether the content is one that can tolerate delay based on the acquired content information. Note that the information about the content is acquired, for example, from a content information notification unit 412 (described later) arranged in the content server 107, or a content information notification unit 512 (described later) arranged in the terminal device 101.
[0086] 9, the switching determination unit 312b transmits an instruction to switch the encoding method to the encoding / decoding unit 311 and the switching unit 212 of the lower network device 102 before the content to be sent with low delay arrives based on the identification result of the content information advance acquisition unit 314. This allows the switching determination unit 312b to switch to an optimal encoding method before the content to be sent with low delay arrives when it determines that the encoding delay can be further reduced.
[0087] The content information advance acquisition unit 314 can read the content information that the content server 107 notifies the terminal device 101 based on the Content-Length written in the HTTP header of the HTTP response, for example, and can acquire in advance the amount of data that will be communicated.
[0088] Alternatively, as another example, the content information advance acquisition unit 314 can read the description of data written when the content server 107 establishes a session with the terminal device 101 using a protocol such as SIP / SDP or RTCP, and advance acquire information such as the transmission frequency, transmission rate, and whether or not low latency is recommended for the application.
[0089] In this way, even if it takes time to switch the encoding method, the upper network device 103b according to this embodiment can know in advance that the content to be sent with low latency will arrive at the device, and can instruct to switch to the optimal encoding method before the content arrives. This allows low-latency communication to be performed using a low-latency encoding method suitable for the content communicated between the lower network device 102 and the upper network device 103b.
[0090] [Example of the configuration of the content server 107] Fig. 10 shows a configuration example of the content server 107. In Fig. 10, the content server 107 has a communication IF 401, a control unit 402, and an operation IF 403. The control unit 402 also has a content providing unit 411 and a content information notifying unit 412. Note that components that are not related to the description of the embodiment will be omitted.
[0091] The communication IF 401 is an interface for performing communication with the L2SW 106 .
[0092] The control unit 402 has a content providing unit 411 and a content information notifying unit 412. The content providing unit 411 transmits the requested content to the terminal device 101 via the communication IF 401 based on a request from the terminal device 101.
[0093] When the terminal device 101 requests content from the content providing unit 411, the content information notification unit 412 obtains content information about the requested content (information such as transmission frequency, transmission rate, and whether or not the application is recommended for low latency) and notifies the upper network device 103b via the communication IF 401.
[0094] The operation IF 403 is an interface such as a monitor, keyboard, and mouse for an operator to operate the content server 107 .
[0095] In this way, the content server 107 notifies the upper network device 103b of information about the content to be provided to the terminal device 101. As a result, even if it takes time to switch the encoding method, the upper network device 103b can know in advance that the content to be sent with low delay will arrive at its own device, and can instruct to switch to the optimal encoding method before the content arrives.
[0096] [Example of the configuration of the terminal device 101] Fig. 11 shows a configuration example of the terminal device 101. In Fig. 11, the terminal device 101 has a user IF 501, a communication IF 502, and a control unit 503. The control unit 503 also has an application 511 and a content information notification unit 512. Note that components that are not related to the description of the embodiment will be omitted.
[0097] The user IF 501 is an interface such as a monitor, a keyboard, and a mouse for the user to operate the terminal device 101 .
[0098] The communication IF 502 is an interface for communicating with the lower network device 102 .
[0099] The control unit 503 has an application 511 and a content information notification unit 512. The application 511 is software that connects to, for example, the content server 107, requests the content specified via the user IF 501 from the content server 107, and displays the content received from the content server 107 on a monitor or the like.
[0100] The content information notification unit 512 obtains information on the content requested by the application 511 from the content server 107 (information such as transmission frequency, transmission rate, whether the application is recommended for low latency, etc.) and notifies the upper network device 103b via the communication IF 502.
[0101] In this way, the terminal device 101 notifies the upper network device 103b of information about the content to be received from the content server 107. As a result, even if it takes time to switch the encoding method, the upper network device 103b can know in advance that the content to be sent with low delay will arrive at its own device, and can instruct to switch to the optimal encoding method before the content arrives.
[0102] Here, a program corresponding to the processes performed by the upper network device 103, the OLT 103a, and the upper network device 103b described in Fig. 2, Fig. 4, Fig. 9, etc. may be executed by a general-purpose computer or an integrated circuit such as an FPGA (Field Programmable Gate Array). Also, the program may be provided by being recorded on a storage medium, or may be provided via a network.
[0103] As described above, the communication device, communication method, and communication program of the present invention can reduce communication delays associated with the encoding / decoding process by monitoring the available bandwidth available on the communication path between an upper network device and a lower network device, and selecting the optimal error correction encoding / decoding method based on the available bandwidth. [Explanation of symbols]
[0104] 100 ··· communication system; 101 ··· terminal device; 102, 702 ··· lower network device; 102a ··· ONU; 103, 703 ··· upper network device; 103a ··· OLT; 104, 106 ··· L2SW; 105 ··· router; 107 ··· content server; 108 ··· optical splitter; 201, 202, 301, 302, 401, 502, 801, 802, 901 ··· communication IF; 202a ··· PONIF; 203, 2 03a, 303, 303a, 402, 503, 803, 903...Control unit; 211, 811, 311, 911...Encoding / decoding unit; 212...Switching unit; 312...Switching decision unit; 313...Communication volume monitoring unit; 314...Content information advance acquisition unit; 403...Operation IF; 411...Content providing unit; 412...Content information notification unit; 501...User IF; 511...Application; 512...Content information notification unit
Claims
1. In a communication device that performs communication using an error correction code, an encoding / decoding unit that performs encoding and decoding processes on data to be communicated using a first error correction code selected from a plurality of error correction codes; a communication traffic monitoring unit that monitors an available bandwidth of a communication path; a switching determination unit that switches a first error correction code used in the encoding / decoding unit from the plurality of error correction codes to a second error correction code based on whether the available bandwidth and communication delay are acceptable; having The switching determination unit is As the available bandwidth is larger, an error correction code that requires a larger number of redundant bits but a shorter time for encoding and decoding is selected. Alternatively, the error correction code that minimizes the time from the start of communication to the completion of communication is selected, taking into consideration at least one of the following: the encoding delay required for the encoding process, the time required from the end of the encoding process to the completion of data transmission, the time required from the reception of data to the completion of the decoding process, and the time required to switch the error correction code. A communication device comprising:
2. In the communication device according to claim 1, The communication device further includes a content information advance acquisition unit that acquires information on a content to be communicated from a content information notification unit disposed in a content server or a terminal device, and identifies whether or not the content requires communication with low delay; The switching determination unit switches the first error correction code to the second error correction code based on an identification result of the content information advance acquisition unit. A communication device comprising:
3. 3. The communication device according to claim 1, A PON interface is provided for performing communication based on a PON protocol. The communication traffic monitoring unit uses at least one of a transmission request amount and a transmission permission amount of a PON protocol to measure the available bandwidth. A communication device comprising:
4. A communication method in a communication system in which communication is performed between communication devices using an error correction code, comprising: an encoding / decoding process for encoding and decoding data to be communicated using a first error correction code selected from a plurality of error correction codes; A traffic monitoring process for monitoring an available bandwidth of a communication path; a switching determination process for switching a first error correction code used in the encoding / decoding process from the plurality of error correction codes to a second error correction code based on whether the available bandwidth and communication delay are acceptable; Do the following: In the switching determination process, As the available bandwidth is larger, an error correction code that requires a larger number of redundant bits but a shorter time for encoding and decoding is selected. Alternatively, the error correction code that minimizes the time from the start of communication to the completion of communication is selected, taking into consideration at least one of the following: the encoding delay required for the encoding process, the time required from the end of the encoding process to the completion of data transmission, the time required from the reception of data to the completion of the decoding process, and the time required to switch the error correction code. A communication method comprising:
5. The communication method according to claim 4, and further performing a content information pre-acquisition process of acquiring information on the content to be communicated from a content information notification unit disposed in the content server or the terminal device, and identifying whether or not the content requires communication with low delay; In the switching determination process, the first error correction code is switched to the second error correction code based on an identification result of the content information advance acquisition process. A communication method comprising:
6. A communication program for causing a computer to execute the process performed by the communication device according to any one of claims 1 to 3.
Citation Information
Patent Citations
Data communication system, data transmitter, and data communication method
JP2002325095A
Video data delivery server and video data delivery method
JP2006262288A
Generation device, generation method and program
JP2016092640A
Subscriber line termination device and communication control method
JP2020178278A
Transmitting device, receiving device, communication device and satellite communication system
WO2016104595A1
