Communication device, communication method, and program
The communication device uses flow control and optimized timing to prevent buffer overflow, maintaining stable data transmission rates in high-speed serial communication systems.
Patent Information
- Application Number
- JP2023043261
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-03-17
AI Technical Summary
In high-speed serial communication, such as the XFI interface, a decrease in communication speed occurs when the line-side communication speed is reduced, leading to slower data transmission between devices.
A communication device that controls data transmission using flow control before the control buffer overflows, optimizing transmission timing based on buffer status and line clock signals to maintain stable data rates.
The solution effectively suppresses a decrease in communication speed by preventing buffer overflow and stabilizing data transmission rates, ensuring efficient serial communication.
Smart Images

Figure 2024132486000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a communication device, a communication method, and a program. [Background technology]
[0002] 2. Description of the Related Art In a variety of fields, communication devices are used for communication. Patent Document 1 discloses a related technique, which is a terminal adapter equipped with a communication port with a variable communication speed. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2003-249954 A Summary of the Invention [Problem to be solved by the invention]
[0004] However, in high-speed serial communication such as an XFI interface used in a communication device, when the communication speed on the line side is changed to a lower speed, the communication speed between devices connected by the XFI interface may become lower than the communication speed on the line. As a result, the communication speed of data from the communication device to the line side may decrease. Therefore, there is a demand for a technology that can suppress the decrease in the communication speed of data from a communication device performing serial communication to the line side.
[0005] An object of each aspect of the present disclosure is to provide a communication device, a communication method, and a program that can solve the above-mentioned problems. [Means for solving the problem]
[0006] In order to achieve the above object, according to one aspect of the present disclosure, a communication device includes a first processing means for controlling data to be transmitted to a line side by flow control before a control buffer overflows.
[0007] In order to achieve the above object, according to another aspect of the present disclosure, a communication method includes controlling data to be transmitted to a line side by flow control before a control buffer overflows.
[0008] In order to achieve the above object, according to another aspect of the present disclosure, a program causes a computer to control data to be transmitted to a line side by flow control before a control buffer overflows. Effect of the Invention
[0009] According to each aspect of the present disclosure, in a communication device, it is possible to suppress a decrease in the communication speed of data transmitted from the communication device performing serial communication to the line side. [Brief description of the drawings]
[0010] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a communication device according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a diagram illustrating an example of a configuration of a control unit according to an embodiment of the present disclosure. [Diagram 3] FIG. 2 is a diagram illustrating an example of a configuration of a transmission unit according to an embodiment of the present disclosure. [Figure 4] FIG. 2 is a diagram illustrating an example of a signal in a communication device according to an embodiment of the present disclosure. [Diagram 5] FIG. 2 is a diagram illustrating a first example of a processing flow of a communication device according to an embodiment of the present disclosure. [Figure 6] FIG. 11 is a diagram illustrating a second example of a processing flow of a communication device according to an embodiment of the present disclosure. [Figure 7] FIG. 11 is a diagram illustrating a third example of a processing flow of a communication device according to an embodiment of the present disclosure. [Figure 8] FIG. 11 is a diagram illustrating a fourth example of a processing flow of a communication device according to an embodiment of the present disclosure. [Figure 9] FIG. 13 is a diagram illustrating an example of a configuration of a control unit included in a communication device according to another embodiment of the present disclosure. [Figure 10] FIG. 13 is a diagram illustrating an example of a configuration of a receiving unit included in a communication device according to another embodiment of the present disclosure. [Figure 11] FIG. 13 is a diagram illustrating an example of a configuration of a transmission unit and a control unit according to another embodiment of the present disclosure. [Figure 12] FIG. 2 is a diagram illustrating a minimum configuration of a communication device according to an embodiment of the present disclosure. [Figure 13] FIG. 11 is a diagram illustrating an example of a processing flow of a communication device having a minimum configuration according to an embodiment of the present disclosure. [Figure 14] FIG. 1 is a schematic block diagram illustrating a configuration of a computer according to at least one embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, the embodiments will be described in detail with reference to the drawings. <Embodiment> A communication device 1 according to one embodiment of the present disclosure has a function of generating transmission timing from a line clock or a high-speed serial clock, a function of optimizing the transmission timing by taking into account the state of the transmission buffer, a function of transmitting data in the control buffer to a high-speed serial based on the generated transmission timing, and a function of controlling data by flow control before the control buffer overflows.
[0012] Fig. 1 is a diagram showing an example of a configuration of a communication device 1 according to an embodiment of the present disclosure. As shown in Fig. 1, the communication device 1 includes a high-speed serial communication transmitting unit 10 (hereinafter referred to as transmitting unit 10), a control unit 20 (an example of a first processing means, an example of a second processing means), a control buffer unit 30, a high-speed serial communication receiving unit 40 (hereinafter referred to as receiving unit 40), and a line output unit 50.
[0013] The transmitting unit 10 transmits data A to the control unit 20. In addition, the transmitting unit 10 temporarily stops the transmission of data A in response to a flow control signal, which will be described later, received from the control unit 20 before an overflow (i.e., data overflow) occurs in the control buffer unit 30.
[0014] The control unit 20 receives data A from the transmitting unit 10. The control unit 20 transmits the received data A to the control buffer unit 30 as data B. The payload portions of data A and data B are all the same data. The difference between data A and data B is the header, etc. This is because different names are used assuming that a header, etc. will be added for control in each block. The control unit 20 then receives data B from the control buffer unit 30. The control unit 20 transmits the received data B to the receiving unit 40 as data C. The payload portions of data B and data C are all the same data. The difference between data B and data C is the header, etc. This is because different names are used assuming that a header, etc. will be added for control in each block.
[0015] The control unit 20 also receives a timing signal from the receiving unit 40. Details of the timing signal will be described later. The control unit 20 controls the timing of transmitting data C from the control unit 20 to the receiving unit 40 based on the received timing signal.
[0016] Furthermore, the control unit 20 receives a buffer status signal indicating the internal status of the control buffer unit 30 from the control buffer unit 30. When the control unit 20 determines that the internal status of the control buffer unit 30 indicated by the buffer status signal is a predetermined status (for example, a state in which the buffer inside the control buffer unit 30 exceeds a predetermined threshold), it determines that an overflow is about to occur and transmits a flow control signal to the transmission unit 10.
[0017] Here, a specific configuration of the control unit 20 will be described. Fig. 2 is a diagram showing an example of the configuration of the control unit 20 according to an embodiment of the present disclosure. As shown in Fig. 2, the control unit 20 includes a high-speed serial receiving unit 201, a control buffer transmitting / receiving unit 202, a high-speed serial transmitting unit 203, a flow control transmitting unit 204, and a transmission timing receiving unit 205.
[0018] The high-speed serial receiving unit 201 receives data A from the transmitting unit 10. The high-speed serial receiving unit 201 transmits the received data A to the control buffer transmitting / receiving unit 202.
[0019] The control buffer transmitting / receiving unit 202 receives data A from the high-speed serial receiving unit 201. The control buffer transmitting / receiving unit 202 transmits and receives the received data A as data B to and from the control buffer unit 30. The control buffer transmitting / receiving unit 202 also transmits data B to the high-speed serial transmitting unit 203.
[0020] Furthermore, the control buffer transceiver 202 receives a timing signal from the transmission timing receiver 205. Based on the timing signal, the control buffer transceiver 202 controls the timing of transmitting data B. This control makes it possible to control the timing at which the high-speed serial transmitter 203, which will be described later, transmits data B to the receiver 40 as data C.
[0021] The high-speed serial transmission unit 203 receives data B from the control buffer transceiver unit 202. The high-speed serial transmission unit 203 transmits the received data B as data C to the reception unit 40.
[0022] The flow control transmitting unit 204 receives a buffer status signal from the control buffer unit 30. The flow control transmitting unit 204 transmits the received buffer status signal to the transmitting unit 10 as a flow control signal. The flow control transmitting unit 204 monitors the buffer status based on the buffer status signal, and notifies the transmitting unit 10 using a flow control signal before an overflow occurs. The buffer status signal is a signal that indicates the degree of congestion in the buffer. The flow control signal is a signal that indicates the result of the flow control transmitting unit 204 deciding whether or not to perform flow control based on the status.
[0023] The transmission timing receiving section 205 receives a timing signal from the receiving section 40. The transmission timing receiving section 205 transmits the received timing signal to the control buffer transmitting / receiving section 202 and the high-speed serial transmitting section 203. The specific configuration of the control section 20 has been described above.
[0024] The control buffer unit 30 transmits and receives data B to and from the control unit 20. The control buffer unit 30 temporarily buffers the data B. The control buffer unit 30 also notifies the control unit 20 of the amount of data B that is retained in the buffer within the control buffer unit 30 by transmitting a buffer status signal to the control unit 20 that indicates how much data B is retained in the buffer within the control buffer unit 30.
[0025] The receiving unit 40 receives data C from the control unit 20. Then, upon receiving data C, the receiving unit 40 transmits data D to the line output unit 50. The receiving unit 40 is assumed to be an Ethernet PHY, i.e., the lowest physical layer in the OSI hierarchical model. Therefore, the payload portion of data D is the same as the payload portion of data C, but a control signal on the data line is added to data D.
[0026] The receiving unit 40 also generates a timing signal and transmits the generated timing signal to the control unit 20.
[0027] Here, a specific configuration of the receiving unit 40 will be described. Fig. 3 is a diagram showing an example of the configuration of the receiving unit 40 according to an embodiment of the present disclosure. As shown in Fig. 3, the receiving unit 40 includes a high-speed serial receiving unit 401, a transmission buffer unit 402, a line data transmitting unit 403, a high-speed serial clock extracting unit 404, a line speed setting unit 405, a transmission timing transmitting unit 406, a transmission timing generating unit 407 (an example of a third processing means, an example of a fourth processing means), and a line clock generating unit 408.
[0028] The high-speed serial receiving unit 401 receives data C from the high-speed serial transmitting unit 203. The high-speed serial receiving unit 401 transmits the received data C to the transmitting buffer unit 402 and the high-speed serial clock extracting unit 404.
[0029] The transmission buffer unit 402 receives data C from the high-speed serial receiving unit 401. The transmission buffer unit 402 temporarily buffers the received data C. Then, the transmission buffer unit 402 transmits the buffered data C to the line data transmitting unit 403.
[0030] In addition, the transmission buffer unit 402 transmits a status signal indicating the status of the internal buffer of the transmission buffer unit 402 to the transmission timing generation unit 407 .
[0031] The line data transmitter 403 receives the line clock from the line clock generator 408. The line clock is a clock signal used to generate the timing for outputting data D from the line data transmitter 403.
[0032] Furthermore, line data transmitting section 403 receives data C from transmission buffer section 402. Then, upon receiving data C, line data transmitting section 403 transmits data D to line output section 50 in accordance with the timing of the line clock.
[0033] The high-speed serial clock extraction unit 404 receives data C from the high-speed serial receiving unit 401. The high-speed serial clock extraction unit 404 extracts a high-speed serial clock from the received data C. The high-speed serial clock extraction unit 404 transmits the extracted high-speed serial clock to the transmission timing generation unit 407.
[0034] The line speed setting unit 405 sets information about the line speed in the line speed setting unit 405 itself. The information about the line speed is information about what the line speed should be set to (for example, 10M, 100M, 1G, etc.). The line speed setting unit 405 transmits the information about the set line speed to the line clock generation unit 408.
[0035] The transmission timing transmitter 406 receives a timing signal from the transmission timing generator 407. The transmission timing transmitter 406 transmits the received timing signal to the controller 20.
[0036] The transmission timing generation unit 407 receives a status signal from the transmission buffer unit 402. The transmission timing generation unit 407 also receives a high-speed serial clock from the high-speed serial clock extraction unit 404. The transmission timing generation unit 407 also receives a line clock from the line clock generation unit 408. Then, the transmission timing generation unit 407 generates a timing signal based on the received status signal, high-speed serial clock, and line clock. Details of this generation by the transmission timing generation unit 407 will be described later. The transmission timing generation unit 407 transmits the generated timing signal to the transmission timing transmission unit 406.
[0037] The line clock generating unit 408 receives information on the line speed from the line speed setting unit 405. Then, when the line clock generating unit 408 receives the information on the line speed, it receives a reference clock from an external source and generates a line clock by multiplying the reference clock. The line clock generating unit 408 transmits the generated line clock to the line data transmitting unit 403 and the transmission timing generating unit 407. The above is a specific configuration of the receiving unit 40.
[0038] The line output unit 50 receives the data D from the receiving unit 40. The line output unit 50 outputs the received data D to a communication line.
[0039] FIG. 4 is a diagram showing an example of a signal in the communication device 1 according to an embodiment of the present disclosure. FIG. 5 is a diagram showing a first example of a processing flow of the communication device 1 according to an embodiment of the present disclosure. FIG. 6 is a diagram showing a second example of a processing flow of the communication device 1 according to an embodiment of the present disclosure. First, as a processing performed by the communication device 1, a processing for generating a timing signal performed by the transmission timing generating unit 407 will be described with reference to FIG. 4 and FIG. 5. The signal shown in FIG. 4 is an image diagram and is not a strict signal considering delays and the like. Also, FIG. 4 is an example of a signal in the case where the number of transmission bits is 2 bits and the line clock is one-tenth the speed (10 times the wavelength) of the high-speed serial clock. Note that the high-speed serial clock extracting unit 404 is assumed to transmit the high-speed serial clock extracted from the data C to the transmission timing generating unit 407. Also, it is assumed that the line clock generating unit 408 transmits the line speed received from the line speed setting unit 405 to the line data transmitting unit 403 and the transmission timing generating unit 407.
[0040] The receiving unit 40 generates a timing signal as follows: The transmission timing generating unit 407 determines the number of transmission bits (step S1). This number of transmission bits may be set in advance as a fixed value in the transmission timing generating unit 407. Also, this number of transmission bits may be dynamically changed, as described later.
[0041] The transmission timing generation unit 407 divides the line clock received from the line clock generation unit 408 into pieces for each number of transmission bits (step S2). Then, the transmission timing generation unit 407 assigns the same number of bits as the number of bits of the divided line clock to the high-speed serial clock received from the high-speed serial clock extraction unit 404 (step S3).
[0042] The transmission timing generating unit 407 sets the portion of the high-speed serial clock to which the same number of bits as the number of bits of the divided line clock is assigned as a period during which data can be transmitted, and generates a signal that enables data transmission during that period (step S4). The transmission timing generating unit 407 also sets the portion of the high-speed serial clock until the number of bits corresponding to the next divided line clock is assigned as a period during which data cannot be transmitted, and generates a signal that disables data transmission during that period (step S5). The signal generated by the processing of steps S4 and S5 is a timing signal that indicates the optimized timing.
[0043] Next, as a process performed by the communication device 1, a process in which the control buffer transmitting / receiving unit 202 transmits data C will be described with reference to Fig. 6. Note that the process shown in Fig. 6 is a process performed subsequent to the process shown in Fig. 5.
[0044] The control unit 20 transmits data C to the receiving unit 40 as follows. The control buffer transmitting / receiving unit 202 receives a timing signal from the transmission timing receiving unit 205. The control buffer transmitting / receiving unit 202 receives the data B required for transmission from the control buffer unit 30 based on the received timing signal (step S11). For example, the control buffer transmitting / receiving unit 202 knows the required amount of data transmission from the timing signal received from the transmission timing receiving unit 205. The control buffer transmitting / receiving unit 202 may actively obtain the data from the control buffer unit 30 each time. Thereafter, the control buffer transmitting / receiving unit 202 transmits the data B to the high-speed serial transmitting unit 203 in accordance with the timing signal. For example, the control buffer transmitting / receiving unit 202 puts the transmission data (i.e., data B) in the "transmittable" portion in FIG. 4. Then, the control buffer transmitting / receiving unit 202 transmits the transmission data to the high-speed serial transmitting unit 203.
[0045] The high-speed serial transmission unit 203 receives data B from the control buffer transmission / reception unit 202. The high-speed serial transmission unit 203 transmits predetermined preamble data to the reception unit 40 only at the timing when the data can be transmitted (step S12). The control buffer transmission / reception unit 202 and the high-speed serial transmission unit 203 are provided with a buffer. The high-speed serial transmission unit 203 can use the buffer to set the timing when the data B is received as the timing when the data can be transmitted. The high-speed serial transmission unit 203 then transmits the received data B to the reception unit 40 as data C (step S13). Note that the preamble data used here is general. That is, valid data is not always flowing on the communication line, and null data flows while valid data is not present. By sending preamble data immediately before valid data, it is possible to determine whether the data is valid or null.
[0046] The high-speed serial receiving unit 401 receives preamble data from the high-speed serial transmitting unit 203. Then, the high-speed serial receiving unit 401 receives data C from the high-speed serial transmitting unit 203. By receiving the preamble data, the high-speed serial receiving unit 401 can know the timing at which data can be transmitted. As a result (i.e., by the transmitting unit 20 performing the processes from step S11 to step S13), the high-speed serial receiving unit 401 can determine whether or not data C was transmitted at a timing at which data can be transmitted.
[0047] 7 is a diagram illustrating a third example of a processing flow of the communication device 1 according to an embodiment of the present disclosure. Here, as an example in which the number of transmission bits changes dynamically, a process in which the communication device 1 determines the number of transmission bits depending on the state of the transmission buffer will be described with reference to FIG.
[0048] The transmission buffer unit 402 constantly monitors the internal state of the transmission buffer unit 402. Specifically, the transmission buffer unit 402 judges whether the amount of data stored in the internal buffer is equal to or greater than a first threshold value set in advance (step S21). When the transmission buffer unit 402 judges that the amount of data is equal to or greater than the first threshold value (YES in step S21), it reduces the number of transmission bits by a predetermined number of bits (step S22). Then, the transmission buffer unit 402 returns to the process of step S21. When the transmission buffer unit 402 judges that the amount of data is less than the first threshold value (NO in step S21), it judges whether the amount of data is equal to or greater than a second threshold value having a value smaller than the first threshold value (step S23).
[0049] If the transmission buffer unit 402 determines that the amount of data is equal to or greater than the second threshold (YES in step S23), the process returns to step S21. If the transmission buffer unit 402 determines that the amount of data is less than the second threshold (NO in step S23), the process increases the number of transmission bits by a predetermined number of bits (step S24). Then, the transmission buffer unit 402 returns to the process of step S23. The predetermined number of bits in the process of step S24 may be the same as or different from the predetermined number of bits in the process of step S22.
[0050] By the above-mentioned processes from step S21 to step S24, the amount of data stored in the buffer inside the transmission buffer unit 402 is adjusted to within an appropriate data amount range that is less than the first threshold and equal to or greater than the second threshold. As a result, overflow in the control buffer unit 30 can be suppressed, and the transmission rate of the data D can be made stable and low-delay. The amount of data stored in the buffer inside the transmission buffer unit 402 is determined by the input / output rate difference of the buffer and the amount of data input to the buffer at one time. The input / output rate difference of the buffer is the difference between the rate of input to the buffer inside the transmission buffer unit 402 and the rate of output from the buffer. If the rate of input to the buffer is greater than the rate of output from the buffer, overflow occurs. However, in one embodiment of the present disclosure, the input / output rate difference of the buffer is almost eliminated by the process performed by the communication device 1 described using FIG. 4 to FIG. 6. Therefore, the amount of data input to the buffer at one time is suppressed in the above-mentioned processes from step S21 to step S24.
[0051] 8 is a diagram illustrating a fourth example of a processing flow of the communication device 1 according to an embodiment of the present disclosure. Next, a process performed by the control buffer unit 30 that controls the transmission of data A before the control buffer overflows will be described with reference to FIG.
[0052] The control buffer unit 30 constantly monitors the internal state of the control buffer unit 30. Specifically, the control buffer unit 30 judges whether the amount of data stored in the internal buffer is equal to or greater than a preset third threshold value (step S31). When the control buffer unit 30 judges that the amount of data is equal to or greater than the third threshold value (YES in step S31), it transmits a flow control signal to the transmitting unit 10 (step S32).
[0053] The transmitting unit 10 receives a flow control signal from the control buffer unit 30. The transmitting unit 10 reduces the transmission rate of data A or temporarily stops the transmission of data A in response to the received flow control signal (step S33). Note that there is no clear definition of rate reduction and stop in the communication device 1. Here, the transmitting unit 10 stops the transmission of data A while the flow control signal is valid. If the flow control signal is frequently switched, the stop of transmission by the transmitting unit 10 will be temporary. Therefore, from the user's perspective, the transmission rate appears to be reduced. Also, if the flow control signal remains valid for a while, it appears to the user that the stop of transmission continues. Then, the transmitting unit 10 returns to the process of step S31.
[0054] Furthermore, when the control buffer unit 30 determines that the amount of data is less than the third threshold value (NO in step S31), it stops transmitting the flow control signal to the transmitting unit 10 (step S34).
[0055] If the transmitting unit 10 does not receive the flow control signal from the control buffer unit 30, it sets the transmission rate of data A to a predetermined rate (original rate) and starts transmitting data A (step S35). Then, the transmitting unit 10 returns to the process of step S31.
[0056] By the above-mentioned processes from step S31 to step S35, the amount of data stored in the internal buffer of the control buffer unit 30 is adjusted by flow control when it is equal to or greater than the third threshold, and is adjusted to a predetermined rate (original rate) when it is less than the third threshold. As a result, overflow in the control buffer unit 30 can be suppressed, and the transmission rate of the data D can be made stable and low-delay.
[0057] The communication device 1 according to an embodiment of the present disclosure has been described above. In the communication device 1, when the control unit 20 (an example of a first processing means) determines that the internal state of the control buffer unit 30 indicated by the buffer state signal is a predetermined state (for example, a state in which the buffer (an example of a control buffer) inside the control buffer unit 30 exceeds a predetermined threshold), it determines that overflow is imminent (an example of a state before overflow), and transmits a flow control signal to the transmission unit 10 (an example of flow control). In other words, the control unit 20 controls data to be transmitted to the line side by flow control before the control buffer overflows. This communication device 1 can suppress a decrease in the communication speed of data from a communication device performing serial communication to the line side.
[0058] Note that the control unit 20 and the receiving unit 40 included in the communication device 1 according to another embodiment of the present disclosure are not limited to the control unit 20 shown in Fig. 2 and the receiving unit 40 shown in Fig. 3. Fig. 9 is a diagram showing an example of the configuration of the control unit 20 included in the communication device 1 according to another embodiment of the present disclosure. Fig. 10 is a diagram showing an example of the configuration of the receiving unit 40 included in the communication device 1 according to another embodiment of the present disclosure.
[0059] In another embodiment of the present disclosure, the control unit 20 includes a high-speed serial receiving unit 201, a control buffer transmitting / receiving unit 202, a high-speed serial transmitting unit 203, a flow control transmitting unit 204, a high-speed serial clock extracting unit 206, and a transmission timing generating unit 207, as shown in Fig. 9. The receiving unit 40 includes a high-speed serial receiving unit 401, a transmission buffer unit 402, a line data transmitting unit 403, a line speed setting unit 405, and a line clock generating unit 408, as shown in Fig. 10. That is, in the communication device 1 according to another embodiment of the present disclosure, the high-speed serial clock extracting unit 206 and the transmission timing generating unit 207 included in the control unit 20 may execute the processes performed by the high-speed serial clock extracting unit 404, the transmission timing transmitting unit 406, and the transmission timing generating unit 407 in the receiving unit 40 according to the embodiment of the present disclosure. In this case, it is necessary to either delete the function of notifying the state of the transmission buffer unit 402, or add a signal line other than the line clock from the transmission buffer unit 402 to the transmission timing generation unit 207 to notify the state signal to the transmission timing generation unit 207. The communication device 1 according to another embodiment of the present disclosure makes it possible to suppress a decrease in the communication speed of data from a communication device performing serial communication to the line side, similar to the communication device 1 according to the one embodiment of the present disclosure.
[0060] Note that the configuration of the communication device 1 according to another embodiment of the present disclosure may be different from the configuration of the communication device 1 according to the embodiment of the present disclosure shown in FIG. 1. FIG. 11 is a diagram showing an example of the configuration of the transmission unit 10 and the control unit 20 according to another embodiment of the present disclosure. As shown in FIG. 11, the transmission unit 10 includes a high-speed serial control unit / transmission unit 101. As shown in FIG. 11, the control unit 20 includes a high-speed serial reception unit 201, a control buffer transmission / reception unit 202, a high-speed serial transmission unit 203, and a transmission timing reception unit 205. In the communication device 1 according to another embodiment of the present disclosure, a timing signal transmitted from the reception unit 40 to the control unit 20 is also transmitted to the transmission unit 10, thereby realizing a process similar to the process performed in the control unit 20 in the high-speed serial control unit / transmission unit 101.
[0061] The control unit 20 transmits data C to the receiving unit 40 as follows. The control buffer transmitting / receiving unit 202 receives a timing signal from the transmission timing receiving unit 205. Based on the received timing signal, the control buffer transmitting / receiving unit 202 retrieves the amount of data B required for transmission from the internal buffer of the high-speed serial control unit / transmitting unit 101. For example, the control buffer transmitting / receiving unit 202 knows the amount of data required for transmission from the timing signal received from the transmission timing receiving unit 205. The control buffer transmitting / receiving unit 202 may actively obtain the data from the control buffer unit 30 each time. Thereafter, the control buffer transmitting / receiving unit 202 transmits the data B to the high-speed serial transmitting unit 203 in accordance with the timing signal. For example, the control buffer transmitting / receiving unit 202 puts the transmission data (i.e., data B) into the "transmittable" portion in FIG. 4. Then, the control buffer transmitting / receiving unit 202 transmits the transmission data to the high-speed serial receiving unit 201.
[0062] The communication device 1 according to another embodiment of the present disclosure makes it possible to suppress a decrease in the data communication speed from the communication device performing serial communication to the line side, similar to the communication device 1 according to one embodiment of the present disclosure.
[0063] 12 is a diagram showing a minimum configuration of a communication device 1 according to an embodiment of the present disclosure. The communication device 1 includes a first processing means 100. The first processing means 100 controls data to be transmitted to the line side by flow control before a control buffer overflows. The first processing means 100 can be realized, for example, by using the function of the control unit 20 illustrated in FIG. 1.
[0064] 13 is a diagram showing an example of a processing flow of the communication device 1 having a minimum configuration according to the embodiment of the present disclosure. Next, the processing of the communication device 1 having a minimum configuration according to the embodiment of the present disclosure will be described with reference to FIG.
[0065] In the communication device 1, the first processing means 100 controls data to be transmitted to the line side by flow control before the control buffer overflows (step S101).
[0066] The above describes the communication device 1 with a minimum configuration according to an embodiment of the present disclosure. This communication device 1 can suppress a decrease in the communication speed of data from a communication device performing serial communication to the line side.
[0067] It should be noted that the order of the processes in the embodiments of the present disclosure may be changed as long as appropriate processes are performed.
[0068] Although the embodiment of the present disclosure has been described, the above-mentioned communication device 1, the transmitting unit 10, the control unit 20, the control buffer unit 30, the receiving unit 40, the line output unit 50, and other control devices may have a computer system inside. The above-mentioned process steps are stored in a computer-readable recording medium in the form of a program, and the above-mentioned process is performed by the computer reading and executing this program. Specific examples of computers are shown below.
[0069] FIG. 14 is a schematic block diagram showing the configuration of a computer according to at least one embodiment. As shown in FIG. 14, the computer 5 includes a CPU 6, a main memory 7, a storage 8, and an interface 9. For example, the above-mentioned communication device 1, the transmission unit 10, the control unit 20, the control buffer unit 30, the reception unit 40, the line output unit 50, and other control devices are each implemented in the computer 5. The operations of the above-mentioned processing units are stored in the storage 8 in the form of a program. The CPU 6 reads the program from the storage 8 and expands it in the main memory 7, and executes the above-mentioned processing according to the program. The CPU 6 also secures a storage area corresponding to each of the above-mentioned storage units in the main memory 7 according to the program.
[0070] Examples of the storage 8 include a hard disk drive (HDD), a solid state drive (SSD), a magnetic disk, a magneto-optical disk, a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), and a semiconductor memory. The storage 8 may be an internal medium directly connected to the bus of the computer 5, or an external medium connected to the computer 5 via an interface 9 or a communication line. In addition, when the program is distributed to the computer 5 via a communication line, the computer 5 that receives the program may load the program into the main memory 7 and execute the above-mentioned process. In at least one embodiment, the storage 8 is a non-transitory tangible storage medium.
[0071] The program may also realize some of the functions described above. Furthermore, the program may be a file that can realize the functions described above in combination with a program already recorded in the computer system, that is, a so-called differential file (differential program).
[0072] Although some embodiments of the present disclosure have been described, these embodiments are merely examples and do not limit the scope of the disclosure. Various additions, omissions, substitutions, and modifications may be made to these embodiments without departing from the spirit of the disclosure.
[0073] Note that some or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.
[0074] (Appendix 1) a first processing means for controlling data to be transmitted to a line side by flow control before the control buffer overflows; A communication device comprising:
[0075] (Appendix 2) a second processing means for transmitting the data in the control buffer to a receiving section performing high-speed serial communication based on a timing signal indicating a transmission timing of the data; 2. The communication device of claim 1, comprising:
[0076] (Appendix 3) a third processing means for generating the timing signal indicating a timing when the data can be transmitted and a timing when the data cannot be transmitted based on an internal state of a transmission buffer; 3. The communication device according to claim 2, comprising:
[0077] (Appendix 4) a fourth processing means for generating the timing signal based on at least one of a line clock and a high-speed serial clock; 4. The communication device according to claim 2 or 3, comprising:
[0078] (Appendix 5) Controlling data to be sent to the line side by flow control before the control buffer overflows; A communication method including:
[0079] (Appendix 6) Controlling data to be sent to the line side by flow control before the control buffer overflows; A program that causes a computer to execute the following. [Explanation of symbols]
[0080] 1. Communication device 5. Computers 6. CPU 7. Main memory 8. Storage 9. Interface 10. Transmitter 20. Control section 30 Control buffer section 40... Receiving unit 50 Line output section 101 High-speed serial control unit / transmitter 201, 401: High-speed serial receiver 202: Control buffer transmission / reception unit 203 High-speed serial transmission unit 204 Flow control transmitter 205 Transmission timing receiver 206 High-speed serial clock extraction unit 207, 407: Transmission timing generation unit 402: Transmission buffer section 403 Line data transmission unit 404 High-speed serial clock extraction unit 405 Line speed setting section 406 Transmission timing transmission unit 408 Line clock generator
Claims
1. a first processing means for controlling data to be transmitted to a line side by flow control before the control buffer overflows; A communication device comprising:
2. a second processing means for transmitting the data in the control buffer to a receiving section performing high-speed serial communication based on a timing signal indicating a transmission timing of the data; The communication device of claim 1 .
3. a third processing means for generating the timing signal indicating a timing when the data can be transmitted and a timing when the data cannot be transmitted based on an internal state of a transmission buffer; The communication device according to claim 2 .
4. a fourth processing means for generating the timing signal based on at least one of a line clock and a high-speed serial clock; The communication device according to claim 2 or 3, comprising:
5. Controlling data to be sent to the line side by flow control before the control buffer overflows; A communication method including:
6. Controlling data to be sent to the line side by flow control before the control buffer overflows; A program that causes a computer to execute the following.
Citation Information
Patent Citations
Transmission speed change device
JP1990117245A
Multi-terminal equipment connection device
JP1996288946A
Signal speed converting circuit for data highway
JP1997172424A
Communication equipment, communication method and communication system
JP1999098561A
Multi-media exchange
JP1999234313A
