Vehicle communication system, relay server, and vehicle communication device

The vehicle communication system uses distinct ports for normal and proxy communications to accurately manage data communication amounts, addressing the unclear communication issue in proxy scenarios.

JP7537341B2Active Publication Date: 2024-08-21DENSO CORP
View PDF 4 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In vehicle communication systems, the actual amount of data communication for each vehicle becomes unclear due to proxy communication, where one vehicle performs data communication on behalf of another, leading to unclear communication amounts for both vehicles.

Method used

A vehicle communication system with communication devices capable of cellular and vehicle-to-vehicle communication, and a relay server that manages data communication amounts by using distinct ports for normal and proxy communications, allowing the relay server to differentiate between the two.

Benefits of technology

Enables accurate management of communication amounts for each vehicle by distinguishing between normal and proxy communication, facilitating proper charging and resource allocation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537341000003
    Figure 0007537341000003
  • Figure 0007537341000008
    Figure 0007537341000008
  • Figure 0007537341000009
    Figure 0007537341000009
Patent Text Reader

Abstract

To provide a communication system for vehicles, a relay server, and a communication instrument for vehicles, capable of reducing a possibility that a communication traffic for each vehicle becomes unclear.SOLUTION: Each of a first communication instrument 1A and a second communication instrument 1B is configured so as to be capable of carrying out vehicle-to-vehicle communication and cellular communication, with a state of the cellular communication (e.g., vehicle speed) shared in the vehicle-to-vehicle communication. The first communication instrument 1A issues, considering the state of the cellular communication between itself and other instruments, a request for proxy communication with an application server 4 to the second communication instrument 1B. When accepting proxy communication, the second communication instrument 1B acquires an unused port number from the first communication instrument 1A and, after notifying a relay server 5 of the port number as a port number for proxy communication, carries out proxy communication. The proxy communication includes proxy of upstream communication for uploading, by the cellular communication, data acquired by the vehicle-to-vehicle communication, and proxy of downstream communication for transferring, by the vehicle-to-vehicle communication, data downloaded by the cellular communication.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a technique for relaying data communication between a communication device used in a vehicle and a server. [Background technology]

[0002] Patent Document 1 discloses a configuration in which communication data acquired from another vehicle through vehicle-to-vehicle communication is uploaded to a specified server on behalf of the other vehicle based on a request from the other vehicle. For convenience, performing data communication of the other vehicle on behalf of the other vehicle is referred to as proxy communication. In one aspect, proxy communication can be understood as an act of relaying communication between the other vehicle and a server.

[0003] Patent Document 2 discloses a configuration for managing the communication volume for each user device by observing the packet volume at the PDCP (Packet Data Convergence Protocol) layer. Specifically, it discloses a configuration for managing (measuring) the communication volume based on the sum of the data volume of PDCP-SDUs (Service Data Units) whose delivery to the user device has been confirmed and the sum of the data volume of PDCP-SDUs received from the user device. The contents of each prior art document may be incorporated by reference as an explanation of the technical elements in this disclosure. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-162031 A [Patent Document 2] International Publication No. 2017 / 022388 Summary of the Invention [Problem to be solved by the invention]

[0005] In a vehicle communication system, there is a demand for managing how much data communication each vehicle, which is a user device, has performed, in other words, the amount of communication for each vehicle. On the other hand, as disclosed in Patent Document 1, for example, in a configuration in which a first vehicle, which is an arbitrary vehicle, can act as a proxy for data communication between a second vehicle, which is another vehicle for the first vehicle, and a server, the amount of communication for each vehicle may become unclear.

[0006] Specifically, the amount of communication by the first vehicle increases by the amount of communication by which the first vehicle substitutes for the second vehicle. Also, the amount of communication by the second vehicle may decrease by the amount of communication by which the first vehicle substitutes for the first vehicle. In other words, when substitute communication is introduced, the actual amount of communication by each vehicle becomes unclear.

[0007] The present disclosure has been made based on the above considerations or points of view, and one of its objectives is to provide a vehicle communication system, a relay server, and a vehicle communication device that can reduce the risk of the communication volume for each vehicle becoming unclear. [Means for solving the problem]

[0008] The vehicle communication system disclosed herein includes a plurality of communication devices (1) used in different vehicles, each of which is configured to be capable of performing cellular communication, which is wireless communication via a cellular base station, and vehicle-to-vehicle communication, and a relay server (5) that relays data communication between the communication devices and an application server and manages the amount of data communication for each communication device; Each of the multiple communication devices is equipped with an agency processing unit (F35) that relays data communication between the other device and the application server as agency communication based on a request from another device, which is another communication device. When performing agency communication, the agency processing unit performs cellular communication using a port that is not used during normal communication that is not agency communication by the other device or the own device, which is the source of the agency communication request, as a port for the agency communication, and notifies the relay server of the port number for the agency communication. The relay server is configured to manage the data volume of the agency communication separately from the data volume of data communication that is not agency communication, based on the port number used for the communication.

[0009] According to the above system configuration, the ports used for proxy communication and normal communication are different. Therefore, the relay server can manage the actual amount of communication for each communication device based on the port number. Note that normal communication refers to communication that is not proxy communication, i.e., communication for the device itself, not for another device.

[0010] The relay server disclosed herein is a relay server that relays data communication between a communication device used in a vehicle and an application server, and manages the amount of data communication for each communication device. When a communication device acts as a proxy for data communication between another communication device and an application server, the relay server is configured to obtain a port number for the proxy communication from the communication device, and to manage the data amount of the proxy communication separately from the amount of data communication that is not proxy communication, based on the port number used for the data communication.

[0011] According to the above relay server, the ports used for communication during proxy communication and normal communication are different, so that it is possible to distinguish between normal communication volume and communication volume associated with proxy communication based on the difference in the port number.

[0012] The vehicle communication device disclosed herein is a vehicle communication device configured to be capable of performing cellular communication, which is wireless communication via a cellular base station, and vehicle-to-vehicle communication, and is configured so that communication between the vehicle communication device and any external device is performed via a predetermined relay server having a function of managing the communication volume of the vehicle communication device, and is equipped with a proxy processing unit (F35) that relays data communication between the other device and the external device using both vehicle-to-vehicle communication and cellular communication as proxy communication based on a request from another device, which is another vehicle communication device, and when performing proxy communication, the proxy processing unit is configured to communicate with the external device using a port for proxy communication that is not used by the other device or the device itself as the requester of the proxy communication during normal communication that is not proxy communication, and to notify the relay server of the port number for proxy communication.

[0013] The vehicle communication device uses different port numbers for normal communication and proxy communication and notifies the relay server of the port number used for proxy communication. With this configuration, the relay server can distinguish between normal communication volume and communication volume associated with proxy communication based on the difference in port number.

[0014] In addition, the symbols in parentheses in the claims indicate a correspondence with the specific means described in the embodiments described below as one aspect, and do not limit the technical scope of the present disclosure. [Brief description of the drawings]

[0015] [Figure 1] FIG. 1 is a diagram showing an overall view of a vehicle communication system. [Diagram 2] FIG. 2 is a block diagram showing a configuration of a relay server. [Diagram 3] FIG. 2 is a block diagram showing a configuration of an in-vehicle communication device. [Figure 4] FIG. 2 is a block diagram for explaining functions of an in-vehicle communication device. [Diagram 5] FIG. 11 is a sequence diagram for explaining a communication procedure when proxy communication is not used. [Figure 6] FIG. 11 is a sequence diagram illustrating a communication procedure when proxy communication is used. [Figure 7] FIG. 11 is a sequence diagram illustrating a procedure for starting proxy communication. [Figure 8] FIG. 11 is a diagram illustrating an example of a data amount management mode. [Figure 9] FIG. 11 is a diagram illustrating an example of a data amount management mode. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. FIG. 1 is a diagram showing an example of a schematic configuration of a vehicle communication system 100 according to the present disclosure. The vehicle communication system 100 provides wireless communication conforming to, for example, LTE (Long Term Evolution). The parts not described in the embodiment are assumed to be performed by a method defined by the LTE standard. The vehicle communication system 100 may provide wireless communication conforming to the 3G standard, the 4G standard, the 5G standard, or the like. Hereinafter, LTE, 3G, 4G, 5G, and the like will be collectively referred to as LTE, etc. The following embodiment can be modified as appropriate to conform to 3G, 4G, 5G, and the like defined by 3GPP (Third Generation Partnership Project).

[0017] <Overall composition> As shown in Fig. 1, the vehicular communication system 100 includes an in-vehicle communication device 1, a cellular base station 2, a core network 3, an application server 4, and a relay server 5. The vehicular communication system 100 may also include, as an optional element, a Wi-Fi base station 6 that provides a wireless LAN (Local Area Network) that complies with the Wi-Fi (registered trademark) standard. Although Fig. 1 shows only one cellular base station 2 and one Wi-Fi base station 6, there may be multiple cellular base stations 2 and one Wi-Fi base station 6.

[0018] The first vehicle V1 and the second vehicle V2 are vehicles equipped with an on-board communication device 1 described below. Although FIG. 1 shows only two vehicles Vc equipped with the on-board communication device 1, the first vehicle V1 and the second vehicle V2, three or more vehicles may exist in the entire system. For convenience, the on-board communication device 1 installed in the first vehicle V1 is also referred to as the first communication device 1A. In addition, the on-board communication device 1 installed in the second vehicle V2 is also referred to as the second communication device 1B. The first communication device 1A and the second communication device 1B are basically configured in the same way, but do not necessarily have to have completely the same specifications. The first communication device 1A and the second communication device 1B may differ in the software version, OS, number of antennas, contracted communication carrier, number of available communication lines, communication fee plan, etc.

[0019] As described below, each vehicle-mounted communication device 1 performs data communication with an application server 4 corresponding to an arbitrary application (hereinafter, application 81) used in the vehicle Vc. The application server 4 corresponds to an external device. The vehicle-mounted communication device 1 corresponds to a vehicle communication device.

[0020] Each in-vehicle communication device 1 is configured to be capable of performing cellular communication, which is wireless communication using a cellular line, vehicle-to-vehicle communication, and Wi-Fi communication. The cellular line here refers to a communication line via a cellular base station 2, in other words, a communication line conforming to the LTE / 4G / 5G standard. The vehicle-to-vehicle communication refers to direct communication between vehicles. As a standard for the vehicle-to-vehicle communication, the Dedicated Short Range Communications (DSRC) corresponding to the IEEE802.11p standard, the Wireless Access in Vehicular Environment (WAVE) standard disclosed in IEEE1609, etc., can be adopted. The vehicle-to-vehicle communication may be conforming to the STD-T75 standard of the Association of Radio Industries and Businesses (ARIB). The vehicle-to-vehicle communication can include cellular V2X conforming to a standard such as LTE. The Wi-Fi communication refers to data communication via a Wi-Fi base station 6. The Wi-Fi communication is possible when a vehicle Vc is present within the communication area of ​​the Wi-Fi base station 6.

[0021] In addition, among the multiple in-vehicle communication devices 1, some may be configured to be able to use multiple cellular lines with different APNs (Access Point Names). In one aspect, the APN is an identifier for a communication service. A communication service provider (so-called carrier) that provides the communication service is associated with the APN. For example, the first communication device is configured to be able to use one APN, and the second communication device 1B is configured to be able to use two APNs in parallel. The APN that the first communication device 1A can use may be the same as one of the two APNs that the second communication device 1B can use. If the APNs are different, even if the application server 4 that is the communication partner is the same, the path through which data flows to the application server 4 is actually or virtually different. The multiple cellular lines each realize a different communication path.

[0022] The cellular base station 2 is a facility for transmitting and receiving wireless signals conforming to standards such as LTE with the in-vehicle communication device 1. The cellular base station 2 is also called an eNB (evolved NodeB). The cellular base station 2 may be a gNB (next generation NodeB) used in 5G.

[0023] The cellular base station 2 is connected to the core network 3 via an access line such as an IP (Internet Protocol) network. The cellular base station 2 relays traffic between the vehicle-mounted communication device 1 and the core network 3. The cellular base station 2 allocates transmission opportunities based on, for example, a request from the vehicle-mounted communication device 1. The transmission opportunities are configured by frequency bands, time, modulation methods, etc. that can be used for data transmission.

[0024] The cellular base station 2 transmits various reference signals (RS) at any time. Examples of reference signals include a cell-specific RS (CRS), a sounding RS (SRS), a CSI-Reference Signal (CSI-RS), and a DeModulation RS (DMRS). The CRS is a control signal for cell selection. The SRS, CSI-RS, and DMRS are RSs for estimating the state of a transmission path in the uplink or downlink direction. Information indicating the propagation path state is also called CSI (Channel State Information). In one aspect, the various RSs correspond to control signals for the in-vehicle communication device 1 to evaluate the state of a communication line. The state of the communication line here refers to, for example, a communication speed, a latency, a packet loss rate, and the like. The transmission of the various RSs may be performed periodically or in response to the occurrence of a predetermined event. The transmission of the RSs may be triggered by, for example, receiving an inquiry from a user device (UE: User Equipment) or the occurrence frequency of a communication error exceeding a predetermined threshold.

[0025] The core network 3 is a so-called EPC (Evolved Packet Core). The core network 3 provides functions such as user authentication, contract analysis, setting of data packet forwarding paths, and QoS (Quality of Service) control. The core network 3 may include public communication networks provided by telecommunications carriers, such as IP networks and mobile phone networks. Within the core network 3, data forwarding paths differ for each APN. Hereinafter, the various facilities that constitute the core network 3 will also be referred to as network side devices. The above-mentioned cellular base station 2 can also be included in the network side devices.

[0026] The application server 4 is a facility for providing a predetermined service (function) in cooperation with the application 81 used in the vehicle Vc. The various application servers 4 shown in FIG. 1 correspond to application servers that execute predetermined processing on data received from the application 81 used in the vehicle Vc. The application server 4 transmits data corresponding to the provided service to the application 81 and collects data from the application 81.

[0027] The relay server 5 is a server that relays communication between the vehicle Vc and the application server 4. The relay server 5 performs communication connection control between the vehicle Vc and the application server 4 and monitoring of the communication state in an integrated manner. The relay server 5 constitutes an automotive wireless communication platform (ACP: Automotive Communication Platform) in cooperation with the in-vehicle communication device 1. The ACP is a technology for enabling a secure communication connection between the application server 4 and the application 81 anytime and anywhere. For example, for each vehicle Vc, due to differences in model, release year (generation), grade, etc., the combination of ECUs that are turned off during parking and ECUs that are not turned off may differ. In addition, the configuration of the in-vehicle system including the ECUs may differ for each vehicle Vc. The relay server 5 plays a role of concealing the difference in the power supply state for each ECU and the difference in the system configuration for each vehicle from the application server 4 side. As a result, a situation as if each ECU 8 and the application server 4 are always connected, that is, a pseudo always-on connection between the ECU 8 and the application server 4 is realized. In this way, the relay server 5 is a server that constitutes an ACP in one aspect, and therefore can also be called an ACP server.

[0028] The relay server 5 can exchange information with the in-vehicle communication device 1 mounted on the vehicle Vc by wireless communication via the core network 3. The relay server 5 can communicate with the in-vehicle communication device 1 not only by mobile phone lines but also by wireless communication such as Wi-Fi and V2X. Based on a request from the application server 4, the relay server 5 transmits data to an ECU 8 mounted on a specified vehicle Vc and acquires data from the vehicle.

[0029] As shown in FIG. 2, the relay server 5 is configured using a communication device 51, a processor 52, a RAM 53, and a storage 54. The communication device 51 is configured to communicate with the in-vehicle communication device 1 and various application servers 4. The processor 52 is, for example, an arithmetic core such as a CPU (Central Processing Unit). The RAM 53 is a rewritable volatile memory. The storage 54 is a rewritable non-volatile memory. A relay server program, which is a program for relaying data communication between the in-vehicle communication device 1 and the application server 4, is stored in the storage 54. The relay server program can also be called ACP cloud software.

[0030] The relay server 5 includes, as functional modules realized by the processor 52 executing a relay server program stored in the storage 54, a route management unit G1, a relay processing unit G2, and a communication traffic management unit G3, for example.

[0031] The route management unit G1 is configured to manage communication route information from the in-vehicle communication device 1 to various application servers 4. The communication route information here includes, for example, a so-called 5-tuple, such as a source IP address, a source port number, a destination IP address, a destination port number, and a protocol number.

[0032] The source port number is assigned by the in-vehicle communication device 1 as a unique number for each application 81. The port number can be expressed by, for example, a 16-bit numerical value. Each source port number is stored in association with an application ID (application identifier) ​​that is identification information for each application 81. Note that multiple source ports may be assigned to one application 81. The in-vehicle communication device 1 may be configured to dynamically set the source port number within, for example, a dynamically available range from 49152 to 65535. The source port number may also be called a source port number.

[0033] The route management unit G1 acquires communication route setting information by exchanging control signals with the in-vehicle communication device 1 and the application server 4. The relay server 5 serving as the route management unit G1 notifies the application server 4 of information required for communication between the application 81 and the application server 4, such as a source port number assigned to the application 81. The route management unit G1 corresponds to a route information acquisition unit.

[0034] In addition, the route management unit G1 manages the source port number by linking the application ID, ECU-ID, and communication device ID to each other. The application ID is identification information that identifies the application 81. The ECU-ID is identification information that identifies the ECU 8. The communication device ID is identification information that identifies the in-vehicle communication device 1 (vehicle Vc). Information on the application ID, ECU-ID, and communication device ID for each source port held by the relay server 5 is synchronized with information held by the in-vehicle communication device 1 through communication with the in-vehicle communication device 1.

[0035] Based on the communication route information acquired by the route management unit G1, the relay processing unit G2 transfers the data transmitted from the in-vehicle communication device 1 to the application server 4 determined according to the destination information written in the header, etc. The relay processing unit G2 also transfers the data transmitted from the application server 4 to the in-vehicle communication device 1.

[0036] The communication traffic management unit G3 is configured to manage the data communication traffic for each vehicle-mounted communication device 1. For example, the communication traffic management unit G3 manages the communication traffic for each vehicle-mounted communication device 1 using an IP address. Specifically, the communication traffic management unit G3 manages the communication traffic for each vehicle-mounted communication device 1 using a source IP address indicated in an IP header in upstream communication and a destination IP address in downstream communication. The IP header corresponds to a data field into which the source IP address and the destination IP address are inserted. In addition, for the same vehicle-mounted communication device 1, the communication traffic for each application 81 is managed using the correspondence between the source port number and the application ID. Since one application 81 is associated with a source port, the total amount of data communication via a certain source port indicates a part or all of the communication traffic of the application 81 associated with the source port. In addition, according to a configuration in which the communication traffic of the application 81 is managed by distinguishing it for each communication line, the communication traffic for each application 81 can also be calculated as described later.

[0037] The communication traffic management unit G3 may be configured to manage the communication traffic for each user device by observing the packet traffic at the PDCP (Packet Data Convergence Protocol) layer. That is, the communication traffic management unit G3 may manage the communication traffic by acquiring the data amount of PDCP-SDUs whose delivery to the user device has been confirmed and the data amount of PDCP-SDUs received from the user device from the network side device related to PDCP. SDU is an abbreviation of Service Data Unit.

[0038] In addition, the relay server 5 may be configured to execute a process of authenticating the application server 4 and the vehicle Vc. Some or all of the functions provided by the relay server 5 may be possessed by each application server 4. Also, some or all of the functions possessed by the relay server 5 may be possessed by a network side device. From one point of view, the relay server 5 can be considered as a type of network side device. The functional arrangement can be changed as appropriate.

[0039] The Wi-Fi base station 6 is a communication facility for forming a wireless LAN conforming to Wi-Fi. Various standards such as IEEE802.11n, IEEE802.11ac, and IEEE802.11ax (so-called Wi-Fi6) can be adopted as Wi-Fi standards. The Wi-Fi base station 6 is installed at any location by various service providers as infrastructure facilities. Note that the Wi-Fi disclosed herein refers to Wi-Fi that can be used by the in-vehicle communication device 1, such as free Wi-Fi and Wi-Fi for which a user or a vehicle manufacturer has already signed a service contract.

[0040] <An example of application server 4> The application server 4A is, for example, an application server 4 that distributes dynamic or semi-dynamic traffic information (hereinafter, control support information) that serves as a reference for controlling the vehicle Vc. The control support information is, for example, information indicating the current positions, moving speeds, and traveling directions of other moving objects around the vehicle. The control support information may be information on semi-dynamic map elements indicating the positions and types of obstacles on the road, such as a section where traffic is restricted, the end of a traffic jam, and the position of objects fallen on the road. The control support information may be information indicating the position and lighting state of a traffic light in front of the vehicle Vc, or information indicating a traveling trajectory according to the traveling direction in an intersection. Such an application server 4A corresponds to an application server 4 corresponding to an advanced driver assistance system (ADAS: Advanced Driver-Assistance Systems) application.

[0041] The application server 4B is a server that generates and updates map data based on probe data uploaded from the vehicle Vc. The application server 4B may be a server that distributes static map data stored in a predetermined database based on a request from the vehicle Vc. The map data distributed by the application server 4B may be high-precision map data or navigation map data. The high-precision map data corresponds to map data that indicates the road structure and the position coordinates of features located along the road with an accuracy that can be used for autonomous driving. The navigation map data corresponds to map data for navigation and has a relatively lower accuracy than the high-precision map data. Such an application server 4B corresponds to the application server 4 corresponding to a map-based application that handles map data. Note that the map-based application may include a navigation application that performs route guidance using the map data.

[0042] The application server 4C is, for example, an application server 4 that transmits music data stored on a cloud to the vehicle Vc. Such an application server 4C corresponds to the application server 4 corresponding to a music application that plays music in the vehicle Vc.

[0043] It should be noted that various other servers / centers can be adopted as the application server 4. The vehicle communication system 100 may include a remote control server that remotely controls the vehicle Vc as the application server 4. The remote control server displays vehicle information such as vehicle-mounted camera images, vehicle speed, and current location transmitted from the vehicle Vc on a specified display, and transmits operation signals input by an operator to an input device to the vehicle Vc. The operator here refers to a person who has the authority to remotely control the vehicle from outside the vehicle Vc.

[0044] Of course, the contents and services of the applications 81 described above are merely examples and can be changed as appropriate. In addition to the functions described above, the vehicle Vc can be equipped with various applications 81, such as a video application, an emergency call application, a remote control application, a voice recognition application, a probe application, and a software update application. The video application is an application 81 for streaming videos stored on the cloud. The emergency call application is an application 81 for contacting a predetermined center when triggered by an accident or an abnormality in the occupant, and the remote control application is an application 81 for remotely controlling the vehicle Vc. The voice recognition application is an application 81 for recognizing the contents of a user's speech obtained by an in-vehicle microphone, and the probe application is an application 81 for uploading probe data such as road shapes recognized by an in-vehicle camera or the like to a server. The software update application is an application 81 for updating software of an arbitrary ECU 8 based on data obtained from the application server 4.

[0045] In addition, although one ECU 8 corresponds to one application 81 here as an example, the present invention is not limited to this. One ECU 8 may be provided with multiple applications 81. Furthermore, multiple ECUs 8 may be configured to execute one application 81 in cooperation with each other.

[0046] <Configuration of vehicle-mounted communication device 1> The in-vehicle communication device 1 is a device that provides the above-mentioned wireless communication function, and corresponds to a UE for the core network 3. The in-vehicle communication device 1 is used by being connected to an ECU 8 mounted on the vehicle as shown in FIG. 3. The vehicle Vc becomes a connected car that can connect to the Internet by mounting the in-vehicle communication device 1. The in-vehicle communication device 1 can also be called a DCM (Data Communication Module) or a TCU (Telematics Control Unit). The in-vehicle communication device 1 is assigned a communication device ID as unique identification information. The communication device ID can also be called a DCM-ID or a TCU-ID. The in-vehicle communication device 1 is housed in, for example, an instrument panel. The in-vehicle communication device 1 may be configured to be removable by a user. The in-vehicle communication device 1 may also be a mobile terminal such as a smartphone brought into the vehicle by a user.

[0047] The in-vehicle communication device 1 includes at least one subscriber identity module (hereinafter, SIM: Subscriber Identity Module) 15. This allows the in-vehicle communication device 1 to perform data communication using at least one APN corresponding to the SIM 15. The APN corresponding to the SIM 15 refers to an APN that can be used based on information about the SIM 15. The SIM 15 may be capable of using multiple APNs or may be capable of using one APN.

[0048] In addition, the in-vehicle communication device 1 is configured to be capable of Wi-Fi communication, and selectively uses a plurality of cellular lines and a Wi-Fi line depending on the communication traffic generation status in each ECU 8. In other words, the in-vehicle communication device 1 selectively uses various communication lines depending on the purpose of communication and the communication status. The concept of communication lines or communication routes available to the in-vehicle communication device 1 can include not only cellular lines but also Wi-Fi lines.

[0049] 3 shows only two ECUs 8 connected to the in-vehicle communication device 1, but there may be three or more ECUs 8. There may be only one ECU 8 directly or indirectly connected to the in-vehicle communication device 1. For example, the in-vehicle communication device 1 is configured to be able to communicate with each ECU 8 via an in-vehicle network IvN, which is a communication network established within the vehicle.

[0050] The in-vehicle communication device 1 and the ECU 8 may be configured to be able to communicate directly without going through the in-vehicle network IvN. The in-vehicle communication device 1 may be configured to be able to communicate with other ECUs via a central ECU that is an ECU that controls the entire vehicle, or a gateway ECU that separates the inside of the vehicle from the outside and ensures security. As a standard for the in-vehicle network IvN, various standards can be adopted, such as Controller Area Network (CAN is a registered trademark), Ethernet (registered trademark), and FlexRay (registered trademark). Details of the in-vehicle communication device 1 will be described separately later.

[0051] Each ECU 8 is configured as a computer having an arithmetic core such as a CPU and a memory such as a RAM, and executes a program assigned to each ECU 8 to perform processing according to the program. Hereinafter, when the ECUs 8 connected to the in-vehicle communication device 1 are to be distinguished from one another, they are also referred to as ECU 8A and ECU 8B. Each ECU 8 is assigned an ECU-ID.

[0052] Furthermore, the ECU 8 includes an application 81 and an ACP client 82. The application 81 is realized by hardware such as a CPU executing predetermined application software. In this disclosure, the terms "application" and "app" can be read as a device / computing core that executes an application. The computing core corresponds to a processor such as a CPU.

[0053] The application 81 corresponds to any one of the application servers 4. For example, the application 81A included in the ECU 8A acquires real-time information (i.e., control assistance information) that is used as a reference for creating a control plan from the application server 4A periodically or when a predetermined event occurs. An event that requests control assistance information can be, for example, when the remaining time / distance to an intersection or a junction branch point becomes less than a predetermined value. The application 81A may be configured to inquire the application server 4A about control assistance information corresponding to the current position at regular intervals. Such an application 81A corresponds to an example of an ADAS-related application. The application 81A corresponds to an example of an application that mainly handles downstream communication.

[0054] Moreover, the application 81B included in the ECU 8B is a probe application. The application 81B transmits probe data to the application server 4B periodically or based on a request from the application server 4B. The application 81B corresponds to an example of an application that mainly performs upstream communication.

[0055] An application ID, which is unique identification information, is assigned to each application 81. The application ID may be assigned by the designer of the application 81, or may be assigned by a predetermined ECU 8 that centrally manages the installation of software in the vehicle Vc (actually, the ECU 8) when the application 81 is installed in the vehicle Vc. The application ID may be written as App-ID.

[0056] Each application 81 outputs transmission data addressed to the application server 4 corresponding to that application 81 to the ACP client 82, and also acquires data from the corresponding application server 4 via the in-vehicle communication device 1 and the ACP client 82. Each application 81 also outputs a communication request to the ACP client 82 in response to the generation of transmission data addressed to the application server 4. The communication request corresponds to, for example, a predetermined electrical signal, message, or communication frame. The communication request includes an application ID.

[0057] The application 81 includes an encryption processing unit that encrypts transmission data and decrypts encrypted data transmitted from the application server 4. For example, the application 81 is configured to be able to perform TLS (Transport Layer Security) encrypted communication. Various methods can be adopted as the method of encrypted communication. As a more preferred embodiment, the application 81 is configured to be able to perform authentication of the communication partner, encryption of communication contents, detection of tampering, etc., using an electronic certificate or the like. Note that, not only the application 81 but also other devices such as the application server 4, the relay server 5, and the in-vehicle communication device 1 are configured to be able to perform TLS communication.

[0058] The ACP client 82 is configured to mediate communication between the application 81 and the in-vehicle communication device 1. The ACP client 82 can also be called an in-vehicle relay module. The ACP client 82 can be arranged for each application 81 or for each ECU 8. The ACP client 82 is also realized by hardware such as a CPU executing ACP client software, which is a predetermined software. The ACP client 82 transmits a communication start request from the application 81 to the in-vehicle communication device 1, and transmits a response from the in-vehicle communication device 1 to the communication start request to the application 81.

[0059] Furthermore, the ACP client 82 notifies the in-vehicle communication device 1 of the application ID and ECU-ID periodically or when a predetermined event occurs. This enables the in-vehicle communication device 1 to identify which application 81 exists in which ECU 8. The notification of various IDs may be performed, for example, when the running power source is turned on or at a predetermined time. Note that the running power source is, for example, the ignition power source in an engine vehicle. In an electric vehicle, the system main relay corresponds to the running power source.

[0060] In addition, the ACP client 82 switches the power supply state of the ECU 8 between on and off based on an instruction signal from the in-vehicle communication device 1. The ACP client 82 can also control the running state of the application 81 based on a signal from the in-vehicle communication device 1. For example, when the ACP client 82 receives a push notification transmitted from the application server 4 via the in-vehicle communication device 1, it turns on the power supply of the ECU 8 and starts the corresponding application 81.

[0061] It should be noted that the ACP client 82 is an optional element and may be omitted. Furthermore, the function of the ACP client 82 may be provided by the application 81 itself. The ACP client 82 may be configured as part of the application 81. In addition, the ACP client 82 may be configured as part of the in-vehicle communication device 1. Furthermore, the encryption communication function provided in the application 81 may be provided by the ACP client 82. The functional arrangement of each component may be changed as appropriate.

[0062] 3 shows an example in which one ECU 8 includes one application 81, but the ECU 8 may include multiple applications 81. When multiple ECUs 8 exist, the ACP client 82 of the ECU 8 can manage the application ID and the running state of each application 81.

[0063] The in-vehicle communication device 1 transmits data to an application server 4A corresponding to an application 81 mounted on the vehicle Vc in response to a request from the application 81. The in-vehicle communication device 1 also receives data transmitted from the application server 4A and transfers the data to the application 81. As described above, communication with the application server 4 is performed via the relay server 5 and a network device.

[0064] The in-vehicle communication device 1 is mainly composed of a computer including a processing unit 11, a RAM 12, a storage 13, a communication interface 14, a SIM 15, and a bus connecting these. The processing unit 11 is hardware for arithmetic processing that is coupled to the RAM 12. The processing unit 11 includes at least one arithmetic core such as a CPU. The processing unit 11 executes various processes by accessing the RAM 12.

[0065] The storage 13 includes a non-volatile storage medium such as a flash memory. A communication control program is stored in the storage 13 as a program executed by the processing unit 11. The execution of the program by the processing unit 11 corresponds to the execution of a communication control method that corresponds to the communication control program. Information (e.g., a profile, etc.) regarding APNs that can be used by the in-vehicle communication device 1 is registered in the storage 13.

[0066] The communication interface 14 is a circuit module for communicating with the ECU 8 via the in-vehicle network IvN. The communication interface 14 is realized using analog circuit elements, ICs, a PHY chip conforming to the communication standard of the in-vehicle network IvN, and the like.

[0067] The SIM 15 is an IC module in which information for identifying a subscriber of a line is recorded, and is configured as, for example, an IC card. For example, a unique number called an IMSI (International Mobile Subscriber Identity) is recorded in the SIM 15 in association with the subscriber's telephone number. The SIM 15 also stores setting data related to wireless communication connection, such as available frequencies and the priority order of frequencies observed to determine a serving cell. The SIM 15 may be inserted into a card slot (not shown), or may be an eSIM (Embedded SIM). The concept of the SIM 15 here includes both a removable card type and an embedded type (i.e., an eSIM). As described above, the in-vehicle communication device 1 may be provided with multiple SIMs and configured to be able to use multiple cellular lines in parallel.

[0068] 4, the in-vehicle communication device 1 includes, as functional blocks, an in-vehicle communication unit F1, a wireless communication unit F2, and a communication control unit F3. The wireless communication unit F2 includes a cellular communication unit F21, a Wi-Fi communication unit F22, and a vehicle-to-vehicle communication unit F23. The communication control unit F3 corresponds to a communication control device.

[0069] The in-vehicle communication unit F1 is configured to receive the transmission data output from each ECU 8 and output it to the wireless communication unit F2, and also to output the data received by the wireless communication unit F2 to the ECU 8 to which the data should be transferred. For example, the in-vehicle communication unit F1 obtains the original data by separating the data multiplexed and input from each ECU 8 in a predetermined manner.

[0070] The in-vehicle communication unit F1 includes a buffer, which is a storage area that temporarily holds data input from each ECU 8 until it is wirelessly transmitted. The buffer may be realized using a rewritable storage medium such as a RAM. The in-vehicle communication unit F1 also has a function of monitoring the amount of data retained in the buffer and information stored in the headers of the data. The buffer may be provided in the communication control unit F3. The data stored in the buffer is sequentially extracted by the wireless communication unit F2 and transmitted to the application server 4, which is the destination, via a communication path corresponding to the data input source (i.e., ECU 8). The allocation state of the communication path for each ECU 8 is controlled by the communication control unit F3.

[0071] The cellular communication unit F21 is a communication module in charge of the data link layer and physical layer in a wireless communication protocol such as LTE. The cellular communication unit F21 includes an antenna capable of transmitting and receiving radio waves in the frequency band used in LTE. The cellular communication unit F21 also includes a transceiver that performs signal processing equivalent to conversion from a baseband signal to a high-frequency signal and the reverse conversion in accordance with the LTE communication standard, and a packet processing unit that performs conversion between IP packets and physical channel signals. Note that a plurality of antennas may be provided for reception diversity or the like.

[0072] The cellular communication unit F21 processes the IP packets input from the in-vehicle communication unit F1 at each data link sublayer of PDCP, RLC, and MAC. It also generates a carrier signal corresponding to the input data by performing processes such as encoding, modulation, and digital-to-analog conversion. It then outputs the generated carrier signal to the antenna to radiate it as radio waves. MAC stands for Media Access Control. In addition, the cellular communication unit F21 converts the received signal received by the antenna into an information sequence represented by digital values ​​(i.e., digital data) by performing predetermined processes such as analog-to-digital conversion and demodulation. It then outputs the data corresponding to the received signal to the in-vehicle communication unit F1.

[0073] The Wi-Fi communication unit F22 is a communication module for connecting to the Internet via the Wi-Fi base station 6 and communicating with the application server 4. The Wi-Fi communication unit F22 is configured using an antenna for transmitting and receiving radio waves in a frequency band used in the Wi-Fi standard, such as the 2.4 GHz band or the 5 GHz band, a modulation circuit, a demodulation circuit, and the like. The Wi-Fi communication unit F22 emits a wireless signal corresponding to data input from the in-vehicle communication unit F1 or the communication control unit F3. The Wi-Fi communication unit F22 also outputs data corresponding to a reception signal received by the antenna to the in-vehicle communication unit F1 or the communication control unit F3.

[0074] The Wi-Fi communication unit F22 recognizes the presence of the Wi-Fi base station 6 by receiving a beacon emitted from the Wi-Fi base station 6. The communication connection between the Wi-Fi communication unit F22 and the Wi-Fi base station 6 is controlled by the communication control unit F3. The Wi-Fi communication unit F22 does not necessarily have to be built into the in-vehicle communication device 1. The Wi-Fi communication unit F22 may be provided outside the in-vehicle communication device 1 in such a manner that the in-vehicle communication device 1 can control the operation state of the Wi-Fi communication unit F22.

[0075] The vehicle-to-vehicle communication unit F23 is a communication module for performing direct wireless communication (i.e., vehicle-to-vehicle communication) with the in-vehicle communication device 1 equipped in another vehicle by using radio waves in a predetermined frequency band. The vehicle-to-vehicle communication unit F23 is configured using an antenna for transmitting and receiving radio waves in the frequency band for vehicle-to-vehicle communication, a modulation circuit, a demodulation circuit, and the like. The vehicle-to-vehicle communication unit F23 modulates data input from the communication control unit F3, outputs the data to the antenna for vehicle-to-vehicle communication, and transmits the data wirelessly. The vehicle-to-vehicle communication unit F23 also demodulates a signal received by the antenna and provides the signal to the communication control unit F3.

[0076] In the present embodiment, as an example, the inter-vehicle communication is performed using a communication method, such as DSRC (WAVE), different from the communication method with the cellular base station 2, but is not limited thereto. The inter-vehicle communication may also be performed according to a standard such as LTE. Accordingly, the inter-vehicle communication unit F23 may be integrated with the cellular communication unit F21. Furthermore, the inter-vehicle communication may be performed according to a standard such as Wi-Fi. Accordingly, the inter-vehicle communication unit F23 may be integrated with the Wi-Fi communication unit F22. The inter-vehicle communication in the present disclosure refers to direct communication between the in-vehicle communication devices 1, and any communication method may be adopted.

[0077] The communication control unit F3 monitors and controls the communication state of each cellular line. In response to the occurrence of a predetermined connection event, the communication control unit F3 executes a procedure for establishing a cellular line. If multiple APNs are configured to be available, a line for each APN is established. The procedure for establishing a communication connection includes sending an attach request and sending APN information. For example, the core network 3 prepares a radio bearer and a PDN connection according to the contract contents based on information such as the APN notified from the vehicle-mounted communication device 1. Examples of connection events include software updates, restarting the vehicle-mounted communication device 1 due to a malfunction, and enabling the cellular communication function, in other words, the mobile network connection, by a user or staff at a maintenance shop.

[0078] The communication control unit F3 also controls the operation of the Wi-Fi communication unit F22. The communication control unit F3 starts a communication connection with the Wi-Fi base station 6 based on the fact that the Wi-Fi communication unit F22 has received a beacon. That is, the communication control unit F3 exchanges control signals for obtaining an IP address and for security settings (such as exchanging encryption keys) with the Wi-Fi base station 6. Furthermore, the communication control unit F3 also controls the operation of the vehicle-to-vehicle communication unit F23.

[0079] Furthermore, the communication control unit F3 includes, as functional units, a route characteristics acquisition unit F31, a margin evaluation unit F32, a route setting unit F33, a port management unit F34, and an agent processing unit F35. The communication control unit F3 also includes an index holding unit M1 that is realized using a rewritable storage medium such as the RAM12.

[0080] The route characteristic acquisition unit F31 is configured to acquire various information indicating communication characteristics of each communication line. For example, the route characteristic acquisition unit F31 acquires parameters related to the communication speed of each cellular line from a network side device. Examples of communication setting parameters for each cellular line include an assigned frequency, a packet transfer priority, a target delay time, and a packet loss rate. The target delay time is the maximum communication delay time assumed by the network side device. The target delay time corresponds to a delay characteristic setting value (delayThreshold) set by the network side device. The communication setting parameters acquired by the route characteristic acquisition unit F31 are stored in, for example, an index holding unit M1.

[0081] The route characteristic acquisition unit F31 may sequentially evaluate the round-trip time (RTT) and throughput of each cellular line as status information for each cellular line, and store the results in the indicator storage unit M1. RTT is the time it takes from sending a signal or data to the other party to receiving a response, that is, the response delay time. RTT is also called round-trip latency. Throughput represents the amount of data that can be transmitted and received per unit time through a transmission path. Throughput corresponds to an indicator of communication speed. Note that throughput may be evaluated separately for upstream communication and downstream communication. Also, the status of each cellular line may be evaluated using the average value of observed values ​​within a fixed period of time for RTT, latency, etc.

[0082] In addition, the path characteristic acquisition unit F31 may acquire information indicating the load status, congestion level, and spare capacity of the cellular base station 2 corresponding to the contracted line. The path characteristic acquisition unit F31 may also calculate a power headroom (hereinafter, PHR: Power Headroom), which is spare capacity of transmission power, for each cellular line. The PHR is a parameter indicating the difference between the current transmission power setting value and the maximum transmission power in an uplink shared channel (hereinafter, PUSCH: Physical Uplink Shared Channel). The path characteristic acquisition unit F31 may also calculate RSRP, RSSI, RSRQ, and the like. RSRP is an abbreviation for Reference Signal Received Power. RSSI is an abbreviation for Received Signal Strength Indicator. RSRQ is an abbreviation for Reference Signal Received Quality. RSRP is the average received power of the RS per unit resource element. RSSI is a value obtained by measuring the power of the entire LTE system band in an OFDM symbol that accommodates the RS. RSRQ is a ratio between the received power of a cell-specific reference signal and the total power within the reception bandwidth. A larger RSRQ indicates better reception quality of the signal from the cellular base station 2. The calculation method of the PHR, RSRP, RSSI, and RSRQ may be the method specified by 3GPP.

[0083] The margin evaluation unit F32 evaluates the margin of the cellular line available to the device (own device) based on various indices that directly or indirectly indicate the communication speed and the availability of the communication band acquired by the route characteristic acquisition unit F31. The larger the margin, the larger the data that can be accommodated. The margin evaluation unit F32 can calculate the margin of each cellular line available to the device by combining multiple indices. The margin evaluation unit F32 evaluates the margin higher the higher the communication speed, the shorter the delay time, and the higher the PHR. The margin may be expressed as a score or multiple ranks. For example, the margin may be determined in two stages, yes / no, or may be expressed in three stages, no / small / medium. A state with no margin corresponds to a state in which proxy communication is not possible, which will be described later, and a state with small margin corresponds to a state in which only proxy communication of relatively small data whose data size is equal to or less than a predetermined value is possible. The margin may be determined using only one predetermined item, such as the PHR. The evaluation result of the margin evaluation unit F32 is referred to, for example, by the route setting unit F33, the proxy processing unit F35, etc. Note that the margin evaluation unit F32 is an optional element.

[0084] The route setting unit F33 is configured to set a communication route to be used for data communication of each application 81 based on the characteristics of the cellular line. For example, a communication route with low latency is assigned to an application 81 that requires real-time performance, such as an ADAS application. A communication route with high communication speed and capacity is preferentially assigned to an application 81 that is expected to have a relatively large data size, such as a map application. In an environment where Wi-Fi communication is available, Wi-Fi communication is preferentially assigned as a communication route to an application 81 that does not require real-time performance. Elements constituting a communication route may include the type of communication route, the size (width) of the communication band to be assigned, the assigned frequency, the type of communication protocol, and the like. The communication protocol includes TCP (Transmission Control Protocol) and UDP (User Datagram Protocol), and the like.

[0085] When the path setting unit F33 receives a communication start request from the application 81 or the application server 4, it secures a source port for the application, executes routing processing, and sets a communication path from the application 81 to the application server 4. This determines the source IP address, source port number, destination IP address, destination port number, protocol, and the like. The source port is assigned to each application 81. In other words, the source port is set so that one source port is not shared by multiple applications 81. Multiple source port numbers may be assigned to one application.

[0086] When the in-vehicle communication device 1 as the route setting unit F33 completes the setting of the communication route to the application server 4, it returns a communication permission response, which is a message indicating that the communication is permitted, to the ACP client 82 as a response to the communication start request. The communication permission response includes at least the source port number. The in-vehicle communication device 1 may also include a source IP address, a destination IP address, a destination port number, and a protocol in the communication permission response.

[0087] The communication control unit F3 controls the right to communicate with each application 81 using a token in addition to the source port number. The token corresponds to a control signal indicating whether or not communication is permitted. Each application 81 can communicate with the application server 4 using the notified source port while the token is being input from the in-vehicle communication device 1. The presence or absence of a token may be dynamically switched while maintaining the source port. Once a token is input, the application 81 may be configured to determine that it holds the right to communicate until a signal to the effect of withdrawing the token is input thereafter. The communication control unit F3 may dynamically control the presence or absence of a token for each application 81 in consideration of the line usage status and the communication demand of other applications 81.

[0088] The port management unit F34 manages the source port number assigned to each application 81. The port management unit F34 also manages which ECU 8 the application 81 is in, based on a notification from each ACP client 82. The port management unit F34 associates the application ID of each application 81 and the ECU-ID of each ECU 8 with the source port number and stores them in the RAM 12. The port management unit F34 notifies the relay server 5 of the application ID and ECU-ID for each source port number, together with the communication device ID associated with the in-vehicle communication device 1. Through this process, the ID information held by the relay server 5 and the in-vehicle communication device 1 is synchronized.

[0089] The proxy processing unit F35 requests other vehicle-mounted communication devices 1 present around the vehicle to perform communication with the application server 4 on behalf of the vehicle (hereinafter, proxy communication) according to the communication environment of the vehicle. The proxy communication here refers to relaying communication between the application 81 of the other vehicle and the application server 4. The concept of proxy communication includes proxying uplink communication in which data acquired from the other vehicle through vehicle-to-vehicle communication is transmitted to the designated application server 4 through cellular communication, and proxying downlink communication in which data downloaded from the application server 4 through cellular communication is transferred to a request source through vehicle-to-vehicle communication. The expression "proxy" can often be rephrased as "transfer" or "relay." Requesting proxy communication is equivalent to requesting another vehicle to relay communication between the application 81 of the vehicle and the application server 4. Communication between vehicles, in other words, between the vehicle-mounted communication devices 1, is performed through vehicle-to-vehicle communication. Communication between the vehicle-mounted communication devices 1 and the application server 4 is performed through a Wi-Fi line or cellular communication. As described above, the relay server 5 is involved in the data communication between the vehicle-mounted communication device 1 and the application server 4 .

[0090] As a preparation process for performing proxy communication, the proxy processing unit F35 periodically shares the communication status of each communication line available to the device with other devices (other machines) through vehicle-to-vehicle communication. The communication status of each communication line is not limited to the communication status of each cellular line, but may include the communication status of Wi-Fi. The communication status may include, for example, the communication speed to the relay server 5. Furthermore, the proxy processing unit F35 may share with other devices, as information indicating the communication status, the degree of congestion of each available line, the communication capacity available for proxy communication, and the like. The information indicating the communication status may include the remaining capacity of each cellular line calculated by the remaining capacity evaluation unit F32.

[0091] The proxy processing unit F35 compares the communication state of the own device with the communication state of the other device to determine whether to request proxy communication from the other device. For example, the proxy processing unit F35 requests proxy communication when it is expected that the communication time can be shortened by having the other device relay data rather than the own device communicating data with the relay server 5 (and thus the application server 4). More specifically, the proxy processing unit F35 requests proxy communication from the other device when the uplink communication speed of the other device is greater than the uplink communication speed of the own device by a predetermined proxy use threshold or more. The proxy use threshold used here is, for example, a parameter corresponding to the delay time caused by vehicle-to-vehicle communication. The proxy use threshold may be a constant value set in advance, or may be dynamically changed according to the observed value of the latency in the vehicle-to-vehicle communication. The proxy processing unit F35 requests proxy communication from the other device when it is expected that the overall communication time can be shortened even through relaying by the vehicle-to-vehicle communication.

[0092] Furthermore, when the proxy processing unit F35 receives a request for proxy communication from another device, it secures a communication path for proxy communication based on the request, and transfers data transmitted from the request source via vehicle-to-vehicle communication to the relay server 5. Securing the communication path includes notifying the relay server 5 of the source port number for proxy communication, the communication device ID of the request source for proxy communication, and the like. Details of the operation of the in-vehicle communication device 1 and the like related to the proxy communication will be described separately later.

[0093] <Overall processing flow> Next, a process flow for an arbitrary application 81 included in the first communication device 1A to start data communication with the application server 4 will be described with reference to sequence diagrams shown in Fig. 5 and Fig. 6. Fig. 5 is a sequence diagram when the first communication device 1A performs data communication using its own cellular line or Wi-Fi communication without using proxy communication. Fig. 6 is a sequence diagram when the first communication device 1A performs data communication with the application server 4 using the proxy communication function included in the second communication device 1B.

[0094] The ECU 8 shown in Figures 5 and 6 may be any ECU 8 included in the first vehicle V1. The application server 4 shown in Figures 5 and 6 is the application server 4 corresponding to the application 81 included in the ECU 8 shown in Figures 5 and 6. For convenience, the application 81 that is the output source of the communication request will also be referred to as the target application below.

[0095] In the following description, it is assumed that each in-vehicle communication device 1 has established a communication connection with the relay server 5 using a cellular line. The relay server 5 and the application server 4 are also in a state where they can communicate with each other, and perform communication for checking communication and data communication as needed. In addition, the first communication device 1A and the second communication device 1B maintain a positional relationship that allows inter-vehicle communication. The first communication device 1A and the second communication device 1B share the communication state with the relay server 5 with each other as needed through inter-vehicle communication (S01).

[0096] First, when data to be transmitted to the application server 4 is generated in a target application 81 provided in the first communication device 1A, the application 81 outputs a communication request to an ACP client 82 corresponding to the application 81 (step S10). The ACP client 82 corresponding to a certain application 81 refers to the ECU 8 that contains the application 81, that is, the ACP client 82 provided in the same ECU 8.

[0097] The communication request output from the application 81 to the ACP client 82 includes an application ID. The communication request may include communication conditions. Items constituting the communication conditions may include, for example, an allowable waiting time, an allowable RTT, an expected data size, and whether data loss is permitted. The allowable waiting time indicates an allowable waiting time until communication starts. The allowable RTT indicates an allowable response delay time. The expected data size indicates an expected value for the size of one data set exchanged between the application 81 and the application server 4. The expected data size indicates a required communication capacity. Whether data loss is permitted indicates whether partial loss of data is permitted, in other words, whether importance is placed on the reliability of communication. The communication conditions may be fixed for each application 81, or may be variable depending on the amount and content of data to be transmitted.

[0098] When the ACP client 82 receives a communication request from the application 81, it accepts the request (step S11). Specifically, the application ID and the communication conditions are associated with each other and temporarily stored in a predetermined storage area. Data indicating the acceptance status of the communication request is stored in, for example, a RAM provided in the ECU 8. The communication conditions may be acquired in advance by the ACP client 82 communicating with the application 81, or may be received as a communication request as described above. When the ACP client 82 completes the acceptance process of the communication request, it transmits a communication start request including the application ID and the communication conditions to the first communication device 1A (step S12).

[0099] The first communication device 1A judges whether or not a communication path that satisfies the communication conditions notified from the ACP client 82 can be allocated based on the state of each communication line, based on the input of a communication start request from the ACP client 82 (step S13). At that time, the communication control unit F3 of the first communication device 1A considers the use of proxy communication based on not only the communication lines available to the device itself, but also the communication state of the second communication device 1B acquired by the vehicle-to-vehicle communication. That is, the proxy processing unit F35 compares the communication state of the device itself with the communication state of the other device, and judges whether or not to request proxy communication from the other device. Here, the device itself for the proxy processing unit F35 refers to the first communication device 1A, and the other device refers to the second communication device 1B. Note that, when there are multiple other devices in the vicinity of the device itself, the use of proxy communication is considered for each other device.

[0100] For example, the proxy processing unit F35 decides to employ proxy communication when the device itself cannot perform communication that satisfies the communication conditions required by the application 81, but another device can satisfy the communication conditions required by the application 81. The proxy processing unit F35 also decides to employ proxy communication when the overall communication efficiency is improved by using proxy communication rather than by the device itself communicating with the application server 4.

[0101] In addition to the above examples, cases in which the use of proxy communication improves overall communication efficiency include a case in which the PHR in the cell in which the device is located is equal to or lower than a predetermined value, more specifically, a case in which the maximum transmission power is reached and the PHR of another device is equal to or higher than a predetermined value. Similarly, a case in which a packet error occurs in communication with the cellular base station 2 and retransmission occurs frequently can also be included in cases in which the use of proxy communication improves overall communication efficiency. The proxy request condition, which is the condition for using proxy communication, can be set appropriately.

[0102] When proxy communication is not available or when communication efficiency is improved by the device itself communicating with the application server 4 without using proxy communication, it is determined not to use proxy communication. When proxy communication is not available, for example, when there is no other device capable of vehicle-to-vehicle communication, etc.

[0103] When it is decided not to use the proxy communication (S131 NO), the device selects a line to be used for communication between the application 81 and the application server 4 from among the communication lines available to the device itself. When there are multiple available lines, the most suitable one for the communication conditions of the application 81 is selected based on the usage status and quality of each communication line. When there is only one available communication line, that line is selected.

[0104] Then, a process of setting a communication path using the selected communication line is performed (step S14). That is, the path setting unit F33 secures a source port for the target application, and executes a routing process to set a communication path from the application 81 to the application server 4. This determines the source IP address and the like. The routing process includes obtaining a destination IP address using DNS (Domain Name System), establishing a connection, generating a routing table, and the like. The routing process itself is performed according to a predetermined signaling procedure.

[0105] Furthermore, the route setting in step S14 includes the first communication device 1A notifying the relay server 5 of the application ID of the target application and the communication device ID in association with the source port number. The first communication device 1A may notify the relay server 5 of communication route information other than the source port number. Examples of communication route information other than the source port number include source and destination IP addresses, destination port number, etc. Some or all of the line type, communication carrier, APN, etc. used for wireless communication can be included in the route information.

[0106] When the first communication device 1A completes the setting of the communication path to the application server 4, it returns a communication permission response, which is a message indicating that the communication is permitted, to the ACP client 82 as a response to the communication start request (step S15). The communication permission response includes route information such as a source port number and a destination IP address. Furthermore, the first communication device 1A may also transmit a token indicating the presence or absence of a right to implement communication in addition to the route information as a response to the communication start request.

[0107] When the ACP client 82 receives the communication permission response from the first communication device 1A, it stores the application ID assigned to the target application, the route information, and the presence or absence of a token in association with each other as a request management process (step S16). Then, the ACP client 82 notifies the application 81 of the source port number and the presence or absence of a token as a report of the response from the first communication device 1A to the communication start request (step S17). The ACP client 82 may notify the application 81 of route information other than the source port number, such as a destination IP address, from the first communication device 1A.

[0108] When the application 81 receives a report indicating that a communication path has been established from the ACP client 82 in step S16, the application 81 starts encrypted communication with the application server 4 using the source port number indicated in the report (step S18). For example, the application 81 and the application server 4 perform TLS encrypted communication. In this case, encrypted data generated by the application 81 is wirelessly transmitted from the first communication device 1A, and is relayed by the network side device including the cellular base station 2 and the relay server 5 to reach the application server 4. Of course, downstream communication can be performed in the same manner as upstream communication. That is, data to be transferred is received from the application server 3 by cellular communication using a port for proxy communication, and the received data is transferred to another device as a request source by vehicle-to-vehicle communication.

[0109] In step S13, the communication control unit F3 may verify whether or not there is a communication line that satisfies the communication conditions notified by the ACP client 82 among the communication lines available to the device itself, based on the usage status and quality of each communication line. In other words, it may determine whether or not it is possible to allocate a communication path that satisfies the communication conditions notified by the ACP client 82, based on the usage status and quality of each communication line. The concept of a communication line available to the device itself may include proxy communication in addition to a cellular line or Wi-Fi available to the device itself.

[0110] In step S13, if there is no communication line that satisfies the communication conditions notified by the ACP client 82, the communication control unit F3 may return an allocation impossible response to the ACP client 82. The allocation impossible response is a message indicating that allocation is impossible. The allocation impossible response may be a message simply indicating that there is no communication line that satisfies the requested communication conditions. The allocation impossible response may include an expected value of the waiting time until communication that satisfies the communication conditions can be performed. In addition, the allocation impossible response may include communication conditions that can be performed in the current situation. For example, the RTT of the communication service that can be provided at the present time, the transmittable data size, etc. may be notified.

[0111] As described above, communication between the application 81 and the application server 4 is performed via the relay server 5. The relay server 5 manages the communication volume for each application 81 by using the source port number notified from the first communication device 1A (step S20). That is, the relay server 5 measures the volume of data exchanged using the source port. The volume of data is managed separately for each line used for communication, as will be described later.

[0112] The above is the operation of the pattern in which proxy communication is not used. If it is determined in step S13 that proxy communication is to be used (S131 YES), proxy communication setting processing is carried out in step S14A as shown in FIG.

[0113] The proxy communication setting process will be described with reference to FIG. 7. The flowchart shown in FIG. 7 is executed as S14A. Here, as an example, the proxy communication setting process includes steps S41 to S48. Of course, the number of steps included in the proxy communication setting process and the order of the processes can be changed as appropriate. In this disclosure, the vehicle-mounted communication device 1 that requests proxy communication is also referred to as a requesting communication device, and the vehicle-mounted communication device 1 that takes over and performs the proxy communication is also referred to as a proxy communication device. The proxy communication device can also be called a temporary relay device or a forwarding device. In the following example, the first communication device 1A corresponds to the requesting communication device, and the second communication device 1B corresponds to the proxy communication device.

[0114] In the proxy communication setting process, the first communication device 1A first transmits a proxy communication request signal, which is a signal requesting the implementation of proxy communication in vehicle-to-vehicle communication, to the second communication device 1B (step S41). The proxy communication request signal may include information constituting an L2 header (MAC header), such as the MAC address of the sender. The MAC header corresponds to a data field indicating the MAC address of the sender and the MAC address of the destination. Note that the sender here refers to the first communication device 1A.

[0115] In the case of a request for proxy communication regarding upstream communication, the first communication device 1A as the requesting communication device may notify the second communication device 1B as the request recipient of a proxy transmission amount, which is the amount of data desired to be transmitted in the proxy communication. The proxy transmission amount may be included in the proxy communication request signal. The proxy communication request signal may include information indicating whether the type of communication requested to be performed on behalf of the upstream communication or the downstream communication. The requesting communication device may be configured to transmit a proxy communication request signal including a communication direction flag indicating whether the request is for a proxy communication or a proxy communication for a downstream communication.

[0116] When the second communication device 1B receives the proxy communication request, the proxy processing unit F35 judges whether to undertake the proxy communication based on the communication status of the own device (step S42). The own device in this step refers to the second communication device 1B. The proxy processing unit F35 permits the proxy communication, for example, when there is a margin in the communication speed relative to the communication demand (traffic volume) within the own device, or when the RTT is kept below a predetermined value. When there is a margin in the communication speed includes, for example, a case where the communication speed is equal to or higher than a predetermined value.

[0117] When the proxy processing unit F35 is notified of the proxy transmission amount by the first communication device 1A as the request source, the proxy processing unit F35 may determine whether or not the notified proxy transmission amount can be transmitted within a predetermined time based on the communication state of the device itself, and may determine whether or not to undertake the proxy communication based on the result of the determination. In this case, if it is determined that the data amount notified by the request source cannot be transmitted within the predetermined time, it decides not to undertake the proxy communication.

[0118] In addition, the proxy acceptance condition, which is the condition for accepting the proxy communication request from another device, may be designed appropriately. The proxy processing unit F35 may accept the proxy communication when the remaining capacity of the communication line calculated by the remaining capacity evaluation unit F32 is equal to or greater than a predetermined value. The proxy processing unit F35 may accept the proxy of the upstream communication when there is a surplus in the transmission power, specifically, when the value of the PHR of the cellular line of the own device is equal to or greater than a predetermined value. The proxy processing unit F35 may accept the proxy of the downstream communication when the reception quality of the cellular line available to the own device is good, specifically, when the RSRQ is equal to or greater than a predetermined value. The proxy processing unit F35 accepts the proxy communication when the state of the cellular line or Wi-Fi communication available to the own device satisfies a predetermined proxy acceptance condition. As the proxy acceptance condition, a condition for downstream communication and a condition for upstream communication may be set separately.

[0119] When the second communication device 1B determines to accept the proxy communication request based on the state of the cellular line or the like available to the second communication device 1B, the second communication device 1B returns an acceptance response to the first communication device 1A through vehicle-to-vehicle communication (step S43). The acceptance response is a response signal declaring that the proxy communication will be accepted. The acceptance response can be understood as a type of ACK. The acceptance response may include information for the requesting communication device to identify the proxy communication device, such as the MAC address or IP address of the second communication device 1B. The second communication device 1B may notify the first communication device 1A of the IP address of its own device as the forwarding destination IP address.

[0120] If the state of the cellular line or Wi-Fi communication available to the second communication device 1B does not satisfy the proxy acceptance condition, the second communication device 1B may return a rejection response, which is a response signal to the effect that the proxy communication is rejected. The rejection response can be understood as a type of NACK. When the vehicle-mounted communication device 1 is requested to perform proxy communication, the vehicle-mounted communication device 1 determines whether or not to accept the request based on the state of the communication line available to the vehicle-mounted communication device 1, and returns the result of the determination.

[0121] When the first communication device 1A receives an acceptance response to the proxy communication request, it prepares a new source port for proxy communication (step S44). The source port number prepared here is different from the source port used when the first communication device 1A performs data communication with the application server 4 using a cellular line or Wi-Fi. For convenience, the source port prepared for proxy communication is also referred to as the source port for proxy communication. The first communication device 1A notifies the second communication device 1B of the source port number for proxy communication and the final destination information by vehicle-to-vehicle communication (step S45). The final destination information refers to the IP address of the application server 4 with which the target application wants to communicate.

[0122] The destination information may include the MAC address of the application server 4 that is the final destination. The port for the proxy communication may be a port that is unused by the second communication device 1B. Furthermore, the source port number for the proxy communication may be a port that is unused by both the first communication device 1A and the second communication device 1B. According to such a port setting mode, it is possible to distinguish the communication volume due to proxy communication from the communication volume that is not proxy communication, regardless of the layer at which the communication volume is measured.

[0123] When the second communication device 1B acquires the source port number and destination information for the proxy communication from the first communication device 1A, it requests the relay server 5 to reserve the source port designated by the first communication device 1A for the proxy communication (step S46). The second communication device 1B also notifies the relay server 5 that the port number is a port for communication between the first communication device 1A and the application server 4. At that time, the second communication device 1B may notify the relay server 5 of the application ID of the target application, the communication device ID of the first communication device 1A, the ECU-ID that accommodates the target application, and the like. The ID of the target application and the like can be acquired from the first communication device 1A. For example, the ID of the target application and the like may be included in the proxy communication request, or may be transmitted from the first communication device 1A to the second communication device 1B as a further response to the acceptance response.

[0124] The second communication device 1B then performs routing processing based on the destination IP address notified by the first communication device 1A, and establishes a communication path to the specified application server 4 (step S47). When the communication path is ready, the second communication device 1B transmits a path establishment report to the first communication device 1A (step S48). The path establishment report corresponds to a wireless signal notifying that a proxy communication is possible.

[0125] When the first communication device 1A receives the path establishment report from the second communication device 1B, it transmits an authorization response to the ACP client 82 corresponding to the target application (FIG. 6, S15). When the ACP client 82 receives the communication authorization response from the first communication device 1A, it performs a request management process (step S16) and notifies the application 81 of the source port number and the presence or absence of a token (step S17).

[0126] When the application 81 receives a report from the ACP client 82 indicating that a communication path has been secured, the application 81 generates a communication packet including encrypted data, in which the L3 header specifies the application server 4 as the destination and the application server 4 as the sender, and outputs the packet to the first communication device 1A. Here, L3 refers to Layer 3 (network layer) in the OSI reference model. The L3 header refers to, for example, an IP header. That is, the application 81 outputs an IP packet, in which the IP address of the application server 4 as the destination and the source port number for proxy communication are inserted in the data field of the IP header, to the first communication device 1A.

[0127] The first communication device 1A generates a communication frame by adding an L2 header (so-called MAC header) in which the MAC address of the second communication device 1B is set as the destination MAC address to the IP packet input from the application 81 as data to be transferred. Then, the communication frame is transmitted to the second communication device 1B by vehicle-to-vehicle communication. Here, L2 refers to Layer 2 (data link layer) in the OSI reference model.

[0128] When the second communication device 1B receives data from the first communication device 1A, it performs a transfer process by rewriting the L2 header (MAC header) based on a routing table prepared in a previous routing process. In one embodiment, the second communication device 1B does not rewrite the L3 header (IP header) of the data provided from the requesting communication device during proxy communication. In other words, the second communication device 1B as the proxy communication device transfers the data without rewriting the IP address or port number.

[0129] According to the above configuration, the communication packet transmitted by the first communication device 1A is relayed by the second communication device 1B, the network side device, and the relay server 5 to reach the application server 4. That is, when using the proxy communication, the data from the first communication device 1A does not enter the network side device directly, but passes through the second communication device 1B. Although the above mainly describes the operation during upstream communication, downstream communication can also be performed using a similar communication path. The source port refers to a port of the in-vehicle communication device 1, and in downstream communication, the description of the source port can be replaced with the destination port.

[0130] The relay server 5 counts the communication using the proxy communication port as the communication volume for proxy communication separately from the normal communication volume. For example, as shown in FIG. 8, the data volume of the communication performed by proxy communication is managed separately from the data volume of the normal communication by the port number. Note that the normal communication refers to a communication that is not proxied, that is, a communication performed by the in-vehicle communication device 1 to which the application 81 belongs, using a cellular line or Wi-Fi available to the device itself. The normal communication for the proxy communication device refers to a communication for the in-vehicle communication device 1 itself (i.e., the device itself).

[0131] TCU-ID in FIG. 8 means a communication device ID, and as an example, "101" represents the communication device ID of the first communication device 1A, and "102" represents the communication device ID of the second communication device 1B. The communication volume in the row where the port number is set to 49152 represents the communication volume in normal communication, and the communication volume in the row where the port number is set to 49154 represents the communication volume substituted by the second communication device 1B. The substitute device ID indicates the ID of the in-vehicle communication device 1 that performed the substitute communication. The example shown in FIG. 8 shows a case where the second communication device 1B substitutes for 1.2 GB of data communication of the first communication device 1A. The communication volume and port number may be further classified and managed according to the type of communication line or the communication carrier that provides the line.

[0132] In a configuration in which the proxy communication device rewrites the destination of the MAC header and forwards the packet, the source IP address of the communication packet received by the relay server 5 in the upstream communication is that of the first communication device 1A, regardless of whether the packet arrived in the proxy communication or in the normal communication. Therefore, the relay server 5 cannot identify whether the observed communication packet arrived in the proxy communication or in the normal communication from the source IP address information. In contrast, according to the configuration of the present disclosure, the relay server 5 can distinguish between the communication packet that arrived in the proxy communication and the communication packet that arrived in the normal communication by using different ports for the proxy communication and the normal communication.

[0133] <Effects> According to the above configuration, the port used for communication is different between proxy communication and normal communication. Then, by counting the communication volume for each port number, it is possible to manage the volume of proxy communication separately from the volume of non-proxy communication. As a result, it is possible to appropriately charge for communication volume, for example.

[0134] For example, as disclosed in Patent Document 2, in a configuration that manages the communication volume for each UE based on bearer information allocated to the UE, the amount of communication performed on behalf of the first communication device 1A can be counted as the communication volume of the second communication device 1B. Specifically, using the example shown in FIG. 8, a communication volume of 1.2 GB can be counted as the communication volume of the second communication device 1B. Note that a configuration that manages the communication volume for each UE based on the allocated amount of the radio bearer for each UE corresponds to a configuration that specifies the actual communication volume of the second communication device 1B using control information of the control plane. The actual communication volume is the communication volume corresponding to the amount of resources such as the radio bearer actually used, and includes the amount of communication performed on behalf of the first communication device 1A.

[0135] To address such concerns, the above configuration makes it possible to distinguish the amount of communication due to proxy communication from the amount of normal communication, and therefore makes it possible to avoid counting the amount of communication performed on behalf of the first communication device 1A as the amount of communication performed by the second communication device 1B. Alternatively, it becomes possible to exclude the amount of communication performed on behalf of the first communication device 1A from the actual amount of communication of the second communication device 1B.

[0136] Although the embodiment of the present disclosure has been described above, the present disclosure is not limited to the above-mentioned embodiment, and various modified examples described below are also included in the technical scope of the present disclosure, and further, various modifications other than those described below can be implemented without departing from the gist of the present disclosure. For example, the following various supplements and modified examples can be implemented in appropriate combinations as long as no technical contradiction occurs. Note that the same reference numerals are used for components having the same functions as the components described above, and their description may be omitted. In addition, when only a part of the configuration is mentioned, the above description can be applied to the other parts.

[0137] In the above, the second communication device 1B as an agent communication device realizes the agent communication by rewriting the destination of the MAC header without rewriting the contents of the IP header, but the present invention is not limited to this. For example, the second communication device 1B as an agent communication device may be configured to establish a communication path from the device itself to a desired application server 4, and then rewrite the source IP address to the IP address of the device itself and transfer the data. In this case, the second communication device 1B sets a source port for agent communication from unused source ports based on the acceptance of the agent communication request, and notifies the relay server of the source port for agent communication. In the agent communication, the port for agent communication is used to relay the data communication between the first communication device 1A and the application server 4.

[0138] Even in the above modified example, the relay server 5 can identify whether the data communication is a proxy communication or a normal communication from the port number used for the data communication. FIG. 9 shows an example of the management result of the communication amount when rewriting the IP address. In a configuration in which the communication amount for each vehicle-mounted communication device 1 is managed based on the source / destination IP address, the proxy communication amount is initially counted as the communication amount of the second communication device 1B, but can be excluded by using the source port number. The request source ID shown in FIG. 9 means the communication device ID of the request source communication device. The source port number "49158" is a source port number prepared for proxy communication, and the communication amount associated with this number indicates the amount of communication that is substituted for the communication of the first communication device 1A.

[0139] In addition, even in a configuration in which the communication volume for each user device is managed by observing the packet volume at the PDCP layer described above, the communication volume for the proxy communication can be counted in the second communication device as the proxy communication device as shown in Fig. 9. According to the configuration of the present disclosure, as explained above, the proxy communication volume can be managed separately from the data volume of non-proxy communication, so that the substantial communication volume in each vehicle-mounted communication device 1 can be finally identified regardless of which layer the communication volume is counted at.

[0140] Incidentally, whether or not proxy communication is available may be set in advance for each application 81, in other words, for each type of data communication. For example, applications with a strong entertainment value, such as motion viewing, music playback, and web browsing, or applications with a high level of privacy and low level of urgency, may be set to be unable to use proxy communication. On the other hand, data related to a vehicle model and data with a high level of public value may be set to be able to use proxy communication. Data related to a vehicle model refers to information on the installed ECU and information on the in-vehicle communication device 1, etc. Information on the ECU / in-vehicle communication device 1 refers to some or all of the model number, ID, grade, release year (generation), etc. Data with a high level of public value is, in other words, data that is also useful to third parties, and for example, probe data is assumed. The concept of probe data can include driving trajectories, traffic information, road surface information, etc. The probe data may be observation data on dynamic map elements such as accident vehicles, parked vehicles, fallen objects, traffic regulations, and congested sections. The probe data may be data indicating vehicle behavior such as the operating speed of the wipers at each point, information on the points where lane changes have been made, information on the points where sudden braking has been made, etc. The probe data may be broadly understood as data for creating a static map or a dynamic map.

[0141] According to the above-described configuration in which the availability of proxy communication is set for each application / data type, it is possible to reduce the risk that proxy communication of low-urgency communications will result in a shortage of wireless resources for vehicle-to-vehicle communication and an increase in the processing load of each in-vehicle communication device 1. Note that the applications / data communications for which proxy communication is available and the applications / data communications for which proxy communication is prohibited may be set in advance, or may be configured to be changeable based on an external instruction from the relay server 5 or the like or a user operation.

[0142] In the above, the relay server 5 is a server that relays communication and manages communication volume, but the present invention is not limited to this. The relay server 5 itself may be configured as a type of application server 4 that performs processing corresponding to a predetermined application 81. The function of the relay server 5 may be provided representatively by any one application server 4, or may be provided by each application server 4.

[0143] <Additional remarks (1)> The present disclosure also includes the following configurations / methods.

[0144] [Configuration (1)] The system includes a plurality of communication devices configured to be capable of implementing cellular communication and vehicle-to-vehicle communication, each of which is used in a different vehicle, and a relay server that relays data communication between the communication devices and an arbitrary application server and manages the amount of data communication for each communication device, A vehicle communication system in which each of a plurality of communication devices, when receiving a request for proxy communication from another communication device, works with a relay server to set up a route for the proxy communication, and the relay server is configured to manage the communication volume for the communication device itself and the communication volume for the proxy communication separately based on the route setting information. [Method (1)] A communication traffic management method implemented in cooperation between a plurality of communication devices (1) configured to be capable of performing cellular communication and vehicle-to-vehicle communication and used in different vehicles, and a relay server (5) that relays data communication between the communication devices and an application server and manages the data traffic of each communication device, comprising: The communication device relays data communication between the other device and the application server as a proxy communication based on a request from the other device, which is another communication device; When the communication device performs proxy communication, the communication device performs cellular communication using a port for the proxy communication that is not used by another device or the communication device itself as a requester of the proxy communication during normal communication other than the proxy communication; The communication device notifies the relay server of a port number for the proxy communication; The relay server manages the amount of data of proxy communication separately from the amount of data communication that is not proxy communication, based on the number of the port used for communication.

[0145] <Additional remarks (2)> The device, system, and method thereof described in the present disclosure may be realized by a dedicated computer that configures a processor programmed to execute one or more functions embodied by a computer program. The device and method described in the present disclosure may also be realized using a dedicated hardware logic circuit. The device and method described in the present disclosure may also be realized by one or more dedicated computers configured by a combination of a processor that executes a computer program and one or more hardware logic circuits. The computer program may also be stored in a computer-readable non-transient tangible recording medium as instructions executed by a computer. That is, for example, the means and / or functions provided by the in-vehicle communication device 1, etc. can be provided by software recorded in a substantial memory device and a computer that executes the software, software only, hardware only, or a combination thereof. The in-vehicle communication device 1 may be realized by using any one of a CPU, an MPU, a GPU, and a DFP (Data Flow Processor), or by using a combination of a plurality of them.

[0146] Some of the functions of the in-vehicle communication device 1 may be realized using a system-on-chip (SoC), a field-programmable gate array (FPGA), or an application specific integrated circuit (ASIC). Various programs may be stored in a non-transitive tangible storage medium. Various storage media such as a hard-disk drive (HDD), a solid-state drive (SSD), a flash memory, and a secure digital (SD) card may be used as a storage medium for the programs. The same applies to the configuration of the relay server 5. The scope of the present disclosure also includes a communication control method implemented by each device constituting the vehicle communication system 100, a program for causing a computer to function as the in-vehicle communication device 1, and a non-transitive tangible storage medium such as a semiconductor memory on which the program is recorded. The scope of the present disclosure also includes a program for causing a computer to function as the relay server 5 and a non-transitive tangible storage medium such as a semiconductor memory on which the program is recorded. [Explanation of symbols]

[0147] 1 Vehicle-mounted communication device (vehicle communication device), 1A first communication device, 1B second communication device, 2 cellular base station, 3 core network, 4 application server, 5 relay server, 6 Wi-Fi base station, 8 ECU, 11 processing unit, 12 RAM, 13 storage, 52 processor, 53 RAM, 54 storage, 81 application, 82 ACP client, F1 in-vehicle communication unit, F2 wireless communication unit, F3 communication control unit, F21 cellular communication unit, F22 Wi-Fi communication unit, F23 vehicle-to-vehicle communication unit, F31 route characteristic acquisition unit, M1 index holding unit, F32 margin evaluation unit, F33 route setting unit, F34 port management unit, F35 proxy processing unit

Claims

1. A plurality of communication devices (1) configured to perform cellular communication, which is wireless communication via a cellular base station, and vehicle-to-vehicle communication, and used in different vehicles; a relay server (5) that relays data communication between the communication device and an application server and manages the amount of data communication for each of the communication devices; Each of the plurality of communication devices a proxy processing unit (F35) for relaying data communication between the other device and the application server as proxy communication based on a request from the other device, which is another communication device; When the proxy communication is performed, the cellular communication is performed using a port for the proxy communication that is not used by the other device or the own device as a requester of the proxy communication during normal communication other than the proxy communication; notifying the relay server of a port number for the proxy communication; The relay server includes: A vehicle communication system configured to manage the amount of data for the proxy communication separately from the amount of data communication other than the proxy communication, based on the number of a port used for communication.

2. 2. The vehicle communication system according to claim 1, When the proxy processing unit performs the proxy communication based on a request from the other device, receiving data to be transferred from the other device through the vehicle-to-vehicle communication; and transmitting the data received from the other device via the vehicle-to-vehicle communication to the application server via the cellular communication using a port for the proxy communication.

3. 3. The vehicle communication system according to claim 1, When the proxy processing unit performs the proxy communication based on a request from the other device, receiving data to be transferred from the application server through the cellular communication using a port for the proxy communication; and transferring the data received from the application server via the cellular communication to the other device as the request source via the vehicle-to-vehicle communication.

4. 4. A vehicle communication system according to claim 1, The vehicle communication system, wherein the proxy processing unit is configured to use a port that is not in use by the request source as a port for the proxy communication.

5. 5. A vehicle communication system according to claim 1, The data exchanged in the vehicle-to-vehicle communication includes a MAC header, which is a data field indicating MAC addresses of a source and a destination, and an IP header, which is a data field indicating IP addresses of a source and a destination, The proxy processing unit is configured to perform a transfer process as the proxy communication by rewriting a MAC header without rewriting an IP header.

6. 6. A vehicle communication system according to claim 1, The plurality of communication devices are configured to share with each other communication states of cellular lines available to the respective communication devices through the vehicle-to-vehicle communication, The proxy processing unit is configured to determine whether or not to request the proxy communication from the other device by comparing the communication state of a cellular line available to the vehicle with the communication state of a cellular line available to the other device.

7. 7. The vehicle communication system according to claim 6, The communication state includes a communication speed, The proxy processing unit is configured to request the other device to perform the proxy communication when the communication speed of a cellular line available to the other device is greater than the communication speed of a cellular line available to the vehicle itself by a predetermined value or more.

8. A vehicle communication system according to any one of claims 1 to 7, When the proxy processing unit receives a request for the proxy communication from another device, the proxy processing unit determines whether or not to undertake the proxy communication based on a communication state of a cellular line available to the device itself; The vehicle communication system is configured to wirelessly transmit the result of the determination to the request source.

9. 9. The vehicle communication system according to claim 8, The request source notifies the request destination of the amount of data to be transmitted in the proxy communication; the proxy processing unit determines whether the amount of data notified by the request source can be transmitted within a predetermined time based on a communication state of a cellular line available to the device itself; If it is determined that the amount of data notified by the request source cannot be transmitted within the predetermined time, the vehicle communication system transmits a response to the request source indicating that the proxy communication will not be undertaken.

10. A relay server that relays data communication between a communication device used in a vehicle and an application server and manages the amount of data communication for each communication device, When the communication device is to act as a proxy for data communication between another device, which is the other communication device, and the application server, acquiring a port number for proxy communication from the communication device; The relay server is configured to manage the amount of data of the proxy communication separately from the amount of data communication other than the proxy communication, based on the number of the port used for the data communication.

11. A vehicle communication device configured to be capable of performing cellular communication, which is wireless communication via a cellular base station, and vehicle-to-vehicle communication, The communication between the vehicular communication device and an arbitrary external device is performed via a predetermined relay server having a function of managing a communication amount of the vehicular communication device, a proxy processing unit (F35) that relays data communication between the other device and the external device by using both the inter-vehicle communication and the cellular communication as proxy communication based on a request from the other device that is the other vehicle communication device; When performing the proxy communication, the proxy processing unit communicates with the external device using a port for the proxy communication that is not used by the other device or the device itself as a requester of the proxy communication during normal communication other than the proxy communication; and notifying the relay server of a port number for the proxy communication.

Citation Information

Patent Citations

  • Billing via user-deployed relays

    JP2015522965A

  • Vehicle external communication system

    JP2020162031A

  • Method and apparatus for controlling relay traffic in wireless communication system supporting d2d communication

    US20180124633A1

  • Base station, data communication traffic volume management device, data communication traffic volume reporting method and data communication traffic volume acquisition method

    WO2017022388A1