The present invention relates to a communication device, a communication method, and a computer-readable storage medium, and more particularly, to a data transmission control technique.
Vehicle-to-Everything (V2X) communication, by which a vehicle communicates wirelessly with another vehicle or an object, enables the vehicle to acquire various types of information or to provide information to others. When a vehicle transmits data to a device such as a server on the Internet or a network that has been constructed by a service provider, the vehicle has to connect to a predetermined communication device such as, for example, a base station or an access point through which the vehicle is capable of connecting to the network. However, vehicles are not always in an environment where the connection to such a predetermined communication device is executable. For this reason, it is supposed that a vehicle communicates with a predetermined communication device through, for example, another vehicle capable of connecting to such a predetermined communication device. Japanese Patent Laid-Open No. 2017-184051 describes a configuration for connecting between vehicles to transfer data to a predetermined node. In Japanese Patent Laid-Open No. 2017-184051, a vehicle close to the predetermined node is identified by communication between the vehicles, and data is transferred to the vehicle close to the predetermined node.
By establishing a connection with another communication device that is a communication partner before transferring data, a communication device becomes capable of performing a large volume of data communication. However, in a case where the communication device and another communication device are vehicles, it is also supposed that the communication environment is not stable because these vehicles move, and it is not possible to establish a connection. In addition, a communication environment from another communication device to a predetermined communication device such as a base station or an access point is not always stable. Hence, even though a connection between the communication device and another communication device can be established, the communication environment between such another communication device and the predetermined communication device may not be stable. In this case, another communication device may not be capable of accepting a connection request that presupposes relaying. In this manner, depending on the environment of the communication device or another communication device that performs relay transmission, the communication device cannot establish a connection or transfer data due to a change of the communication environment or the like, and convenience of communication may be degraded.
The present invention provides a technique for improving convenience of communication.
A communication device according to one aspect of the present invention is a communication device comprising: a performing unit configured to perform connection establishment processing with another communication device that relays communication with a predetermined communication device, wherein when transmitting a request for a connection to the another communication device, the performing unit transmits, to the another communication device, together with the request, first data that is a part of data to be transmitted to the predetermined communication device and information indicating a condition for the another communication device to discard the first data.
Further features of the present invention will become apparent from the following description of exemplary embodiments with reference to the attached drawings.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the invention and, together with the description, serve to explain principles of the invention.
Hereinafter, embodiments will be described in detail with reference to the attached drawings. Note, the following embodiments are not intended to limit the scope of the claimed invention, and limitation is not made to an invention that requires a combination of all features described in the embodiments. Two or more of the multiple features described in the embodiments may be combined as appropriate. Furthermore, the same reference numerals are given to the same or similar configurations, and redundant description thereof is omitted.
By using the second communication method, the vehicles 111 to 114 are capable of performing, for example, not only vehicle-to-vehicle communication but also communication with another device such as, for example, an access point of a wireless LAN. In one example, it is assumed that the vehicle 112 is present in a location where it is possible to communicate with another device 121 is fixed and is for a communication method other than the cellular communication method. In addition, the vehicle 113 and the vehicle 114 are also capable of connecting to and communicating with surrounding devices depending on their locations. Note that
By performing cellular communication with the base station 101, the vehicles 111 to 114 are capable of transmitting, for example, information that has been acquired by sensors of the respective vehicles to a device such as a predetermined information processing server. The information processing server is capable of performing various types of processing such as control for automated driving with this information. In addition, by performing the cellular communication with the base station 101, the vehicles 111 to 114 are capable of acquiring various types of information such as driving control information and service information in accordance with the locations of the vehicles from a server that holds, for example, predetermined information. On the other hand, in an environment in which a large number of vehicles communicate in parallel, the communication capacity that can be provided by the base station 101 may be insufficient. For this reason, in the present embodiment, for example, the communication of the communication device (for example, the vehicle 112) connectable to the device 121 in a communication method, which is different from the cellular communication method, is performed with the device 121 so as to offload the communication. In addition, communication of the vehicle 111 is offloaded to another device through the other vehicles 112 to 114. Note that communication of the vehicle 113 and the vehicle 114 can be similarly offloaded through another vehicle or another device.
Here, focusing on the vehicle 111, the vehicle 111 can establish a connection with a vehicle in the surroundings and communicate with a predetermined communication device such as a server on the Internet through the connection. For this purpose, the vehicle 111 transmits a connection request for requesting another vehicle in the surroundings to relay the communication, and establishes a connection. At this time, the vehicle 111 can, for example, establish a connection with another vehicle having good wireless quality of communication with the vehicle 111 in the second communication method. However, even though the vehicle 111 performs connection establishment processing with the vehicle 112, for example, in a case where the vehicle 111 and the vehicle 112 are moving together, the communication environment may greatly change over time, and the connection cannot be established, in some cases. In such cases, when the vehicle 111 has to transmit data, it is not possible to establish a connection with another vehicle (for example, the vehicle 112), and it is not possible to transmit the data. In one example, in a case of controlling the vehicle, based on the data to be transmitted, it may not be possible to conduct such control, if it is not possible to transmit such data at all. For this reason, it is important to avoid a situation in which it is impossible to transmit data at all, as much as possible.
On the other hand, by the vehicle 111 transmitting data without establishing a connection, there can remain a possibility that a predetermined communication device can receive the data. However, in this case, when the vehicle 111 always transmits data without establishing a connection, the vehicle 111 does not establish a connection even in a state of being capable of establishing the connection. Hence, for example, when transmitting a large amount of data, it is not possible to communicate with sufficient frequency use efficiency. In contrast, when the vehicle 111 attempts to establish a connection but fails, the vehicle 111 is capable of transmitting data without establishing a connection. However, in this case, the time until data transmission is prolonged.
In the present embodiment, in consideration of such circumstances, in connection establishment processing with another vehicle (for example, the vehicle 112) that relays communication with a predetermined communication device such as a server on the Internet, when the vehicle 111 transmits a connection request to such another vehicle, the vehicle 111 transmits first data that is a part of transmission object data together with the request. Here, the first data includes at least information identifying a predetermined communication device as a destination and user data to be delivered to such a predetermined communication device. Then, when the connection establishment processing with another vehicle is successful, the vehicle 111 transmits second data different from the first data out of the transmission object data through the established connection to such another vehicle with which the connection has been established. Note that when the connection establishment processing with another vehicle fails, the vehicle 111 does not transmit the second data. According to this, the vehicle 111 is capable of transmitting, for example, a part of transmission object data that necessitates a real-time property in a state in which the connection is not established. When the connection is successfully established, the vehicle 111 is capable of transmitting the other part of the transmission object data that does not necessitate the real-time property through the established connection. According to this, the vehicle 111 is capable of using communication in a state in which the connection is not established and communication in a state in which the connection is established in an integrated manner, and is capable of promptly transmitting a small amount of data in a state where the connection cannot be established, and transmitting, for example, all of the transmission object data in high-speed and large-capacity communication in a state in which the connection can be established. Note that another vehicle can refuse the connection request from the vehicle 111, for example, in a case of not being in a situation capable of communicating with the predetermined communication device (for example, it is present outside a communicable range of the device 121). However, in such an occasion, such another vehicle receives the first data. In this case, such another vehicle that has received the first data can transmit the first data to the predetermined communication device in accordance with a situation in which data transmission to the predetermined communication device is executable.
Note that when transmitting the connection request, the vehicle 111 can further transmit the first data and information indicating a condition for another vehicle that has received the request to discard the first data. That is, a long time can elapse in a state in which another vehicle that has received the first data from the vehicle 111 does not become capable of transmitting the first data to the predetermined communication device. In this case, in another vehicle, data that is continuously held while being unable to transmit it can waste the storage capacity. In addition, even though the data that has been transmitted by the vehicle 111 becomes obsolete within a short period of time and arrives at a predetermined communication device after the time lapses, it can be supposed that the data is no longer useful. In consideration of such circumstances, the information indicating the condition includes, for example, information indicating expiration. Then, another vehicle that has received the first data discards the first data, based on the fact that the expiration has elapsed while being unable to transmit the first data. Note that the information indicating the expiration may be indicated by, for example, an elapsed time from a timing when the first data is transmitted, or may be indicated by information of a time counted by an internal clock. In addition, the information indicating the condition may include, for example, information indicating a geographical range. In this case, another vehicle that has received the first data can discard the first data, in a case of having moved beyond its geographic range while being unable to transmit the first data. Note that the information indicating these conditions may be used in combination. In addition, the vehicle 111 may transmit information indicating still another condition. The information indicating these conditions can prevent another vehicle from continuously holding the first data.
In one example, the vehicle 111 can perform the connection establishment processing for each of one or more other vehicles (another communication device) capable of relaying communication with a predetermined communication device. In this situation, for example, the vehicle 111 sequentially transmits a connection establishment request to each of other vehicles present in the surroundings. In this situation, in a case where there are a plurality of other vehicles to which a connection has not been attempted, the vehicle 111 can try not to transmit the first data or the information regarding the condition for discarding the first data. That is, in a case where there is only one another vehicle to which the connection has not been attempted, the vehicle 111 can transmit the first data and the information regarding the condition for discarding the first data together with the connection establishment request. In the other cases, the vehicle 111 can try not to transmit the first data or the information regarding the condition. For example, in a case where there is only one another vehicle capable of relaying the communication with a predetermined communication device in the surroundings, the vehicle 111 can transmit the connection request, the first data, and the information regarding the condition for discarding the first data to such another vehicle. On the other hand, for example, in a case where there are two other vehicles capable of relaying the communication with the predetermined communication device in the surroundings, the vehicle 111 transmits only a connection request to a first another vehicle. In a case where the connection request is rejected by the first another vehicle, the vehicle transmits the first data and the information regarding the condition for discarding the first data to a second another vehicle, when transmitting a connection request. In this manner, in a case where there is a high possibility of being incapable of establishing a connection with any of the other vehicles, the vehicle 111 transmits a part of the transmission object data and the information regarding the condition for discarding the part of the data, when transmitting the connection request. According to this, in a state of being capable of establishing the connection, the vehicle 111 becomes capable of establishing the connection and communicating as much as possible. Note that, for example, when the vehicle 111 transmits the connection request to a predetermined number of other vehicles, but fails in the connection, and even though there are further two or more other vehicles capable of relaying the communication with a predetermined communication device, the vehicle 111 may transmit the first data and the information regarding the condition for discarding the first data, when transmitting a connection request next. That is, before performing the connection establishment processing with all the other vehicles, the vehicle 111 may transmit the first data and the like together with the connection request. In addition, the vehicle 111 may transmit the first data and the like together with the connection request, based on the elapse of a predetermined period from when the connection establishment processing starts first. According to this, in a case where a large number of other vehicles are present, a large number of connection establishment processing can be prevented from being performed unnecessarily.
Note that when receiving, from another vehicle, a rejection message to the connection request that has been transmitted together with the first data, the vehicle 111 can consider that such another vehicle has received the first data. That is, the rejection message is not transmitted in a situation in which another vehicle is incapable of interpreting a connection request message. Thus, it can be considered that the first data has been received, as long as the rejection message is transmitted. The vehicle 111 may transmit the first data and the like when transmitting the connection request, until the vehicle 111 receives the rejection message to the connection request that has been transmitted together with the first data.
Note that it is supposed that the vehicle 111 periodically transmits data for predetermined control, for example. In this case, the vehicle 111 can transmit such data to be periodically transmitted, as the first data described above. In this situation, another vehicle that has received the first data can transfer the first data to the predetermined communication device, in accordance with a situation in which data transmission to the predetermined communication device is executable. For this reason, for example, the first data that has been transmitted earlier may arrive at a predetermined communication device after another first data that has been transmitted later. Therefore, the vehicle 111 may transmit information (for example, a serial number) corresponding to an order of the first data, so that the data can be sorted in a time-series manner when the predetermined communication device receives a plurality of pieces of first data. According to this, it becomes possible for the predetermined communication device to appropriately rearrange and use the plurality of received first data, in a case where the first data has a meaning in a time-series manner.
Note that in the above example, the description has been given by focusing on the vehicle 111. However, the vehicle 112 to the vehicle 114 are also capable of performing similar processing, when requesting another device to transfer data. Hereinafter, configurations and operations of the vehicle 111 to the vehicle 114 that perform such processing will be described.
The connection establishment processing unit 301 performs processing for establishing a connection with another communication device (another vehicle) that relays communication between the self-device and a predetermined communication device such as a server on the Internet. The connection establishment processing unit 301 transmits, for example, a connection establishment request to another device, and establishes a connection, based on receiving a response indicating that the establishment request has been accepted by such another device. Note that this connection establishment processing is performed in a procedure defined in the communication standards for use between the self-device and another device. However, in the present embodiment, a procedure by the connection establishment processing unit 301 for transmitting a connection establishment request message to another device is included in the connection processing. Note that in one example, the connection establishment processing may include a procedure for transmitting a response message to a message such as a connection request from another device. That is, in the connection establishment processing, it is assumed that a procedure for transmitting some kind of message to another device that is a connection target is inevitably included. Note that some kind of message transmitted in the connection establishment processing can be handled in a similar manner to the connection establishment request described above. That is, a part of the transmission object data and the information regarding the condition for discarding such data can be transmitted together with any of the messages.
The data setting unit 302 sets data to be transmitted to another device. The data setting unit 302 selects and sets data to be actually transmitted to another device out of the transmission object data. In one example, the data setting unit 302 can select information to be transmitted to a predetermined communication device at an early stage, such as information for controlling the vehicle, as the data to be transmitted together with the connection request. Note that in this timing, the data setting unit 302 selects data having a size that does not exceed a predetermined size, as the data to be transmitted together with the connection request. That is, the data setting unit 302 selects partial data having the size that does not exceed the predetermined size from the transmission object data, as the data to be transmitted together with the connection request. Note that the data setting unit 302 may divide predetermined transmission object data, may generate data that does not exceed a plurality of predetermined sizes, and may transmit partial data obtained by the division in every connection request. Note that, for example, the data setting unit 302 may generate information by which the order is identifiable (for example, a serial number or time information) for the divided data having an order or a meaning, and may set the information as attached information of the data. In addition, when the connection with another device is established by the connection establishment processing unit 301, for example, the data setting unit 302 makes a setting to transmit, to such another device, data different from the partial data, which has been transmitted together with the connection request, out of the transmission object data. In one example, the data setting unit 302 can set all the data that has not been transmitted during connection request processing, as the data to be transmitted after the connection is established.
In a case where the partial data is transmitted together with the transmission of the connection request, the condition setting unit 303 sets information regarding a condition for discarding the partial data by another device that has received the partial data. The information regarding the condition can include, for example, information of expiration or information of a geographical range.
Note that various options and the like about the processing when the communication device makes the connection request have been described above, and are not repeated here.
Next, an example of a flow of processing performed in the wireless communication system will be described with reference to
Note that in
Thereafter, in
On the other hand, in
In
In one example, the vehicle 111 can transmit data for an application that necessitates the real-time property in a state in which the connection has not been established at the time of transmitting the connection request, and may transmit data for an application that does not necessitate the real-time property in a state in which the connection has been established. The vehicle 111 can, for example, transmit data that has been gathered by sensors for automated driving together with the connection request, and may transmit data that does not necessitate promptness, such as data for maintenance of the vehicle, after the connection has been established. In this manner, by determining whether to transmit without waiting for the connection establishment or to transmit after the connection is established, depending on the use application of the data, a service using communication can be provided for a vehicle in an efficient manner.
1. A communication device according to the present embodiments is:
According to this embodiment, even though the communication device fails in establishing a connection with a partner device that relays communication with a predetermined communication device, the communication device is capable of transmitting a part of the transmission object data to the partner device. Then, in a case where the partner device becomes capable of transmitting the part of the data to the predetermined communication device, the part of the data is transmitted, so that the communication from the communication device to the predetermined communication device can be completed. On the other hand, in a case where the partner device does not become capable of transmitting the data to the predetermined communication device, the partner device can discard the part of the data that has been received, based on the condition for discarding the data. Accordingly, it is possible to prevent the partner device from holding data over a long period of time, although data transmission to a predetermined communication device is not executable, and waste of the storage capacity can be prevented.
2. In the embodiment according to 1 above,
According to this embodiment, in a situation in which it is possible to establish a connection with the partner device, not only a part of the transmission object data but also all the transmission object data can be transmitted.
3. In the embodiment according to 2 above,
According to this embodiment, in an environment in which it is not possible to establish a connection with the partner device, for example, only the data that necessitates a real-time property can be transmitted. With regard to the data the transmission of which can be held, such as the data that does not have the real-time property, it can be transmitted at a later opportunity.
4. In the embodiment according to any one of 1 to 3 above,
According to this embodiment, in a case where there is no another device capable of relaying communication with a predetermined communication device, additional data is transmitted together with a connection request. Therefore, in a case where it is possible to establish a connection with another device that enables relaying, additional data can be prevented from being unnecessarily transmitted when a connection request is transmitted. Accordingly, degradation in frequency use efficiency can be suppressed.
5. In the embodiment according to 4 above,
According to this embodiment, in a case where there is a possibility of establishing a connection with another device that enables relaying, by giving priority to the establishment of a connection with the device, it is possible to prevent unnecessary transmission of additional data at the time of transmitting a connection request. Accordingly, degradation in frequency use efficiency can be suppressed.
6. In the embodiment according to 4 or 5 above,
According to this embodiment, in a case where it is not possible to establish a connection with another device that enables relaying, data is transmitted together with a connection request. Therefore, the frequency of becoming a state of transmitting the data can be suppressed while the connection is not established, and degradation in frequency use efficiency can be suppressed.
7. In the embodiment according to any one of 1 to 6 above,
According to this embodiment, in another communication device, data that has been received in addition to the connection request can be discarded after a lapse of a certain period of time. Therefore, it is possible to prevent the data from being continuously held while being unable to transmit the data to be addressed to a predetermined communication device.
8. In the embodiment according to any one of 1 to 7 above,
According to this embodiment, in another communication device, in a case of having moved beyond a predetermined range, the data that has been received can be discarded. Therefore, it is possible to prevent the data from being continuously held while being unable to transmit the data to be addressed to a predetermined communication device.
9. In the embodiment according to any one of 1 to 8 above,
According to this embodiment, when data having a meaning in its order is transmitted, it becomes possible for a receiver to identify in which order the data has been transmitted. That is, in another communication device, it is unknown at which timing such data is transmitted to a predetermined communication device. For this reason, in a case where a plurality of pieces of data are transmitted to another communication device at a plurality of transmission timings, and then are transferred to a predetermined communication device, the predetermined communication device is capable of sorting the pieces of data that have been received, in a time-series manner.
10. In the embodiment according to any one of 1 to 9 above,
According to this embodiment, for example, the communication device is capable of transmitting certain data to another vehicle while traveling, and is capable of causing the data to be transferred, when such another vehicle becomes capable of establishing a connection with a predetermined communication device.
11. A communication method according to the present embodiment is:
According to this embodiment, even though the communication device fails in establishing a connection with a partner device that relays communication with a predetermined communication device, the communication device is capable of transmitting a part of the transmission object data to the partner device. Then, in a case where the partner device becomes capable of transmitting the part of the data to the predetermined communication device, the part of the data is transmitted, so that the communication from the communication device to the predetermined communication device can be completed. On the other hand, in a case where the partner device does not become capable of transmitting the data to the predetermined communication device, the partner device can discard the part of the data that has been received, based on the condition for discarding the data. Accordingly, it is possible to prevent the partner device from holding data over a long period of time, although data transmission to a predetermined communication device is not executable, and waste of the storage capacity can be prevented.
12. A program according to the present embodiment is:
According to this embodiment, even though the communication device fails in establishing a connection with a partner device that relays communication with a predetermined communication device, the communication device is capable of transmitting a part of the transmission object data to the partner device. Then, in a case where the partner device becomes capable of transmitting the part of the data to the predetermined communication device, the part of the data is transmitted, so that the communication from the communication device to the predetermined communication device can be completed. On the other hand, in a case where the partner device does not become capable of transmitting the data to the predetermined communication device, the partner device can discard the part of the data that has been received, based on the condition for discarding the data. Accordingly, it is possible to prevent the partner device from holding data over a long period of time, although data transmission to a predetermined communication device is not executable, and waste of the storage capacity can be prevented.
While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
This application is a continuation of International Patent Application No. PCT/JP2021/006981 filed on Feb. 25, 2021, the entire disclosure of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2021/006981 | Feb 2021 | US |
Child | 18233544 | US |