Communication condition estimation device, communication condition estimation method, and program

The communication condition estimation device automates the selection of communication protocols and requirements by correlating data formats with suitable protocols, addressing the complexity faced by developers in choosing protocols for data transmission, thereby simplifying the development process and enhancing communication reliability.

WO2024176313A1PCT designated stage expired Publication Date: 2024-08-29NIPPON TELEGRAPH & TELEPHONE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/006051
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-20
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Application developers face a burden in determining suitable communication protocols and requirements for data transmission, as they must consider various protocol candidates and their characteristics, such as packet loss tolerance, without specifying a protocol like TCP or UDP, which complicates the development process.

Method used

A communication condition estimation device that estimates suitable communication protocol candidates and requirements based on the data format and metadata, using a combination of machine learning models and rule-based logic to determine the most suitable protocols and requirements for data transmission, thereby reducing the developer's burden.

Benefits of technology

This approach automates the selection of communication protocols and requirements, improving the efficiency of data transmission by correlating data formats with appropriate protocols and requirements, thus simplifying the development process and enhancing communication reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023006051_29082024_PF_FP_ABST
    Figure JP2023006051_29082024_PF_FP_ABST
Patent Text Reader

Abstract

Provided is a communication condition estimation device comprising an estimation unit configured to estimate, on the basis of information indicating a data format of a data set as a target of the communication, one or more candidates of a communication protocol in the communication and a requirement for the communication. This communication condition estimation device consequently reduces the development load of an application which uses the communication.
Need to check novelty before this filing date? Find Prior Art

Description

Communication condition estimation device, communication condition estimation method, and program

[0001] The present invention relates to a communication condition estimation device, a communication condition estimation method, and a program.

[0002] TAPS abstracts network programming, allowing applications to be developed with the assumption that multiple communication protocols exist as candidates. The communication protocol actually used is determined when the application is executed. In other words, when using TAPS, application developers do not need to specify a communication protocol such as TCP or UDP.

[0003] "Transport Services (taps)", [online], IETF, Internet <URL: https: / / datatracker.ietf.org / wg / taps / documents / >

[0004] However, when using TAPS, application developers must consider candidate communication protocols and communication requirements (e.g., whether or not packet loss is tolerated) based on the characteristics of the data to be communicated and provide these to TAPS during development. TAPS dynamically determines the communication protocol to use from among the candidate communication protocols based on the given communication requirements. Therefore, the burden of considering candidate communication protocols and communication requirements is placed on application developers.

[0005] The present invention has been made in view of the above points, and has as its object to reduce the burden of developing applications that use communication.

[0006] In order to solve the above problem, the communication condition estimation device has an estimation unit configured to estimate one or more candidate communication protocols for the communication and requirements for the communication, based on information indicating the data format of the data to be communicated.

[0007] This reduces the development burden of applications that use communications.

[0008] Fig. 1 is a diagram showing a first configuration example of a communication system according to an embodiment of the present invention; Fig. 2 is a diagram showing a hardware configuration example of a communication condition estimation device 10 according to an embodiment of the present invention; Fig. 3 is a diagram showing a functional configuration example of a communication system according to an embodiment of the present invention; Fig. 4 is a sequence diagram for explaining an example of a processing procedure executed in the communication system; Fig. 5 is a diagram showing a second configuration example of a communication system according to an embodiment of the present invention;

[0009] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a diagram showing a first configuration example of a communication system according to an embodiment of the present invention. In Fig. 1, a communication device 20 is a device that communicates with a communication destination 30 via a communication line N1, and is connected to the communication destination 30 via the communication line N1, such as the Internet. The communication device 20 may be a computer such as a PC (Personal Computer), or may be a smartphone, tablet terminal, or the like.

[0010] The communication device 20 is also connected to the communication condition estimation device 10 via a communication line N2. As the communication line N2, a local area network (LAN) or the Internet may be used, or a universal serial bus (USB) cable or short-range wireless communication may be used.

[0011] The communication condition estimation device 10 is one or more computers that receive information (hereinafter referred to as "data information") related to data transmitted and received in communication performed by the communication device 20 and output one or more candidate communication protocols (hereinafter referred to as "candidate communication protocols") suitable for the communication and requirements for the communication (hereinafter referred to as "communication requirements"). The data information is information indicating a data format (data structure). The data format is information that specifies the data size and the type of attributes. For example, H.264 is an example of a data format. The data information may also include metadata. Metadata is data that indicates specific values ​​for attributes specified in the data format. For example, data such as {Frequency: 30 Hz} is an example of metadata. This data indicates that the value of the attribute Frequency is 30 Hz, meaning that the data transmission frequency is 30 times per second. Metadata can vary even for data with the same data format. In other words, metadata can vary depending on the individual data actually communicated.

[0012] This embodiment is based on the idea that once a data format is determined, communication characteristics can be known to a certain extent, and the communication protocol and communication requirements required to transmit data related to that data format can be estimated to a certain extent (i.e., there is a correlation between the data format and candidate communication protocols and communication requirements). For example, once it is determined that the data to be communicated is a compressed image, it is clear what communication protocol and communication requirements should be used to transmit the compressed image. In the case of compressed images, packet loss can affect the decoding of the entire image, so it is desirable to select a protocol that is robust against packet loss, such as TCP.

[0013] Based on this idea, the communication condition estimation device 10 has a function capable of inputting data information and outputting communication protocol candidates and communication requirements.

[0014] The communication device 20 performs communication based on the communication protocol candidates and communication requirements output from the communication condition estimation device 10 .

[0015] 2 is a diagram showing an example of the hardware configuration of a communication condition estimation device 10 according to an embodiment of the present invention. The communication condition estimation device 10 in FIG. 2 includes a drive device 100, an auxiliary storage device 102, a memory device 103, a processor 104, and an interface device 105, which are all interconnected via a bus B.

[0016] A program for realizing the processing in the communication condition estimation device 10 is provided by a recording medium 101 such as a CD-ROM. When the recording medium 101 storing the program is set in the drive device 100, the program is installed from the recording medium 101 to the auxiliary storage device 102 via the drive device 100. However, the program does not necessarily have to be installed from the recording medium 101, but may be downloaded from another computer via a network. The auxiliary storage device 102 stores the installed program as well as necessary files, data, etc.

[0017] When an instruction to start the program is received, the memory device 103 reads out and stores the program from the auxiliary storage device 102. The processor 104 is a CPU or a GPU (Graphics Processing Unit), or a CPU and a GPU, and executes functions related to the communication condition estimation device 10 in accordance with the program stored in the memory device 103. The interface device 105 is used as an interface for connecting to a network.

[0018] The communication device 20 may also have a hardware configuration as shown in FIG.

[0019] 3 is a diagram showing an example of the functional configuration of a communication system according to an embodiment of the present invention. In FIG. 3, a communication condition estimation device 10 includes an estimation unit 11 and a logic update unit 12. These units are realized by processing executed by a processor 104 of one or more programs installed in the communication condition estimation device 10.

[0020] The estimation unit 11 receives data information as input and estimates communication protocol candidates and communication requirements arranged in order of suitability based on the data information. The estimation unit 11 outputs the estimation results (communication protocol candidates and communication requirements). As described above, the data information includes a data format (information specifying data size and attribute types). The data format may be provided in a format such as an Interface Definition Language (IDL) or a Software Defined Perimeter (SDP). IDL defines a data format and enables communication between communicating endpoints to send and receive data based on that format, enabling multi-platform communication while omitting meta-information such as headers. In recent years, IDLs such as Protocol Buffers have been used in the development of many applications. SDP is a protocol for describing media formats and other information when transmitting media. SDP can also include metadata.

[0021] The communication protocol candidates output are, for example, {1: MPQUIC, 2: MPTCP, 3: UDP, 4: TCP}. This indicates that MPQUIC, MPTCP, and TCP are candidate communication protocols to be used for data communication in descending order of suitability. The communication requirements are, for example, {Throughput: 30 Mbps, Packet loss: 0.1%}. This indicates a requirement that the throughput be 30 Mbps or more and the packet loss be 0.1% or less.

[0022] As described above, the data information may include metadata. Since metadata is information including specific values ​​of attributes, by including metadata in the data information, it is possible to express each piece of data that is actually transmitted in more detail (specifically). As a result, it is possible to expect improvement in estimation accuracy according to each piece of data that is actually transmitted.

[0023] The logic (hereinafter simply referred to as "estimation logic") used by the estimation unit 11 to estimate communication protocol candidates and communication requirements can be classified into three patterns, namely, pattern 1 to pattern 3, as follows.

[0024] Pattern 1 is a pattern that uses a model (e.g., a neural network) that has learned correlations (correspondences) between data information, communication protocol candidates, and communication requirements by machine learning or the like. The model receives data information and outputs communication protocol candidates and communication requirements. The model may be trained using, for example, a plurality of training data, each of which is a set of data information, ordered communication protocol candidates, and communication requirements. In this case, the model may be trained by updating model parameters (training parameters) of the model based on the output from the model to which the data information of the training data has been input, and the loss between the communication protocol candidates and communication requirements of the training data.

[0025] Pattern 2 is a pattern in which estimation logic is designed based on the experience of the application 21 developer, etc. In other words, in Pattern 2, the relationship between data information, communication protocol candidates, and communication requirements is defined rule-based. For example, communication protocol candidates and communication requirements may be estimated based on the attributes included in the data format. Specifically, if the data format includes an attribute corresponding to a "timestamp or time (in fine-grained units such as milliseconds)," it is estimated that the communication is highly real-time. Furthermore, if the data format includes only a time-related attribute with the attribute name "date," it is estimated that the communication frequency is approximately once per day. Furthermore, based on the unit of the data volume attribute, it is also possible to estimate that the amount of data transmitted will be at most several hundred bytes. From the above estimations, communication protocol candidates and communication requirements suitable for certain data information can be determined in advance rule-based. For example, if the communication frequency is estimated to be about once a day and the data volume is estimated to be about a few bytes, it is necessary to deliver it reliably using TCP rather than UDP, so one possible estimation logic would be to increase the suitability (priority) of TCP over UDP.

[0026] Pattern 3 is a combination of Pattern 1 and Pattern 2. For example, estimation may be performed first using Pattern 2, and if estimation is not possible using Pattern 2 (if the data information does not conform to the rules assumed in Pattern 2, such as if the data format does not include the attributes used for estimation in Pattern 2), estimation may be performed using Pattern 1.

[0027] The logic update unit 12 updates the estimation logic. For example, in the case of pattern 1 or 3, model learning may be performed separately while the communication condition estimation device 10 is in operation. In this case, the logic update unit 12 updates the model parameters of the model used by the estimation unit 11 with values ​​obtained by the new learning. In the case of pattern 2, the logic update unit 12 may update the values ​​of external parameters (hereinafter referred to as "rule-based parameters") for the rules used in the estimation logic in response to a review of the external parameters. To enable such updates, the estimation logic of pattern 2 may be made controllable by external parameters (rewritable parameters stored in a file, etc.). The logic update unit 12 may update the estimation logic (parameter update) in response to changes in the state of the communication path on the communication line N1. The logic update unit 12 may determine the state of the communication path based on communication path congestion information held by the telecommunications carrier. For example, if the communication path is congested, communication using UDP is not suitable. In this case, the logic update unit 12 may update the rule-based parameters to lower the priority of UDP as a candidate communication protocol.

[0028] The communication device 20 has an application 21 and a communication control unit 22. These are realized by processing in which one or more programs installed in the communication device 20 cause a processor of the communication device 20 to execute the applications 21 and the communication control unit 22. The communication device 20 also uses a cache 23. The cache 23 can be realized, for example, by using a memory device or an auxiliary storage device of the communication device 20.

[0029] The application 21 provides a predetermined service by using data to be communicated. The application 21 transmits data information of the data to the communication condition estimation device 10, and receives communication protocol candidates and communication requirements returned from the communication condition estimation device 10. The application 21 inputs the communication protocol candidates and communication requirements to the communication control unit 22.

[0030] The application 21 may handle multiple types of data with different data information. In this case, the application 21 may inquire about communication protocol candidates and communication requirements for each of the different data information from the communication condition estimation device 10. The communication device 20 may have multiple applications 21. In this case, the data information handled by each application 21 may be the same or different.

[0031] The cache 23 is a memory unit for storing communication protocol candidates and communication requirements in association with data information that has been queried in the past, in order to avoid repeated communications on the network N2 regarding inquiries about communication protocol candidates and communication requirements for the same data information.

[0032] The communication control unit 22 attempts communication based on the communication protocol candidates and communication requirements input from the application 21, and establishes a connection with the communication destination 30. The interface for communication in the established connection is abstracted, and the communication control unit 22 can communicate while hiding the communication protocol from the application 21. When the communication protocol candidates or communication requirements are changed by the application 21, the communication control unit 22 can update (including re-establish) an already established connection by referring to an identifier of the abstracted interface (an identifier for each communication partner), etc. The communication control unit 22 can also acquire information about the destination with which the application 21 communicates. For example, the communication control unit 22 can use DNS service discovery to acquire the IP address of the destination host and the port number corresponding to each communication protocol.

[0033] In order to realize the above-mentioned functions, TAPS (Non-Patent Document 1) may be used as a part of the communication control unit 22.

[0034] The processing procedure executed in the communication system will be described below. Fig. 4 is a sequence diagram for explaining an example of the processing procedure executed in the communication system. The processing procedure in Fig. 4 is roughly divided into Phases 0, 1, and 2. Phases 0, 1, and 2 do not necessarily have to be executed in real time order.

[0035] Phase 0 is a phase for asynchronously updating the parameters of the estimation unit 11 and includes step S101. For example, step S101 is executed when new values ​​are given to the model parameters or rule base of the estimation unit 11. In step S101, the logic update unit 12 updates the model parameters or rule base of the estimation unit 11 to the new values.

[0036] Phase 1 is a phase in which the application 21 starts communication, and includes steps S102 to S112.

[0037] When the application 21 is started or when communication is started (immediately before communication), the application 21 acquires communication protocol candidates and communication requirements corresponding to data information (hereinafter referred to as "target data information") related to data handled by the application 21 (for example, data to be transmitted) from the cache 23 (S102, S103). If communication protocol candidates and communication requirements corresponding to the target data information have been acquired from the communication condition estimation device 10 in the past, the communication protocol candidates and communication requirements are stored in the cache 23, and acquisition of the communication protocol candidates and communication requirements is successful. If not, acquisition of the communication protocol candidates and communication requirements fails.

[0038] If the communication protocol candidates and communication requirements are successfully acquired, the process proceeds to step S110. If the communication protocol candidates and communication requirements are not successfully acquired, steps S104 to S108 are executed.

[0039] In step S104, the application 21 transmits a request for estimating communication protocol candidates and communication requirements, including the target data information, to the estimation unit 11. If the target data information includes meta-information, the application 21 can acquire the values ​​of each attribute from the data to be transmitted and can include the acquired values ​​in the meta-information.

[0040] Upon receiving the estimation request, the estimation unit 11 obtains the latest values ​​of the parameters of the estimation logic from the logic update unit 12 as necessary and updates the estimation logic (S105, S106). Note that steps S105 and S106 do not have to be executed. Next, the estimation unit 11 inputs the target data information into the estimation logic and estimates that the communication protocol candidates and communication requirements output from the estimation logic are communication protocol candidates and communication requirements suitable for the target data information (S107). Next, the estimation unit 11 transmits a response including the communication protocol candidates and communication requirements to the application 21 (S108).

[0041] Upon receiving the response, the application 21 records the communication protocol candidates and communication requirements included in the response in the cache 23 (S109). Subsequently, the application 21 inputs (sets) the communication protocol candidates and communication requirements to the communication control unit 22 (S110). The communication control unit 22 attempts communication and establishes a connection with the communication destination 30 based on the communication protocol candidates and communication requirements input from the application 21 (S110). The communication control unit 22 outputs an interface identifier for communication in the established connection to the application 21 (S111). Thereafter, the application 21 can specify the identifier to the communication control unit 22 and request data transmission, thereby causing the communication control unit 22 to transmit the data to the communication destination 30.

[0042] Thereafter, when an event occurs in which the data information changes due to, for example, a change in the communication situation (S121), steps S102 to S110 are executed using the changed data information. As a result, step S111 is executed again as necessary.

[0043] In the above example, the communication device 20 and the communication condition estimation device 10 are implemented as separate devices (computers) connected via communication line N2, but the communication device 20 may have the functions of the communication condition estimation device 10 (or the communication condition estimation device 10 may function as the communication device 20).

[0044] 5 is a diagram showing a second example of the configuration of a communication system according to an embodiment of the present invention, in which the same components as those in FIG. 3 are given the same reference numerals and their description will be omitted.

[0045] 5 , the communication device 20 further includes an estimation unit 11 and a logic update unit 12. The estimation unit 11 and the logic update unit 12 are realized by processing that one or more programs installed in the communication device 20 cause a processor of the communication device 20 to execute.

[0046] 5, the application 21 does not need to communicate with the estimation unit 11. Therefore, the communication device 20 does not need to have a cache 23. In this case, the application 21 may specify data information and call the estimation unit 11. The estimation unit 11 may return communication protocol candidates and communication candidates to the application 21 as estimation results based on the data information.

[0047] For example, if a program that causes the communication device 20 to function as the estimation unit 11 is included in a library provided in an SDK or the like, and the application 21 developer implements the application 21 by including the library, the application 21 can call the estimation unit 11.

[0048] Alternatively, instead of installing the library at the time of development, the library may be obtained from a remote server at runtime, such as WebAssembly, and the application 21 may call the estimation unit 11.

[0049] As described above, in this embodiment, communication protocol candidates and communication requirements can be obtained by inputting IDL, SDP, or the like created in the development of an application that uses communication. Therefore, developers of applications that use communication can be relieved from the burden of considering communication protocol candidates and communication requirements. As a result, the development burden of applications that use communication can be reduced.

[0050] Although the embodiments of the present invention have been described in detail above, the present invention is not limited to such specific embodiments, and various modifications and changes are possible within the scope of the gist of the present invention described in the claims.

[0051] REFERENCE SIGNS LIST 10 communication condition estimation device 11 estimation unit 12 logic update unit 20 communication device 21 application 22 communication control unit 23 cache 30 communication destination 100 drive device 101 recording medium 102 auxiliary storage device 103 memory device 104 processor 105 interface device B bus

Claims

1. A communication condition estimation device comprising: an estimation unit configured to estimate one or more communication protocol candidates and requirements for the communication based on information indicating the data format of data to be communicated.

2. The communication condition estimation device according to claim 1, characterized in that the estimation unit is further configured to estimate the candidates and the requirements based on information indicating the data format and values ​​of attributes defined by the data format.

3. The communication condition estimation device according to claim 1 or 2, characterized in that the estimation unit is configured to estimate one or more candidate communication protocols and the communication requirements in the communication using a model trained on the basis of a set of information indicating a data format, candidate communication protocols, and communication requirements.

4. The communication condition estimation device according to claim 1 or 2, characterized in that the estimation unit is configured to estimate one or more candidates for a communication protocol in the communication and requirements for the communication based on attributes contained in the data format.

5. A communication condition estimation method, characterized in that a computer executes an estimation procedure for estimating one or more candidates for a communication protocol in the communication and requirements for the communication based on information indicating the data format of data to be communicated.

6. A program for causing a computer to execute an estimation procedure for estimating one or more communication protocol candidates and requirements for communication based on information indicating the data format of data to be communicated.

Citation Information

Patent Citations

  • Network application component with credit based congestion control, and corresponding method

    US20180097739A1

  • Domain name system as an authoritative source for multipath mobility policy

    US20210152513A1