Communication device and communication system

The communication system addresses the challenge of specifying data transmission time and reducing delays by transmitting duplicated packets with timestamps via different paths, ensuring accurate timing and reliable communication.

JP2024151584APending Publication Date: 2024-10-25FURUKAWA ELECTRIC CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023065045
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-12
Publication Date
2024-10-25

AI Technical Summary

Technical Problem

Existing communication systems lack accuracy in specifying data transmission time and are prone to communication delays, which affect reliability in applications like autonomous driving and remote control.

Method used

A communication system with a first and second communication device that transmits duplicated packets with the same sequence number via different paths, adding a timestamp to the header, and the receiving device specifies the transmission time based on synchronized time information to improve accuracy and reduce delays.

Benefits of technology

Accurately specifies data transmission time, reduces communication delays, and enhances reliability by synchronizing time information and selecting optimal communication paths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024151584000001_ABST
    Figure 2024151584000001_ABST
Patent Text Reader

Abstract

To provide a communication system that can more accurately identify a data transmission time between communication devices, reduce communication delays based on the identified transmission time, and improve communication reliability.SOLUTION: A communication system 100 includes an in-vehicle device 1 and a server device 3. The in-vehicle device 1 includes a data processing unit 161 that makes two or more copies of a packet, and a transmission unit 161 that transmits the copied packets having the same sequence number to the server device 3 via different communication paths and adds time-stamps indicating transmitting times of the packets to headers. The server device 3 includes a receiving unit 351 that receives the packets, reads the transmitting times from the time-stamps, and identifies receiving times, and a delay detection unit 36 that identifies respective transmission times of the packets transmitted via the different communication paths on the basis of the transmitting times and the receiving times. The in-vehicle device 1 and the server device 3 receive time information from the same source.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 and a communication system. [Background technology]

[0002] In recent years, technologies have been developed to improve communication quality in data transmission for driving assistance, remote control, and automatic driving of mobile bodies such as automobiles, and communication between terminals using voice and images during phone calls. For example, Patent Document 1 describes a technology in which a transmitting device assigns a sequence number to a header according to the transmission order, transmits a packet including a timestamp indicating the transmission time, and a receiving device detects fluctuations in the delay time of the arrival of the packet and feeds back information on the reception quality of the packet to the transmitting device based on the detection result. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-121065 Summary of the Invention [Problem to be solved by the invention]

[0004] Although the technology of Patent Document 1 can detect fluctuations in delay times of packet arrival, there is still room for improvement in terms of more accurate understanding of data transmission times and reducing communication delays.

[0005] The present invention aims to provide a communication system that can more accurately identify the transmission time of data between communication devices, and can reduce communication delays and improve communication reliability based on the identified transmission time. [Means for solving the problem]

[0006] (1) A communication system includes a first communication device and a second communication device which perform packet communication with each other, the first communication device including a data processing unit which generates a packet to which a header including a sequence number is added and which copies the packet having the same sequence number to two or more packets, and a transmitting unit which transmits the packet having the same sequence number copied by the data processing unit to the second communication device via a different communication path and adds a timestamp indicating the transmission time of the packet from the first communication device to the second communication device to the header of the packet, the second communication device including a receiving unit which receives the packet from the first communication device, reads the transmission time of the packet from the timestamp and specifies the reception time at which the packet was received, and a transmission time specifying unit which specifies the transmission time from when the packet was transmitted from the first communication device to when the packet was received by the second communication device based on the transmission time and the reception time of the packet, and the first communication device and the second communication device receive time information from the same source.

[0007] (2) In the communication system described in (1), the transmitting unit of the first communication device transmits multiple packets having the same sequence number to the second communication device at the same timing via different communication paths.

[0008] (3) In the communication system described in (1) or (2), the receiving unit of the second communication device discards, for the received packets, packets other than the first received packet among multiple packets having the same sequence number. Effect of the Invention

[0009] According to the present invention, it is possible to more accurately identify the transmission time of data between communication devices, and based on the identified transmission time, it is possible to reduce communication delays and improve communication reliability. [Brief description of the drawings]

[0010] [Figure 1] 1 is a schematic diagram showing a communication system according to an embodiment of the present invention and a mobile object using the communication system moving on a road. [Diagram 2] 1 is a schematic diagram showing the functional configuration of an in-vehicle device and a server device of a communication system according to an embodiment of the present invention; [Diagram 3] 2 is a schematic diagram showing an example of the configuration of a packet generated by a data processing unit of an in-vehicle device according to an embodiment of the present invention; FIG. [Figure 4] 4 is a schematic diagram showing an example of the configuration of a packet generated by a data processing unit of an in-vehicle device according to an embodiment of the present invention and to which a time stamp is added; FIG. [Diagram 5] 5 is a flowchart showing an example of a process flow until an in-vehicle device according to an embodiment of the present invention transmits a packet to a server device. [Figure 6] 5 is a flowchart showing an example of a process flow in which a server device according to an embodiment of the present invention receives a packet from an in-vehicle device and decodes it; [Figure 7] 10 is a flowchart illustrating an example of a delay detection process performed by a server device according to an embodiment of the present invention. [Figure 8] 6 is a flowchart illustrating an example of processing by a server-side processing unit of the server device according to an embodiment of the present invention. [Figure 9] 5 is a flowchart showing an example of processing by an in-vehicle processing unit of the in-vehicle device according to the embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] A communication system 100 according to an embodiment of the present invention will be described below. Note that the present invention is not limited to the following embodiment. Also, each drawing referred to in the following description merely shows a schematic shape, size, and positional relationship to the extent that the contents of the present disclosure can be understood. In other words, the present invention is not limited to only the shape, size, and positional relationship exemplified in each drawing.

[0012] The communication system 100 will be described with reference to Fig. 1. Fig. 1 is a schematic diagram showing the communication system 100 and a mobile object 4 using the communication system 100 moving on a road 5.

[0013] The communication system 100 includes an in-vehicle device 1 as a first communication device, and a server device 3 as a second communication device that is connected to a plurality of base stations 2 via a communication network NW and communicates with the in-vehicle device 1. In this embodiment, the communication system 100 will be described taking as an example data transmission between the in-vehicle device 1 mounted on a moving object 4, which is a vehicle, and the server device 3.

[0014] The in-vehicle device 1 has functions for using, for example, car navigation, ITS (Intelligent Transportation System), and V2X (Vehicle to everything) communication. The in-vehicle device 1 divides data indicating the surroundings of the mobile object 4, including the road 5, into multiple packets and transmits the packets to the server device 3 via the base station 2 and the communication network NW. The in-vehicle device 1 also receives packets transmitted from the server device 3 via the communication network NW and the base station 2. The type and attribute of data transmitted from the in-vehicle device 1 to the server device 3 via the base station 2 are not particularly limited. For example, the transmitted and received data may be control data for controlling a built-in device, image data, voice data, or text data. FIG. 1 shows a mobile object 4 equipped with the in-vehicle device 1 moving in a moving direction X while communicating with the server device 3 via the base station 2. The in-vehicle device 1 wirelessly communicates with multiple base stations 2 while moving in the moving direction X due to the running of the mobile object 4. In this embodiment, it is assumed that the two base stations 2 shown in FIG. 1 belong to different communication carriers and that the ranges (area coverage) in which radio waves can be transmitted and received overlap partially or completely, but this is not limited to this form.

[0015] The server device 3 performs a process of generating and transmitting data for controlling or assisting the driving of the in-vehicle device 1 according to the data received from the in-vehicle device 1. The server device 3, for example, receives packets from the in-vehicle device 1 via a plurality of base stations 2 and the communication network NW to acquire data, generates various data to be returned to the in-vehicle device 1 according to the data, and returns the data to the in-vehicle device 1. For example, the server device 3 may transmit control data for remotely operating the mobile object 4 to the in-vehicle device 1 based on image data transmitted from the in-vehicle device 1, may transmit delay information of data transmission described later, or may transmit information used for automatic driving of the mobile object 4 or information to assist manual driving by a driver. Information for automatic driving or manual driving of the mobile object 4 may be, for example, information on the state of the road 5 on which the mobile object 4 will travel at a certain time in the future (hereinafter, referred to as road condition information). As the road condition information, for example, the presence or absence and position of obstacles on the road 5, the occurrence or absence of a traffic accident, indications shown by traffic lights, the positions of other vehicles, etc. are assumed, but are not limited thereto.

[0016] Here, for example, in the case of automatic driving, remote control, or manual driving assistance of a mobile object 4, it is required to suppress packet loss and delay, and transmit information substantially in real time, from the viewpoint of safety and practicality. According to this embodiment, in the case of substantially real-time data transmission between communication devices realized by a next-generation high-speed communication system represented by 5G, it is possible to further reduce communication delay and improve communication availability and reliability.

[0017] Next, the functional configuration of the in-vehicle device 1 and the server device 3 will be described with reference to Fig. 2. Fig. 2 is a schematic diagram showing the functional configuration of the in-vehicle device 1 and the server device 3 of the communication system S.

[0018] The in-vehicle device 1 includes a control unit 10, a memory unit 11, a wireless communication unit 12, a switching unit 13, a time information acquisition unit 14, a data acquisition unit 15, a data processing unit 161, a transmitting unit 162, a receiving unit 171, a packet processing unit 172, and an in-vehicle side processing unit 18.

[0019] The control unit 10 is, for example, a processor, and is a central part of a computer that performs processing such as calculations and control necessary for the operation of the in-vehicle device 1, and performs various calculations and processing. The processor is a central processing unit (CPU), a micro processing unit (MPU), a system on a chip (SoC), a digital signal processor (DSP), a graphics processing unit (GPU), an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a field-programmable gate array (FPGA). Alternatively, the processor is a combination of a plurality of these. The processor may also be a combination of these with a hardware accelerator or the like. The processor controls each part to realize various functions of the in-vehicle device 1 based on programs such as firmware, system software, and application software stored in a ROM (not shown) or an auxiliary storage device (not shown). Note that a part or all of the programs may be incorporated in the circuit of the processor.

[0020] The storage unit 11 is a storage area for various programs and various data for causing the hardware group to function as the in-vehicle device 1, and can be configured with a ROM, a RAM, a flash memory, a solid-state drive (SSD), a hard disk drive (HDD), etc. Specifically, the storage unit 11 stores a program for causing the control unit 10 to execute each function of the present embodiment, a control program for the in-vehicle device 1, various parameters, identification information such as the IP address and MAC address of the in-vehicle device 1, information on the moving object 4, etc.

[0021] The wireless communication unit 12 executes a process for the in-vehicle device 1 to perform wireless communication with the base station 2, etc. The wireless communication unit 12 includes an antenna for transmitting and receiving radio waves. The wireless communication unit 12 transmits a packet generated by the data processing unit 161 to the base station 2.

[0022] The switching unit 13 executes a process of switching to the transmitting unit 162 when transmitting data, and switching to the receiving unit 171 when receiving data, based on a control signal from the control unit 10.

[0023] The time information acquisition unit 14 includes an antenna and receives a GNSS signal including time information from a Global Navigation Satellite System (GNSS). The GNSS signal is transmitted from a navigation satellite constituting a GNSS such as a Global Positioning System (GPS) or a Quasi-Zenith Satellite System. The time information acquisition unit 14 transmits the received GNSS signal to the data processing unit 161 at a predetermined time interval.

[0024] The data acquisition unit 15 executes a process of acquiring data to be transmitted to the server device 3. The data acquired by the data acquisition unit 15 is not particularly limited. For example, the data may be data detected by a sensor (not shown) of the mobile object 4 and indicating the situation around the mobile object 4, or information indicating the destination of the mobile object 4 input by a driver or the like (hereinafter referred to as destination information). Examples of sensors that detect data indicating the situation around the mobile object 4 include a camera, LiDAR, and a radar device.

[0025] The data processing unit 161 executes a process of generating a packet to be transmitted to the server device 3 from the data acquired from the data acquisition unit 15. The data processing unit 161 performs, for example, the following processes (a) to (d). (a) Determine the order in which data is sent (b) Packetize the data (c) Add a header containing a sequence number to the packet. (d) Duplicating (copying) a packet with a header containing a sequence number two or more times

[0026] The process (a) will be described. In the process (a), when multiple data are acquired by the data acquisition unit 15, the data processing unit 161 determines the transmission order of the acquired data based on the priority order in data transmission set according to the type of data. Then, the data processing unit 161 arranges the multiple data according to the determined transmission order. This series of processes is also called QoS (Quality of Service) processing. In setting the priority order in data transmission, a high priority order may be set for data that requires reliable communication in real time, such as data used for automatic driving or remote control of the mobile unit 4. This makes it possible to execute communication with less delay more reliably in communication that requires real time performance.

[0027] The process of (b) will now be described. In the process of (b), the data processing unit 161 divides a plurality of pieces of data arranged in the order of transmission into pieces of data that can be transmitted in one packet based on a preset packet size, or integrates a plurality of pieces of data into pieces of data that can be transmitted in one packet.

[0028] The process of (c) will be described. In the process of (c), the data processing unit 161 adds a header to the packet according to a communication protocol of the network layer of the OSI reference model. The header is assigned a sequence number that is consecutively assigned according to the transmission order of the packets. FIG. 3 is a diagram showing an example of the configuration of a packet generated by the data processing unit 161 of the in-vehicle device 1. In this embodiment, as shown in FIG. 3, a header is added to the packet according to IPsec (Security Architecture for Internet Protocol), which is a communication protocol that encrypts and transmits data in the packet. As shown in FIG. 3, the data processing unit 161 encrypts data using the ESP (Encapsulating Security Payload) protocol of IPsec. It is preferable to place the sequence number in a range that is not encrypted, such as an ESP header. This allows the server device 3 to check the sequence number of the packet before decrypting it when it receives the packet.

[0029] The process (d) will now be described. In the process (d), data processing unit 161 makes two or more copies of a packet to which a header with the same sequence number is added.

[0030] In addition, in this embodiment, the data processing unit 161 performs the processes (a) to (d) in the order of (a), (b), (c), and (d). However, the data processing unit 161 may perform the processes (a), (b), (e), and (f) in this order. (a) Determine the order in which data is sent (b) Packetize the data (e) Duplicating a packet more than once (f) Add a header containing a sequence number to the packet.

[0031] The process (e) will now be described. In the process (e), data processing unit 161 makes two or more copies of the packet generated in the process (b) and before the header is added.

[0032] The process of (f) will now be described. In the process of (f), the data processing unit 161 adds a header conforming to the communication protocol of the network layer of the OSI reference model to the packets copied in the process of (e). Then, the same sequence number is assigned to the headers added to each of the copied packets.

[0033] The transmitting unit 162 executes a process of transmitting a packet generated by the data processing unit 161. Specifically, the transmitting unit 162 transmits packets having the same sequence number, which are duplicated by the data processing unit 161, at the same timing via different communication paths. For example, the transmitting unit 162 may transmit a plurality of packets including the same sequence number and the same data via different communication paths by adding a destination address set for each communication path to the packet and transmitting the packet from a communication interface set for each communication path. At this time, the transmitting unit 162 executes a process of adding a timestamp indicating the transmission time of the packet from the in-vehicle device 1 to the server device 3 to the header of the packet. Note that the time indicated by the timestamp added by the transmitting unit 162 is adjusted to the time information acquired by the time information acquisition unit 14. Here, it is preferable to place the timestamp in a range that is not encrypted. For example, as shown in FIG. 4, it is considered to place the timestamp between the UDP header and the EPS header. Specifically, an N-byte timestamp area is added between the UDP header and the EPS header. N can be 2, 8, or the like. This allows the server device 3 to check the timestamp before decrypting the packet when it receives it.

[0034] In this embodiment, the transmission unit 162 transmits multiple packets including the same copied sequence number at the same timing, but multiple packets including the same sequence number may be transmitted at different timings for each communication path. The communication route may be one with different communication carriers, or one with different communication methods such as local 5G, a communication route by a communication carrier, or a wireless LAN such as WiFi (registered trademark).

[0035] The receiving unit 171 has a configuration similar to that of a receiving unit 351 (to be described later) of the server device 3, and the packet processing unit 172 has a configuration similar to that of a packet processing unit 352 (to be described later) of the server device 3, and their configurations will be described when describing the server device 3. The configuration and function of the in-vehicle processing unit 18 will be described later.

[0036] Next, a description will be given of the server device 3. The server device 3 includes a control unit 30, a storage unit 31, a communication I / F unit 32, a switching unit 33, a time information acquisition unit 34, a receiving unit 351, a packet processing unit 352, a delay detection unit (transmission time identification unit) 36, a server-side processing unit 37, a data processing unit 381, and a transmitting unit 382.

[0037] The control unit 30 is, for example, a processor, and is a central part of a computer that performs processing such as calculations and control necessary for the operation of the server device 3, and performs various calculations and processing. The processor is a central processing unit (CPU), a micro processing unit (MPU), a system on a chip (SoC), a digital signal processor (DSP), a graphics processing unit (GPU), an application specific integrated circuit (ASIC), a programmable logic device (PLD), or a field-programmable gate array (FPGA). Alternatively, the processor is a combination of a plurality of these. The processor may also be a combination of these with a hardware accelerator or the like. The processor controls each part to realize various functions of the server device 3 based on programs such as firmware, system software, and application software stored in a ROM (not shown) or an auxiliary storage device (not shown). Note that a part or all of the programs may be incorporated in the circuitry of the processor.

[0038] The storage unit 31 is a storage area for various programs and various data for causing the hardware group to function as the server device 3, and can be configured with a ROM, a RAM, a flash memory, a solid-state drive (SSD), a hard disk drive (HDD), etc. Specifically, the storage unit 31 stores a program for causing the control unit 30 to execute each function of this embodiment, a control program for the server device 3, various parameters, identification information such as the IP address and MAC address of the server device 3, information regarding the road 5 on which the mobile object 4 travels, etc.

[0039] The communication I / F unit 32 is an interface for the server device 3 to communicate via the communication network NW. The server device 3 is connected to a plurality of base stations 2 via the communication I / F unit 32 so as to be able to communicate with them.

[0040] Based on a control signal from the control unit 30, the switching unit 33 executes a process of switching the server device 3 between a state in which the transmitting unit 382 can transmit packets and a state in which the receiving unit 351 can receive packets.

[0041] The time information acquisition unit 34 includes an antenna and receives a GNSS signal including time information from a Global Navigation Satellite System (GNSS). The GNSS signal is transmitted from a navigation satellite constituting a GNSS, such as a Global Positioning System (GPS) or a Quasi-Zenith Satellite System. The GNSS unit 11 transmits the received GNSS signal to the receiving unit 35 at a predetermined time interval. The time information acquisition unit 34 of the server device 3 receives a GNSS signal from the same GNSS as the time information acquisition unit 14 of the vehicle-mounted device 1. That is, the vehicle-mounted device 1 and the server device 3 receive time information from the same source. Therefore, the time indicated by the time stamp added to the header by the transmitting unit 162 of the vehicle-mounted device 1 and the time specified by the receiving unit 351 of the server device 3 are synchronized. This makes it possible to accurately specify the transmission time of a packet from the vehicle-mounted device 1 to the server device 3.

[0042] The receiver 351 executes a process of receiving packets transmitted from the in-vehicle device 1 via the multiple base stations 2 and the communication network NW. In this embodiment, the receiver 35 receives multiple copied packets having the same sequence number transmitted from the in-vehicle device 1 at the same timing via different communication paths.

[0043] The receiver 351 also executes a process of identifying the reception time of the packet received from the in-vehicle device 1 and identifying the transmission time of the packet by reading the timestamp included in the packet. The receiver 351 identifies the reception time based on the time set to the time information acquired by the time information acquisition unit 34. The receiver 351 transmits the identified reception time and transmission time information together with the sequence number of the packet and identification information (hereinafter referred to as route identification information) indicating the communication route through which the packet was transmitted to the delay detection unit 36. The receiver 351 also transmits the received packet to the packet processing unit 352. Since the server device 3 receives a GNSS signal from the same GNSS as the in-vehicle device 1, the time indicated by the timestamp added to the header by the transmitter 162 of the in-vehicle device 1 and the time identified by the receiver 351 of the server device 3 are synchronized. This allows the transmission time of the packet from the in-vehicle device 1 to the server device 3 to be accurately identified.

[0044] The packet processing unit 352 executes processes from decrypting the packet received from the in-vehicle device 1 to restoring the original data. The packet processing unit 352 executes, for example, the following processes (g) to (i). (g) Discard packets with duplicate sequence numbers (h) Reordering packets (i) Decrypt the packet

[0045] The process of (g) will now be described. In the process of (g), when the packet processor 352 receives multiple packets with the same sequence number, it discards packets other than the first packet received among the multiple packets, and executes a process for decoding the first packet received. As a result, the packet processor 352 processes the packet that arrived earlier than usual among the packets with the same sequence number, thereby suppressing delay time.

[0046] The process (h) will now be described. In the process (h), the packet processing unit 352 executes a process of rearranging a plurality of packets to be decrypted in the order of their sequence numbers.

[0047] The process (i) will be described. In the process (i), the packet processing unit 352 executes a process of decrypting a plurality of packets arranged in the order of sequence numbers. The packet processing unit 352 converts the plurality of packets into data in a state acquired by the data acquisition unit 15 before the packets were generated by the data processing unit 161 of the in-vehicle device 1. The packet processing unit 352 transmits the data obtained by decrypting the packets to the server-side processing unit 37.

[0048] The delay detection unit 36 ​​acquires the packet reception time and transmission time from the receiving unit 351 together with the packet sequence number and route identification information. The delay detection unit 36 ​​then detects the packet delay by identifying the transmission time of each packet transmitted via different communication routes based on the reception time and transmission time. The packet transmission time is the time from when the packet is transmitted from the in-vehicle device 1 to when it is received by the server device 3. That is, the delay detection unit 36 ​​identifies the difference between the reception time and the transmission time as the packet transmission time. The delay detection unit 36 ​​transmits the packet transmission time, communication route, sequence number, etc. to the server-side processing unit 37 as delay information. The delay detection unit 36 ​​may detect the delay of a packet transmitted via a communication route by, for example, comparing the transmission times of a plurality of packets having the same sequence number transmitted via different communication routes. The delay detection unit 36 ​​may also detect the packet loss rate in each communication route by detecting the missing sequence numbers in each communication route acquired from the receiving unit 351.

[0049] The server-side processing unit 37 executes various processes based on data obtained by decoding the packet by the packet processing unit 352. The server-side processing unit 37 may predict the situation of the prediction target at a certain time in the future based on data from the in-vehicle device 1, for example, and may further generate control data for the moving body 4 based on the prediction result. The server-side processing unit 37 may also transmit the prediction result and the control data for the moving body 4 to the in-vehicle device 1 via the transmission unit 38. For example, when the server-side processing unit 37 acquires data indicating the situation around the moving body 4, the server-side processing unit 37 may predict road condition information of the road 5 on which the moving body 4 is located at a certain time in the future and transmit the data as the prediction result to the in-vehicle device 1, and may generate control data for remotely controlling the moving body 4 according to the prediction result and transmit the generated control data to the in-vehicle device 1.

[0050] The server-side processing unit 37 performs processing using delay information related to the detected delay in packet transmission between the in-vehicle device 1 and the server device 3, according to the delay detection unit 36. The processing using the delay information may be, for example, a processing to transmit the delay information to the in-vehicle device 1 via the transmission unit 382. Another processing using the delay information may be a processing to determine a certain time point in the future predicted by the server-side processing unit 37 according to the delay information. For example, when the packet transmission time indicated by the delay information is 10 milliseconds (msec), the server-side processing unit 37 may set the certain time point in the future predicted by the server-side processing unit 37 to 30 msec from the current time. Note that the certain time point in the future predicted by the server-side processing unit 37 may be one time point or multiple time points. For example, when the packet transmission time indicated by the delay information is 1 second, the certain multiple time points in the future predicted by the server-side processing unit 37 may be 2 seconds, 3 seconds, 5 seconds, 10 seconds, etc. from the current time point.

[0051] A specific example will be described. The time required for an airbag mounted on an automobile to burst is generally about 30 msec. The response time of a sensor such as a radar mounted on an automobile is generally about 30 msec. Here, in order to realize a use case (for example, a case where a steering wheel or a brake is controlled remotely) that is essential (mission-critical) for carrying out a technology to support automatic driving, a system that guarantees a delay time in communication within a certain period of time is required. For example, if the guaranteed delay time is within 10 msec, the following processing is conceivable. If, at a certain time, the delay time of line A is 5 msec, the delay time of line B is 15 msec, and the delay time of line C is 7 msec, the control unit 30 may perform a process of performing communication using line A or line B, while not performing communication using line B, based on an instruction from the server-side processing unit 37. The guaranteed delay time is not limited to 10 msec.

[0052] The server-side processing unit 37 may be configured to generate a digital twin based on data received from the in-vehicle device 1. A digital twin is a mechanism for virtually duplicating real-world objects on the cloud, using the virtual model on the cloud to execute various simulations, and providing feedback to real-world objects for improvement. For example, a car is equipped with many sensors. For example, the in-vehicle device 1 collects data obtained by these sensors and transmits the data securely and with low latency to the server device 3. The server device 3 accumulates the data transmitted from the in-vehicle device 1. The server-side processing unit 37 processes the data to generate a twin car (digital twin) in the virtual space that is the same as the real world. The server-side processing unit 37 uses the digital twin to perform processing such as machine learning, and can analyze and predict the future of the car under various assumptions. The server device 3 generates control signals and control algorithms for the car from the analysis results and prediction results obtained in this way, and transmits them to the in-vehicle device 1. The car equipped with the in-vehicle device 1 can operate optimally based on the received control signals and update software based on the control algorithms.

[0053] The communication system 100 can also be applied to platooning. Platooning refers to a technology in which multiple vehicles (e.g., trucks) travel in a line, share their travel conditions in real time through communication, and automatically maintain a certain distance between the vehicles. In platooning, the vehicles are controlled as a whole using electronic coupling technology (vehicle-to-vehicle communication), and several vehicles form a platoon and travel together. In this case, the vehicle is made up of multiple vehicles equipped with the on-vehicle device 1.

[0054] The data processing unit 381 executes a process of generating packets to be transmitted to the in-vehicle device 1 from the data acquired from the server-side processing unit 37. The transmission unit 382 executes a process of transmitting the packets generated by the data processing unit 381 to the in-vehicle device 1. The configurations and functions of the data processing unit 381 and the transmission unit 382 are similar to the configurations and functions of the data processing unit 161 and the transmission unit 162 of the in-vehicle device 1 described above, and therefore description thereof will be omitted.

[0055] Next, a description will be given of the configuration and functions of the in-vehicle processing unit 18 of the in-vehicle device 1. The in-vehicle processing unit 18 executes various processes based on data acquired from the server device 3 via the receiving unit 171 and the packet processing unit 172.

[0056] When the in-vehicle processing unit 18 acquires road condition information at a certain time in the future from the server device 3, the in-vehicle processing unit 18 may output the road condition information to an output unit (not shown) of the in-vehicle device 1. The output unit may be configured, for example, with a display or a speaker, and may output images and sounds. By outputting the road condition information at a certain time in the future to the display unit of the in-vehicle device 1, for example, if there is an obstacle such as an accident vehicle or a fallen object on the road 5 along which the mobile object 4 is scheduled to travel, the driver of the mobile object 4 can know in advance the presence of the obstacle on the road 5.

[0057] Furthermore, when the in-vehicle processing unit 18 acquires road condition information at a certain time in the future from the server device 3, the in-vehicle processing unit 18 may pass the road condition information to an ECU (Electric Control Unit) that controls the driving of the moving object 4. The ECU may control the driving of the moving object 4 according to the road condition information at a certain time in the future, for example, to perform automatic driving of the moving object 4.

[0058] Furthermore, when the in-vehicle processing unit 18 acquires control data for the moving object 4 from the server device 3, the in-vehicle processing unit 18 may output the control data to an ECU or the like that controls the driving of the moving object 4. This enables the server device 3 to remotely control the moving object 4.

[0059] Furthermore, when the in-vehicle processing unit 18 acquires delay information indicating the transmission time of packets in each communication path from the server device 3, the in-vehicle processing unit 18 may select a communication path to be used when transmitting data from the transmitting unit 162 to the server device 3 based on the delay information. For example, when transmitting data that requires real-time communication for autonomous driving or remote control of the mobile object 4, the in-vehicle processing unit 18 can select a communication path with a shorter transmission time or a communication path with a lower packet loss rate.

[0060] In addition, when the vehicle-mounted processing unit 18 acquires delay information and road condition information or control data of the moving body 4 at multiple future points in time from the server device 3, it may select the road condition information to be output to the display unit or the ECU or the control data to be output to the ECU according to the delay information.

[0061] Next, a description will be given of an example of a process flow relating to data transmission by the communication system 100 according to this embodiment. First, a process flow up to when the in-car device 1 transmits a packet to the server device 3 will be described with reference to FIG.

[0062] 5, in step S11, the data acquisition unit 15 acquires a plurality of data to be transmitted to the server device 3. The data acquisition unit 15 acquires, for example, image data showing the surroundings of the moving object 4 detected by a sensor of the moving object 4, data showing the states of each part of the moving object 4, and the like.

[0063] In step S12, the data processing unit 161 performs QoS processing on the multiple data acquired in step S11. The data processing unit 161 determines a transmission order for the multiple data acquired based on a priority order in data transmission set according to the type of data, for example, and arranges the multiple data according to the determined transmission order.

[0064] In step S13, the data processing unit 161 executes a process of generating packets. The data processing unit 161 divides the multiple data arranged in the transmission order in step S12 into pieces of a size that can be transmitted for one piece of data, or integrates the multiple data pieces into a size that can be transmitted in one packet, and packetizes the data. The data processing unit 161 then assigns sequence numbers that are assigned consecutively according to the transmission order of the packets, and adds a header conforming to IPsec to the packets.

[0065] In step S14, data processing unit 161 copies the packet generated in step S13 two or more times to generate a plurality of packets including the same data and sequence number.

[0066] In step S15, the transmitting unit 162 adds to the header of the packet a destination address set for each communication path to the server device 3. Specifically, the transmitting unit 162 adds different destination addresses to each of a plurality of packets including the same data and sequence number generated by copying in step S14.

[0067] In step S16, the transmitting unit 162 transmits the packet to which the destination address was added in step S15 to the server device 3. Specifically, the transmitting unit 162 transmits multiple packets including the same sequence number at the same timing via different communication paths, and adds a timestamp indicating the transmission time of the packet to the header of each packet. Thereafter, the process of transmitting data to the server device 3 by the transmitting unit 162 ends.

[0068] Next, a process flow in which the server device 3 receives a packet from the vehicle-mounted device 1 and decodes the packet will be described with reference to FIG.

[0069] 6, in S21, when the receiver 351 receives the data transmitted in step S16, it identifies the reception time when the packet was received from the in-vehicle device 1, and also reads the timestamp included in the packet to identify the transmission time of the packet. The receiver 351 transmits the identified information on the reception time and transmission time together with the sequence number and route identification information of the packet to the delay detector 36. Then, in step S30, the delay detector 36 executes a delay detection process, which will be described later.

[0070] In step S22, the packet processing unit 352 determines whether or not a duplicate packet with the same sequence number has been received. If a duplicate packet with the same sequence number has been received (step S22; YES), the packet processing unit 352 shifts the process to step S23. On the other hand, if a duplicate packet with the same sequence number has not been received (step S22; NO), the packet processing unit 352 shifts the process to step S24.

[0071] In step S23, the packet processing unit 352 discards packets other than the first received packet among the multiple packets having the same sequence number.

[0072] In step S24, the packet processing unit 352 determines whether the packets are arranged in the order of the sequence numbers. If the packet processing unit 352 determines that the packets are arranged in a different order from the order of the sequence numbers (step S24; NO), the packet processing unit 352 shifts the process to step S25. Then, in step S25, the packet processing unit 352 rearranges the packets in the order of the sequence numbers. On the other hand, if the packet processing unit 352 determines that the packets are arranged in the order of the sequence numbers (step S24; YES), the packet processing unit 352 shifts the process to step S26.

[0073] In step S26, the packet processing unit 352 decodes a plurality of packets arranged in the order of sequence numbers, and returns the packets to the state acquired by the data acquisition unit 15 in step S11.

[0074] Next, the packet delay detection process by the server device 3 will be described with reference to Fig. 6. Fig. 7 is a flow chart showing an example of the delay detection process.

[0075] As shown in FIG. 7, in step S31, the delay detection unit 36 ​​acquires from the reception unit 351 information on the transmission time and reception time of the packet identified in step S21, the sequence number, and the route identification information.

[0076] In step S32, the delay detection unit 36 ​​identifies the transmission time of the packet from the in-vehicle device 1 to the server device 3 via each communication path from the transmission time and reception time of the packet acquired in step S31. For example, the delay detection unit 36 ​​identifies the difference between the reception time and the transmission time as the transmission time of the packet.

[0077] In step S33, the delay detection unit 36 ​​transmits the transmission time, communication path, sequence number, etc. of the packet identified in step S32 as delay information to the server-side processing unit 37. Thereafter, the delay detection unit 36 ​​ends the delay detection process.

[0078] Next, an example of a process using delay information by the server-side processing unit 37 of the server device 3 will be described with reference to FIG.

[0079] As shown in FIG. 8, in step S41, the server-side processing unit 37 obtains the data obtained by being decrypted in step S26 and the delay information transmitted in step S33.

[0080] In step S42, the server-side processing unit 37 determines a plurality of future time points that it predicts based on the delay information acquired in step S41. Note that the server-side processing unit 37 may determine a plurality of future time points that it predicts based on both the delay information acquired in step S41 and delay information of packets from the server device 3 to the in-vehicle device 1 via each communication path.

[0081] In step S43, the server-side processing unit 37 predicts road condition information at the multiple future time points determined in step S42, based on the data acquired in step S41.

[0082] In step S44, the server-side processing unit 37 transmits the road condition information at the multiple future time points predicted in step S43 and the delay information acquired in step S41 to the data processing unit 381. The road condition information and delay information at the multiple future time points are transmitted to the in-vehicle device 1 by the transmission unit 382.

[0083] Next, an example of processing by the in-vehicle processing unit 18 of the in-vehicle device 1 will be described with reference to FIG.

[0084] As shown in FIG. 9, in step S51, the in-vehicle processing unit 18 acquires the prediction results of road condition information and delay information at multiple future time points transmitted in step S44 via the receiving unit 171 and the packet processing unit 172.

[0085] In step S52, the in-vehicle processor 18 selects a prediction result of road condition information at one time point from among prediction results of road condition information at a plurality of future time points based on the delay information acquired in step S44.

[0086] In step S53, the in-vehicle processing unit 18 outputs the prediction result of the road condition information at the future time point selected in step S52 to the ECU of the moving object 4. After that, the processing by the in-vehicle processing unit 18 ends. Note that the ECU performs automatic driving processing by controlling the drive of the moving object 4 based on, for example, the prediction result of the road condition information.

[0087] According to the embodiment described above, the following effects are achieved.

[0088] The in-vehicle device 1 of this embodiment includes a data processing unit 161 that generates a packet to which a header including a sequence number is added and copies the packet having the same sequence number to two or more packets, and a transmission unit 162 that transmits the packets having the same sequence number copied by the data processing unit 161 at the same timing via different communication paths.

[0089] This allows packets with the same sequence number to be sent at the same timing via multiple communication paths, thereby reducing communication delays and disruptions.

[0090] Furthermore, in the in-vehicle device 1 according to this embodiment, the data processing unit 161 converts data into packets of a predetermined size, adds a header to each converted packet in accordance with a communication protocol of the network layer of the OSI reference model, assigns a sequence number to the header, and makes two or more copies of each of the packets to which the header with the sequence number is assigned, or converts data into packets of a predetermined size, makes two or more copies of each of the converted packets, adds a header to the copied packets in accordance with a communication protocol of the network layer of the OSI reference model, and assigns the same sequence number to the headers added to each of the copied packets.

[0091] As a result, packets are transmitted according to the network layer communication protocol, so regardless of the settings of layers higher than the network layer, communication is possible by adjusting the communication settings at the network level, not the application level. This ensures versatility while reducing communication delays and improving communication reliability.

[0092] Furthermore, in the in-vehicle device 1 according to this embodiment, the data processing unit 161 determines the transmission order of the acquired data based on the priority for data transmission set according to the type of data, and generates a packet including at least the data and a sequence number assigned to the data based on the determined transmission order.

[0093] This allows data that requires real-time transmission to be given priority.

[0094] In the in-car device 1 according to this embodiment, the communication protocol is a standard for encrypting packets.

[0095] This makes it possible to prevent unauthorized acquisition or tampering of data by third parties, thereby improving the reliability of data transmission.

[0096] Furthermore, in the in-car device 1 according to this embodiment, the transmission unit 162 adds a timestamp indicating the transmission time of the packet to the header of the packet.

[0097] As a result, for example, by identifying the packet reception time on the server device 3 side, the data transmission time on each communication path can be ascertained, and the next process can be performed based on the data transmission time.

[0098] Furthermore, the communication system 100 according to this embodiment is a communication system 100 including an in-vehicle device 1 and a server device 3 which perform packet communication with each other, and the server device 3 includes a receiving unit 35 which receives multiple duplicated packets having the same sequence number transmitted from the in-vehicle device 1 at the same timing via different communication paths, and the receiving unit 35 discards all packets other than the first packet received among the multiple duplicated packets having the same sequence number.

[0099] As a result, when multiple packets with the same sequence number are received, the later arriving packets are discarded, thereby reducing the data processing load.

[0100] Furthermore, the communication system 100 according to this embodiment is a communication system 100 including an in-vehicle device 1 and a server device 3 which perform packet communication with each other, in which the in-vehicle device 1 includes a data processing unit 161 which generates a packet to which a header including a sequence number is added and which copies the packet having the same sequence number two or more times, and a transmitting unit 162 which transmits the packet having the same sequence number copied by the data processing unit 161 to the server device 3 via different communication paths and adds a timestamp indicating the transmission time of the packet from the in-vehicle device 1 to the server device 3 to the header of the packet, and the server device 3 includes a receiving unit 351 which receives a packet from the in-vehicle device 1, reads out the transmission time of the packet from the timestamp and specifies the reception time at which the packet was received, and a delay detection unit 36 ​​which specifies the transmission time from when each packet transmitted via different communication paths is transmitted from the in-vehicle device 1 to when it is received by the server device 3 based on the transmission time and reception time of the packet, and the in-vehicle device 1 and the server device 3 receive time information from the same source.

[0101] This makes it possible to determine the transmission time of a packet based on the sending time and receiving time determined by the time synchronized between the sending side and the receiving side, and therefore to more accurately determine the transmission time of a packet via each communication path. Therefore, based on the accurately determined transmission time, a communication path with higher communication quality can be selected, thereby reducing communication delays and improving communication reliability.

[0102] The communication system 100 of this embodiment is a communication system 100 including an in-vehicle device 1 and a server device 3 which perform packet communication with each other. The server device 3 includes a receiving unit 35 which receives packets including at least data and a sequence number from the in-vehicle device 1, a delay detection unit 36 ​​which detects a delay in the transmission of packets between the in-vehicle device 1 and the server device 3 based on the transmission time from when each of a plurality of copied packets having the same sequence number is transmitted from the in-vehicle device 1 via different communication paths to when it is received by the server device 3, and a server-side processing unit 37 which performs processing using delay information related to the detected delay in accordance with the delay detected by the delay detection unit 36.

[0103] This makes it possible to grasp the delay status between communication devices via each communication path, and therefore, for example, in communications that require real-time performance, it is possible to perform appropriate processing in anticipation of the communication delay status. Therefore, even in communications that require real-time performance, more appropriate processing is possible according to the detected communication delay.

[0104] In the communication system 100 according to this embodiment, the process using the delay information is a process of transmitting the delay information to the in-vehicle device 1.

[0105] As a result, when the in-vehicle device 1 next transmits a packet, it can select a more appropriate communication path depending on the type of data to be transmitted and the communication quality of each communication path.

[0106] Furthermore, in the communication system 100 according to this embodiment, the server device 3 predicts the situation of the prediction target at a certain point in time in the future and transmits the prediction result to the in-vehicle device 1, and the processing using the delay information is processing of determining the certain point in time in the future in accordance with the delay information.

[0107] This allows the vehicle-mounted device 1 to predict and provide the state of the prediction target at more appropriate timing, taking into consideration the data transmission speed and delay state between the vehicle-mounted device 1 and the server device 3.

[0108] Although the embodiment of the present invention has been described above, the present invention is not limited to the above-mentioned embodiment and can be modified as appropriate.

[0109] In the above embodiment, a plurality of packets including the same sequence number may be transmitted at the same timing via different communication paths, or may be transmitted at different timings.

[0110] In the above embodiment, the in-car device 1 and the server device 3 receive time information from the same source, but the in-car device 1 and the server device 3 may receive time information from different sources.

[0111] In the above embodiment, the packet processing unit 352 and the data processing unit 161 discarded packets other than the first received packet among multiple packets having the same sequence number, but the configuration may not discard packets.

[0112] For example, the data processing unit 161 of the in-vehicle device 1 may be configured not to perform QoS processing. Also, for example, the in-vehicle device 1 may be configured not to have at least one of the receiving unit 171 and the packet processing unit 172.

[0113] For example, the data processing unit 381 of the server device 3 may be configured not to perform QoS processing. For example, the server device 3 may be configured not to include the data processing unit 381 and the transmission unit 382.

[0114] Furthermore, for example, the transmitting unit 162 of the in-car device 1 and the transmitting unit 382 of the server device 3 may be configured not to add a timestamp indicating the transmission time of the packet to the header of the packet.

[0115] In the above embodiment, the communication system 100 is a system for transmitting data between the in-vehicle device 1 mounted on the moving body 4 and the server device 3 for driving assistance, remote operation, automatic driving, etc., but the field to which this system is applied is not particularly limited. For example, the communication system 100 may be applied to remote diagnosis and remote surgery in the medical field. Specifically, for example, when a skilled doctor is outside the hospital and it is difficult for him to be present next to the surgeon, a video of the surgery can be transmitted from a communication device on the surgeon's side to a communication device on the skilled doctor's side, and instructions from the skilled doctor can be returned in real time. In addition, for example, the communication system 100 may be applied to normal communication between terminals using voice, image, etc. [Explanation of symbols]

[0116] 1 In-vehicle device (communication device, first communication device) 3. Server device (communication device, second communication device) 161, 381 Data processing section 162, 382 Transmitter 171, 351 Receiver 36 Delay detection unit (transmission time determination unit) 37 Server side processing unit (processing unit) 100 Communication Systems

Claims

1. A communication system including a first communication device and a second communication device that perform packet communication with each other, The first communication device is a data processing unit that generates a packet to which a header including a sequence number is added and that replicates the packet having the same sequence number to two or more packets; a transmission unit that transmits a packet having the same sequence number, which is duplicated by the data processing unit, to the second communication device via a different communication path, and adds a timestamp indicating a transmission time of the packet from the first communication device to the second communication device to a header of the packet, The second communication device is a receiving unit that receives the packet from the first communication device, reads a transmission time of the packet from the timestamp, and specifies a reception time of the packet; a transmission time specifying unit that specifies a transmission time from when each of the packets transmitted via the different communication paths is transmitted from the first communication device to when the packet is received by the second communication device, based on a transmission time and a reception time of the packet; A communication system in which the first communication device and the second communication device receive time information from the same source.

2. The communication system according to claim 1 , wherein the transmitting section of the first communication device transmits a plurality of the packets having the same sequence number to the second communication device at the same timing via different communication paths.

3. The communication system according to claim 2 , wherein the receiver of the second communication device discards, for the received packets, packets other than the first received packet among a plurality of packets having the same sequence number.

Citation Information

Patent Citations

  • Communication device and communication method

    JP2021121065A