COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION PROGRAM

The communication device optimizes packet delivery across multiple lines by using a transmission buffer and real-time line availability assessment to maintain packet order and reduce computational overhead in dynamic environments.

JP7533401B2Active Publication Date: 2024-08-14DENSO CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021144318
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-09-03
Publication Date
2024-08-14
Estimated Expiration
2041-09-03

AI Technical Summary

Technical Problem

Existing communication technologies fail to adapt dynamically to changing communication environments, leading to potential reversal of packet order and increased computational overhead in in-vehicle applications using multiple communication lines.

Method used

A communication device that manages fixed-length data packets across multiple communication lines by using a transmission buffer, data transmission time acquisition, and a communication control unit to determine optimal packet allocation based on current line availability and transmission times, minimizing packet order reversal.

Benefits of technology

The solution effectively reduces the likelihood of packet order reversal and minimizes computational overhead by dynamically adjusting packet allocation to match current communication line conditions, ensuring orderly packet delivery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007533401000020
    Figure 0007533401000020
  • Figure 0007533401000008
    Figure 0007533401000008
  • Figure 0007533401000025
    Figure 0007533401000025
Patent Text Reader

Abstract

To further reduce the possibility that data packets (DPs) arrive in reverse order in a transmission destination device.SOLUTION: A communication device 10 which transmits DPs of a fixed length by using N communication lines, comprises: a transmission buffer 100 which stores the DPs in the order of completion of reception processing in a transmission destination device; N communication units 110; and a communication control unit 120. The communication control unit comprises: a data transmission time acquisition unit 121 which acquires a data transmission time of each of the communication lines; a transmission possibility determination unit 122 which determines whether each of the communication units can perform transmission; a buffer offset (BF) amount calculation unit 1231 which obtains a BF offset amount from the total number of the DPs that can be transmitted by an m-th transmission unit (m is an integer among 1-N except for k) and completely received in the transmission destination device within a data transmission time of a k-th communication unit (k is any integer among 1-N) that is determined to be able to perform transmission; and a DP allocation unit 1232 which allocates, to the k-th communication unit, a DP that starts at a position that is offset by a BF amount from the start of the transmission buffer.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, a communication method, and a communication program for performing communication by using a plurality of communication lines in parallel. [Background technology]

[0002] 2. Description of the Related Art In recent years, studies have been conducted on transmitting large amounts of data at high speed by linking a plurality of communication lines, such as a mobile communication system, a wireless LAN, and wired communication, and performing communication in parallel.

[0003] Patent Document 1 describes transmitting user data using a first wireless communication and a second wireless communication simultaneously.

[0004] In addition, Non-Patent Document 1 describes that in route aggregation communication using multiple routes, packets are distributed to each route so that they arrive in the correct order, taking into account the difference in communication speed and delay time of each route. This makes it possible to prevent packets from arriving out of order. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2018-152920 A [Non-patent literature]

[0006] [Non-Patent Document 1] Yuki Kawashima et al., "Evaluation of a Multiple Route Aggregation Communication Method with Dynamic Control of Routes," Transactions of Information Processing Society of Japan, Vol. 48, No. 2, pp. 880-891, Feb. 2007 Summary of the Invention [Problem to be solved by the invention]

[0007] Here, the present inventors have found the following problem. The technology of Patent Document 1 has a flow that does not bundle and use multiple lines (i.e., aggregation) depending on the delay situation of the line to be used. In particular, in vehicle applications, it is expected that the communication environment will change drastically. In this case, there is a possibility that the advantage of using multiple lines will not be obtained due to an increase in cases where aggregation itself is not implemented.

[0008] In addition, in the technology of Non-Patent Document 1, packets to be transmitted are distributed in advance to multiple virtual transmission queues set up according to the communication path. Therefore, if the communication environment changes after distribution, the change cannot be accommodated, and the order of arrival of packets is reversed.

[0009] SUMMARY OF THE PRESENT DISCLOSURE An object of the present invention is to provide a communication device or the like that reduces the possibility of data packets arriving out of order at a destination device. It is desirable to realize a communication device or the like that requires fewer calculations to allocate data packets to each communication unit. [Means for solving the problem]

[0010] The communication device (10) of the present disclosure includes: A communication device (10) that transmits a fixed-length data packet to a destination device (11) using N communication lines (N is a positive integer equal to or greater than 2), a transmission buffer (100) for storing the data packets in the order in which the reception process of the data packets should be completed at the destination device; N communication units (110) for transmitting the data packets corresponding to the respective communication lines; a communication control unit (120) that reads the data packets from the transmission buffer and assigns the data packets to each of the communication units; The communication control unit a data transmission time acquisition unit (121) for acquiring a data transmission time, which is a time required from when the data packet is transmitted to when the receiving process at the destination device is completed, in each of the communication lines; a transmission possibility determination unit (122) for determining whether or not the transmission waiting state of each of the communication units has been resolved and transmission is possible; a buffer offset amount calculation unit (1231) that calculates a buffer offset amount from the total number of the data packets that can be transmitted by an m-th communication unit (m is an integer from 1 to N other than k) that is a communication unit other than the k-th communication unit and can complete reception processing at the transmission destination device within the data transmission time of the communication line corresponding to the k-th communication unit (k is any integer from 1 to N) that is the communication unit that the transmission permission determination unit has determined to be transmittable; and a data packet allocation unit (1232) for allocating to the kth communication unit the data packet whose head is offset from the head of the transmission buffer by the buffer offset amount.

[0011] In addition, the claims and the numbers in parentheses attached to the constituent elements of the invention described in this section indicate the correspondence between the present invention and the embodiments described below, and are not intended to limit the present invention. Effect of the Invention

[0012] With the above-described configuration, the communication device of the present disclosure can reduce the possibility of data packets arriving at the destination device being out of order. For example, even if the communication environment of each communication line changes from moment to moment, the data packets are less likely to arrive out of order. [Brief description of the drawings]

[0013] [Figure 1] FIG. 2 is an explanatory diagram of a communication device and a communication line common to each embodiment. [Diagram 2] FIG. 1 is a diagram showing a configuration of a communication device 10 according to a first embodiment. [Diagram 3] FIG. 1 is an explanatory diagram illustrating data packets stored in the transmission buffer 100. [Figure 4] FIG. 2 is an explanatory diagram for explaining a data transmission time acquired by a data transmission time acquisition unit 121. [Diagram 5]FIG. 1 is an explanatory diagram for explaining the state of judgment in the transmission permission judgment unit 122 and the data packets selected by the data packet selection unit 123. [Figure 6] FIG. 1 is an explanatory diagram for explaining a buffer offset amount calculated by a buffer offset amount calculation unit 1231. [Figure 7] 1 is a flow diagram of the operation of the communication device 10 according to the first embodiment. [Figure 8] Flow chart of data transmission time acquisition operation [Figure 9] Flow diagram of data packet selection operation [Figure 10] FIG. 1 is an explanatory diagram for explaining a specific operation of the communication device 10 according to the first embodiment. [Figure 11] FIG. 1 is an explanatory diagram for explaining a specific operation of the communication device 10 according to the first embodiment. [Figure 12] FIG. 1 is an explanatory diagram for explaining a specific operation of the communication device 10 according to the first embodiment. [Figure 13] FIG. 1 is an explanatory diagram for explaining a specific operation of the communication device 10 according to the first embodiment. [Figure 14] FIG. 1 is an explanatory diagram for explaining a specific operation of the communication device 10 according to the first embodiment. [Figure 15] FIG. 1 is an explanatory diagram for explaining a specific operation of the communication device 10 according to the first embodiment. [Figure 16] FIG. 13 is a diagram showing the configuration of a communication device 20 according to a second embodiment. [Figure 17] FIG. 2 is an explanatory diagram for explaining rearrangement executed by the sort unit 201. [Figure 18] 1 is a flow diagram of the operation of the communication device 20 according to the second embodiment. [Figure 19] Flow diagram of data packet selection operation [Figure 20] FIG. 11 is an explanatory diagram for explaining a specific operation of the communication device 20 according to the second embodiment. [Figure 21] FIG. 11 is an explanatory diagram for explaining a specific operation of the communication device 20 according to the second embodiment. [Figure 22] FIG. 11 is an explanatory diagram for explaining a specific operation of the communication device 20 according to the second embodiment. [Diagram 23] FIG. 11 is an explanatory diagram for explaining a specific operation of the communication device 20 according to the second embodiment. [Figure 24]FIG. 11 is an explanatory diagram for explaining a specific operation of the communication device 20 according to the second embodiment. [Diagram 25] FIG. 11 is an explanatory diagram for explaining window control according to another embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0015] The present invention means the invention described in the claims or in the Summary of the Invention section, and is not limited to the following embodiments. Furthermore, at least the words in quotation marks mean the words described in the claims or in the Summary of the Invention section, and are not limited to the following embodiments.

[0016] The configurations and methods described in the dependent claims are optional configurations and methods in the invention described in the independent claims. The configurations and methods of the embodiments corresponding to the configurations and methods described in the dependent claims, and the configurations and methods described only in the embodiments without being described in the claims, are optional configurations and methods in the present invention. The configurations and methods described in the embodiments when the description of the claims is broader than the description of the embodiments are also optional configurations and methods in the present invention in the sense that they are examples of the configurations and methods of the present invention. In either case, by being described in the independent claims, they become essential configurations and methods of the present invention.

[0017] The effects described in the embodiments are effects obtained when the configurations of the embodiments are provided as examples of the present invention, and are not necessarily effects that the present invention possesses.

[0018] When there are multiple embodiments, the configurations disclosed in each embodiment are not limited to each embodiment, but can be combined across the embodiments. For example, a configuration disclosed in one embodiment may be combined with another embodiment. Also, configurations disclosed in each of the multiple embodiments may be collected and combined.

[0019] The problem described in the section on problems that the invention is intended to solve is not a publicly known problem, but was discovered independently by the inventor, and this, together with the configuration and method of the present invention, is a fact that affirms the inventive step of the invention.

[0020] 1. Configuration common to each embodiment A configuration common to each embodiment will be described with reference to FIG.

[0021] A communication device 10 (20) uses N communication lines in parallel to transmit a data packet to a destination device 11. Fig. 1 shows an example where N=3.

[0022] The communication line A is a communication line based on a mobile communication system. For example, the communication line A is Communication lines using wireless communication methods such as W-CDMA (Wideband Code Division Multiple Access), HSPA (High Speed ​​Packet Access), LTE (Long Term Evolution), LTE-A (Long Term Evolution Advanced), 4G, or 5G can be used. When using the communication line A, the communication device 10 (20) is connected to the base station 12.

[0023] The communication line B has a shorter communication distance than the communication line A. The communication line B may be, for example, a communication line based on a wireless communication method such as IEEE802.11 (Wi-Fi (registered trademark)) or IEEE802.16 (WiMAX (registered trademark)). Alternatively, Bluetooth (registered trademark), UWB (Ultra Wide Band), or DSRC (Dedicated Short Range Communication) may be used. When using the communication line B, the communication device 10 (20) is connected to an access point (AP) 13.

[0024] The communication line C is a communication line based on wired communication, and may be, for example, a LAN (Local Area Network) such as Ethernet (registered trademark), an optical line, or a fixed telephone line. When the communication line C is used, the communication device 10 (20) is connected to a router or the like (not shown).

[0025] The communication lines A to C are merely examples, and the combination is not necessarily limited to these. For example, only communication lines of a wireless communication system may be used. When only communication lines of a wireless communication system are used, it is not necessary to combine long-distance communication with short-distance communication, and a combination of multiple long-distance communications may be used, for example. In the case of a combination of long-distance communications, a combination of lines provided by multiple carriers using the same wireless communication system may be used. The number of communication lines is also not limited as long as there is more than one.

[0026] In Fig. 1, the communication device 10 (20) is shown as being "mounted" on a vehicle, which is a "mobile body," but it is not necessarily assumed that the communication device 10 (20) is mounted on a mobile body. For example, the communication device 10 (20) may be a device installed inside a building. In addition, when the communication device 10 (20) is installed in an automobile, wired communication with the outside of the automobile is not normally performed while the automobile is traveling. However, when the vehicle is parked in a parking lot at home or other locations, or when the vehicle is in a repair shop, wired communication can be performed using the communication line C. Where: "Mobile object" refers to an object that can move and can move at any speed. It also includes cases where the mobile object is stationary. For example, it includes, but is not limited to, automobiles, motorcycles, bicycles, pedestrians, ships, aircraft, and objects mounted on these. "Mounted" includes not only the case where the device is directly fixed to the moving body, but also the case where the device is not fixed to the moving body but moves with the moving body, such as the case where the device is carried by a person riding on the moving body, or the case where the device is mounted on cargo placed on the moving body.

[0027] In each embodiment, the data packets transmitted to the destination device 11 are "fixed-length data packets." The advantage of using fixed-length data packets is that it is easy to predict the order in which they will arrive at the destination device 11. For example, if the data packets are TCP segments, the data packets can be 1460 bytes, which is the maximum segment size. Here, a "fixed-length data packet" includes not only cases where the data packet itself is fixed length, but also cases where the data packet itself is variable length but the maximum-length data packet among the variable-length data packets is regarded as a fixed-length data packet and each data packet is transmitted, and cases where multiple data packets are combined and transmitted as a fixed-length data packet.

[0028] In the case of variable-length data packets, fixed-length data packets may be generated by dividing the data packets into fixed-length sizes. Alternatively, in the case of variable-length data packets, the maximum-length data packets may be considered as fixed-length data packets. In this case, nulls (0) may be added to data packets having lengths less than the maximum length to make them fixed-length. A data packet may include a sub-set of data packets, such as multiple sub-frames or sub-blocks. The fixed-length data packet may be named as desired, for example, a packet, a frame, a subframe, a subblock, or the like.

[0029] 2. Embodiment 1 (1) Configuration of Communication Device 10 2 to 6, the configuration of the communication device 10 of the first embodiment will be described. The communication device 10 includes a transmission buffer 100, a communication unit 110, and a communication control unit 120.

[0030] The communication device 10 can be configured with a general-purpose CPU (Central Processing Unit), a volatile memory such as a RAM, a non-volatile memory such as a ROM, a flash memory, or a hard disk, various interfaces, and an internal bus connecting these. The communication device 10 can be configured to perform the functions of each functional block shown in FIG. 2 by executing software on this hardware. Of course, the communication device 10 may be realized by dedicated hardware such as an LSI.

[0031] In this embodiment, the communication device 10 is assumed to be in the form of an electronic control device (ECU (Electric Control Unit), hereinafter abbreviated as ECU) as a semi-finished product, but is not limited to this. For example, the form of a component may be a semiconductor circuit or a semiconductor module, the form of a semi-finished product may be an electronic control device, an electronic control unit, or a system board, and the form of a finished product may be a server, a workstation, a personal computer (PC), a tablet, a smartphone, a mobile phone, or a navigation system. The communication device 10 may be configured with a single ECU or multiple ECUs. The above also applies to the communication devices of the other embodiments.

[0032] (a) The transmission buffer 100 and data packets stored in the transmission buffer 100 The transmission buffer 100 stores data packets to be transmitted to the transmission destination device 11. In this embodiment, the transmission buffer 100 stores data packets in the order in which the reception process of the data packets at the transmission destination device 11 should be completed. Where: "Completion of the receiving process" may mean not only the time when reception of the data packet is completed at the destination device, but also the time when an acknowledgment signal is sent from the destination device after reception of the data packet, or the time when the communication device receives the acknowledgment signal. "Storing data packets in order" includes storing the data packets in descending or ascending order of the addresses in the transmission buffer, as well as storing the data packets in the transmission buffer in such a way that the order can be identified regardless of the addresses in the transmission buffer.

[0033] FIG. 3 shows an example of packets stored in the transmission buffer 100. As shown in FIG. Data packets P1 to P8 are packets that make up video data, and when they are played back in the order of P1 to P8 to form a series of videos, it is desirable for the receiving process of the data packets at the destination device 11 to be completed in the order of P1 to P8. In this case, the data packets are stored in the transmission buffer 100 in the order in which the reception process of the data packets should be completed at the transmission destination device 11, that is, in the order of P1 to P8. For example, P1 to P8 are stored in descending order of the addresses of the transmission buffer.

[0034] If the order in which the receiving process of the data packets should be completed in the transmission destination device 11 can be recognized, the data packets may be stored regardless of the address of the transmission buffer 100. In this case, for example, a serial number indicating the playback order is recorded in the header portion, and the communication device 10 can know the playback order of the data packets by reading the header portion.

[0035] The transmission buffer 100 can be realized by any readable and writable recording medium, for example, RAM, various semiconductor memories, a hard disk, or the like.

[0036] (b) Communication unit 110 The communication unit 110 is made up of a plurality of communication units (corresponding to "N units") that transmit data packets corresponding to the respective communication lines. In the present embodiment, there are three communication units corresponding to the three communication lines, namely, a first communication unit 111, a second communication unit 112, and a third communication unit 113. These communication units are collectively referred to as the communication unit 110, and when each communication unit is separately referred to, they are referred to as the first communication unit 111, the second communication unit 112, and the third communication unit 113.

[0037] In this embodiment, the communication lines connected to the first communication unit 111, the second communication unit 112, and the third communication unit 113 are all based on wireless communication methods, and the communication speed is described as being the fastest for the communication line connected to the second communication unit 112 and the slowest for the communication line connected to the third communication unit 113.

[0038] The communication unit 110 can be realized by a communication module, various interfaces, and an internal bus.

[0039] (c) Communication control unit 120 The communication control unit 120 reads data packets from the transmission buffer 100, and allocates the data packets to the first communication unit 111, the second communication unit 112, and the third communication unit 113. The allocation is performed so that the data packets can be received in a desired order in the destination device 11.

[0040] However, the feature of this embodiment lies in the timing and method of allocating data packets to each communication unit, which will be specifically described below together with the configuration of the communication control unit 120.

[0041] The communication control unit 120 has a data transmission time acquisition unit 121, a transmission permission determination unit 122, and a data packet selection unit 123. The data packet selection unit 123 has a buffer offset amount calculation unit 1231 and a data packet allocation unit 1232. Each block of the communication control unit 120 can be realized by executing a program read from a general-purpose CPU and a ROM, etc. The communication control unit 120 will be described in detail below.

[0042] (c-1) Data Transmission Time Acquisition Unit 121 and Data Transmission Time Since each communication line has a different communication speed, even if the same size data packet is transmitted, the data transmission time differs for each communication line. Therefore, the data transmission time acquisition unit 121 acquires the time required for each communication line when transmitting a fixed-length data packet. In this embodiment, the data transmission time is acquired for each communication line, which is the time required from when a data packet is transmitted until "reception processing is completed" at the transmission destination device 11. Here, "completion of the receiving process" may mean not only the time when the receiving of the data packet is completed at the destination device, but also the time when the receiving confirmation signal is transmitted from the destination device after receiving the data packet, or the time when the communication device receives the receiving confirmation signal.

[0043] FIG. 4 is a diagram showing a time transition from when communication device 10 transmits a fixed-length data packet to destination device 11 using a communication line until reception processing is completed at destination device 11. In FIG.

[0044] Communication device 10 starts transmitting data packets at time Ts. Destination device 11 starts receiving the data packets at time Tr, and receives all of the data packets at time Te. After receiving the data packets, destination device 11 immediately transmits an ACK signal (corresponding to an "acknowledgement signal" of the present invention), and communication device 10 receives the ACK signal at time Ta.

[0045] Of these times, the transmission time Ts of the data packet and the reception time Ta of the ACK signal can be measured directly on the communication device 10 side. On the other hand, the data packet reception start time Tr and reception completion time Te can be measured only by the transmission destination device 11. However, by including Tr and Te as additional information in the ACK signal transmitted from the transmission destination device 11, the communication device 10 can obtain these times.

[0046] Also, in FIG. Dk is the time from Ts to Tr, and is the upstream transmission delay time. Ek is the time from Tr to Te, and is the reception duration during which the reception of data packets continues. Fk is the time from Te to Ta, and is the downstream transmission delay time. Rk is the round trip time, which is the time from Ts to Ta (corresponding to the "differential time").

[0047] Here, if the time when the receiving process of the transmission destination device 11 is completed is Te, that is, the time when the receiving of the data packet is completed at the transmission destination device 11 or the time when the ACK signal is transmitted from the transmission destination device 11, the data transmission time Wk is expressed as follows: Wk = Dk + Ek (Eq. 1) The data transmission time acquisition unit 121 of the communication device 10 uses Ts measured by the communication device 10 and Te included in the ACK signal to obtain Wk = Dk + Ek =(Tr-Ts)+(Te-Tr) = Te - Ts (Eq. 2) It can be obtained by performing the following calculation. In this case, since Ts measured by the communication device 10 and Te measured by the destination device 11 are used, in order to calculate an accurate Wk, it is necessary to synchronize the times of the communication device 10 and the destination device 11. For example, it is desirable to synchronize the times of the communication device 10 and the destination device 11 by correcting the clock errors between them using GPS.

[0048] If the communication device 10 and the destination device 11 cannot be time-synchronized, it is assumed that the upstream transmission delay time Dk and the downstream transmission delay time Fk are approximately equal. Wk = Dk + Ek =(Rk-Ek) / 2+Ek =(Rk+Ek) / 2 (Equation 3) This can be calculated by the following calculation. Rk can be found from Ts and Ta measured by the communication device 10. The data packet receiving time Ek can be obtained by measuring Tr and Te by the destination device 11, calculating the difference between them by the destination device 11, and receiving the result by the communication device 10 via an ACK signal. Alternatively, the data packet receiving time Ek can be obtained by receiving Tr and Te via an ACK signal and calculating the difference by the communication device 10. Note that since the data packet receiving time Ek is the difference between Te and Tr, it is not affected by time errors in the communication device 10 and the destination device 11. Furthermore, since Ta is not based on information from the destination device 11, it is not affected by time errors in the communication device 10 and the destination device 11.

[0049] Or, when comparing the upstream transmission delay time Dk and the data packet reception time Ek, Dk is generally overwhelmingly larger than Ek. Therefore, ignoring Ek, Wk = Dk + Ek ≒Rk / 2 (Formula 4) An approximation can be obtained by performing the following calculation.

[0050] In the above, the data transmission time Wk is calculated assuming that the time when the reception process is completed is Te. However, if the time when the reception process is completed is instead assumed to be Ta, that is, the time when the communication device 10 receives an ACK signal, the data transmission time Wk can be calculated as follows: Wk=Rk (Formula 5) According to this, the data transmission time acquisition unit 121 of the communication device 10 can obtain the data transmission time Wk based on the measurement in the communication device 10, without being based on information from the destination device 11. And, since Ta is not based on information from the destination device 11, it is not affected by the time error in the communication device 10 and the destination device 11.

[0051] When the communication device 10 is mounted on an automobile, the communication environment of each communication line changes from moment to moment, so the data transmission time acquisition unit 121 may acquire the latest data transmission time Wk based on the time when the latest ACK signal was received every time the communication unit 110 receives an ACK signal. This makes it possible to obtain the data transmission time Wk that reflects the communication environment closer to the current time.

[0052] (c-2) Transmission permission determination unit 122 The transmission permission determination unit 122 determines whether each communication unit is allowed to transmit a data packet based on whether each communication unit is currently transmitting a data packet. In this embodiment, it determines whether each communication unit is released from a transmission wait state and is currently able to transmit a data packet. The transmission wait state is released when a data packet is not currently being transmitted.

[0053] Since the first communication unit 111, the second communication unit 112, and the third communication unit 113 each operate independently and transmit data packets in parallel, the timing at which each unit goes from a transmission waiting state to transmission possible differs. The transmission possibility determination unit 122 constantly monitors the communication unit 110 and determines whether each communication unit is capable of transmission. For example, it may scan each communication unit in turn to check whether it is capable of transmitting a data packet.

[0054] 5, first communication unit 111 is in a waiting state until time t1, at which time the data packet can be transmitted. Transmission permission determination unit 122 determines that first communication unit 111 is able to transmit at time t1. As a result, data packet allocation unit 1232 of communication control unit 120 (described later) allocates a new data packet to first communication unit 111. Next, the transmission permission determining unit 122 determines that the second communication unit 112 is capable of transmission at time t2. As a result, the data packet allocating unit 1232 allocates a new data packet to the second communication unit 112. Then, the transmission permission determining unit 122 determines that the third communication unit 113 is capable of transmission at time t3. As a result, the data packet allocating unit 1232 allocates a new data packet to the third communication unit 113. Thereafter, as time passes at t4, t5, . . . t8, the transmission permission determining unit 122 determines whether or not each communication unit is permitted to transmit. How to select a data packet will be explained later in the explanation of buffer offset calculation unit 1231.

[0055] In this way, data packets are assigned to each communication unit based on the transmission feasibility determination unit 122's determination of whether transmission is possible, so that data packets can be assigned taking into account the current communication status of each communication unit, and this makes it possible to more effectively prevent reversals in the arrival order of data packets at the destination device 11 compared to the case where data packets are assigned to each communication unit in advance.

[0056] (c-3) Data packet selection unit 123 When the transmission feasibility determination unit 122 determines that a particular communication unit 110, for example the kth communication unit (k is an integer from 1 to N), is capable of transmission, the data packet selection unit 123 selects from the transmission buffer 100 a data packet to be transmitted by the kth communication unit, and assigns it to the kth communication unit.

[0057] The data packet selection unit 123 includes a buffer offset calculation unit 1231 and a data packet allocation unit 1232 .

[0058] The buffer offset amount calculation unit 1231 obtains a buffer offset amount from the total number of data packets that can be transmitted by an m-th communication unit (m is an integer from 1 to N other than k) other than the k-th communication unit and that can complete "reception processing" at the transmission destination device 11 within the data transmission time of the communication line corresponding to the k-th communication unit (k is any integer from 1 to N) that the transmission permission determination unit 122 has determined to be transmittable. The number of data packets that can be transmitted by the m-th communication unit and that can complete reception processing at the transmission destination device 11 can be obtained based on the data transmission times of the respective communication units acquired by the data transmission time acquisition unit 121. Here, "completion of the receiving process" may mean not only the time when the receiving of the data packet is completed at the destination device, but also the time when the receiving confirmation signal is transmitted from the destination device after receiving the data packet, or the time when the communication device receives the receiving confirmation signal.

[0059] For example, at time t3 in Fig. 5, transmission permission determination unit 122 determines that third communication unit 113 is capable of transmission. Upon receiving the determination that third communication unit 113 is capable of transmission, buffer offset calculation unit 1231 calculates the buffer offset amount as follows.

[0060] The data transmission time W3 of the communication line corresponding to the third communication unit 113 is a7-t3. The buffer offset amount calculation unit 1231 calculates the total number of data packets that can be transmitted by the first communication unit 111 and the second communication unit 112, which are communication units other than the third communication unit 113, and can complete the receiving process at the transmission destination device 11 within the time from time t3 to the data transmission time W3. In the case of FIG. 5, since the first communication unit 111 has already started transmitting P3, the packet that can be transmitted within the time W3 after the transmission of P3 is completed is one, P6. Similarly, since the second communication unit 112 has already started transmitting P1, the packets that can be transmitted within the time W3 after the transmission of P1 is completed are three, P2, P4, and P5. Therefore, the total number of data packets that can be transmitted by the first communication unit 111 and the second communication unit 112, which are other than the third communication unit 113, and can complete the receiving process at the transmission destination device 11 is four, and the buffer offset amount is four.

[0061] The data packet allocation unit 1232 allocates a data packet whose head is offset from the head of the transmission buffer 100 by the buffer offset amount to the k-th communication unit.

[0062] 6 shows the state of the transmission buffer 100 at time t3. At the time t3, data packets that have not yet started to be transmitted are stored in the transmission buffer 100 in the order of P2, P4, P5, P6, P7, and P8. Therefore, the data packet allocation unit 1232 allocates P7, whose head is offset by four packets from the head of the transmission buffer 100, to the third communication unit 113.

[0063] In this embodiment, the unit of the buffer offset amount is the number of data packets, but it is not limited to this. Anything that indicates the offset amount from the beginning of the transmission buffer 100 to the desired data packet may be used, for example, the number of bytes from the beginning of the transmission buffer 100, or the increment of a pointer that points to the address of the memory (RAM) where the data packet is stored.

[0064] (3) Operation of the Communication Device 10 The operation of the communication device 10 of the present embodiment will be described with reference to FIG. 7 to FIG. Note that the following operations not only indicate a communication method in the communication device 10, but also indicate the processing procedure of a communication program executed by the communication device 10. The processing is not limited to the order shown in Figures 7 to 9. In other words, the order may be changed as long as there is no constraint such as a relationship in which a certain step utilizes the result of the previous step. The above applies not only to this embodiment, but also to other embodiments and modified examples.

[0065] (a) Main flow The main flow of the operation of the communication device 10 will be described with reference to FIG. The transmission buffer 100 of the communication device 10 "stores the data packets in the order in which the receiving process of the data packets should be completed" at the destination device 11 (S101). The data packets may be stored at the timing when they are transmitted to the communication device 10, and if they are transmitted during a subsequent step, they may be stored in parallel. That is, Fig. 7 shows the process of transmitting data packets stored moment by moment in the data buffer 100.

[0066] The data transmission time acquisition unit 121 acquires the data transmission time, which is the time required from when a data packet is transmitted to when the "reception process is completed" at the transmission destination device 11 in each communication line (S102). The operation of acquiring the data transmission time will be described in detail later.

[0067] The communication control unit 120 initializes k to k=1 (S103).

[0068] The transmission permission determination unit 122 determines whether or not each communication unit has been released from a transmission wait state and is ready to transmit (S104). If transmission is ready, the process proceeds to S105, and if transmission is not ready, the process proceeds to S109.

[0069] The data packet selection unit 123 selects a data packet to be transmitted from the transmission buffer 100 for the k-th communication unit (k is an integer from 1 to N) that has been determined to be transmittable, and allocates the data packet to the k-th communication unit (S105). The details of the data packet selection operation will be described later.

[0070] The communication control unit 120 judges whether a data packet to be transmitted to the kth communication unit has been assigned (S106). If assigned, the data packet is transmitted from the kth communication unit (S107). If not assigned, the process proceeds to S109.

[0071] The communication control unit 120 updates the transmission buffer 100 (S108). Specifically, the communication control unit 120 removes information about the data packet transmitted by the kth communication unit in S107 from the transmission buffer 100, and fills the transmission buffer 100 with the area of ​​the removed data packet.

[0072] The communication control unit 120 increments k (S109).

[0073] When k is equal to or less than N (S110:N), the communication control unit 120 repeats the processes from S104 to S108 for the kth communication unit specified by the incremented k and the communication line corresponding to the kth communication unit. If k is greater than N (S110: Y), the process returns to S102.

[0074] (b) Flow of obtaining data transmission time The operation of acquiring the data transmission time of each communication line will be described with reference to FIG.

[0075] The data transmission time acquisition unit 121 initializes k, setting it to k=1 (S121).

[0076] The data transmission time acquisition unit 121 acquires the round trip time Rk of the communication line corresponding to k (S122). As shown in FIG. 4, Rk can be calculated by measuring the transmission time Ts of the data packet and the reception time Ta of the ACK signal, and calculating the difference between Ta and Ts.

[0077] The data transmission time acquisition unit 121 acquires the data packet reception time Ek of the communication line corresponding to k (S123). As shown in FIG. 4, Ek can be calculated as the difference between the reception start time Tr and the reception completion time Te of the data packet.

[0078] The data transmission time acquisition unit 121 acquires the data transmission time Wk of the communication line corresponding to k (S124). Specifically, Wk is calculated from Rk and Ek by (Equation 3). Alternatively, Wk may be calculated by (Equation 4) or (Equation 5). In that case, S123 is not necessary.

[0079] The data transmission time acquisition unit 121 increments k (S125).

[0080] If k is equal to or less than N (S126:N), the data transmission time acquisition unit 121 repeats the processes from S122 to S124 for the kth communication unit specified by the incremented k and the communication line corresponding to the kth communication unit. If k is greater than N (S126: Y), the process returns to S103.

[0081] (c) Data packet selection flow The operation of selecting a data packet and allocating it to the k-th communication unit will be described with reference to FIG.

[0082] The buffer offset calculation unit 1231 calculates the total number Q of data packets that can be transmitted by an mth communication unit (m is an integer from 1 to N other than k) other than the kth communication unit and that can have their "reception processing completed" at the destination device 11 within the data transmission time Wk of the communication line corresponding to the kth communication unit determined to be transmittable in S104 (S141).

[0083] The buffer offset calculation unit 123 obtains the buffer offset Ok from the total number Q of data packets (S142). When the buffer offset represents the number of packets, the buffer offset Ok is equal to the number Q of packets.

[0084] The data packet allocation unit 1232 judges whether or not there is a data packet whose head is offset by the buffer offset amount Ok from the head of the transmission buffer 100 (S143). If there is a data packet (S143: Y), the data packet allocation unit 1232 allocates the data packet to the kth communication unit. If there is no data packet (S143: N), there is no data packet to allocate, so no data packet is allocated to the kth communication unit.

[0085] (d) Specific Example of Operation of Communication Device 10 An example of the operation of the communication device 10 will be described with reference to FIGS. 10 to 15, focusing on the allocation of data packets and the updating of the transmission buffer.

[0086] An operation example is a case where N=3, that is, the number of communication lines used is three. As shown in Fig. 10, it is assumed that the first communication unit 111 can transmit data packets from time t1, the second communication unit 112 can transmit data packets from time t2, and the third communication unit 113 can transmit data packets from time t3. Until then, each communication unit is in a state of waiting to transmit and is not capable of transmitting. The reason why the lengths of the horizontal parts of the diamonds of the communication units in Fig. 10 are different is because the size of the data packet is fixed and therefore the same, but there is a difference in the line speed of each communication line, i.e., the data transmission speed.

[0087] 11 shows the status of each communication line at time t1. At time t1, transmission permission determination unit 122 determines that first communication unit 111 is capable of transmission. 11, if a data packet is transmitted from first communication unit 111 at time t1, reception processing is completed at destination device 11 at time a3. During data transmission time W1, which is the time from time t1 to time a3, the number of data packets that are transmitted from a communication unit other than first communication unit 111 and that can be received and processed by destination device 11 is two for second communication unit 112 and zero for third communication unit 113. Therefore, buffer offset amount calculation unit 1231 sets the buffer offset amount to two. 15(a), at t=t1, P3 is offset by two packets from the beginning of the transmission buffer 100 and assigned as a data packet to be transmitted by the first communication unit 111. Thereafter, the transmission buffer 100 is updated and P3 is deleted from the transmission buffer 100.

[0088] 12 shows the status of each communication line at time t2. At time t2, the transmission permission determination unit 122 determines that the second communication unit 112 is capable of transmission. Note that at time t2, the first communication unit 111 is still transmitting P3, and therefore is not capable of transmission. 12, if a data packet is transmitted from second communication unit 112 at time t2, reception processing is completed at destination device 11 at time a1. During data transmission time W2, which is the time from time t2 to time a1, the number of data packets that are transmitted from a communication unit other than second communication unit 112 and for which reception processing can be completed at destination device 11 is 0 for first communication unit 111, 0 for the third communication unit, and a total of 0. Therefore, buffer offset amount calculation unit 1231 sets the buffer offset amount to 0. 15(b), at t=t2, P1 is offset by 0 from the beginning of the transmission buffer 100 and assigned as a data packet to be transmitted by the second communication unit 112. Thereafter, the transmission buffer 100 is updated and P1 is deleted from the transmission buffer 100.

[0089] 13 shows the status of each communication line at time t3. At time t3, transmission permission determination unit 122 determines that third communication unit 113 is capable of transmission. Note that at time t3, first communication unit 111 is still transmitting P3 and therefore is not capable of transmission. Also, at time t3, second communication unit 112 is still transmitting P1 and therefore is not capable of transmission. 13, if a data packet is transmitted from third communication unit 113 at time t3, reception processing is completed at destination device 11 at time a7. During data transmission time W3, which is the time from time t3 to time a7, the number of data packets that are transmitted from a communication unit other than third communication unit 113 and for which reception processing can be completed at destination device 11 is one for first communication unit 111 and three for the second communication unit, totaling four. Therefore, buffer offset amount calculation unit 1231 sets the buffer offset amount to four. 15(c), at t=t3, P7 is offset by four packets from the beginning of the transmission buffer 100 and assigned as a data packet to be transmitted by the third communication unit 113. Thereafter, the transmission buffer 100 is updated and P7 is deleted from the transmission buffer 100.

[0090] 14 shows the status of each communication line at time t4. At time t4, the transmission of P1 from second communication unit 112 ends, resolving the transmission wait, and transmission availability determination unit 122 determines that second communication unit 112 is ready to transmit. Note that at time t4, first communication unit 111 is still transmitting P3, and therefore is not ready to transmit. Also, at time t4, third communication unit 113 is still transmitting P7, and therefore is not ready to transmit. 14, if a data packet is transmitted from second communication unit 112 at time t4, the receiving process is completed at destination device 11 at time a2. During data transmission time W2, which is the time from time t4 to time a2, the number of data packets that are transmitted from a communication unit other than second communication unit 112 and that can be received and processed by destination device 11 is 0. Therefore, buffer offset amount calculation unit 1231 sets the buffer offset amount to 0. 15(d), at t=t4, P2 is offset by 0 from the beginning of the transmission buffer 100 and assigned as a data packet to be transmitted by the second communication unit 112. Thereafter, the transmission buffer 100 is updated, and P2 is deleted from the transmission buffer 100.

[0091] In this example, the data transmission time Wk is from the packet transmission time of the communication device 10 to the packet reception completion time of the transmission destination device 11, but it may be from the packet transmission time of the communication device 10 to the reception time of the ACK signal of the communication device 10, that is, the round trip time Rk. In this case, the amount of data packets that can be transmitted is reduced, but since the transmission is started after waiting for the reception of the ACK signal, the next data packet is transmitted after the reception at the transmission destination device 11 is confirmed, so that the possibility of the arrival order of the data packets being reversed is reduced and loss of data packets at the transmission destination device 11 can be reliably prevented. This is particularly effective when a wireless communication method is used.

[0092] The above describes the operation of allocating data packets from time t1 to t4. For the remaining data packets, the same allocation can be performed at the time when the transmission feasibility determination unit 122 determines that either the first communication unit 111, the second communication unit 112, or the third communication unit 113 is capable of transmission.

[0093] (4) Summary According to the communication device 10 of the present embodiment, data packets to be transmitted are assigned to communication units that have been determined to be capable of communication, so that the data packets to be transmitted are selected immediately before transmission, and data packets that reflect the communication environment immediately before transmission can be selected. As a result, the possibility of reversing the order of arrival of data packets is reduced. Furthermore, according to the communication device 10 of this embodiment, the buffer offset amount is calculated according to the number of data packets that can be transmitted by a communication unit other than that determined to be capable of communication, so that it is possible to select a data packet other than that at the top of the transmission buffer, and it is possible to select a data packet to be transmitted by a simple calculation. Furthermore, in the communication device 10 of this embodiment, when the data transmission time is calculated from the round trip time Rk, the data transmission time can be calculated even if time synchronization is not achieved between each communication unit and the transmission destination device 11. In addition, in the communication device of the present embodiment, when the latest round trip time Rk is used to calculate the data transmission time, the communication environment can be evaluated based on the latest information, which reduces the possibility of the data packets arriving out of order.

[0094] 3. Embodiment 2 (1) Configuration of communication device 20 The configuration of the communication device 20 of this embodiment will be described with reference to Fig. 16. In Fig. 16, the same components as those of the communication device 10 of the first embodiment are given the same reference numerals as those in Fig. 2 of the first embodiment, and the description of Fig. 2 will be cited.

[0095] The differences from the communication device 10 of Embodiment 1 are that the communication control unit 200 of this embodiment has a sorting unit 201 that arranges each communication unit in ascending order of data transmission time, and on the premise that the sorting unit 201 rearranges the communication units, the buffer offset amount calculation unit 2021 calculates the buffer offset amount.

[0096] The communication control unit 200 includes a data transmission time acquisition unit 121, a sorting unit 201, a transmission permission determination unit 122, and a data packet selection unit 202. The data packet selection unit 202 includes a buffer offset amount calculation unit 2021 and a data packet allocation unit 1232.

[0097] The sorting unit 201 rearranges the N communication units in ascending order of the data transmission time of the communication line corresponding to each communication unit.

[0098] The rearrangement will be described with reference to FIGS. 5 and 17. For example, W1, W2, and W3 in FIG. 5 are in the relationship of W2 < W1 < W3. Therefore, the sorting unit 201 of this embodiment rearranges the second communication unit 112, the first communication unit 111, and the third communication unit 113 in this order, and then, as shown in FIG. 17, reassigns the index of each communication unit. In this example, the names of the second communication unit 112 and the first communication unit 111 are swapped, and in ascending order of data transmission time, the order is the first communication unit 111, the second communication unit 112, and the third communication unit 113. In this case, the data transmission time is W1 < W2 < W3.

[0099] Note that the frequency of rearrangement by the sorting unit 201 may be changed according to the amount of change in the communication environment of the communication line. Alternatively, when the reception order of data packets, which is the order in which the reception process is completed at the destination device 11, is different from the storage order of data packets stored in the transmission buffer 100, the sorting unit 201 may perform rearrangement.

[0100] The buffer offset calculation unit 2021 calculates the buffer offset from the total number of data packets that can be transmitted by the mth communication unit 11m (m is a positive integer from 1 to k-1) having a shorter data transmission time than the kth communication unit and that can complete the receiving process at the destination device 11 within the data transmission time Wk of the communication line corresponding to the kth communication unit (k is an integer from 1 to N) that the transmission feasibility determination unit 122 has determined to be transmittable.

[0101] In the example of FIG. 17, when the transmission permission determining unit 122 determines that the first communication unit 111 is capable of transmission, there is no communication unit whose data transmission time is shorter than that of the first communication unit 111, so the buffer offset amount is always 0. When the transmission feasibility judgment unit 122 judges that the second communication unit 112 is capable of transmission, since the first communication unit 111 has a shorter data transmission time than the second communication unit, the buffer offset amount is calculated from the number of data packets that the first communication unit 111 can transmit during W2 and that can be received and processed by the destination device 11. When the transmission feasibility judgment unit 122 judges that the third communication unit 113 is capable of transmission, since the first communication unit 111 and the second communication unit 112 have shorter data transmission times than the third communication unit 113, the buffer offset amount is calculated from the total number of data packets that can be transmitted by the first communication unit 111 or the second communication unit 112 during W3 and that can be completed for receiving processing at the destination device 11.

[0102] That is, when calculating the buffer offset amount, a communication unit having a slower communication speed than a communication unit determined to be capable of transmission by the transmission permission determination unit 122 is not taken into consideration. This is because a communication unit having a slower communication speed than a communication unit determined to be capable of transmission will not complete transmission of a data packet faster than a communication unit determined to be capable of transmission, even if it is in a transmittable state.

[0103] (2) Operation of the communication device 20 The operation of the communication device 20 of this embodiment will be described with reference to FIGS. Figures 18 and 19 show the operation of the communication device 20 of this embodiment, where the operational steps similar to those of the communication device 10 of embodiment 1 are given the same symbols as those in Figures 7 to 9, and the explanations for Figures 7 to 9 are quoted.

[0104] The sorting unit 201 rearranges N communication units in ascending order of data transmission time of the communication line corresponding to each communication unit (S201). For example, when rearranging, the index i assigned to each communication unit is changed so that the smaller the index i, the shorter the data transmission time.

[0105] The process from S201 onwards is the same as in Fig. 7. However, for the kth communication unit determined to be transmittable in S104, a data packet to be transmitted is selected from the transmission buffer 100 and assigned to the kth communication unit (S202). The details of the operation of S202 are different, and will be described below with reference to Fig. 19.

[0106] 19, the buffer offset calculation unit 2021 determines whether the process is that of the first communication unit 111 (k=1), which is the communication unit with the shortest data transmission time (S241). If the process is that of the first communication unit 111 (S241: Y), the process proceeds to S242, otherwise (S241: N), the process proceeds to S243.

[0107] In the case of processing by the first communication unit 111 (k=1), the buffer offset amount in the first communication unit 111 is always 0, so the first data packet in the transmission buffer 100 is selected and assigned to the first communication unit 111 (S242).

[0108] If the processing is other than that of the first communication unit 111 (k=1), the total number Q of data packets transmitted by the mth communication unit (m is 1 or more and less than k) during the transmission time Wk of the communication line CHk corresponding to the kth communication unit is calculated (S243).

[0109] The process from S142 onwards is the same as that in FIG.

[0110] In the operation of the communication device 20 shown in Fig. 18, the acquisition of the data transmission time in S102 and the sorting process in S201 are performed every time the loop from S102 to S110 is completed, but the frequency may be adjusted according to the communication environment of the communication line. For example, the acquisition of the data transmission time and the sorting process may be performed immediately after the kth communication unit receives an ACK signal. This allows the latest data transmission time to be reflected in the sorting process.

[0111] (3) Specific Example of Operation of Communication Device 20 20 to 24 and 15, an example of the operation of the communication device 20 will be described with attention focused on the allocation of data packets and the updating of the transmission buffer.

[0112] An operation example is a case where N=3, that is, the number of communication lines used is three. As shown in Fig. 20, it is assumed that the first communication unit 111 is capable of transmitting data packets from time t2, the second communication unit 112 is capable of transmitting data packets from time t1, and the third communication unit 113 is capable of transmitting data packets from time t3. Up to that time, each communication unit is in a transmission waiting state and is not capable of transmitting. In this embodiment, the data are pre-sorted by the sorting unit 201 in ascending order of data transmission time, so that W1 <W2<W3となっている。

[0113] 21 shows the status of each communication line at time t1. At time t1, transmission permission determination unit 122 determines that second communication unit 112 is capable of transmission. 21, if a data packet is transmitted from first communication unit 211 at time t1, reception processing is completed at destination device 11 at time a3. During data transmission time W2, which is the time from time t1 to time a3, the number of data packets that can be transmitted from first communication unit 111, which has a shorter data transmission time than second communication unit 112, and for which reception processing can be completed at destination device 11 is two. Therefore, buffer offset amount calculation unit 1231 sets the buffer offset amount to two. 15(a), at t=t1, P3 is offset by two packets from the beginning of the transmission buffer 100 and assigned as a data packet to be transmitted by the second communication unit 112. Thereafter, the transmission buffer 100 is updated and P3 is deleted from the transmission buffer 100.

[0114] 22 shows the status of each communication line at time t2. At time t2, transmission permission determination unit 122 determines that first communication unit 111 is capable of transmission. 22, the first communication unit 111 is the communication unit corresponding to the communication line with the shortest data transmission time, so P1 at the top of the transmission buffer 100 is assigned to the first communication unit 111 as shown in FIG. 15(b). After that, the transmission buffer 100 is updated, and P1 is deleted from the transmission buffer 100.

[0115] 23 shows the status of each communication line at time t3. At time t3, transmission permission determination unit 122 determines that third communication unit 113 is capable of transmission. Note that at time t3, first communication unit 111 is still transmitting P1 and therefore is not capable of transmission. Also, at time t3, second communication unit 112 is still transmitting P3 and therefore is not capable of transmission. 23, if a data packet is transmitted from the third communication unit 113 at time t3, the receiving process is completed at the transmission destination device 11 at time a7. During the data transmission time W3 from time t3 to time a7, the number of data packets that can be transmitted from the first communication unit 111 and the second communication unit 112, which have a shorter data transmission time than the third communication unit 113, and that can be completed for receiving process at the transmission destination device 11 is three for the first communication unit 111 and one for the second communication unit, totaling four. Therefore, the buffer offset amount calculation unit 1231 sets the buffer offset amount to four. 15(c), at t=t3, P7 is offset by four packets from the beginning of the transmission buffer 100 and assigned as a data packet to be transmitted by the third communication unit 113. Thereafter, the transmission buffer 100 is updated and P7 is deleted from the transmission buffer 100.

[0116] 24 shows the status of each communication line at time t4. At time t4, the transmission wait is resolved as the first communication unit 111 finishes transmitting P1, and the transmission permission determination unit 122 determines that the first communication unit 111 is ready to transmit. 24, the first communication unit 111 is the communication unit corresponding to the communication line with the shortest data transmission time, so P2 at the top of the transmission buffer 100 is assigned to the first communication unit 111 as shown in FIG. 15(d). After that, the transmission buffer 100 is updated, and P2 is deleted from the transmission buffer 100.

[0117] The above describes the operation of allocating data packets from time t1 to t4. For the remaining data packets, the same allocation can be performed at the time when the transmission feasibility determination unit 122 determines that either the first communication unit 111, the second communication unit 112, or the third communication unit 113 is capable of transmission.

[0118] (4) Summary According to the communication device 20 of this embodiment, the sorting unit 201 sorts the communication units in advance in order of shortest data transmission time and then calculates the buffer offset amount, so that the processing of the buffer offset amount calculation unit 2021 is simplified and the processing time can be shortened.

[0119] 4. Other Modifications (1) Timing for obtaining data transmission time If each data packet is assigned a sequence number indicating the processing order of the data packet, when the destination device 11 completes receiving the data packet, it transmits an ACK signal including the sequence number of the data packet that has been received. Therefore, the communication device 10 (20) can confirm whether the receiving process at the destination device 11 has been completed in the order in which the data packets are stored in the transmission buffer 100.

[0120] Therefore, the communication control unit 120 (200) of the communication device 10 (20) may instruct the data transmission time acquisition unit 121 to reacquire the data transmission time when the receiving order of the data packets, which is the order in which the "receiving process is completed" at the destination device 11, differs from the storage order of the data packets stored in the transmission buffer 100.

[0121] According to this configuration, if the arrival order of data packets is reversed at the destination device 11, it is assumed that the communication environment has changed, and by acquiring the latest data transmission time of each communication line again, it is possible to correctly allocate data packets to each communication unit thereafter. As a result, it is possible to prevent the order of data packets received at the destination device 11 from being reversed.

[0122] (2) Change in the calculation method for data transmission time As described above, the data transmission time acquisition unit 121 can calculate and acquire the data transmission time by the calculation methods of (Equation 2) to (Equation 5). However, each calculation formula has different accuracy and necessity for time synchronization. Therefore, the calculation formula may be changed depending on the fluctuation of the communication environment of the communication line and the presence or absence of reversal of the arrival order of the packets in (1) above. For example, since (Equation 4) is an estimate, it may be changed to (Equation 3) when the arrival order of the packets is frequently reversed. Alternatively, it may be changed to (Equation 5) which has the most leeway in the data transmission time. Also, when it is possible to achieve time synchronization between the communication device 10 (20) and the transmission destination device 11, it may be changed to (Equation 2).

[0123] (3) Window Control In the explanation of the first and second embodiments, the destination device 11 returns an ACK signal to the communication device 10 (20) every time a data packet is received. However, the communication units of the communication device 10 (20) may each set a window size (the window size is the number of data packets equal to or greater than 1) and perform window control to continuously transmit packets of the window size without waiting for an ACK signal. FIG. 25 shows an example in which the first communication unit 111 has a window size of 3, the second communication unit 112 has a window size of 2, and the third communication unit 113 has a window size of 1. In this case, the buffer offset amount calculation unit 1231 (2021) may calculate the buffer offset amount based on the window size of the m-th communication unit other than the k-th communication unit.

[0124] (4) About "Reception processing completed" The functional blocks that are specified as having "completion of reception processing" are the transmission buffer 100, the data transmission time acquisition unit 121, the buffer offset amount calculation unit 1231 (2021), and the communication control unit 100 (200). The meaning of "completion of reception processing" may be the same for all functional blocks, or may be different for each functional block. As an example of a different meaning, "completion of reception processing" in the transmission buffer 100 may be the point in time when reception of a data packet at the transmission destination device 11 is completed, and "completion of reception processing" in the data transmission time acquisition unit 121 may be the point in time when an ACK signal is received by the communication device 10 (20).

[0125] 5. Summary The features of the communication devices and the like in each embodiment of the present invention have been described above. The terms used in each embodiment are merely examples and may be replaced with synonymous terms or terms having the same functions.

[0126] The block diagrams used to explain the embodiments classify and organize the configuration of the device by function. The blocks showing the respective functions are realized by any combination of hardware or software. In addition, since the block diagrams show the functions, they can also be understood as disclosures of a method invention and a program invention that realizes the method.

[0127] The order of the processes, flows, and blocks that can be understood as methods described in each embodiment may be changed as long as there are no constraints, such as one step utilizing the results of another step prior to it.

[0128] Unless otherwise specified in the claims, the communication device of the present invention may be for use in a vehicle, and also includes a dedicated or general-purpose communication device for use other than in a vehicle.

[0129] Moreover, examples of the form of the communication device of the present invention include a semiconductor element, an electronic circuit, a module, and a microcomputer. Examples of semi-finished products include electronic control units (ECUs (Electric Control Units)) and system boards. Finished product forms include mobile phones, smartphones, tablets, personal computers (PCs), workstations, and servers. Other examples include devices with communication functions, such as car navigation systems.

[0130] It is assumed that the communication device of the present invention is used for the purpose of providing various services. In providing such services, the communication device of the present invention is used, the method of the present invention is used, and / or the program of the present invention is executed.

[0131] In addition, the present invention can be realized not only by dedicated hardware having the configuration and functions described in each embodiment, but also as a combination of a program for realizing the communication control unit of the present invention recorded on a recording medium such as a memory or a hard disk, and general-purpose hardware having a dedicated or general-purpose CPU and memory capable of executing the program, and communication hardware for multiple communication lines.

[0132] A program for a communication device of the present invention, which is stored in a non-transient substantial recording medium (for example, an external storage device (hard disk, USB memory, CD / BD, etc.) or an internal storage device (RAM, ROM, etc.)) of dedicated or general-purpose hardware, can also be provided to the dedicated or general-purpose hardware via the recording medium, or via a communication line from a server without using a recording medium. This makes it possible to always provide the latest functions through program upgrades. [Industrial Applicability]

[0133] The communication device of the present invention is a communication device that performs communication using multiple communication lines, and can be widely applied to communication while a vehicle is parked or traveling, communication on a ship, an aircraft, etc., or communication handling large amounts of data at fixed facilities, etc. [Explanation of symbols]

[0134] 10, 20 communication device, 100 transmission buffer, 110 communication unit, 120, 200 communication control unit, 121 data transmission time acquisition unit, 122 transmission possibility determination unit, 1231, 2021 buffer offset amount calculation unit, 1232 data packet allocation unit, 201 sort unit

Claims

1. A communication device (10) that transmits a fixed-length data packet to a destination device (11) using N communication lines (N is a positive integer equal to or greater than 2), a transmission buffer (100) for storing the data packets in the order in which the reception process of the data packets should be completed at the destination device; N communication units (110) for transmitting the data packets corresponding to the respective communication lines; a communication control unit (120) that reads the data packets from the transmission buffer and assigns the data packets to each of the communication units; The communication control unit a data transmission time acquisition unit (121) for acquiring a data transmission time, which is a time required from when the data packet is transmitted to when the receiving process at the transmission destination device is completed, in each of the communication lines; a transmission possibility determination unit (122) for determining whether or not the transmission waiting state of each of the communication units has been resolved and transmission is possible; a buffer offset amount calculation unit (1231) that calculates a buffer offset amount from the total number of data packets that can be transmitted by an m-th communication unit (m is an integer from 1 to N other than k) that is a communication unit other than the k-th communication unit and can complete reception processing at the destination device within the data transmission time of the communication line corresponding to the k-th communication unit (k is any integer from 1 to N) that is the communication unit that the transmission permission determination unit has determined to be transmittable; a data packet allocation unit (1232) for allocating to the kth communication unit the data packet whose head is offset from the head of the transmission buffer by the buffer offset amount, A communication device (10).

2. A communication device (20) that transmits a fixed-length data packet to a destination device (11) using N communication lines (N is a positive integer equal to or greater than 2), a transmission buffer (100) for storing the data packets in the order in which the reception process of the data packets should be completed at the destination device; N communication units (110) for transmitting the data packets corresponding to the respective communication lines; a communication control unit (200) that reads the data packets from the transmission buffer and assigns the data packets to each of the communication units; The communication control unit a data transmission time acquisition unit (121) for acquiring a data transmission time, which is a time required from when the data packet is transmitted to when the receiving process at the transmission destination device is completed, in each of the communication lines; a sorting unit (201) that sorts the N communication units in ascending order of the data transmission time of the communication line corresponding to each of the communication units; a transmission possibility determination unit (122) for determining whether or not the transmission waiting state of each of the communication units has been resolved and transmission is possible; a buffer offset amount calculation unit (2021) that calculates a buffer offset amount from the total number of data packets that can be transmitted by an m-th communication unit (m is a positive integer from 1 to k-1) having a shorter data transmission time than a k-th communication unit (k is any integer from 1 to N) that is the communication unit determined by the transmission possibility determination unit to be transmittable within the data transmission time of the communication line corresponding to the k-th communication unit; a data packet allocation unit (2022) for allocating to the kth communication unit the data packet whose head is offset from the head of the transmission buffer by the buffer offset amount, A communication device (20).

3. The data transmission time acquisition unit For the communication lines corresponding to each of the N communication units, determining a differential time between a time when the data packet is transmitted and a time when the communication unit receives an acknowledgment signal transmitted from the destination device after receiving the data packet; obtaining the data transmission time based on the differential time; The communication device according to claim 1 or 2.

4. The data transmission time acquisition unit acquiring the data transmission time based on a time when the communication unit received the latest receipt confirmation signal; The communication device according to claim 3.

5. each of the N communication units sets a window size (the window size is the number of data packets equal to or greater than 1), and performs window control to continuously transmit packets of the window size without waiting for receipt of an acknowledgment signal transmitted after receiving the data packet from the destination device; The buffer offset calculation unit calculates the buffer offset based on the window size of the mth communication unit. The communication device according to claim 1 or 2.

6. The communication control unit instructing the data transmission time acquisition unit to acquire the data transmission time again when a receiving order of the data packets, which is an order in which the receiving process is completed at the destination device, differs from a storing order of the data packets stored in the transmission buffer. The communication device according to claim 1 or 2.

7. The communication device is mounted on a mobile object. A communication device according to any one of claims 1 to 6.

8. A communication method executed by a communication device that transmits a fixed-length data packet to a destination device using N communication lines (N is an integer equal to or greater than 2), comprising the steps of: The data packets are stored in a transmission buffer in the order in which the reception process of the data packets should be completed at the destination device (S101); A data transmission time is acquired for each of the communication lines, which is a time required from when the data packet is transmitted until the reception process at the destination device is completed (S102); It is determined whether the communication unit that transmits the data packet corresponding to each of the communication lines is released from the transmission wait state and is ready to transmit (S104); A buffer offset amount is calculated from the total number of data packets that can be transmitted by an m-th communication unit (m is an integer from 1 to N other than k) other than the k-th communication unit and can be completed in the receiving process at the destination device within the data transmission time of the communication line corresponding to the k-th communication unit (k is an integer from 1 to N) that is the communication unit determined to be capable of transmission (S105, S141, S142); The data packet whose head is offset from the head of the transmission buffer by the buffer offset amount is assigned to the kth communication unit (S105, S143, S144); The data packet is transmitted by the kth communication unit (S107). Communication methods.

9. A communication program executable by a communication device that transmits a fixed-length data packet to a destination device using N communication lines (N is an integer equal to or greater than 2), The data packets are stored in a transmission buffer in the order in which the reception process of the data packets should be completed at the destination device (S101); A data transmission time is acquired for each of the communication lines, which is a time required from when the data packet is transmitted until the reception process at the destination device is completed (S102); It is determined whether the communication unit that transmits the data packet corresponding to each of the communication lines is released from the transmission wait state and is ready to transmit (S104); A buffer offset amount is calculated from the total number of data packets that can be transmitted by an m-th communication unit (m is an integer from 1 to N other than k) other than the k-th communication unit and can be completed in the receiving process at the destination device within the data transmission time of the communication line corresponding to the k-th communication unit (k is an integer from 1 to N) that is the communication unit determined to be capable of transmission (S105, S141, S142); The data packet whose head is offset from the head of the transmission buffer by the buffer offset amount is assigned to the kth communication unit (S105, S143, S144); The data packet is transmitted by the kth communication unit (S107). Communications program.

Citation Information

Patent Citations

  • Data transmission system

    JP2006080775A

  • Communication device, communication system, transfer efficiency improvement method, and transfer efficiency improvement program

    JP2009055114A

  • Data transmission system and load distribution device

    JP2016174235A

  • Transmission device, reception device, transmission / reception system, and program

    JP2017011522A

  • Radio communication system, mobile station, and radio station

    JP2018152920A