WO2015194134A1 - 通信状態推定装置、通信状態推定方法及び通信状態推定プログラムを記憶する記録媒体 - Google Patents
通信状態推定装置、通信状態推定方法及び通信状態推定プログラムを記憶する記録媒体 Download PDFInfo
- Publication number
- WO2015194134A1 WO2015194134A1 PCT/JP2015/002925 JP2015002925W WO2015194134A1 WO 2015194134 A1 WO2015194134 A1 WO 2015194134A1 JP 2015002925 W JP2015002925 W JP 2015002925W WO 2015194134 A1 WO2015194134 A1 WO 2015194134A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- communication
- state estimation
- unit
- error
- parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/06—Testing, supervising or monitoring using simulated traffic
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0706—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
- G06F11/0709—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/0751—Error or fault detection not based on redundancy
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
- G06F11/079—Root cause analysis, i.e. error or fault diagnosis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/1874—Buffer management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/12—Arrangements for detecting or preventing errors in the information received by using return channel
- H04L1/16—Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
- H04L1/18—Automatic repetition systems, e.g. Van Duuren systems
- H04L1/1867—Arrangements specially adapted for the transmitter end
- H04L1/1887—Scheduling and prioritising arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
Definitions
- the present invention relates to a technique for estimating a communication environment.
- MANET Mobile Ad-Hoc Networks
- MANET assumes the movement and wireless connection of communication terminals. Therefore, a failure such as loss of packets (communication data), increase in communication delay, and further interruption of communication may occur due to movement of the communication terminal or radio interference. In such a case, existing communication protocols do not work well.
- TCP Transmission Control Protocol
- a feature of TCP is, for example, establishment of a communication session, control of communication speed, and control of packet retransmission.
- TCP is used in a MANET environment, it is known that communication does not function well due to packet loss and communication interruption that occur with high probability.
- Patent Document 1 An example of a technique for avoiding such a state in which communication does not function is disclosed in Patent Document 1.
- the wireless communication device described in Patent Document 1 monitors a TCP window size. When it is determined that a congestion state has occurred, the wireless communication device uses another communication protocol, UDP (User Datagram Protocol).
- UDP User Datagram Protocol
- Patent Document 1 also describes a method of continuing communication by performing TCP communication and UDP communication in parallel.
- Patent Document 2 describes a communication device that controls wireless connection parameters so as to reduce interference between a plurality of simultaneous wireless connections.
- Patent Document 3 describes a communication system that selects transmission parameters based on expected throughput. The communication system determines the expected throughput based on the expected error rate and the data transmission rate.
- a SYN (Synchronize) packet is exchanged.
- retransmission control of SYN packets is started.
- a retransmission waiting time is provided.
- the retransmission waiting time is generally called a back-off time.
- FIG. 10 is a diagram schematically illustrating an example of inter-vehicle communication.
- node A is a communication terminal mounted on a vehicle traveling on a road.
- Node B is a communication terminal mounted on a vehicle traveling in the opposite lane of the lane in which the vehicle on which Node A is mounted is traveling.
- the time elapses in the order of time T1, time T2, and time T3.
- node A and node B start processing for establishing a session.
- a back-off period is set.
- a SYN packet loss occurs between time T1 and time T2.
- a SYN back-off period which is a period during which communication is not possible, starts from time T2.
- the process for establishing a session is performed again.
- the TCP connection is completed at time T3.
- the distance between the two vehicles is large when the connection is completed as in the example shown in FIG. Sometimes it is.
- the data packet retransmission is started.
- a back-off time is similarly provided.
- the packet is not retransmitted until the backoff time ends.
- FIG. 11 is a diagram schematically illustrating an example of communication performed between two communication terminals.
- the operations performed by the two communication terminals are drawn from the top to the bottom as time elapses.
- the node A transmits data to the node B in response to a request from the node B.
- the request from the node B is a content request for requesting content, for example.
- the data transmitted from the node A to the node B is the requested content.
- the node A retransmits the data packet.
- the node A retransmits the data packet after the provided back-off period ends.
- the back-off period increases exponentially, for example, as the number of retransmissions increases.
- all three retransmissions of data packets performed during the disconnection of communication fail.
- the communication disconnection is resolved after the third retransmission.
- the back-off time which is a time during which communication cannot be performed, is not set.
- the node A cannot retransmit the data packet until the back-off period provided by the third retransmission failure ends.
- “Retransmission waiting time” in FIG. 11 is a time during which node A cannot retransmit a data packet because of the provided backoff period.
- TCP reconnection may be performed early after the communication link is stabilized.
- the retransmission may be performed quickly after the communication link is restored.
- the back-off time is a standby time during normal operation.
- the occurrence of a back-off period in a communication device that relays communication is not notified, for example, as an error to an information processing device such as a processor that executes an application program that communicates with another device via the communication device. Therefore, the information processing apparatus that performs communication via the communication apparatus cannot detect a time during which communication cannot be performed because the back-off period is set. Therefore, even if the back-off period is set, the information processing apparatus recognizes that communication is normally performed.
- the information processing apparatus transmits data to another apparatus via the communication apparatus in the back-off period.
- the transmitted data may be lost, for example, due to overflow of the buffer of the communication device.
- the wireless communication device described in Patent Document 1 uses UDP communication together with TCP communication when an error occurs in TCP communication.
- the back-off period is a standby period, it is not abnormal that data is not transmitted in the back-off period. Therefore, a device or the like that communicates via the wireless communication device described in Patent Document 1 cannot detect that communication cannot be performed due to the back-off period.
- the communication device described in Patent Document 2 determines whether a plurality of wireless connections interfere with each other. However, a device or the like that communicates via the communication device of Patent Document 2 cannot detect that communication cannot be performed due to the back-off period.
- the communication system described in Patent Document 3 selects transmission parameters based on the expected throughput. However, a device or the like that communicates via the communication system of Patent Document 3 cannot detect that communication cannot be performed due to the back-off period.
- One of the objects of the present invention is to provide a communication status determination device that can improve the accuracy of specifying the status of the network.
- a communication state estimation device includes: a setting unit that provides the communication parameter to a communication device that determines the occurrence of a communication error in communication with a communication destination device according to a given communication parameter; Transmitting the communication instruction to the communication device that performs the communication in response to receiving the instruction, detecting the occurrence of a communication error determined in the communication according to the instruction, the communication parameter, and the communication parameter Estimation means for estimating whether or not the communication device can perform the communication based on whether or not a communication error has occurred.
- a communication state estimation method provides a communication instruction to a communication apparatus that determines the occurrence of a communication error in communication with a communication destination apparatus according to the given communication parameter, and receives a communication instruction.
- the communication instruction is transmitted to the communication device that performs the communication in response to the communication, the occurrence of a communication error determined in the communication according to the instruction is detected, and the occurrence of the communication parameter and the communication error Based on the above, it is estimated whether or not the communication device can perform the communication.
- a recording medium includes a setting unit that gives a communication parameter to a communication device that determines whether a communication error occurs in communication with a communication destination device in accordance with a given communication parameter. Detecting means for transmitting the communication instruction to the communication device that performs the communication in response to receiving the communication instruction, and detecting the occurrence of a communication error determined in the communication according to the instruction; the communication parameter; A communication state estimation program to be operated is stored as estimation means for estimating whether or not the communication device can perform the communication based on whether or not the communication error has occurred.
- the present invention is also realized by a communication state estimation program stored in the above-described recording medium.
- the present invention has an effect that the accuracy of specifying the network state can be improved.
- FIG. 1 is a block diagram showing an example of the configuration of the communication terminal 1 according to the first and second embodiments of the present invention.
- FIG. 2 is a diagram schematically illustrating an example of a communication error occurrence probability calculated for a plurality of different communication parameters.
- FIG. 3 is a diagram illustrating an example of the arrangement of the two communication terminals 1 according to the first embodiment of this invention.
- FIG. 4 is a flowchart illustrating an operation of establishing communication in the communication state estimation device 10 according to the first embodiment of this invention.
- FIG. 5 is a flowchart illustrating an example of the operation of the communication state estimation process of the communication state estimation device 10 according to the first and second embodiments of the present invention.
- FIG. 1 is a block diagram showing an example of the configuration of the communication terminal 1 according to the first and second embodiments of the present invention.
- FIG. 2 is a diagram schematically illustrating an example of a communication error occurrence probability calculated for a plurality of different communication parameters.
- FIG. 3 is a diagram
- FIG. 6 is a diagram schematically illustrating communication performed between two communication terminals 1 according to the second embodiment of the present invention.
- FIG. 7 is a flowchart showing an example of the operation of the communication state estimation device 10 according to the second exemplary embodiment of the present invention.
- FIG. 8 is a block diagram illustrating an example of a configuration of the communication state estimation device 10 according to the third exemplary embodiment of the present invention.
- FIG. 9 is a diagram illustrating an example of a hardware configuration of a computer 1000 that can realize the communication terminal 1 and the communication state estimation device 10 according to each embodiment of the present invention.
- FIG. 10 is a diagram schematically illustrating an example of inter-vehicle communication.
- FIG. 11 is a diagram schematically illustrating an example of communication performed between two communication terminals.
- FIG. 1 is a block diagram illustrating an example of the configuration of the communication terminal 1 of the present embodiment.
- the communication terminal 1 is communicably connected to the communication destination device 2.
- the communication terminal 1 and the communication destination device 2 only need to be able to communicate with each other wirelessly, for example.
- the communication destination device 2 is a communication terminal having the same configuration as the communication terminal 1, for example.
- the communication terminal 1 of the present embodiment includes an estimation unit 111, a setting unit 121, a detection unit 122, a communication protocol unit 130, and a communication unit 140.
- the communication terminal 1 includes a communication state estimation device 10 and a communication device 11.
- Communication state estimation device 10 includes an estimation unit 111, a setting unit 121, and a detection unit 122.
- the communication device 11 includes a communication protocol unit 130 and a communication unit 140.
- the estimation unit 111 is realized by, for example, a processor of the communication state estimation device 10 and an application 110 that is an application program executed by the processor of the communication state estimation device 10.
- the processor of the communication terminal 1 may be the processor of the communication state estimation apparatus 10.
- the setting unit 121 and the detection unit 122 are implemented as the control unit 120.
- the communication unit 140 communicates with other communication terminals such as the communication destination device 2.
- the communication protocol unit 130 controls communication according to a predetermined communication protocol.
- the control unit 120 is an interface between the communication device 11 and the application 110.
- the communication unit 140 transmits the data received from the communication protocol unit 130 to another communication terminal such as the communication destination device 2.
- the communication unit 140 further transmits data received from another communication terminal to the communication protocol unit 130.
- the communication protocol unit 130 transmits and receives data through the communication unit 140.
- the communication protocol unit 130 establishes a communication session with another communication terminal.
- the communication protocol unit 130 controls the transmission speed.
- the communication protocol unit 130 performs retransmission control of transmitted data.
- the communication protocol unit 130 performs retransmission control more than a certain number of times, when a communication session cannot be established during a certain period, or when data cannot be received during a certain period, a communication error has occurred. judge. If it is determined that a communication error has occurred, the communication protocol unit 130 transmits the error content to the detection unit 122. Further, the communication protocol unit 130 stores communication parameters that specify the above-mentioned fixed number of times and a fixed period.
- the communication parameter is set by the setting unit 121, for example.
- the communication protocol unit 130 may receive a communication parameter from the setting unit 121 and store the received communication parameter.
- the setting unit 121 may write the communication parameter in a storage area that includes the communication protocol unit 130 and stores the communication parameter. Then, the communication protocol unit 130 performs communication according to the stored communication parameters.
- the communication protocol followed by the communication protocol unit 130 is, for example, TCP.
- TCP the communication protocol that the communication protocol unit 130 follows.
- the communication protocol unit 130 determines whether a communication session has been established within a certain period based on the number of retransmissions of the SYN packet. For example, when the maximum value of the number of retransmissions is exceeded, the communication protocol unit 130 determines that session establishment has failed.
- the above-mentioned fixed period is a value set in the variable TCP_USER_TIMEOUT, for example.
- TCP_USER_TIMEOUT the communication protocol unit 130 determines that a communication error has occurred when a packet cannot be received within the time set in TCP_USER_TIMEOUT.
- the communication protocol unit 130 may transmit error information.
- the communication protocol unit 130 may determine that a communication error has occurred when transmission / reception of a communication protocol control message (for example, a TCP SYN packet) cannot be performed.
- the communication protocol unit 130 may determine that a communication error has occurred when a specific control message is received from a communication partner.
- a communication error occurs in the communication protocol unit 130”.
- the setting unit 121 sets the communication parameters of the communication protocol unit 130.
- the setting unit 121 receives communication parameter information from the estimation unit 111.
- the setting unit 121 transmits the received communication parameter to the communication protocol unit 130.
- the setting unit 121 writes the received communication parameter in a storage area in which the communication parameter is stored, which is included in the communication protocol unit 130.
- the setting unit 121 causes the communication protocol unit 130 to start communication.
- the setting unit 121 sets the parameter notified from the estimation unit 111 using a socket option.
- the setting unit 121 causes the communication protocol unit 130 to start processing for establishing a session with the communication partner.
- the setting unit 121 may transmit an instruction to start processing for establishing a session with a communication partner to the communication protocol unit 130.
- the communication protocol unit 130 may start processing for establishing a session with the communication partner.
- the detecting unit 122 monitors whether there is a communication error in communication with the communication partner.
- the detection unit 122 may detect the occurrence of a communication error in communication with the communication partner.
- the detection unit 122 may detect whether or not the communication protocol unit 130 determines that a communication error has occurred.
- the detection unit 122 may detect the occurrence of a communication error when receiving communication error information indicating the communication error that has occurred and transmitted by the communication protocol unit 130 when a communication error occurs.
- the detection unit 122 notifies the estimation unit 111 of the occurrence of a communication error by transmitting the received communication error information.
- the setting unit 121 sets, for example, the number of times a SYN packet is retransmitted as a communication parameter.
- the communication protocol unit 130 determines that a failure to establish a session is a communication error that has occurred. When it is determined that a communication error has occurred, the communication protocol unit 130 transmits error information indicating that session establishment has failed to the detection unit 122. The detection unit 122 notifies the estimation unit 111 that the session establishment has failed. That is, the detection unit 122 transmits a communication error indicating that session establishment has failed to the estimation unit 111.
- the communication protocol unit 130 may transmit a message indicating that the session has been successfully established to the detection unit 122.
- the detection unit 122 may transmit a message indicating that the session has been successfully established to the estimation unit 111.
- a period is set in TCP_USER_TIMEOUT as a threshold used to determine the occurrence of a communication error when a packet that cannot be received for a certain period of time cannot be received.
- the communication protocol unit 130 determines that a communication error has occurred when a packet is not received for a period longer than the period set in TCP_USER_TIMEOUT after the session is established.
- the communication protocol unit 130 transmits communication error information indicating that the packet has not been received for a certain period of time to the detection unit 122.
- the detection unit 122 notifies the estimation unit 111 that a packet has not been received within a certain period.
- the communication protocol unit 130 may have a communication error.
- communication error information may be transmitted.
- the detection unit 122 may execute a TCP system call.
- the detection unit 122 may monitor whether a TCP communication error has occurred when any of the TCP system calls is executed. When the occurrence of a communication error is detected, the detection unit 122 may notify the estimation unit 111.
- the detection unit 122 notifies the estimation unit 111.
- the estimation unit 111 may be realized by the application 110 that is an application executed by the processor of the communication terminal 1 or the communication state estimation device 10, for example.
- the estimation unit 111 uses the setting unit 121 to set a communication parameter corresponding to the communication error to be investigated as a communication parameter of the communication protocol unit 130.
- the estimation unit 111 estimates the communication establishment status based on the presence / absence of a communication error notified from the detection unit 122 and the content of the set communication parameter.
- the estimation unit 111 sets, for example, the number of retransmissions of a SYN packet, which is one of communication parameters, to 1 for the setting unit 121.
- Send a request The estimation unit 111 further sends a request to the setting unit 121 to perform communication in a state where the number of retransmissions of the SYN packet is set to 1.
- the estimation unit 111 receives a communication error that has occurred in communication performed in response to a request from the detection unit 122. Sending a request to perform communication with the communication parameters set, and receiving the communication error when a communication error occurs in the communication is referred to as “investigation” in the following description.
- the estimation unit 111 determines whether it is easy or difficult to establish a session based on the received communication error. For example, the estimation unit 111 may repeat a request to execute communication in a state where the number of times of retransmission of the SYN packet is set for investigation, a predetermined number of times.
- the communication protocol unit 130 continuously fails to establish a session in the state where the number of retransmissions of the SYN packet is set to 1, a communication error indicating that the session establishment has failed continues from the detection unit 122. Sent. Therefore, when the estimation unit 111 continuously receives a communication error indicating that session establishment has failed from the detection unit 122, the estimation unit 111 determines that session establishment is difficult.
- the communication protocol unit 130 does not continuously fail to establish a session, a communication error indicating that the session has failed to be detected is detected.
- the unit 122 does not transmit continuously.
- the estimation unit 111 may determine that the session is easily established. In that case, the estimation unit 111 may further estimate that communication with the communication destination device 2 is possible. The estimation unit 111 may repeatedly determine whether the session establishment described above is difficult or easy.
- the communication terminal 1 While it is determined that session establishment is difficult, the communication terminal 1 does not have to attempt to establish communication for actually performing data transfer. For example, when the result of determination regarding the difficulty of establishing a session changes easily from difficult, for example, the application 110 may start TCP communication that actually performs data transfer. As a result, the communication state estimation device 10 can shorten the back-off time in the process of establishing communication, and as a result, can start TCP communication early.
- the estimation unit 111 may repeatedly perform the above-described investigation using only specific communication parameters.
- the estimation unit 111 may repeatedly perform an investigation while changing communication parameters in various ways.
- the estimation unit 111 may further calculate the probability of receiving a communication error for each communication parameter that has been investigated. For example, the estimation unit 111 may perform a plurality of investigations for one communication parameter.
- the estimation unit 111 may calculate a communication error occurrence probability based on the result of the plurality of investigations.
- the estimation unit 111 may calculate a communication error occurrence probability for each of the other communication parameters.
- the estimation unit 111 may transmit an instruction to the setting unit 121 to set a value larger than 1 for the number of times the SYN packet is retransmitted. If the session is successfully established, the detection unit 122 may transmit the number of times the SYN packet is retransmitted until the session is established to the estimation unit 111. When the session establishment fails, the detection unit 122 may transmit a communication error indicating that the session establishment failed to the estimation unit 111. The estimation unit 111 may calculate a communication error for each number of retransmissions of the SYN packet based on the received number of retransmissions.
- FIG. 2 is a diagram schematically showing an example of the occurrence probability of communication errors calculated for a plurality of different communication parameters.
- “communication error probability” represents the probability that a session cannot be established when the SYN packet can be retransmitted up to the number indicated in “SYN retransmission count”.
- the example illustrated in FIG. 2 represents, for example, that the probability that a session cannot be established even if the SYN packet is retransmitted three times is 20%.
- the “back-off period” represents the back-off period when the number of times of retransmission of the SYN packet is the number indicated in “number of times of SYN retransmission”.
- the back-off period in the first retransmission of the SYN packet is 3 seconds.
- the back-off period in the second retransmission of the SYN packet is 6 seconds.
- the back-off period in the third retransmission of the SYN packet is 12 seconds.
- the sum of the back-off periods is 21 seconds because the sum of 3, 6, and 12 is 21.
- the estimation unit 111 may determine whether the session can be established based on the communication error probability. The estimation unit 111 only needs to identify the minimum number of SYN packet retransmissions whose communication error probability is equal to or less than a threshold value. Then, the estimation unit 111 may calculate the total back-off time when the number of retransmissions of the SYN packet is the specified number of retransmissions of the SYN packet as the waiting time. The estimation unit 111 may estimate that communication is possible, for example, when the calculated waiting time does not exceed a predetermined threshold. The estimation unit 111 may estimate that communication is not possible, for example, when the calculated waiting time exceeds a predetermined threshold.
- the estimation unit 111 may estimate that the session can be established by retransmitting the SYN packet three times.
- the estimation unit 111 may further calculate the total back-off time when the SYN packet is retransmitted three times as the waiting time.
- the calculated waiting time is 21 seconds.
- the estimation unit 111 determines that a waiting time of 21 seconds occurs. For example, when the threshold value for the waiting time is 25 seconds, the estimation unit 111 determines that communication is possible if the calculated time is 21 seconds.
- the estimation unit 111 may associate the communication parameter and the communication error transmitted from the detection unit 122 using, for example, an identifier when conducting an investigation using a plurality of communication parameters. For example, the estimation unit 111 may associate the identifier with the communication parameter in advance. The estimation unit 111 may associate an identifier with a communication request transmitted in the survey. Then, the estimating unit 111 may transmit a communication request associated with the identifier to the setting unit 121. The detection unit 122 may transmit the communication error associated with the identifier to the estimation unit 111.
- the identifier may be a communication parameter itself. The identifier may be a communication parameter identifier.
- the setting unit 121 may simultaneously perform TCP communication in which different parameters are set in parallel.
- the estimation unit 111 may perform an estimation process each time communication of a set value of one communication parameter is completed.
- the application 110 may control TCP reconnection from the application level based on the result estimated using, for example, the communication error occurrence probability shown in FIG. Repeated reconnection by the application 110 is different from repeated retransmission of a SYN packet. Even if reconnection by the application 110 repeatedly fails, the provided back-off period does not increase exponentially according to the number of failures. In other words, the increase in the back-off period provided in this case is not exponential. For example, as a result of estimation, when it takes 21 seconds to establish a TCP connection, the application 110 may execute a TCP reconnection every second, for example.
- the application 110 may consider that the session establishment has failed. Good. In that case, the application 110 may perform TCP reconnection. Thereby, a TCP connection can be established at an early stage.
- an ad hoc network may be constructed by a large number of communication terminals 1.
- TCP is used as the communication protocol.
- FIG. 3 is a diagram illustrating an example of the arrangement of two communication terminals 1.
- the figures shown as node A and node B represent the positions of the two communication terminals 1.
- the two communication terminals 1 are mounted on a moving body such as a traveling vehicle, for example.
- the positions of the node A and the node B at the time T1 represent the farthest positions where they can communicate with each other.
- each communication terminal 1 periodically transmits a beacon notifying its existence to notify another communication terminal 1 existing in a communicable range of an IP (Internet Protocol) address. . Therefore, each communication terminal 1 recognizes the other existence (IP address).
- IP Internet Protocol
- FIG. 4 is a flowchart showing the operation of establishing communication in the communication state estimation device 10 of the present embodiment.
- One of the two communication terminals 1 described above holds the data held by the other communication terminal 1 (for example, the communication terminal represented as the node B).
- the communication terminal 1 represented as the node A is referred to as the node A or simply the communication terminal 1.
- the communication terminal 1 represented as the node B is referred to as a node B or a communication destination device 2.
- FIG. 4 illustrates the operation of the communication state estimation device 10 included in the communication terminal 1 that is the node A when the node A establishes a connection with the node B.
- the communication partner 1 communicates with the communication destination device 2.
- Node A that is, the communication terminal 1 first grasps the communication status. That is, the communication terminal 1 uses the estimation unit 111 to determine whether data can be transferred using TCP (that is, whether back-off control does not occur). The process for that is the communication state estimation process in step S101 shown in FIG.
- the communication state estimation apparatus 10 first performs a communication state estimation process (step S101).
- the communication state estimation process will be described later in detail.
- the estimation unit 111 sends a communication protocol unit 130 of the communication device 11 to the communication protocol unit 130.
- a reconnection instruction is established to establish communication for transferring data (step S103).
- the communication state estimation device 10 may repeat the communication state estimation process (step S101).
- the application 110 may perform one or both of the operations of step S102 and step S103.
- Another application program executed by the processor of the communication state estimation apparatus 10 may perform the operation of one or both of step S102 and step S103.
- An application program executed by the processor of the communication terminal 1 may perform one or both operations of step S102 and step S103.
- FIG. 5 is a flowchart showing an example of the operation of the communication state estimation process of the communication state estimation device 10 of the present embodiment.
- the estimation unit 111 determines communication parameters (step S111).
- the estimation unit 111 determines, for example, the number of retransmissions of the SYN packet as 1 for a TCP communication test for estimating whether the session can be established without increasing the back-off time in the session establishment. .
- the estimation unit 111 transmits the determined communication parameter to the setting unit 121 (step S112).
- the estimation unit 111 may transmit an instruction to set the communication parameter to the setting unit 121.
- the estimation unit 111 transmits an instruction to set the number of retransmissions of the SYN packet to 1 to the setting unit 121.
- the estimation unit 111 transmits a communication instruction that is an instruction to perform communication to the setting unit 121 in a state where the determined communication parameter is set (step S113).
- the setting unit 121 that has received the communication instruction causes the communication protocol unit 130 to start TCP communication for estimating the communication status, as will be described later. In this way, the estimation unit 111 causes the communication protocol unit 130 to start TCP communication for communication status estimation, for example, by transmitting a communication instruction to the setting unit 121.
- step S113 the setting unit 121 gives the communication protocol (for example, the number of times of SYN retransmission: once) transmitted from the estimation unit 111 to the communication protocol unit 130. Then, the setting unit 121 causes the communication protocol unit 130 to start communication.
- the setting unit 121 gives a communication parameter to the communication protocol unit 130 by setting the TCP SYN packet retransmission count to “1” in the socket option.
- the setting unit 121 causes the communication protocol unit 130 to start TCP communication.
- step S113 the communication protocol unit 130 starts communication according to the communication parameters set by the setting unit 121.
- the number of retransmissions of the TCP SYN packet is set to “1”.
- the communication protocol unit 130 starts TCP communication under the condition that the number of retransmissions of the TCP SYN packet is “1”.
- the communication protocol unit 130 monitors whether a communication error has occurred and whether TCP communication has been completed. When the occurrence of a communication error is detected, the communication protocol unit 130 transmits communication error information indicating the generated communication error to the detection unit 122. When the communication is normally completed, the communication protocol unit 130 transmits, for example, a response indicating that the communication is completed to the detection unit 122.
- the communication is, for example, transmission of a SYN packet that establishes a session.
- the detection unit 122 receives communication error information indicating a communication error that has occurred from the communication protocol unit 130 (that is, receives a communication error).
- the detection unit 122 notifies the estimation unit 111 of the occurrence of the communication error (step S116).
- the detection unit 122 may transmit the generated communication error to the estimation unit 111. That is, the detection unit 122 may transmit communication error information indicating the communication error that has occurred to the estimation unit 111.
- the detection unit 122 executes a communication end process (step S117).
- the detection unit 122 may transmit, for example, an instruction to end communication to the communication protocol unit 130.
- the communication protocol unit 130 that has received the instruction to end the communication ends the TCP communication by closing the TCP communication socket.
- the detection unit 122 When no communication error occurs, the detection unit 122 does not receive communication error information indicating a communication error that has occurred from the communication protocol unit 130 (that is, does not receive a communication error). When the communication error information indicating the communication error generated from the communication protocol unit 130 is not received (No in step S114), the detection unit 122 determines whether the communication based on the transmission instruction transmitted in step S113 is completed. As a result of the determination, when the communication is normally completed (Yes in Step S115), the detection unit 122 performs the operation of Step S117 described above. If no communication error has been received from communication protocol unit 130 (No in step S114) and a response indicating that communication has been normally completed has been received (No in step S115), communication state estimation apparatus 10 Operation returns to step S114. The operations in steps S114 and S115 are repeated until a communication error or a response indicating that the communication has been normally completed is received from the communication protocol unit 130.
- the communication state estimation device 10 repeats the operations from step S111 to step S117.
- the estimation part 111 estimates whether communication with the communication destination apparatus 2 is possible (step S118). For example, when the session is successfully established three times in succession, the estimation unit 111 may estimate that communication with the communication destination device 2 is possible.
- the state where communication is possible is, for example, a state where no communication error occurs in communication with the communication destination device 2 and data can be transferred using TCP (ie, a state where, for example, back-off control does not occur).
- TCP ie, a state where, for example, back-off control does not occur.
- the estimation unit 111 determines that communication with the communication destination device 2 is possible, as described above, the communication terminal 1 actually transmits data by, for example, the application 110 transmitting a connection instruction. Start TCP communication.
- reconnection is started at time T2.
- T3 the TCP connection is completed.
- the time until the TCP connection is completed is shorter than in the example shown in FIG. Therefore, node A and node B in FIG. 3 have a longer communication time than the example shown in FIG.
- the times T1, T2, and T3 shown in FIG. 3 are not related to the times T1, T2, and T3 shown in FIG.
- the communication state estimation device 10 estimates the communication state by dedicated TCP communication that is not used other than the communication state estimation.
- the communication state estimation apparatus 10 may estimate the communication state using TCP communication that transmits data. Specifically, the communication state estimation device 10 may start data communication after setting the communication parameter to the communication parameter used in the test. When it is determined that no communication error is detected, the communication terminal 1 may return the communication parameter to the communication parameter set at the time of data transfer. And the communication terminal 1 should just perform data communication.
- the embodiment described above has the effect of improving the accuracy of specifying the network state.
- the reason is that the estimation unit 111 determines whether or not the communication device 11 can communicate based on the communication parameter and the presence or absence of a communication error in the communication parameter.
- the communication parameter is given to the communication protocol unit 130 of the communication device 11 by the setting unit 121.
- the communication error is detected by the detection unit 122 in communication performed by the communication device 11 to which the communication parameter is given.
- FIG. 1 is a block diagram showing an example of the configuration of the communication terminal 1 of the present embodiment.
- the configuration of the communication terminal 1 of the present embodiment is the same as the configuration of the communication terminal 1 of the first embodiment.
- the characteristic part according to the present embodiment will be mainly described.
- the overlapping description about the structure similar to 1st Embodiment mentioned above is abbreviate
- the communication state estimation apparatus 10 estimates a communication state based on the fact that a packet does not flow for a certain period in data communication after a TCP session is established.
- the communication state estimation device 10 of the present embodiment may further perform the same operation as the communication state estimation device 10 of the first embodiment.
- the communication state estimation device 10 according to the present embodiment further determines whether or not to start data communication based on the number of retransmissions of the TCP communication SYN packet and the communication error detected in establishing the TCP communication session. May be.
- the estimation unit 111 determines a communication parameter to be given to the communication protocol unit 130, similarly to the estimation unit 111 of the first embodiment.
- the estimation unit 111 further estimates a communication state based on the determined communication parameter and the presence or absence of a communication error that occurs in the communication in which the communication parameter is set.
- the estimation unit 111 determines, for example, a time during which communication is allowed to be interrupted To do. Then, the estimation unit 111 transmits the determined time to allow communication interruption to the setting unit 121 as a communication parameter to be given to the communication device 11. The estimation unit 111 further transmits a communication instruction, which is a request for performing communication, to the setting unit 121. The estimation unit 111 receives, from the detection unit 122, a communication error that has occurred in communication performed with the transmitted communication parameter set. Based on the received communication error, the estimation unit 111 grasps a communication state such as a packet transmission state. For example, the TCP_USER_TIMEOUT parameter may be used as the parameter that represents the time during which the disconnection of communication is permitted. In the following description, the time allowed for disconnection of communication is 10 seconds.
- a communication error is transmitted from the detection unit 122 when a communication disconnection of 10 seconds or more occurs in the communication according to the transmitted communication instruction.
- the estimation unit 111 determines that a communication disconnection of 10 seconds or more occurs.
- the estimation unit 111 determines that there is no disconnection of communication for 10 seconds or more.
- the estimation unit 111 may repeatedly transmit a communication instruction.
- the estimation unit 111 changes the communication parameter to a different communication parameter, Repeated surveys may be conducted. The estimation unit 111 may repeatedly perform an investigation using specific communication parameters. When the occurrence of a communication error is not detected in communication using a certain communication parameter, the estimation unit 111 may investigate using a communication parameter that is more likely to cause an error. For example, when it is determined that communication interruption for 10 seconds or more does not occur, the estimation unit 111 may change the time for which communication interruption is allowed to 5 seconds. For example, the estimation unit 111 may change TCP_USER_TIMEOUT to 5 seconds. And the estimation part 111 should just transmit a communication instruction
- the estimation unit 111 can grasp the time when communication is interrupted by using the maximum value of the number of packet retransmissions as a communication parameter. For example, in communication in which the maximum number of packet retransmissions is set as a communication parameter, if the number of packet retransmissions exceeds the number set as the maximum number of packet retransmissions, communication error information may be generated. Detected.
- the estimation unit 111 may estimate the total back-off time according to the number of times set as the maximum value of the packet as the time when communication is interrupted. For example, the estimation unit 111 may estimate the time during which communication is interrupted more accurately by performing an investigation while changing the maximum value of the number of packet retransmissions in various ways.
- the total back-off time is not proportional to the number of packet retransmissions.
- the back-off time set in one packet retransmission increases exponentially with an increase in the number of retransmissions, for example, as shown in FIG.
- the estimation unit 111 only needs to hold a back-off time set in packet retransmission for each number of packet retransmissions. Then, the estimation unit 111 may calculate the sum of back-off times according to the maximum value of the number of packet retransmissions set as a communication parameter. The estimation unit 111 may determine that the sum of the calculated back-off times is a time when communication is interrupted. In the example illustrated in FIG.
- the estimation unit 111 determines that the communication interruption time is 3 seconds, which is the back-off period in the first retransmission, and the second retransmission. What is necessary is just to determine that it is 9 second which is the sum with 6 second which is the back-off period.
- the estimating unit 111 When estimating using each of a plurality of communication parameters, the estimating unit 111 associates the communication parameter with the communication error from the detecting unit 122 by using an identifier in the same manner as the estimating unit 111 of the first embodiment. Just do it.
- the detection unit 122 notifies the estimation unit 111 of the communication error that has occurred when a communication error has occurred, as with the detection unit 122 of the first embodiment.
- the detection unit 122 may transmit information representing the communication error that has occurred to the estimation unit 111.
- the detection unit 122 may set the communication parameter by changing TCP_USER_TIMEOUT, for example. For example, when a communication error is detected in communication performed by the communication protocol unit 130 after the session is established, the detection unit 122 informs the estimation unit 111 that it has not received a packet for a period set as a communication parameter. Just notify.
- the detection unit 122 may notify the estimation unit 111 of information indicating a communication error.
- an ad hoc network including a large number of communication terminals 1 may be constructed.
- communication between two communication terminals 1 among the communication terminals 1 configuring the network will be described for ease of explanation.
- TCP is used as the communication protocol.
- FIG. 6 is a diagram schematically illustrating communication performed between the two communication terminals 1 in the present embodiment.
- Node A and node B shown in FIG. 6 are the two communication terminals 1 described above.
- the distance between the node A and the node B is a distance at which the node A and the node B can communicate with each other.
- each communication terminal 1 notifies the IP address by periodically transmitting a beacon notifying its presence. Accordingly, each communication terminal 1 recognizes the presence of another communication terminal 1. In other words, each communication terminal 1 recognizes the IP address of the other communication terminal 1.
- FIG. 7 is a flowchart showing an example of the operation of the communication state estimation apparatus 10 of the present embodiment.
- communication between the node A and the node B has already been established.
- the node A transmits the data held by the node A to the node B.
- the operations performed by the node A and the node B are drawn from top to bottom as time passes.
- the node A transmits content in response to a content request from the node B, for example.
- the node A performs the operation shown in FIG. 7 while transmitting data to the node B.
- the communication state estimation device 10 included in the node A performs the operation shown in FIG.
- the communication terminal 1 represented as the node A in FIG. 6 is referred to as the node A or simply the communication terminal 1.
- the communication terminal 1 represented as the node B in FIG. 6 is referred to as a node B or a communication destination device 2.
- the communication state estimation device 10 of the communication terminal 1 first performs a communication state estimation process (step S101). That is, the communication state estimation device 10 of the communication terminal 1 determines whether or not data communication using TCP is possible by the estimation unit 111 (that is, whether or not retransmission backoff control is performed).
- the communication state estimation process in step S101 will be described in detail later.
- the communication state estimation apparatus 10 repeats the communication state estimation process in step S101. As will be described later, data is transmitted to the communication destination device 2 in the communication state estimation process. That is, data transmission to the communication destination device 2 is continued.
- the estimation unit 111 ends the current connection (step S201).
- the estimation unit 111 may transmit a communication end instruction that is an instruction to close a TCP session, for example, to the communication protocol unit 130 of the communication device 11.
- the communication protocol unit 130 ends the established communication.
- the estimation unit 111 further transmits a reconnection instruction, which is an instruction to perform reconnection, to the communication protocol unit 130 of the communication device 11 (step S103).
- the communication protocol unit 130 that has received the reconnection instruction newly starts TCP communication. Data transmission performed by the communication terminal 1 is performed by newly started TCP communication.
- the application 110 may perform some or all of the operations in step S102, step S201, and step S103.
- Another application program executed by the processor of the communication state estimation device 10 may perform a part or all of the operations of Step S102, Step S201, and Step S103.
- the application program executed by the processor of the communication terminal 1 may perform a part or all of the operations of Step S102, Step S201, and Step S103.
- FIG. 5 is a flowchart showing an example of an operation of performing communication state estimation processing of the communication terminal 1 of the present embodiment.
- it is estimated whether TCP communication is stopped, for example, by increasing the backoff time in packet retransmission.
- the estimation unit 111 determines communication parameters (step S111).
- the communication parameter determined in step S111 is a communication parameter used to estimate whether TCP communication has been interrupted for a predetermined time or more.
- the estimation unit 111 may determine the value of the communication timeout time, that is, the value of the time that allows the disconnection of communication.
- the estimation unit 111 determines the time for which disconnection of communication is allowed, for example, 10 seconds.
- the estimating unit 111 transmits the determined communication parameter to the setting unit 121 (step S112).
- the estimation unit 111 may transmit, for example, an instruction to set the communication timeout to 10 seconds determined as the time allowed for disconnection of communication to the setting unit 121.
- the estimation unit 111 further transmits a communication instruction, which is an instruction for performing TCP communication in a state where the determined communication parameter is set, to the setting unit 121 (step S113).
- the setting unit 121 gives the communication protocol received from the estimation unit 111 to the communication protocol unit 130.
- the setting unit 121 may set the communication parameter by setting TCP_USER_TIMEOUT to 10 seconds in the socket option, for example.
- the setting unit 121 transmits an instruction to start communication to the communication protocol unit 130.
- the communication protocol unit 130 starts communication.
- the data transmitted from the communication protocol unit 130 to the communication destination device 2 may be data used only for inspection.
- the data that the communication protocol unit 130 transmits to the communication destination device 2 through the operation in step S113 may be the data that the communication terminal 1 transmits to the communication destination device 2 described above.
- step S114 to step S118 is the same as the operation from step S114 to step S118 in the first embodiment.
- the communication parameter may be, for example, a time that allows the communication to be interrupted.
- the communication error may be, for example, that data transmission is not performed for a time longer than the time allowed to disconnect communication.
- the operation shown in FIG. 5 is performed in parallel with the transmission of data from the communication terminal 1 to the communication destination device 2. Then, by the operation shown in FIG. 5, the communication state estimation device 10 determines whether or not the communication destination device 2 has been disconnected from the data transfer by TCP (for example, a long retransmission backoff time caused by packet retransmission). Monitor.
- TCP for example, a long retransmission backoff time caused by packet retransmission.
- the estimation unit 111 estimates that a communication disconnection has occurred, the communication disconnection shown in FIG. 6 occurs in communication between the communication terminal 1 and the communication destination device 2 due to, for example, retransmission of a packet. It may have occurred. In this case, the estimation unit 111 or the application 110 may cancel the established TCP communication. Then, the estimation unit 111, the application 110, or the like performs reconnection processing that newly starts TCP communication. Thereby, as shown in FIG. 6, TCP communication can be restarted at an early stage. And waiting time is reduced.
- TCP communication represents communication controlled by the communication protocol unit 130 according to TCP.
- Control by application represents, for example, processing performed by an application program executed by a processor such as the communication terminal 1.
- the “application reconnection process” represents a reconnection process performed by an application program executed by a processor such as the communication terminal 1. Repeating application reconnection processing is not repetition of packet retransmission. Therefore, in the application reconnection process, even if reconnection failures are repeated, the provided back-off period does not increase exponentially. In other words, the increase in backoff period provided in this case is not exponential.
- the communication state may be estimated using TCP communication that transmits actual data.
- the estimation unit 111 may determine a communication parameter used for the inspection as a communication parameter when transmitting data.
- the setting part 121 should just start transmission of data in the state by which the determined communication parameter was set.
- the application 110 or the like may resume TCP communication.
- an application or the like that transmits data may resume transmission of data whose transmission has been interrupted due to a communication error.
- the present embodiment described above has the same effect as the first embodiment.
- the reason is the same as the reason for the effect of the first embodiment.
- FIG. 8 is a block diagram illustrating an example of the configuration of the communication state estimation apparatus 10 according to the present embodiment.
- the communication state estimation device 10 of the present embodiment includes a setting unit 121, a detection unit 122, and an estimation unit 111.
- the setting unit 121 gives the communication parameter to the communication device 11 that determines the occurrence of a communication error in communication with the communication destination device 2 according to the given communication parameter.
- the detection unit 122 transmits the communication instruction to the communication device 11 that performs the communication in response to receiving the communication instruction, and detects the occurrence of a communication error determined in the communication according to the instruction.
- the estimation unit 111 estimates whether or not the communication device 11 can perform the communication based on the communication parameter and the presence or absence of the communication error.
- the present embodiment described above has the same effect as the first embodiment.
- the reason is the same as the reason for the effect of the first embodiment.
- the communication terminal 1 and the communication state estimation device 10 can be realized by a computer and a program for controlling the computer, dedicated hardware, or a combination of the computer and the program for controlling the computer and dedicated hardware, respectively.
- FIG. 9 is a diagram illustrating an example of a hardware configuration of a computer 1000 that can realize the communication terminal 1 and the communication state estimation device 10.
- a computer 1000 includes a processor 1001, a memory 1002, a storage device 1003, and an I / O (Input / Output) interface 1004.
- the computer 1000 can access the recording medium 1005.
- the memory 1002 and the storage device 1003 are storage devices such as a RAM (Random Access Memory) and a hard disk, for example.
- the recording medium 1005 is, for example, a storage device such as a RAM or a hard disk, a ROM (Read Only Memory), or a portable recording medium.
- the storage device 1003 may be the recording medium 1005.
- the processor 1001 can read and write data and programs from and to the memory 1002 and the storage device 1003.
- the processor 1001 can access, for example, the communication destination device 2 or the communication device 11 via the I / O interface 1004.
- the processor 1001 can access the recording medium 1005.
- the recording medium 1005 stores a program that causes the computer 1000 to operate as the communication terminal 1 or the communication state estimation device 10.
- the processor 1001 loads a program stored in the recording medium 1005 that causes the computer 1000 to operate as the communication terminal 1 or the communication state estimation device 10 into the memory 1002. Then, when the processor 1001 executes the program loaded in the memory 1002, the computer 1000 operates as the communication terminal 1 or the communication state estimation device 10.
- the estimation unit 111, the setting unit 121, the detection unit 122, the communication protocol unit 130, and the communication unit 140 are realized by, for example, a dedicated program that can realize the functions of these units and a processor 1001 that executes the program. can do.
- the dedicated program is read into the memory 1002 from a recording medium 1005 storing the dedicated program, for example.
- some or all of the estimation unit 111, the setting unit 121, the detection unit 122, the communication protocol unit 130, and the communication unit 140 may be realized by a dedicated circuit that realizes the functions of the respective units.
- setting means for giving the communication parameter to a communication device that determines the occurrence of a communication error in communication with the communication destination device;
- Detecting means for transmitting the communication instruction to the communication device that performs the communication in response to receiving the communication instruction, and detecting the occurrence of a communication error determined in the communication according to the instruction;
- Estimating means for estimating whether the communication device can perform the communication based on the communication parameter and the presence or absence of the occurrence of the communication error;
- a communication state estimation device comprising:
- the estimation means estimates a time until the communication can be performed based on the communication parameter and the presence / absence of the communication error, and estimates whether the communication apparatus can perform the communication based on the time
- the communication state estimation device according to attachment 1.
- the setting means transmits a plurality of different communication parameters to the communication device, The communication state estimation device according to attachment 1 or 2, wherein the detection unit detects, for each of the plurality of communication parameters, occurrence of the communication error determined according to the communication parameter.
- the setting unit transmits the reconnection instruction to the communication device that reconnects to the communication destination device in response to receiving the reconnection instruction.
- the communication state estimation apparatus according to any one of 1 to 3.
- a communication terminal including the communication state estimation device according to any one of supplementary notes 1 to 8 and the communication device.
- the communication parameter is given to the communication device that determines the occurrence of a communication error in communication with the communication destination device, Transmitting the communication instruction to the communication device that performs the communication in response to receiving the communication instruction, detecting the occurrence of a communication error determined in the communication according to the instruction;
- a communication state estimation method for estimating whether or not the communication device can perform the communication based on the communication parameter and the presence or absence of the communication error.
- setting means for giving the communication parameter to a communication device that determines the occurrence of a communication error in communication with the communication destination device; Detecting means for transmitting the communication instruction to the communication device that performs the communication in response to receiving the communication instruction, and detecting the occurrence of a communication error determined in the communication according to the instruction; Estimating means for estimating whether the communication device can perform the communication based on the communication parameter and the presence or absence of the occurrence of the communication error; Communication state estimation program to be operated.
- Appendix 20 Computer The setting means for transmitting a plurality of different communication parameters to the communication device; For each of the plurality of communication parameters, the detection means for detecting the occurrence of the communication error determined according to the communication parameter; The communication state estimation program according to appendix 18 or 19, which is operated as described above.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Mobile Radio Communication Systems (AREA)
- Communication Control (AREA)
Abstract
Description
[構成の説明]
図1は、本実施形態の通信端末1の構成の例を表すブロック図である。通信端末1は、通信先装置2と通信可能に接続されている。通信端末1と通信先装置2とは、例えば、無線によって通信可能であればよい。通信先装置2は、例えば、通信端末1と同じ構成を備える通信端末である。
次に、本実施形態の通信状態推定装置10の動作について、図面を参照して詳細に説明する。
[構成の説明]
次に、本発明の第2の実施形態について、図面を参照して詳細に説明する。本実施形態は、第1の実施形態を基本とする実施形態である。
推定部111は、通信パラメータを異なる通信パラメータに変更しながら、繰り返し調査を行ってもよい。推定部111は、特定の通信パラメータを使用して、繰り返し調査を行ってもよい。推定部111は、ある通信パラメータを使用した通信において通信エラーの発生が検出されない場合、さらにエラーが発生しやすい通信パラメータを使用して調査を行ってもよい。例えば、10秒以上の通信の断絶が発生しないと判定した場合、は、推定部111は、通信の断絶を許容する時間を5秒に変更してもよい。推定部111は、例えば、TCP_USER_TIMEOUTを5秒に変更させればよい。そして、推定部111は、再度、通信指示を送信すればよい。推定部111は、異なる複数の通信パラメータを使用して調査を行うことで、発生する通信の断絶時間の長さをさらに正確に把握することができる。
次に、本実施形態の通信状態推定装置10の動作について、図面を参照して詳細に説明する。
次に、本発明の第3の実施形態の通信状態推定装置10について、図面を参照して詳細に説明する。本実施形態は、上述した各実施形態に共通する概念を表す実施形態である。
通信端末1、及び通信状態推定装置10は、それぞれ、コンピュータ及びコンピュータを制御するプログラム、専用のハードウェア、又は、コンピュータ及びコンピュータを制御するプログラムと専用のハードウェアの組合せにより実現することができる。
与えられた通信パラメータに応じて、通信先装置との通信において通信エラーの発生を判定する通信装置に、前記通信パラメータを与える設定手段と、
通信指示を受信するのに応じて前記通信を行う前記通信装置に前記通信指示を送信し、当該指示に応じた前記通信において判定された通信エラーの発生を検出する検出手段と、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信装置が前記通信をできるか否かを推定する推定手段と、
を備える通信状態推定装置。
前記推定手段は、前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信をできるようになるまでの時間を推定し、当該時間に基づき前記通信装置が前記通信をできるか否かを推定する
付記1に記載の通信状態推定装置。
前記設定手段は、異なる複数の通信パラメータを前記通信装置に送信し、
前記検出手段は、前記複数の通信パラメータの各々について、当該通信パラメータに応じて判定された前記通信エラーの発生を検出する
付記1又は2に記載の通信状態推定装置。
前記設定手段は、前記通信装置が前記通信をできないと推定された場合、再接続指示を受信するのに応じて前記通信先装置に再接続する前記通信装置に、前記再接続指示を送信する
付記1乃至3のいずれかに記載の通信状態推定装置。
前記通信は、前記通信先端末とコネクションを確立する通信を含む
付記1乃至4のいずれかに記載の通信状態推定装置。
前記通信は、データを送信する又は受信する通信を含む
付記1乃至5のいずれかに記載の通信状態推定装置。
前記通信パラメータは、データの再送回数である
付記1乃至6のいずれかに記載の通信状態推定装置。
前記通信パラメータは、通信が断絶している時間である
付記6に記載の通信状態推定装置。
付記1乃至8のいずれかに記載の通信状態推定装置と、前記通信装置と、を含む通信端末。
与えられた通信パラメータに応じて、通信先装置との通信において通信エラーの発生を判定する通信装置に、前記通信パラメータを与え、
通信指示を受信するのに応じて前記通信を行う前記通信装置に前記通信指示を送信し、当該指示に応じた前記通信において判定された通信エラーの発生を検出し、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信装置が前記通信をできるか否かを推定する
通信状態推定方法。
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信をできるようになるまでの時間を推定し、当該時間に基づき前記通信装置が前記通信をできるか否かを推定する
付記10に記載の通信状態推定方法。
異なる複数の通信パラメータを前記通信装置に送信し、
前記複数の通信パラメータの各々について、当該通信パラメータに応じて判定された前記通信エラーの発生を検出する
付記10又は11に記載の通信状態推定方法。
前記通信装置が前記通信をできないと推定された場合、再接続指示を受信するのに応じて前記通信先装置に再接続する前記通信装置に、前記再接続指示を送信する
付記10乃至12のいずれかに記載の通信状態推定方法。
前記通信は、前記通信先端末とコネクションを確立する通信を含む
付記10乃至13のいずれかに記載の通信状態推定方法。
前記通信は、データを送信する又は受信する通信を含む
付記10乃至14のいずれかに記載の通信状態推定方法。
前記通信パラメータは、データの再送回数である
付記10乃至15のいずれかに記載の通信状態推定方法。
前記通信パラメータは、通信が断絶している時間である
付記15に記載の通信状態推定方法。
コンピュータを、
与えられた通信パラメータに応じて、通信先装置との通信において通信エラーの発生を判定する通信装置に、前記通信パラメータを与える設定手段と、
通信指示を受信するのに応じて前記通信を行う前記通信装置に前記通信指示を送信し、当該指示に応じた前記通信において判定された通信エラーの発生を検出する検出手段と、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信装置が前記通信をできるか否かを推定する推定手段と、
して動作させる通信状態推定プログラム。
コンピュータを、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信をできるようになるまでの時間を推定し、当該時間に基づき前記通信装置が前記通信をできるか否かを推定する前記推定手段と、
して動作させる付記18に記載の通信状態推定プログラム。
コンピュータを、
異なる複数の通信パラメータを前記通信装置に送信する前記設定手段と、
前記複数の通信パラメータの各々について、当該通信パラメータに応じて判定された前記通信エラーの発生を検出する前記検出手段と、
して動作させる付記18又は19に記載の通信状態推定プログラム。
コンピュータを、
前記通信装置が前記通信をできないと推定された場合、再接続指示を受信するのに応じて前記通信先装置に再接続する前記通信装置に、前記再接続指示を送信する前記設定手段と、
して動作させる付記18乃至20のいずれかに記載の通信状態推定プログラム。
前記通信は、前記通信先端末とコネクションを確立する通信を含む
付記18乃至21のいずれかに記載の通信状態推定プログラム。
前記通信は、データを送信する又は受信する通信を含む
付記18乃至22のいずれかに記載の通信状態推定プログラム。
前記通信パラメータは、データの再送回数である
付記18乃至23のいずれかに記載の通信状態推定プログラム。
前記通信パラメータは、通信が断絶している時間である
付記23に記載の通信状態推定プログラム。
2 通信先装置
10 通信状態推定装置
11 通信装置
110 アプリケーション
111 推定部
120 制御部
121 設定部
122 検出部
130 通信プロトコル部
140 通信部
1000 コンピュータ
1001 プロセッサ
1002 メモリ
1003 記憶装置
1004 I/Oインタフェース
1005 記録媒体
Claims (10)
- 与えられた通信パラメータに応じて、通信先装置との通信において通信エラーの発生を判定する通信装置に、前記通信パラメータを与える設定手段と、
通信指示を受信するのに応じて前記通信を行う前記通信装置に前記通信指示を送信し、当該指示に応じた前記通信において判定された通信エラーの発生を検出する検出手段と、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信装置が前記通信をできるか否かを推定する推定手段と、
を備える通信状態推定装置。 - 前記推定手段は、前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信をできるようになるまでの時間を推定し、当該時間に基づき前記通信装置が前記通信をできるか否かを推定する
請求項1に記載の通信状態推定装置。 - 前記設定手段は、異なる複数の通信パラメータを前記通信装置に送信し、
前記検出手段は、前記複数の通信パラメータの各々について、当該通信パラメータに応じて判定された前記通信エラーの発生を検出する
請求項1又は2に記載の通信状態推定装置。 - 前記設定手段は、前記通信装置が前記通信をできないと推定された場合、再接続指示を受信するのに応じて前記通信先装置に再接続する前記通信装置に、前記再接続指示を送信する
請求項1乃至3のいずれかに記載の通信状態推定装置。 - 前記通信は、前記通信先端末とコネクションを確立する通信を含む
請求項1乃至4のいずれかに記載の通信状態推定装置。 - 前記通信は、データを送信する又は受信する通信を含む
請求項1乃至5のいずれかに記載の通信状態推定装置。 - 請求項1乃至6のいずれかに記載の通信状態推定装置と、前記通信装置と、を含む通信端末。
- 与えられた通信パラメータに応じて、通信先装置との通信において通信エラーの発生を判定する通信装置に、前記通信パラメータを与え、
通信指示を受信するのに応じて前記通信を行う前記通信装置に前記通信指示を送信し、当該指示に応じた前記通信において判定された通信エラーの発生を検出し、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信装置が前記通信をできるか否かを推定する、
通信状態推定方法。 - コンピュータを、
与えられた通信パラメータに応じて、通信先装置との通信において通信エラーの発生を判定する通信装置に、前記通信パラメータを与える設定手段と、
通信指示を受信するのに応じて前記通信を行う前記通信装置に前記通信指示を送信し、当該指示に応じた前記通信において判定された通信エラーの発生を検出する検出手段と、
前記通信パラメータ及び前記通信エラーの発生の有無に基づき、前記通信装置が前記通信をできるか否かの推定を行う推定手段と、
して動作させる通信状態推定プログラムを記憶する記録媒体。 - 前記推定が、前記通信パラメータ及び前記通信エラーの発生の有無に基づき前記通信をできるようになるまでの時間として予測した時間に基づいて行われる
通信状態推定プログラムを記憶する請求項9に記載の記録媒体。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2016529023A JPWO2015194134A1 (ja) | 2014-06-18 | 2015-06-11 | 通信状態推定装置、通信状態推定方法及び通信状態推定プログラムを記憶する記録媒体 |
| US15/318,799 US10310931B2 (en) | 2014-06-18 | 2015-06-11 | Communications state estimation device, communications state estimation method, and storage medium that stores communications state estimation program |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2014-124982 | 2014-06-18 | ||
| JP2014124982 | 2014-06-18 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015194134A1 true WO2015194134A1 (ja) | 2015-12-23 |
Family
ID=54935143
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2015/002925 Ceased WO2015194134A1 (ja) | 2014-06-18 | 2015-06-11 | 通信状態推定装置、通信状態推定方法及び通信状態推定プログラムを記憶する記録媒体 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US10310931B2 (ja) |
| JP (1) | JPWO2015194134A1 (ja) |
| WO (1) | WO2015194134A1 (ja) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019022055A (ja) * | 2017-07-14 | 2019-02-07 | コニカミノルタ株式会社 | ファクシミリ通信装置およびプログラム |
| CN110167790A (zh) * | 2016-11-23 | 2019-08-23 | Evenflo股份有限公司 | 用于警报车辆中有价值物的通知系统和方法 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11825518B2 (en) * | 2021-11-15 | 2023-11-21 | Itron, Inc. | Adaptive transmission management based on link latency |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010136291A (ja) * | 2008-12-08 | 2010-06-17 | Toyota Infotechnology Center Co Ltd | コグニティブ無線システムにおける利用周波数帯調整方法および無線通信装置 |
| JP2013066126A (ja) * | 2011-09-20 | 2013-04-11 | Toyota Infotechnology Center Co Ltd | 利用周波数チャネル選択方法および無線通信装置 |
| WO2014076878A1 (ja) * | 2012-11-19 | 2014-05-22 | 日本電気株式会社 | データ共有システム |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2745417B2 (ja) * | 1989-02-16 | 1998-04-28 | 株式会社リコー | ファクシミリ装置 |
| JP3866506B2 (ja) * | 2000-12-04 | 2007-01-10 | 株式会社エヌ・ティ・ティ・ドコモ | 電子メールの配信制御方法及びメールサーバ |
| FI20045450A0 (fi) | 2004-11-22 | 2004-11-22 | Nokia Corp | Menetelmä ja laite radioyhteyden kontrolloimiseen |
| GB2425012A (en) * | 2005-04-08 | 2006-10-11 | Quadriga Technology Ltd | Ranking data files for scheduling transmission |
| JP4754416B2 (ja) | 2006-06-26 | 2011-08-24 | 株式会社トヨタIt開発センター | 無線通信装置、無線通信方法およびプログラム |
| US8145967B2 (en) * | 2007-10-12 | 2012-03-27 | Oracle America, Inc. | System and method for verifying the receive path of an input/output component |
| EP2243329B1 (en) * | 2008-01-11 | 2013-07-24 | Nokia Corp. | Scheduling ahead for improving data transmission in case of measurement gaps |
| US8340586B2 (en) | 2008-11-19 | 2012-12-25 | T-Mobile Usa, Inc. | System and method for link adaptation for variable link conditions |
| JP2011077822A (ja) * | 2009-09-30 | 2011-04-14 | Fujitsu Ltd | 無線通信装置、無線通信システム、及び無線通信システムにおける無線通信方法 |
| US9536081B2 (en) * | 2012-06-12 | 2017-01-03 | Intermec Ip Corp. | System and process for managing network communications |
| US9515941B2 (en) * | 2012-11-09 | 2016-12-06 | Aruba Networks, Inc. | Dynamic determination of transmission parameters based on packet priority and network conditions |
| CN107306414A (zh) * | 2016-04-21 | 2017-10-31 | 富士通株式会社 | 故障诊断方法、装置和系统 |
-
2015
- 2015-06-11 WO PCT/JP2015/002925 patent/WO2015194134A1/ja not_active Ceased
- 2015-06-11 JP JP2016529023A patent/JPWO2015194134A1/ja active Pending
- 2015-06-11 US US15/318,799 patent/US10310931B2/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2010136291A (ja) * | 2008-12-08 | 2010-06-17 | Toyota Infotechnology Center Co Ltd | コグニティブ無線システムにおける利用周波数帯調整方法および無線通信装置 |
| JP2013066126A (ja) * | 2011-09-20 | 2013-04-11 | Toyota Infotechnology Center Co Ltd | 利用周波数チャネル選択方法および無線通信装置 |
| WO2014076878A1 (ja) * | 2012-11-19 | 2014-05-22 | 日本電気株式会社 | データ共有システム |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110167790A (zh) * | 2016-11-23 | 2019-08-23 | Evenflo股份有限公司 | 用于警报车辆中有价值物的通知系统和方法 |
| CN110167790B (zh) * | 2016-11-23 | 2022-01-28 | Evenflo股份有限公司 | 用于警报车辆中有价值物的通知系统和方法 |
| JP2019022055A (ja) * | 2017-07-14 | 2019-02-07 | コニカミノルタ株式会社 | ファクシミリ通信装置およびプログラム |
Also Published As
| Publication number | Publication date |
|---|---|
| US10310931B2 (en) | 2019-06-04 |
| US20170116063A1 (en) | 2017-04-27 |
| JPWO2015194134A1 (ja) | 2017-05-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9768917B2 (en) | Communication control method, network system, and communication device | |
| US10193661B2 (en) | Communication device, non-transitory computer readable medium and wireless communication system | |
| CN114363147B (zh) | 用于媒体访问控制安全性的改善的错误处理 | |
| JP2013191931A (ja) | 情報処理装置、輻輳制御方法および輻輳制御プログラム | |
| US9167614B2 (en) | Tunneled direct link setup systems and methods with consistent link information maintenance | |
| WO2012101763A1 (ja) | 通信装置、通信システム、通信方法、および通信プログラム | |
| WO2017088815A1 (zh) | 一种状态检测的方法及无线网络节点 | |
| CN111543116A (zh) | 中继网络中节点间转发数据的方法和网络节点 | |
| JP5720793B2 (ja) | データ転送方法およびそれを用いるノード装置 | |
| WO2015194134A1 (ja) | 通信状態推定装置、通信状態推定方法及び通信状態推定プログラムを記憶する記録媒体 | |
| US20160269957A1 (en) | Method for selecting network and electronic device therefor | |
| US20110255399A1 (en) | Network Nodes | |
| CN107852366B (zh) | 减少网状网络中的延时的方法、中继节点和计算机可读存储介质 | |
| US11617120B2 (en) | Communication system, node, communication method, and computer program product | |
| CN104604174A (zh) | 用于基于中继终端提供自动重发请求差错控制的方法、相关终端和arq控制中心 | |
| TWI727519B (zh) | 終端裝置、通信系統及通信方法 | |
| JP2009065617A (ja) | Lan通信システム | |
| CN104185204B (zh) | 一种连接状态检测方法和装置 | |
| Stais et al. | Error and congestion control for wireless sensor networks | |
| KR101031300B1 (ko) | 동적으로 토폴로지가 변하는 통신망을 위한 가상 전송 방법 및 장치 | |
| JP2015136010A (ja) | 無線通信装置、無線通信システム、無線通信方法及び無線通信プログラム | |
| JP5324038B2 (ja) | 通信制御装置、無線通信装置、通信制御方法及び無線通信方法 | |
| EP3327988A1 (en) | System and method for improving multicast latency and reliability of multicast transmissions in a wireless building automation network | |
| JP6500514B2 (ja) | 中継装置、通信システム、接続要求処理方法及びプログラム | |
| JP6528768B2 (ja) | 通信制御装置、通信制御方法及び通信制御プログラム |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15810590 Country of ref document: EP Kind code of ref document: A1 |
|
| ENP | Entry into the national phase |
Ref document number: 2016529023 Country of ref document: JP Kind code of ref document: A |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 15318799 Country of ref document: US |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15810590 Country of ref document: EP Kind code of ref document: A1 |