Relay device and relay method

The relay device selects suitable relay resources based on header information and updates tables to accommodate various communication requests, addressing the limitation of requiring signaling in existing technologies.

JP7750105B2Active Publication Date: 2025-10-07DENSO CORP
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2022001915
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-01-07
Publication Date
2025-10-07
Estimated Expiration
2042-01-07

AI Technical Summary

Technical Problem

Existing relay technologies require signaling from the source device to determine the service type, limiting the ability to select suitable relay resources based on communication requests.

Method used

A relay device that acquires data from a source device, determines relay resources based on header information using a correspondence table, and updates the table to select resources without direct signaling from the source device.

Benefits of technology

Enables selection of relay resources suitable for communication requests without requiring signaling from the source device, enhancing flexibility and efficiency in data relay operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007750105000001
    Figure 0007750105000001
  • Figure 0007750105000002
    Figure 0007750105000002
  • Figure 0007750105000003
    Figure 0007750105000003
Patent Text Reader

Abstract

To provide a relay device capable of selecting a relay resource suitable for a communication request requested by a transmission source device without signaling.SOLUTION: A relay device 60 that acquires data from a transmission source device and transmits the acquired data to a destination device includes a storage unit 63 that stores a correspondence table in which header information and relay resources that realize communication request categories defined on the basis of the header information are associated, a data acquisition unit 71 that acquires data from the transmission source device, a relay resource determination unit 72 that determines a relay resource on the basis of the header information and the correspondence table included in the acquired data that is the data acquired by the data acquisition unit 71, and a data transmission unit 74 that transmits the acquired data to the destination device by the relay resource determined by the relay resource determination unit 72.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a relay device and a relay method for relaying data. [Background technology]

[0002] Patent Document 1 discloses a first terminal that communicates with a base station over a WWAN. The first terminal communicates with a second terminal over a WLAN, relaying communication between the second terminal and the base station. When the second terminal requests to join a multimedia service, the second terminal performs signaling, transmitting a request signaling message. The first terminal intercepts the request signaling message and determines the service type. [Prior art documents] [Patent documents]

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

[0004] In the technology disclosed in Patent Document 1, signaling is required to determine the service type. Therefore, if the source device does not perform signaling, the service type cannot be determined by applying the technology disclosed in Patent Document 1. Therefore, if the source device does not perform signaling, it is not possible to select relay resources according to the service type.

[0005] It is desirable for a relay device to select relay resources in accordance with various communication requests from a source device in addition to the service type. In the technology disclosed in Patent Document 1, if the source terminal does not perform signaling, it is not possible to select relay resources suitable for the communication request from the source device.

[0006] The present disclosure has been made based on this situation, and its purpose is to provide a relay device and a relay method that can select relay resources suitable for a communication request made by a source device even without signaling. [Means for solving the problem]

[0007] The above object is achieved by the combination of features recited in the independent claims, and the subclaims define further advantageous specific examples. The reference numerals in parentheses in the claims correspond to specific aspects described in the following embodiments as one aspect, and do not limit the technical scope of the disclosure.

[0008] One disclosure relating to a relay device for achieving the above object is: A relay device that acquires data from a source device and transmits the acquired data to a destination device, a storage unit (63) for storing a correspondence table in which header information is associated with relay resources that realize communication request categories defined based on the header information; a data acquisition unit (71) that acquires data from a transmission source device; a relay resource determination unit (72) that determines a relay resource based on header information and a correspondence table included in the acquired data, which is data acquired by the data acquisition unit; a data transmission unit (74) that transmits the acquired data to the destination device using the relay resource determined by the relay resource determination unit; 、 The storage unit stores, in addition to the correspondence table, a source table in which communication request categories are defined for each piece of header information, and a relay resource table in which communication request categories are associated with relay resources; The communication device further includes a correspondence table update unit (73) for determining a communication request category of the acquired data by referring to header information included in the acquired data and a transmission source table, determining a relay resource by referring to the determined communication request category and a relay resource table, creating a correspondence entry indicating a correspondence between the determined relay resource and the header information included in the acquired data, and adding the created correspondence entry to the correspondence table. It is a relay device.

[0009] When this relay device acquires data from a source device, it determines relay resources by referring to the header information included in the acquired data and the correspondence table. The correspondence table associates header information with relay resources that realize communication request categories defined based on the header information. Therefore, by determining relay resources based on the header information and the correspondence table, it is possible to select relay resources according to the communication request category requested by the acquired data. Since relay resources are determined in this manner, the relay device can select relay resources according to the communication request even without signaling from the source device.

[0010] One disclosure relating to a relay method for achieving the above object is: Acquires data from a source device and transmits the acquired data to a destination device Executed by the relay device A relay method, comprising: Acquire data from the source device (S2), determining a relay resource based on a correspondence table in which header information is associated with a relay resource that realizes a communication request category defined based on the header information, and based on the header information included in the acquired data (S5); The acquired data is transmitted to the destination device using the determined relay resource. death (S6, S7 )、 determining a communication request category for the acquired data by referring to header information included in the acquired data and a transmission source table in which communication request categories are defined for each header information; determining a relay resource by referring to the determined communication request category and a relay resource table in which the communication request category and the relay resource are associated with each other; This is a relay method in which a correspondence entry indicating the correspondence between the determined relay resource and the header information included in the acquired data is created, and the created correspondence entry is added to the correspondence table. [Brief explanation of the drawings]

[0011] [Figure 1] 1 is a diagram showing the overall configuration of a communication system according to a first embodiment. [Figure 2] FIG. 2 is a diagram showing the configuration of a relay device. [Figure 3] FIG. 10 is a diagram showing an example of a source table. [Figure 4] FIG. 10 is a diagram showing an example of a relay resource table. [Figure 5] FIG. 10 is a diagram showing an example of a correspondence table. [Figure 6] FIG. 4 is a diagram showing the flow of processing executed by a control unit. [Figure 7] FIG. 7 is a diagram showing detailed processing of S4 in FIG. 6. [Figure 8] FIG. 10 is a diagram showing the overall configuration of a communication system according to a second embodiment. [Figure 9] FIG. 10 is a diagram showing an example of a source table stored in a storage unit in the second embodiment. [Figure 10] FIG. 11 is a diagram showing an example of a relay resource table stored in a storage unit in the second embodiment. [Figure 11] FIG. 10 is a diagram showing an example of a correspondence table stored in a storage unit in the second embodiment. [Figure 12] FIG. 10 is a diagram showing the overall configuration of a communication system according to a third embodiment. [Figure 13] FIG. 3 shows the configuration of a relay device 360. [Figure 14] FIG. 11 is a diagram showing an example of a source table stored in a storage unit in the third embodiment. [Figure 15] FIG. 11 is a diagram showing an example of a relay resource table stored in a storage unit in the third embodiment. [Figure 16] FIG. 11 is a diagram showing an example of a correspondence table stored in a storage unit in the third embodiment. [Figure 17] FIG. 10 shows an overall configuration diagram of a communication system according to a fourth embodiment. [Figure 18] FIG. 13 is a diagram showing an example of a source table stored in a storage unit in the fourth embodiment. [Figure 19] FIG. 13 is a diagram showing an example of a relay resource table stored in a storage unit in the fourth embodiment. [Figure 20] FIG. 13 is a diagram showing an example of a correspondence table stored in a storage unit in the fourth embodiment. [Figure 21] FIG. 10 shows an overall configuration diagram of a communication system according to a fifth embodiment. [Figure 22] FIG. 13 is a diagram showing an example of a source table stored in a storage unit in the fifth embodiment. [Figure 23] FIG. 13 is a diagram showing an example of a relay resource table stored in a storage unit in the fifth embodiment. [Figure 24] FIG. 13 is a diagram showing an example of a correspondence table stored in a storage unit in the fifth embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0012] First Embodiment [Overall structure] Hereinafter, embodiments will be described with reference to the drawings. Fig. 1 shows the overall configuration of a communication system 10 including a relay device 60 according to a first embodiment. This communication system 10 is a system in which a terminal 20 and a server 30 communicate with each other via a WAN (Wide Area Network) 40 and a LAN (Local Area Network) 50.

[0013] In this embodiment, the terminal 20 is a mobile terminal. The terminal 20 is, for example, a smartphone. However, the terminal 20 may also be a terminal whose location is fixed. The terminal 20 communicates wirelessly with a relay device 60 provided in the LAN 50. To the relay device 60, the terminal 20 is the source of data, i.e., the source device. The server 30 is the destination device. The data transmitted by the terminal 20 is written in accordance with a predetermined protocol and includes a header section in which header information is written and a data body. The data body is sometimes called a payload.

[0014] The server 30 is connected to the WAN 40. The data that the server 30 communicates with the terminal 20 is, for example, application data that the server 30 provides to the terminal 20.

[0015] The WAN 40 is a network that communicates based on global IP addresses. Only one WAN 40 is shown in FIG. 1. However, the communication system 10 may include multiple WANs 40. When multiple WANs 40 are present, the multiple WANs 40 are connected to each other so that they can communicate with each other.

[0016] The management information entity 41 is a management device that manages the resources of the WAN 40, and is operated by an administrator who manages the WAN 40. When there are multiple WANs 40, it is preferable that a management information entity 41 is provided for each WAN 40. The management information entity 41 manages the resources of the multiple WANs 40 separately.

[0017] The LAN 50 is a network that communicates based on private IP addresses. The LAN 50 is, for example, a wireless LAN that communicates wirelessly. However, the LAN 50 may also be a wired LAN, or a combination of a wireless LAN and a wired LAN.

[0018] The relay device 60 communicates with the terminal 20 via the LAN 50. The relay device 60 also has a global IP address, is connected to the WAN 40, and relays communication between the terminal 20 and the server 30.

[0019] [Configuration of relay device 60] FIG. 2 shows the configuration of the relay device 60. The relay device 60 includes a wireless communication unit 61, a wired communication unit 62, a storage unit 63, and a control unit 70. The wireless communication unit 61 includes a wireless communication circuit, an antenna, etc., and communicates with the terminal 20 connected to the LAN 50. The wireless communication unit 61 receives data transmitted as a wireless signal from the terminal 20. The data is transmitted in a predetermined transmission unit. One transmission unit of data is sometimes called a packet. The wireless communication method used between the wireless communication unit 61 and the terminal 20 can be, for example, a short-range wireless communication method such as the method defined by IEEE802.11.

[0020] The wired communication unit 62 is connected to the WAN 40 by wire and communicates with other devices (for example, the server 30) connected to the WAN 40. The wired communication unit 62 can also be called a wide area communication unit because it connects to the WAN 40 and communicates.

[0021] The storage unit 63 stores various types of information in a rewritable state. A flash memory can be used for the storage unit 63. The storage unit 63 stores a source table, a relay resource table, and a correspondence table, which will be described below.

[0022] An example of the source table is shown in Figure 3. The source table is a table in which header information included in data sent by terminal 20, which is the source device, is associated with a communication request category. In Figure 3, "Src addr" is the source address and "Dst addr" is the destination address. The source address is a private IP address, and the destination address is a global IP address. These IP addresses are stored in the IP header. "any" means arbitrary. However, if there is another matching entry, the matching entry takes precedence. Note that an entry refers to each row included in the table. The protocol "rtp" stands for Real-time Transport Protocol, a protocol for transferring audio and video in real time.

[0023] In the following, entries in the source table will be referred to as source entries. This is to distinguish them from entries in the relay resource table (Fig. 4) and entries in the correspondence table (Fig. 5). Entries in the relay resource table will be referred to as relay resource entries, and entries in the correspondence table will be referred to as correspondence entries.

[0024] 3, three types of header information are defined: source address, destination address, and protocol. However, five types of header information, i.e., a 5-tuple, namely, source address, source port, destination address, destination port, and protocol, may be defined. Also, any one to four types of header information may be defined among these five types.

[0025] The communication requirement category is a category that a source device requests when communicating data, and specifies some category related to communication. In the source table shown in Figure 3, QoS classes are specified as communication requirement categories. QoS classes are specified by numerical values. The numerical values ​​indicated by QoS classes do not indicate higher or lower ranks, but indicate classifications. Therefore, QoS classes can also be called QoS classifications.

[0026] An example of the relay resource table is shown in Fig. 4. The relay resource table shown in Fig. 4 includes relay resource entries for QoS classes 1 to 4 as communication request classifications. The relay resource table only needs to include relay resource entries corresponding to the communication request classifications in the source table, and may also include relay resource entries for communication request classifications that are not in the source table.

[0027] The "communication conversion process" in the relay resource table defines the conversion process to be performed. The "identification resource" in the relay resource table is information for distinguishing network resources.

[0028] The first relay resource entry specifies a QoS class of 1. "NAPT efgh," specified as the communication conversion process performed by QoS class "1," specifies that NAPT will be implemented and that the source address will be converted to the global IP address "efgh." NAPT stands for Network Address Port Translation, and is the process of converting an IP address and port number into a different IP address and port number. The port number after conversion is specified in the "identification resource." Ports 50001-51000 mean that port numbers in this range can be used.

[0029] The second relay resource entry uses NAT as the communication conversion process. NAT stands for Network Address Translation, and is the process of converting an IP address into another IP address. The converted IP address is specified in the identification resource as "IP address ijk1-3." This IP address is a global IP address. "ijk1-3" is a global IP address used by a public network different from "efgh" that has inferior communication quality to the public network that uses "efgh." A public network that uses "ijk1-3" is, for example, a public wireless LAN or an MVNO (Mobile Virtual Network Operator). The first and second relay resource entries in the relay resource table specify the communication quality classification as the communication requirement classification.

[0030] The third relay resource entry has the communication conversion process set to "Tunnel on efgh." This specifies that tunneling will be performed and the source address will be converted to the global IP address efgh. The identification resource of the third relay resource entry is the tunnel server address. This means that the destination address sent by tunneling will be the specified tunnel server address.

[0031] The communication conversion process for the fourth relay resource entry is "Tunnel on efgh / ijkl." "ijkl" is also a global IP address. "ijkl" is a global IP address that uses a different public network than "efgh." The meaning of the communication conversion process for the fourth relay resource entry is that of the two global IP addresses, the one with the better dynamically changing communication quality at the time of data relay will be used. The meaning of the identification resource for the fourth relay resource entry is the same as for the third relay resource entry.

[0032] An example of the correspondence table is shown in FIG. 5. The correspondence table shown in FIG. 5 is a table that converts a source address from a private IP address to a global IP address. In the example of FIG. 5, only the first correspondence entry exists. This correspondence table is a table created from the source table and the relay resource table. More specifically, each correspondence entry is created by linking a source entry and a relay resource entry based on the same communication request category contained in each entry. The correspondence table created in this way is a table in which header information is associated with relay resources that realize the communication request category defined based on the header information. The specific order in which the correspondence table is created will be described later.

[0033] Returning to FIG. 2 for explanation, the control unit 70 can be realized by a configuration including at least one processor. For example, the control unit 70 can be realized by a computer including a processor, nonvolatile memory, RAM, I / O, and a bus line connecting these components. A relay program for operating a general-purpose computer as the control unit 70 is stored in the nonvolatile memory. The processor executes the program stored in the nonvolatile memory while utilizing the temporary storage function of the RAM. As a result, the control unit 70 operates as a data acquisition unit 71, a relay resource determination unit 72, a correspondence table update unit 73, a data transmission unit 74, a relay resource table update unit 75, and a transmission source table update unit 76. Execution of these operations means that a relay method corresponding to the relay program is being executed.

[0034] The data acquisition unit 71 acquires data transmitted by the terminal 20 and received by the wireless communication unit 61 from the wireless communication unit 61. Hereinafter, the data acquired by the data acquisition unit 71 will be referred to as acquired data.

[0035] The relay resource determination unit 72 determines relay resources based on the header information included in the acquired data and the correspondence table. The header information includes a source address, a destination address, and a protocol in the IP header. In addition, a higher layer header, such as a TCP header, may include one or both of a source port and a destination port.

[0036] Here, let us assume that the source address, source port, destination address, and protocol written in the header of the acquired data are "1.0.0.1," "62000," "abc1," and "TCP," respectively. If there is an entry in the correspondence table that corresponds to this header information, the relay resource included in the same entry in the correspondence table as the header information of the acquired data is determined to be the relay resource that transmits the acquired data.

[0037] If the header information of the acquired data is not in the correspondence table, the correspondence table update unit 73 creates a correspondence entry including the header information of the acquired data and adds the created correspondence entry to the correspondence table. When the correspondence table update unit 73 adds a correspondence entry to the correspondence table, i.e., updates the correspondence table, the relay resource determination unit 72 determines a relay resource by referring to the updated correspondence table.

[0038] As described above, when the header information of the acquired data is not present in the correspondence table, the correspondence table update unit 73 creates a correspondence entry including the header information of the acquired data and adds the created correspondence entry to the correspondence table. The processing executed by the correspondence table update unit 73 will be described later with reference to FIG. 7.

[0039] The data transmitting unit 74 uses the relay resource determined by the relay resource determining unit 72 to transmit the acquired data to the destination address.

[0040] The relay resource table update unit 75 updates the relay resource table shown in Fig. 4. The communication conversion processes and identification resources defined in each relay resource entry that constitutes the relay resource table are communication conversion processes and identification resources that can be provided by the management information entity 41 that manages the relay resources. The relay resource table update unit 75 can acquire information indicating the relay resources that can be provided from the management information entity 41. The relay resources refer to network resources used when transmitting data from the relay device 60 to a destination address.

[0041] There may be a plurality of management information entities 41, since a plurality of relay resources may be different WANs 40 from each other.

[0042] The relay resource table update unit 75 creates a relay resource entry by adding a predetermined communication request category determined based on the relay resource to the relay resource acquired from the management information entity 41. Then, the created relay resource entry is added to the relay resource table. When there is a change in the relay resources that the management information entity 41 can provide, the management information entity 41 can transmit information indicating the relay resources that it can provide to the relay device 60.

[0043] Alternatively, the relay device 60 may request the management information entity 41 to provide additional relay resources, and in response to the request, the management information entity 41 may transmit information indicating the relay resources that it can provide to the relay device 60. The relay device 60 may request the management information entity 41 to provide additional relay resources if the relay device 60 predicts that the relay resources included in the relay resource table will be insufficient. For example, when 90% of the ports assigned by the management information entity 41 have been used, the relay device 60 predicts that the relay resources will be insufficient.

[0044] A user who operates the relay device 60 may inquire of an administrator who manages the management information entity 41, or may be able to learn about relay resources that the relay device 60 can use from information that the administrator has made public on the Internet, etc. Therefore, the relay resource table update unit 75 also adds relay resource entries determined by user input operations to the relay resource table.

[0045] When source table update unit 76 is provided with source update information for updating the source table, it updates the source table based on the source update information. The source update information is information including header information and a communication request category. The source table is a table that associates data transmitted by terminal 20, which is a source device, with a requested communication category (i.e., a communication request category), such as a category of requested communication quality. Therefore, the source update information may be provided by terminal 20 or a management device that manages terminal 20. The user that manages relay device 60 may also input the source update information. The source table update unit 76 can also add a source resource entry determined based on a user's input operation to the source table.

[0046] [Flow of processing executed by the control unit 70] Fig. 6 is a flowchart showing the flow of processing executed by the control unit 70. The control unit 70 executes the processing shown in Fig. 6 at regular intervals while power is being supplied. In S1, the data acquisition unit 71 determines whether or not data transmitted by the terminal 20 has been acquired. If the determination result in S1 is NO, the processing shown in Fig. 6 ends. If the determination result in S1 is YES, the process proceeds to S2.

[0047] In S2, the relay resource determination unit 72 acquires header information from the data determined to have been acquired in S1. In the following S3, the correspondence table update unit 73 determines whether the header information acquired in S2 is in the correspondence table. If the determination result in S3 is NO, the process proceeds to S4.

[0048] In S4, the correspondence table update unit 73 creates a correspondence entry to be added to the correspondence table, and adds the created correspondence entry to the correspondence table. Fig. 7 shows detailed processing of S4. In S41, a communication request category is determined from the header information acquired in S2 and the source table. In S42, a relay resource is determined from the communication request category determined in S41 and the relay resource table. In S43, a correspondence entry is created by combining the header information acquired in S2 and the relay resource determined in S42. In S44, the correspondence entry created in S43 is added to the correspondence table.

[0049] The process explained in Fig. 7 will be explained using a specific example. Assume that in S2, the above-mentioned header information, i.e., header information in which the source address, source port, destination address, and protocol are "1.0.0.1," "62000," "abc1," and "TCP," respectively, is acquired.

[0050] This header information corresponds to the header information of the first source entry in the source table. Therefore, in S41, by referring to the source table, it can be determined that the QoS class of the data having this header information is 1.

[0051] In S42, the relay resource table is referenced. By referring to the relay resource table, it is found that if the QoS class is 1, NAPT is executed to convert the IP address to efgh, and one of the ports 500001-51000 is assigned as the source port. Therefore, it is assumed that 510010 is assigned as the source port.

[0052] In S43, a correspondence entry is created by combining the header information acquired in S2 with the relay resource determined in S42, and in S44, the created correspondence entry is added to the correspondence table. The first correspondence entry in the correspondence table in Figure 5 is the correspondence entry created and added in this way.

[0053] If S4 is executed or if the determination result of S3 is NO, the process proceeds to S5. In S5, the relay resource determination unit 72 determines a relay resource by referring to a corresponding entry in the correspondence table that includes the header information acquired in S2. If header information in S2 is acquired in which the source address, source port, destination address, and protocol are "1.0.0.1," "62000," "abc1," and "TCP," respectively, the first corresponding entry in the correspondence table in FIG. 5 is referenced.

[0054] In S6, the data transmitter 74 converts the header information based on the relay resource determined in S5. When the first corresponding entry in the correspondence table in Fig. 5 is used, the header information on the LAN side, in other words, the source address and source port 1.0.0.1:62000 included in the header information of the sender, are converted to efgh:510010. In addition, since the source address is converted to efgh, the resource assigned to efgh is used as the relay resource to transmit the data to the destination address.

[0055] In S7, the data transmitting unit 74 transmits the data whose header information has been converted in S6, using the relay resource determined in S5.

[0056] Summary of the first embodiment As described above, when the relay device 60 of the first embodiment acquires data from the terminal 20, it determines relay resources by referring to the header information included in the acquired data and the correspondence table (S5). The correspondence table associates header information with relay resources that realize the communication request category defined based on the header information. Therefore, by determining relay resources based on the header information and the correspondence table, it is possible to select relay resources according to the communication request category requested by the acquired data. Since relay resources are determined in this manner, the relay device 60 can select relay resources suitable for the communication request requested by the terminal 20 even without signaling from the terminal 20.

[0057] The storage unit 63 stores a source table and a relay resource table in addition to the correspondence table. The relay device 60 also includes a correspondence table update unit 73. If the header information of the acquired data is not in the correspondence table (S3: NO), the correspondence table update unit 73 determines a correspondence entry to add to the correspondence table from the header information of the acquired data, the source table, and the relay resource table. Specifically, the correspondence table update unit 73 determines a communication request category of the acquired data by referring to the header information included in the acquired data and the source table (S41). Then, the relay resource is determined from the determined communication request category and the relay resource table (S42), and a correspondence entry is created by combining the header information and the determined relay resource (S43). This correspondence entry is added to the correspondence table (S44). In this way, even if the header information of the acquired data is not in the correspondence table, a correspondence entry including the header information of the acquired data can be added to the correspondence table. The relay resource determination unit 72 can select a relay resource suitable for the communication request made by the terminal 20 by referring to the updated correspondence table.

[0058] Furthermore, the relay resource table used when creating the correspondence table can also be updated by the relay resource table update unit 75. Therefore, the correspondence table created based on the relay resource table can be made to correspond to various transmission source devices and various communication request categories.

[0059] The relay resource table update unit 75 acquires information indicating relay resources that the management information entity 41 can provide from the management information entity 41 that manages the relay resources.The relay resource table update unit 75 then adds a communication request class to the acquired relay resource to create a relay resource entry, and adds the created relay resource entry to the relay resource table.Since the relay resource table is updated in this way, it is possible to prevent relay resources that the management information entity 41 cannot provide from being included in the relay resource table.

[0060] The relay resource table update unit 75 requests the management information entity 41 to provide additional relay resources when the relay resources included in the relay resource table are insufficient. When additional relay resources are provided from the management information entity 41, a relay resource entry indicating the correspondence between the provided relay resources and the communication request category that can be realized by the provided relay resources is added to the relay resource table. By requesting the relay device 60 to provide additional relay resources, it is possible to prevent the relay device 60 from being unable to relay data due to a shortage of relay resources.

[0061] The relay resource table update unit 75 can also add a relay resource entry determined by a user's input operation to the relay resource table, which makes it easier to add types of relay resources included in the relay resource table and the correspondence table.

[0062] In addition to the relay resource table, the source table update unit 76 can also update a source table, which is another table used when creating a correspondence table. For example, when source update information is provided from the terminal 20 or a management device that manages the terminal 20, the source table update unit 76 updates the source table based on the source update information. Furthermore, the source table update unit 76 adds a source resource entry determined based on a user's input operation to the source table. By updating the source table, the correspondence table created based on the source table can be made into a table that corresponds to various source devices and various communication request categories.

[0063] Second Embodiment Next, a second embodiment will be described. In the following description of the second embodiment, elements having the same reference numerals as those used previously are the same as those in the previous embodiments unless otherwise specified. Furthermore, when only a portion of the configuration is described, the previously described embodiment can be applied to the other portions of the configuration.

[0064] FIG. 8 shows an overall configuration diagram of a communication system 210 of the second embodiment. In the communication system 210, a relay device 60 is mounted on a vehicle 5. The vehicle 5 is equipped with a wide-area wireless communication unit 280. The wide-area wireless communication unit 280 communicates with a base station 42 provided in the WAN 40. The wide-area wireless communication unit 280 may communicate with the base station 42 using, for example, 3G, 4G, or 5G as defined by the Third Generation Partnership Project (3GPP). The relay device 60 relays communication between the terminal 20 and the wide-area wireless communication unit 280. A management information entity 41 manages resources of the WAN 40 and also manages billing for users who use the WAN 40.

[0065] As in the first embodiment, the relay device 60 and the terminal 20 communicate with each other using a short-range wireless communication method. The relay device 60 communicates with the terminal 20 via a wireless communication unit 61. The relay device 60 also communicates with the wide-area wireless communication unit 280 via a wired communication unit 62. The relay device 60 and the wide-area wireless communication unit 280 are communicably connected via an in-vehicle LAN. A state in which the terminal 20 communicates with the server 30 connected to the WAN 40, for example, via the relay device 60 and the wide-area wireless communication unit 280 can be said to be a tethering state.

[0066] In the second embodiment, the storage unit 63 included in the relay device 60 stores a source table shown in Fig. 9, a relay resource table shown in Fig. 10, and a correspondence table shown in Fig. 11. The source table shown in Fig. 9 differs from the source table shown in Fig. 3 in that the communication request classification is defined by two specific classifications, namely, QoS class and billing destination. Corresponding to the source table shown in Fig. 9, the relay resource table shown in Fig. 10 also defines the communication request classification by two specific classifications, namely, QoS class and billing destination. In the relay resource table shown in Fig. 10, the difference in identification resources between relay resource entries is the difference in the allocation source port field.

[0067] In Figure 9, the destination address "App Server" refers to the application server. For convenience, "App Server" is written in Figure 9, but in reality, the global IP address of the application server is written.

[0068] In Figures 9 and 10, QoS class "1" is a class that is given priority over QoS class "2" for communication. Looking at Figure 9, the QoS class is defined as "1" when the destination address is an address that indicates an application server and when the protocol is RTP. Therefore, priority is given to communication when sending data to an application server and when the protocol is RTP. Also, looking at Figures 9 and 10, even for the same QoS class "1," the billing destinations are different. Therefore, in Figure 10, the assigned port ranges are different depending on the billing destination so that the billing destinations can be distinguished.

[0069] The first correspondence entry in the correspondence table shown in Figure 11 is created based on the first source entry in the source table and the first relay resource entry in the relay resource table. When the header information is converted using this correspondence entry, the source port number becomes "50010." Based on this source port number, the administrator providing the WAN 40 knows that they should charge the vendor for the communication fees for data that includes this header information.

[0070] In the first embodiment, the relay device 60 itself is connected to the WAN 40. In contrast, in the second embodiment, the relay device 60 is not connected to the WAN 40 but provides data to the wide-area wireless communication unit 280 connected to the WAN 40. In addition to the relay device 60, other devices that communicate via the WAN 40 are connected to the wide-area wireless communication unit 280. Hereinafter, a device that is connected to the wide-area wireless communication unit 280 and communicates via the WAN 40 is referred to as a connected device. Hereinafter, it is assumed that the wide-area wireless communication unit 280 allocates a port area to each connected device with a limited number of ports that can be used simultaneously so that the port area for each billing destination does not become depleted when communicating via the WAN 40. Therefore, when a request for an additional port is required, the relay device 60 notifies the wide-area wireless communication unit 280 of this request, rather than an entity within the WAN 40 as in the first embodiment. When an additional port is provided in response to this request, the relay resource table update unit 75 updates the relay resource table. Even with this configuration, the relay device 60 can select relay resources suitable for the communication request made by the terminal 20 without signaling from the terminal 20 by converting the header information based on the correspondence table.

[0071] Third Embodiment 12 shows the overall configuration of a communication system 310 according to the third embodiment. As in the previous embodiments, the communication system 310 includes a WAN 40. A management information entity 41 manages the resources of the WAN 40 and manages billing for users who use the WAN 40.

[0072] The communication system 310 includes a WAN 40 and a second network (hereinafter referred to as the second NW) 40A that is separate from the WAN 40, which is defined as a first network. The second NW 40A may be any network different from the WAN 40. The second NW 40A is, for example, a public wireless LAN. The second NW 40A may also be a WAN provided by a provider different from the WAN 40. The management information entity 41A is a management device that manages the resources of the second NW 40A. The management information entity 41A has a function of allocating IP addresses using DHCP (Dynamic Host Configuration Protocol). The management information entity 41A also manages billing for users who use the second NW 40A. The base station 42A is a base station included in the second NW 40A.

[0073] The WAN 40 and the second NW 40A are networks that communicate with the server 30 via the Internet 80. The WAN 40 and the second NW 40A can also be considered to be part of the Internet 80.

[0074] In the third embodiment, the relay device 360 ​​communicates with the base station 42 and the base station 42A. Fig. 13 shows the configuration of the relay device 360. The relay device 360 ​​includes a first communication unit 361 and a second communication unit 362. The first communication unit 361 is a communication unit that communicates with the base station 42. The second communication unit 362 is a communication unit that communicates with the base station 42A.

[0075] In the third embodiment, the storage unit 63 included in the relay device 360 ​​stores a source table shown in Fig. 14, a relay resource table shown in Fig. 15, and a correspondence table shown in Fig. 16. In the source table shown in Fig. 14, the communication request classification is defined by two specific classifications: a transit NW and a billing destination. Note that NW means a network.

[0076] Corresponding to the source table shown in FIG. 14, the relay resource table shown in FIG. 15 also defines the communication request category as two specific categories: transit NW and billing destination. In the relay resource table shown in FIG. 15, the identification resources are specifically of two types: source port area and source IP address area. The source port area refers to the area of ​​port numbers that can be selected as the source port. The source IP address area indicates the area that can be selected as the source IP address. The IP addresses shown in the source IP address area are "efgh" and "ijk1-5". "efgh" is the IP address used by WAN40, and "ijk1-5" is the IP address used by the second NW40A.

[0077] The first correspondence entry in the correspondence table shown in Figure 16 is created based on the first source entry in the source table and the first relay resource entry in the relay resource table. When the header information is converted using this correspondence entry, the data will be sent using WAN 40. In addition, the source port number becomes "50010." This source port number tells the administrator who provides WAN 40 that they only need to charge the vendor for the communication fee for data that includes this header information.

[0078] 16, if a corresponding entry is created based on a source entry in the source table in which the transit NW is set to 2, the source IP address will be "ijk1-5." If the header information is converted by this corresponding entry, the data will be sent using the second NW 40A.

[0079] In the third embodiment, the relay resource table contains multiple relay resource entries in which the relay resource is a source IP address used by mutually different networks. When a correspondence table is created based on this relay resource table, the correspondence table also becomes a table containing multiple correspondence entries in which the converted source IP address is a source IP address used by mutually different networks. When header information is converted using this correspondence table, it is possible to select a network suitable for the communication request made by terminal 20 and relay data, even without signaling from terminal 20.

[0080] <Fourth embodiment> 17 shows an overall configuration diagram of a communication system 410 according to the fourth embodiment. As in the previous embodiments, the communication system 410 includes a WAN 40. A management information entity 41 manages the resources of the WAN 40 and manages billing for users who use the WAN 40. A virtual private line 43 is also set up in the WAN 40.

[0081] The relay device 60 communicates with tunnel servers 81a, 81b, 81c, 81d, and 81e using the virtual private line 43. Hereinafter, when there is no need to distinguish between these tunnel servers 81a, 81b, 81c, 81d, and 81e, they will be referred to as tunnel server 81.

[0082] When transmitting data to the virtual private line 43, the relay device 60 encapsulates the data obtained from the terminal 20. That is, the relay device 60 encrypts the entire obtained data, adds a new header to the encrypted data, and sends the data to the virtual private line 43. The tunnel server 81 is capable of communicating with the server 30 via the LAN 90.

[0083] In the fourth embodiment, the storage unit 63 included in the relay device 60 stores a source table shown in Fig. 18, a relay resource table shown in Fig. 19, and a correspondence table shown in Fig. 20. In the source table shown in Fig. 18, the communication request classification is specifically a billing destination.

[0084] Corresponding to the source table shown in Fig. 18, the communication request classification in the relay resource table shown in Fig. 19 is specifically a billing destination. In the relay resource table shown in Fig. 19, the identification resource is specifically a tunnel server address. In the relay resource table, the tunnel server addresses are distinguished by billing destination.

[0085] The correspondence table shown in Fig. 20 is created from the source table shown in Fig. 18 and the relay resource table shown in Fig. 19. An example of creating the first correspondence entry in the correspondence table will be explained below. Assume that the source address, source port, destination address, and destination port indicated in the header of the acquired data acquired from terminal 20 via LAN 50 are "1.0.0.0", "62000", "1.0.1.10", and "80", respectively.

[0086] When searching the source table for a source entry that matches the source address and destination address indicated in the header, it is found that the second source entry is the match. In the second source entry, the billing destination is Vendor 2. In the relay resource table, the relay resource entry that has Vendor 2 as the billing destination is the second relay resource entry. Therefore, the tunnel server address is "pqr2".

[0087] In this way, "pqr2" in the first corresponding entry can be determined. The first corresponding entry also indicates that the source address is "efgh." "efgh" is the IP address of the relay device 60.

[0088] In the fourth embodiment, the data transmitter 74 encapsulates the acquired data and adds a new header when sending data to the virtual private line 43. In the newly added header, the source IP address is always "efgh", which is the IP address of the relay device 60. Therefore, in the correspondence table, the source address of the added header is also "efgh".

[0089] If the source IP address and port number included in the header of the acquired data are "1.0.0.1" and "62000", the first corresponding entry in the correspondence table is referenced. Then, the data transmitter 74 adds a header with the source IP address set to "efgh" and the destination IP address set to "pqr2", and sends the data to the virtual private line 43.

[0090] The tunnel server corresponding to "pqr2" is the tunnel server 81b. When the tunnel server 81b acquires the data transmitted from the relay device 60, it decrypts the encrypted data. Once decrypted, it is possible to read the header at the time of transmission by the terminal 20. The tunnel server 81b transmits the data to the destination indicated in the read header.

[0091] In the fourth embodiment, the relay resource table is a table in which communication request classifications (specifically, billing destinations) and tunnel server addresses are associated with each other, and the correspondence table is a table in which header information and tunnel server addresses are associated with each other.

[0092] When the data transmitted by the relay device 60 is encapsulated, the management information entity 41 cannot see the header information created by the terminal 20. Therefore, even when it is necessary to change the billing destination for each piece of data, it is not possible to determine the billing destination by looking at the header information created by the terminal 20. However, in the fourth embodiment, the correspondence table is created from a source table indicating the correspondence between the header information created by the terminal 20 and the billing destination, which is the communication request category, and a relay resource table indicating the correspondence between the billing destination and the tunnel server address. Therefore, the relay device 60 refers to the correspondence table to determine the destination tunnel server 81, and the management information entity 41 can determine the billing destination based on the destination tunnel server 81.

[0093] Fifth Embodiment 21 shows an overall configuration diagram of a communication system 510 according to the fifth embodiment. The communication system 510 includes three LANs: a first LAN 540A, a second LAN 540B, and a third LAN 540C. The first LAN 540A has lower latency than the second LAN 540B. For example, the first LAN 540A is a wired LAN, and the second LAN 540B is a wireless LAN. Furthermore, even if both the first LAN 540A and the second LAN 540B are wireless LANs, and the first LAN 540A complies with a relatively new standard, the first LAN 540A will have lower latency than the second LAN 540B.

[0094] The first server 530A and the second server 530B, which are destination devices, are connected to the third LAN 540C. Both the first server 530A and the second server 530B communicate with the terminal 20 via the third LAN 540C. The third LAN 540C is connected to the first LAN 540A and the second LAN 540B.

[0095] First server 530A is a server that requires lower latency communication than second server 530B. For example, first server 530A is a web conference server, and second server 530B is a file server. Assume that the IP address of first server 530A is 1.0.1.1, and the IP address of second server 530B is 1.0.1.100.

[0096] In the fifth embodiment, the relay device 360 ​​can be connected to the first LAN 540A and also to the second LAN 540B.

[0097] In the fifth embodiment, the storage unit 63 included in the relay device 360 ​​stores a source table shown in Fig. 22, a relay resource table shown in Fig. 23, and a correspondence table shown in Fig. 24. In the source table shown in Fig. 22, each source entry is associated with a source port in the header information and a QoS class as a communication request classification. The QoS class is classified based on whether or not it can include low-latency communication.

[0098] Corresponding to the source table shown in Fig. 22, the relay resource table shown in Fig. 23 also has a communication requirement classification of QoS class, and the QoS class is divided into low latency and normal latency. As mentioned above, since the first LAN 540A has a lower latency than the second LAN 540B, the table uses the first LAN 540A as a relay resource when low latency is required.

[0099] The second relay resource entry in the relay resource table lists the first LAN 540A and the second LAN 540B, which means that either the first LAN 540A or the second LAN 540B can be used as a relay resource.

[0100] The correspondence table shown in Fig. 24 is a routing table. Specifically, the correspondence table in Fig. 24 is a table that determines whether relayed data is sent to the first LAN 540A or the second LAN 540B. In the first correspondence entry in Fig. 24, when the destination IP address is 1.0.1.1, the first LAN 540A is used as the relay resource.

[0101] An example of creating the first corresponding entry shown in FIG. 24 from data transmitted by terminal 20, the source table shown in FIG. 22, and the relay resource table shown in FIG. 23 will be described. Assume that the source address, source port, destination address, and destination port indicated in the header of the acquired data acquired by relay device 360 ​​from terminal 20 are "1.0.0.1," "5012," "1.0.1.1," and "80," respectively. The source table is created based on information provided by terminal 20 or the administrator managing terminal 20. Therefore, it can be said that terminal 20 shares the source table shown in FIG. 22 with relay device 360. Terminal 20 needs to communicate with destination IP address "1.0.1.1," i.e., first server 530A, with low latency. Therefore, data is transmitted using a source port within the range defined in the first source entry in the source table.

[0102] When the relay device 360 ​​receives data with the header contents described above from the terminal 20, it can determine that the data may include low-latency communication by referring to the source table. Therefore, it refers to the relay resource table and determines the first LAN 540A as the transit IF. Then, it creates a corresponding entry that links the destination address "1.0.1.1" included in the header of the data from the terminal 20 with the first LAN 540A.

[0103] According to the fifth embodiment, the relay device 360 ​​can select a relay route suitable for a communication request made by the terminal 20 even without signaling from the terminal 20.

[0104] Although the embodiments have been described above, the disclosed technology is not limited to the above-described embodiments, and the following modifications are also included in the scope of the disclosure. Furthermore, various modifications other than those described below can be made without departing from the spirit of the invention.

[0105] <Variation 1> If a correspondence table is created in advance based on the source table and the relay resource table, the storage unit 63 does not need to store the source table and the relay resource table.

[0106] <Variation 2> The control unit 70 and the methods described herein may be implemented by a special-purpose computer comprising a processor programmed to execute one or more functions embodied in a computer program. Alternatively, the control unit 70 and the methods described herein may be implemented by a special-purpose hardware logic circuit. Alternatively, the control unit 70 and the methods described herein may be implemented by one or more special-purpose computers configured by combining a processor executing a computer program with one or more hardware logic circuits. The hardware logic circuits may be, for example, an ASIC or FPGA.

[0107] Furthermore, the storage medium for storing the computer program is not limited to a ROM, and the program may be stored in any computer-readable, non-transitory storage medium as instructions to be executed by a computer. For example, the program may be stored in a flash memory. [Explanation of symbols]

[0108] 5: Vehicle 10: Communication system 20: Terminal (source device) 30: Server (destination device) 40A: Second NW 41, 41A: Management information entity 42, 42A: Base station 43: Virtual private line 60: Relay device 61: Wireless communication unit 62: Wired communication unit 63: Memory unit 70: Control unit 71: Data acquisition unit 72: Relay resource determination unit 73: Correspondence table update unit 74: Data transmission unit 75: Relay resource table update unit 76: Source table update unit 80: Internet 81: Tunnel server 210: Communication system 280: Wide area wireless communication unit 310: Communication system 360: Relay device 361: First communication unit 362: Second communication unit 410: Communication system 510: Communication system 530A: First server (destination device) 530B: Second server (destination device) 1st LAN: 540A 2nd LAN: 540B 3rd LAN: 540C

Claims

1. A relay device that acquires data from a source device and transmits the acquired data to a destination device, a storage unit (63) for storing a correspondence table in which header information is associated with relay resources that realize communication request categories defined based on the header information; a data acquisition unit (71) that acquires the data from the transmission source device; a relay resource determination unit (72) that determines the relay resource based on header information included in the acquired data, which is the data acquired by the data acquisition unit, and the correspondence table; a data transmission unit (74) that transmits the acquired data to the destination device using the relay resource determined by the relay resource determination unit; the storage unit stores, in addition to the correspondence table, a transmission source table in which the communication request categories are defined for each of the header information, and a relay resource table in which the communication request categories are associated with the relay resources; The relay device further comprises a correspondence table update unit (73) that determines the communication request category of the acquired data by referring to header information included in the acquired data and the source table, determines the relay resource by referring to the determined communication request category and the relay resource table, creates a correspondence entry indicating the correspondence between the determined relay resource and the header information included in the acquired data, and adds the created correspondence entry to the correspondence table.

2. The relay device according to claim 1, the correspondence table update unit creates the correspondence entry when the header information included in the acquired data is not present in the correspondence table, and adds the created correspondence entry to the correspondence table; The relay device, wherein the relay resource determination unit determines the relay resource by referring to the correspondence table after the correspondence table update unit updates the correspondence table.

3. The relay device according to claim 1, A relay device comprising a relay resource table update unit (75) that acquires relay resources that can be included in a relay resource entry to be added to the relay resource table, and updates the relay resource table based on the relay resource entry created based on the acquired relay resources.

4. The relay device according to claim 3, When the relay resources included in the relay resource table are insufficient, the relay resource table update unit communicates with a management information entity that manages the relay resources, and when additional relay resources are provided, adds to the relay resource table a relay resource entry indicating a correspondence between the communication request category that can be realized by the provided relay resources and the provided relay resources.

5. 5. The relay device according to claim 3, The relay resource table update unit adds the relay resource entry determined based on a user's input operation to the relay resource table.

6. The relay device according to any one of claims 1 to 5, The relay device comprises a source table update unit (76) that acquires a source entry to be added to the source table and adds the acquired source entry to the source table.

7. The relay device according to claim 6, The source table update unit updates the source table based on the source update information when source update information for updating the source table is provided from the source device or a management device that manages the source device.

8. 8. The relay device according to claim 6 or 7, The source table update unit adds a source resource entry determined based on a user's input operation to the source table.

9. The relay device according to any one of claims 1 to 8, A relay device, wherein the relay resource table includes a plurality of relay resource entries in which the relay resources are source addresses used by mutually different networks.

10. The relay device according to any one of claims 1 to 8, the relay resource table is a table in which communication request categories are associated with tunnel server addresses, The correspondence table is a table in which the header information and the address of the tunnel server are associated with each other.

11. A relay method executed by a relay device that acquires data from a source device and transmits the acquired data to a destination device, comprising: Acquire the data from the source device (S2); determining the relay resource based on a correspondence table in which header information is associated with a relay resource that realizes a communication request category defined based on the header information, and based on the header information included in the acquired data, which is the acquired data (S5); The acquired data is transmitted to the destination device using the determined relay resource (S6, S7); determining the communication request category of the acquired data by referring to header information included in the acquired data and a transmission source table in which the communication request category is determined for each of the header information; determining the relay resource by referring to the determined communication request category and a relay resource table in which the communication request category and the relay resource are associated with each other; a relay method for creating a correspondence entry indicating a correspondence between the determined relay resource and the header information included in the acquired data, and adding the created correspondence entry to the correspondence table;

Citation Information

Patent Citations

  • Gateway device and IP tunnel selection method

    JP2012044344A

  • System and method for packet processing

    JP2015170860A

  • ims authorization control and resource management via soft ap

    JP2018530226A

  • Intelligent network address translator and methods for network address translation

    US20040073704A1

  • Distributed network address translation in computer networks

    US8289968B1