Communication apparatus and program executed by computer
The communication device and program adaptively select a cipher suite based on cryptographic and communication quality to address the vulnerabilities of existing encryption methods against quantum computers, ensuring secure and efficient communication in IoT devices.
Patent Information
- Application Number
- JP2023048166
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
- Estimated Expiration
- 2043-03-24
AI Technical Summary
Existing encryption methods, including those used in IoT devices, are vulnerable to quantum computers and face challenges with longer processing times, key lengths, and cipher lengths, making it difficult to maintain secure communication, especially in low-capacity communication channels.
A communication device and program that adaptively selects a cipher suite based on the cryptographic processing quality and communication quality of the communicating party, using a cipher selection rule table and quality monitoring to optimize encryption and decryption processes.
Enables secure and efficient encryption/decryption by dynamically selecting the appropriate cipher suite, ensuring effective communication quality and security in various communication scenarios, including IoT devices with limited resources.
Smart Images

Figure 2024136873000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to a communication device and a program to be executed by a computer. [Background technology]
[0002] It is currently believed that when quantum computers are put into practical use, there is a possibility that security cannot be guaranteed with existing encryption methods.
[0003] For example, Shor's algorithm has been proposed, which makes it possible to solve factorization and discrete logarithm problems in polynomial time on a quantum computer, and there is a risk that conventional encryption methods based on this algorithm may be decrypted when quantum computers are put into practical use.
[0004] Therefore, efforts are being made to develop and standardize post-quantum cryptography (PQC), an encryption method that is difficult to decrypt even with a quantum computer (Non-Patent Document 1). [Prior art documents] [Non-patent literature]
[0005] [Non-Patent Document 1] Noboru Kunihiro, "Quantum Computers and Cryptography: Transition to Quantum-Resistant Cryptography," Journal of the Japan Society of Security Management, Vol. 35, No. 3, 2022, pp. 18-24. Summary of the Invention [Problem to be solved by the invention]
[0006] However, in order to withstand conventional cryptanalysis and quantum computer cryptanalysis, PQC tends to require longer encryption / decryption processing times, longer key lengths, and longer cipher lengths. For example, the security and processing time of encryption generally differ depending on the encryption method, and even with the same encryption method, a secure encryption method can be achieved by increasing the key length.
[0007] In addition, IoT (Internet of Things) devices, which are often inexpensive and required in large quantities, tend to have low computing power and the communication channels they use have low communication capacity.
[0008] Therefore, when a low-performance IoT device needs to encrypt and transmit a large amount of data, the encryption may not be able to achieve the required communication quality.
[0009] Therefore, according to an embodiment of the present invention, a communication device capable of adaptively selecting a cipher suite based on the encryption processing and communication quality of the communicating parties is provided.
[0010] Also, according to an embodiment of the present invention, there is provided a program for causing a computer to execute adaptive cipher suite selection based on the cryptographic processing and communication quality of the communicating parties. [Means for solving the problem]
[0011] (Configuration 1) According to an embodiment of the present invention, a communication device is a communication device that encrypts data and transmits the encrypted data to at least a destination communication device, and includes a cipher selection unit and an encryption / decryption unit. The cipher selection unit selects a cipher suite including an encryption algorithm and a key length, and is composed of information sufficient to establish an encrypted communication path. The encryption / decryption unit executes a transmission process that encrypts data received from an application using the cipher suite selected by the cipher selection unit, and transmits the encrypted data to the destination communication device. The cipher selection unit then performs a cipher suite selection process in which a first cipher suite whose selection communication quality satisfies the selection rule in the cipher selection rule table is selected from the multiple cipher suites based on a cipher selection rule table in which a plurality of cipher suites are associated with a plurality of selection rules for selecting each of the multiple cipher suites, an encryption processing quality table indicative of the processing quality using the cipher suites, and a selection communication quality which is the communication quality in at least the destination communication device and the destination communication device when the encrypted data is transmitted to the destination communication device and is used for selecting a cipher suite, and determines whether the selected first cipher suite is different from a second cipher suite used in the encryption / decryption unit, and changes the second cipher suite to the first cipher suite in the encryption / decryption unit when it is determined that the first cipher suite is different from the second cipher suite, and does not change the second cipher suite to the first cipher suite in the encryption / decryption unit when it is determined that the first cipher suite is the same as the second cipher suite. The encryption / decryption unit performs the transmission process using the first cipher suite when the cipher selection unit changes the second cipher suite to the first cipher suite, and performs the transmission process using the second cipher suite when the cipher selection unit does not change the second cipher suite to the first cipher suite.
[0012] (Configuration 2) In the first configuration, the communication device further includes a quality monitoring unit. The quality monitoring unit monitors a first communication quality including a first transmission rate, which is a data transmission rate when an application transmits data to the encryption / decryption unit, a second transmission rate, which is a transmission rate in a first communication interface when the encryption / decryption unit transmits encrypted data, which is an encryption interface of the communication device, to a destination communication device via the first communication interface, a first reception rate, which is a reception rate in the first communication interface when the encryption / decryption unit receives encrypted data from the destination communication device via the first communication interface, and a second reception rate, which is a reception rate when the application receives data decrypted by the encryption / decryption unit from the encryption / decryption unit. The cipher selection unit receives the first communication quality from the quality monitoring unit and executes a cipher suite selection process based on the cipher selection rule table, the encryption process quality table, and the first communication quality as a selection communication quality.
[0013] (Configuration 3) In configuration 2, the communication device further includes a quality prediction unit. The quality prediction unit receives the first communication quality from the quality monitoring unit, and predicts a first future communication quality, which is a future communication quality in the communication device, based on the received first communication quality. The cipher selection unit receives the first future communication quality from the quality prediction unit, and executes a cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first future communication quality as a selection communication quality.
[0014] (Configuration 4) In configuration 2, the quality monitoring unit receives from the destination communication device a second communication quality including a first transmission rate, a second transmission rate, a first receiving rate, and a second receiving rate monitored in the destination communication device. The cipher selection unit receives the first and second communication qualities from the quality monitoring unit and executes a cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second communication qualities as selection communication qualities.
[0015] (Configuration 5) In the second configuration, the communication device further includes a quality prediction unit. The quality prediction unit receives a first communication quality and a second communication quality including a first transmission rate, a second transmission rate, a first reception rate, and a second reception rate monitored in the destination communication device from the quality monitoring unit, predicts a first future communication quality that is a future communication quality in the communication device based on the first communication quality, and predicts a second future communication quality that is a future communication quality in the destination communication device based on the second communication quality. The cipher selection unit receives the first and second future communication qualities from the quality prediction unit, and performs a cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second future communication qualities as selection communication qualities.
[0016] (Configuration 6) In configuration 2, the cipher suite selection unit sets a cipher suite change prohibition period during which changing of the cipher suite is prohibited, and after the cipher suite change prohibition period ends, executes a cipher suite selection process based on the cipher suite selection rule table, the cipher suite selection quality table, and a first communication quality as the communication quality for selection.
[0017] (Configuration 7) In the second configuration, the encryption / decryption unit includes S encryption / decryption units that execute a transmission process for S (S is an integer equal to or greater than 2) pieces of data using S streams. The quality monitoring unit executes monitoring of the first communication quality in the sth (s is any of 1 to S) stream as the sth first communication quality for all of the S streams to monitor the S first communication qualities. The cipher selection unit receives the S first communication qualities from the quality monitoring unit, and executes a cipher suite selection process for the sth encryption / decryption unit using the sth first communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities as the selection communication qualities for all of the S encryption / decryption units. Each of the S encryption / decryption units executes a transmission process using the first cipher suite or the second cipher suite in the stream that it uses to transmit encrypted data between itself and the destination communication device.
[0018] (Configuration 8) In the second configuration, the communication device further includes a quality prediction unit. The quality prediction unit predicts S first future communication qualities, which are S future communication qualities in the S streams, based on S first communication qualities in the S streams for transmitting S (S is an integer of 2 or more) pieces of data to a destination communication device. The encryption / decryption unit is composed of S encryption / decryption units that execute a transmission process for the S data using the S streams, respectively. The quality monitoring unit monitors the S first communication qualities by monitoring the s-th first communication quality in the s-th (s is any of 1 to S) stream for all of the S streams. The quality prediction unit receives the S first communication qualities from the quality monitoring unit, and predicts the s-th first future communication quality, which is the future communication quality in the s-th stream of the S streams, based on the s-th (s is any of 1 to S) first communication quality included in the received S first communication qualities, for all of the S streams, to predict the S first future communication qualities. The cipher selection unit receives the S first future communication qualities from the quality prediction unit, and executes a cipher suite selection process for the s-th encryption / decryption unit using the s-th first future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities as selection communication qualities for all of the S encryption / decryption units. Each of the S encryption / decryption units executes a transmission process using the first cipher suite or the second cipher suite in a stream used for transmitting encrypted data between itself and a destination communication device.
[0019] (Configuration 9) In configuration 2, the S second communication qualities in the S (S is an integer equal to or greater than 2) streams monitored in the destination communications device include a first transmission rate, a second transmission rate, a first receiving rate, and a second receiving rate in the s-th (s is any of 1 to S) stream of the destination communications device for the S streams. The encryption / decryption unit includes S encryption / decryption units that perform transmission processing using the S streams for transmitting each of the S pieces of data to the destination communications device. The quality monitoring unit monitors the first communication quality in the s-th (s is any of 1 to S) stream of the communications device for all of the S streams to monitor the S first communication qualities, and receives the S second communication qualities from the destination communications device. The cipher selection unit receives the S first communication qualities and the S second communication qualities from the quality monitoring unit, and executes a cipher suite selection process in the s-th encryption / decryption unit using the s-th first communication quality and the s-th second communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities and the S second communication qualities as selection communication qualities for all of the S encryption / decryption units. Each of the S encryption / decryption units executes a transmission process using the first cipher suite or the second cipher suite in a stream used for transmitting encrypted data between itself and a destination communication device.
[0020] (Configuration 10) In the second configuration, the communication device further includes a quality prediction unit. The quality prediction unit predicts S first future communication qualities, which are S future communication qualities in the S streams, based on S first communication qualities monitored in the communication device for S streams for transmitting S (S is an integer of 2 or more) pieces of data to a destination communication device, and predicts S second future communication qualities, which are S future communication qualities in the S streams, based on S second communication qualities, which are communication qualities transmitted from the destination communication device for the S streams, including a first transmission rate, a second transmission rate, a first reception rate, and a second reception rate monitored in the destination communication device. The encryption / decryption unit includes S encryption / decryption units that execute a transmission process for the S data using the S streams, respectively. The quality monitoring unit monitors a first communication quality in the sth (s is any one of 1 to S) stream for all of the S streams to monitor the S first communication qualities, and receives the second communication quality from the destination communication device. The quality prediction unit receives the S first communication qualities and the second communication qualities from the quality monitoring unit, and predicts a first future communication quality that is a future communication quality in the sth stream among the S streams using the sth first communication quality included in the S first communication qualities based on the S first communication qualities for all of the S streams to predict the S first future communication qualities, and predicts a second future communication quality that is a future communication quality in the sth stream among the S streams using the sth second communication quality included in the S second communication qualities based on the S second communication qualities for all of the S streams to predict the S second future communication qualities.The cipher selection unit receives the S first future communication qualities and the S second future communication qualities from the quality prediction unit, and executes a cipher suite selection process in the s-th encryption / decryption unit using the s-th first future communication quality and the s-th second future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities and the S second future communication qualities as selection communication qualities for all of the S encryption / decryption units. Each of the S encryption / decryption units executes a transmission process using the first cipher suite or the second cipher suite in a stream used for transmitting encrypted data between itself and a destination communication device.
[0021] (Configuration 11) In any of configurations 7 to 10, the cipher selection unit sets a cipher change prohibition period, which is a period during which a change of the cipher suite is prohibited for the s-th stream, and after the cipher change prohibition period ends, performs a cipher suite selection process for all S encryption / decryption units based on the cipher selection rule table, the encryption processing quality table, and S first communication qualities as communication qualities for selection, or S first communication qualities and S second communication qualities as communication qualities for selection, or S first future communication qualities as communication qualities for selection, or S first future communication qualities and S second future communication qualities as communication qualities for selection.
[0022] (Configuration 12) In any of configurations 2 to 10, the cipher selection rule table has a configuration in which a plurality of priorities representing the priorities of a plurality of selection rules, a plurality of cipher suites, and a plurality of selection rules are associated with each other. The cipher selection unit evaluates, in order of priority, whether or not a first communication quality as a selection communication quality, or a first future communication quality as a selection communication quality, or a first and second communication quality as a selection communication quality, or a first and second future communication quality as a selection communication quality, or S first communication qualities as selection communication qualities, or S first future communication qualities as selection communication qualities, or S first future communication qualities and S second future communication qualities as selection communication qualities satisfy a selection rule, and selects a cipher suite associated with the selection rule that is first satisfied.
[0023] (Configuration 13) In any of configurations 2 to 10, the encryption selection rule table is changed at a desired timing.
[0024] (Configuration 14) According to an embodiment of the present invention, a program is provided for causing a computer to execute a process of transmitting encrypted data, which is generated by a source communication device, to at least a destination communication device, the encrypted data being encrypted by a source communication device, the process comprising: A first step in which a cipher suite selection unit selects a cipher suite including a cryptographic algorithm and a key length, and which is sufficient information for establishing an encrypted communication path; a second step of executing a transmission process in which the encryption / decryption unit encrypts data received from the application using the cipher suite selected by the cipher selection unit and transmits the encrypted data to a destination communication device; the cipher selection unit, in a first step, selects from the multiple cipher suites a first cipher suite whose selection communication quality satisfies a selection rule in the cipher selection rule table based on a cipher selection rule table in which multiple cipher suites and multiple selection rules for selecting each of the multiple cipher suites correspond to each other, a cipher processing quality table indicative of processing quality by the cipher suites, and a selection communication quality which is a communication quality in at least the destination communication device among the destination communication device and the destination communication device when encrypted data is transmitted to the destination communication device and is used for selecting a cipher suite, determines whether the selected first cipher suite is different from a second cipher suite used in the encryption / decryption unit, and changes the second cipher suite to the first cipher suite in the encryption / decryption unit when it is determined that the first cipher suite is different from the second cipher suite, and executes a cipher suite selection process in which the encryption / decryption unit does not change the second cipher suite to the first cipher suite when it is determined that the first cipher suite is the same as the second cipher suite; In the second step, when the cipher selection unit changes the second cipher suite to the first cipher suite, the encryption / decryption unit performs the transmission process using the first cipher suite, and when the cipher selection unit does not change the second cipher suite to the first cipher suite, the encryption / decryption unit performs the transmission process using the second cipher suite.
[0025] (Configuration 15) In configuration 14, the quality monitoring unit causes the computer to further execute a third step of monitoring a first communication quality including a first transmission rate, which is a data transmission rate when the application transmits data to the encryption / decryption unit, a second transmission rate, which is a transmission rate in the first communication interface when the encryption / decryption unit transmits encrypted data, which is an encryption interface of the communication device, to a destination communication device via the first communication interface, a first reception rate, which is a reception rate in the first communication interface when the encryption / decryption unit receives encrypted data from the destination communication device via the first communication interface, and a second reception rate, which is a reception rate when the application receives data decrypted by the encryption / decryption unit from the encryption / decryption unit; In a first step, the cipher suite selection unit receives the first communication quality from the quality monitoring unit, and executes a cipher suite selection process based on the cipher suite selection rule table, the cipher suite quality table, and the first communication quality as the selection communication quality.
[0026] (Configuration 16) In configuration 15, the method further comprises causing the computer to execute a fourth step in which the quality prediction unit receives the first communication quality from the quality monitoring unit, and predicts a first future communication quality, which is a future communication quality in the communication device, based on the received first communication quality; In a first step, the cipher selection unit receives a first future communication quality from the quality prediction unit, and performs a cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first future communication quality as the selection communication quality.
[0027] (Configuration 17) In configuration 15, the method further includes a third step of causing the computer to execute a second communication quality including the first transmission rate, the second transmission rate, the first reception rate, and the second reception rate monitored in the destination communication device, from the destination communication device; In the first step, the cipher suite selection unit receives the first communication quality and the second communication quality from the quality monitoring unit, and executes a cipher suite selection process based on a cipher suite selection rule table, a cipher suite quality table, and the first and second communication qualities as selection communication qualities. (Configuration 18) In configuration 15, the quality prediction unit receives the first communication quality and the second communication quality including the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed monitored in the destination communication device from the quality monitoring unit, predicts a first future communication quality which is the future communication quality in the communication device based on the first communication quality, and predicts a second future communication quality which is the future communication quality in the destination communication device based on the second communication quality, In a first step, the cipher selection unit receives the first and second future communication qualities from the quality prediction unit, and performs a cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second future communication qualities as communication qualities for selection.
[0028] (Configuration 19) In configuration 15, in a first step, the cipher selection unit sets a cipher change prohibition period during which changing of the cipher suite is prohibited, and after the cipher change prohibition period ends, executes a cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first communication quality as the communication quality for selection.
[0029] (Configuration 20) In configuration 15, the encryption / decryption unit includes S encryption / decryption units each performing a transmission process for S data (S is an integer equal to or greater than 2) using S streams, In a third step, the quality monitoring unit monitors the first communication qualities in the s-th (s is any one of 1 to S) stream as the s-th first communication quality for all S streams, thereby monitoring the S first communication qualities; In a first step, the cipher selection unit receives the S first communication qualities from the quality monitoring unit, and executes a cipher suite selection process for the s-th encryption / decryption unit using the s-th first communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities as selection communication qualities for all of the S encryption / decryption units; In a second step, each of the S encryption / decryption units performs a transmission process using the first cipher suite or the second cipher suite in a stream that it uses to transmit encrypted data between itself and a destination communication device.
[0030] (Configuration 21) In configuration 15, the encryption / decryption unit includes S encryption / decryption units each performing a transmission process on S (S is an integer equal to or greater than 2) pieces of data using the previous streams, a fourth step in which the quality prediction unit predicts S first future communication qualities, which are S future communication qualities in the S streams, based on the S first communication qualities in the S streams for transmitting the S data to a destination communication device, In a third step, the quality monitoring unit monitors the S first communication qualities by monitoring the s-th first communication quality in the s-th stream (s is any one of 1 to S) for all S streams; In a fourth step, the quality prediction unit receives the S first communication qualities from the quality monitoring unit, and predicts an s-th first future communication quality, which is a future communication quality of the s-th stream among the S streams, for all S streams based on an s-th (s is any one of 1 to S) first communication quality included in the received S first communication qualities, thereby predicting the S first future communication qualities; In a first step, the cipher selection unit receives the S first future communication qualities from the quality prediction unit, and performs a cipher suite selection process for the s-th encryption / decryption unit using the s-th first future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities as selection communication qualities, for all of the S encryption / decryption units; In a second step, each of the S encryption / decryption units performs a transmission process using the first cipher suite or the second cipher suite in a stream that it uses to transmit encrypted data between itself and a destination communication device.
[0031] (Configuration 21) In configuration 14, the encryption / decryption unit includes S encryption / decryption units each performing a transmission process for S data (S is an integer equal to or greater than 2) using S streams, the quality prediction unit predicts S first future communication qualities, which are the S future communication qualities in the S streams, based on S first communication qualities monitored in the communication device for the S streams for transmitting the S data to a destination communication device, and predicts S second future communication qualities, which are the S future communication qualities in the S streams, based on S second communication qualities, which are the communication qualities transmitted from the destination communication device for the S streams, including a first transmission rate, a second transmission rate, a first reception rate, and a second reception rate, which are the second communication qualities monitored in the destination communication device; In a third step, the quality monitoring unit monitors the first communication quality in the s-th stream (s is any one of 1 to S) for all S streams to monitor the S first communication qualities, and receives the second communication quality from the destination communication device; In a fourth step, the quality prediction unit receives the S first communication qualities and the S second communication qualities from the quality monitoring unit, and predicts a first future communication quality that is a future communication quality for the s-th stream among the S streams using an s-th first communication quality included in the S first communication qualities based on the S first communication qualities, for all of the S streams to predict the S first future communication qualities, and predicts a second future communication quality that is a future communication quality for the s-th stream among the S streams using an s-th second communication quality included in the S second communication qualities based on the S second communication qualities, for all of the S streams to predict the S second future communication qualities; In a first step, the cipher selection unit receives the S first future communication qualities and the S second future communication qualities from the quality prediction unit, and performs a cipher suite selection process in the s-th encryption / decryption unit using the s-th first future communication quality and the s-th second future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities and the S second future communication qualities as selection communication qualities, for all of the S encryption / decryption units; In a second step, each of the S encryption / decryption units performs a transmission process using the first cipher suite or the second cipher suite in a stream that it uses to transmit encrypted data between itself and a destination communication device.
[0032] (Configuration 22) In configuration 15, the S second communication qualities in the S (S is an integer greater than or equal to 2) streams monitored in the destination communications device include a first transmission rate, a second transmission rate, a first reception rate, and a second reception rate in the sth (s is any one of 1 to S) stream of the destination communications device for the S streams.
[0033] The encryption / decryption section is made up of S encryption / decryption units that execute transmission processing using S streams for transmitting S pieces of data to respective destination communication devices.
[0034] In a third step, the quality monitoring unit monitors a first communication quality in an s-th (s is any one of 1 to S) stream of the communication device for all S streams to monitor the S first communication qualities, and receives S second communication qualities from the destination communication device; In a first step, the cipher selection unit receives the S first communication qualities and the S second communication qualities from the quality monitoring unit, and executes a cipher suite selection process in the s-th encryption / decryption unit using the s-th first communication quality and the s-th second communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities and the S second communication qualities as selection communication qualities for all of the S encryption / decryption units; In a second step, each of the S encryption / decryption units performs a transmission process using the first cipher suite or the second cipher suite in a stream that it uses to transmit encrypted data between itself and a destination communication device.
[0035] (Configuration 23) In configuration 15, the encryption / decryption section includes S encryption / decryption units that execute a transmission process for S (S is an integer equal to or greater than 2) pieces of data using S streams, respectively.
[0036] the quality prediction unit predicts S first future communication qualities, which are the S future communication qualities in the S streams, based on the S first communication qualities monitored in the communication device in the S streams for transmitting the S data to a destination communication device, and predicts S second future communication qualities, which are the S future communication qualities in the S streams, based on S second communication qualities, which are the communication qualities transmitted from the destination communication device for the S streams, including a first transmission rate, a second transmission rate, a first reception rate, and a second reception rate, which are the second communication qualities monitored in the destination communication device; In a third step, the quality monitoring unit monitors the first communication quality in the s-th stream (s is any one of 1 to S) for all S streams to monitor the S first communication qualities, and receives the second communication quality from the destination communication device; In a fourth step, the quality prediction unit receives the S first communication qualities and the second communication qualities from the quality monitoring unit, and predicts a first future communication quality that is a future communication quality for the s-th stream among the S streams using an s-th first communication quality included in the S first communication qualities based on the S first communication qualities, for all of the S streams, to predict the S first future communication qualities, and predicts a second future communication quality that is a future communication quality for the s-th stream among the S streams using an s-th second communication quality included in the S second communication qualities based on the S second communication qualities, for all of the S streams, to predict the S second future communication qualities; In a first step, the cipher selection unit receives the S first future communication qualities and the S second future communication qualities from the quality prediction unit, and performs a cipher suite selection process in the s-th encryption / decryption unit using the s-th first future communication quality and the s-th second future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities and the S second future communication qualities as selection communication qualities, for all of the S encryption / decryption units; In a second step, each of the S encryption / decryption units performs a transmission process using the first cipher suite or the second cipher suite in a stream that it uses to transmit encrypted data between itself and a destination communication device.
[0037] (Configuration 24) In any of configurations 20 to 23, in a first step, the cipher selection unit sets a cipher change prohibition period, which is a period during which a change of the cipher suite is prohibited for the s-th stream, and after the cipher change prohibition period ends, performs a cipher suite selection process for all S encryption / decryption units based on the cipher selection rule table, the encryption processing quality table, and S first communication qualities as communication qualities for selection, or S first communication qualities and S second communication qualities as communication qualities for selection, or S first future communication qualities as communication qualities for selection, or S first future communication qualities and S second future communication qualities as communication qualities for selection.
[0038] (Configuration 25) In any one of configurations 15 to 23, the cipher suite selection rule table has a configuration in which a plurality of priorities indicating priorities of a plurality of selection rules are associated with a plurality of cipher suites and a plurality of selection rules; In a first step, the cipher selection unit evaluates in order of priority whether a first communication quality as a communication quality to be selected, or a first future communication quality as a communication quality to be selected, or a first and second communication quality as a communication quality to be selected, or a first and second future communication quality as a communication quality to be selected, or S first communication qualities as communication qualities to be selected, or S first future communication qualities as communication qualities to be selected, or S first future communication qualities and S second future communication qualities as communication qualities to be selected satisfy a selection rule, and selects the cipher suite associated with the selection rule that is first satisfied.
[0039] (Configuration 26) In any of configurations 15 to 23, the encryption / decryption rule table in the source communication device is changed at a desired timing. Effect of the Invention
[0040] The cipher suite can be adaptively selected based on the parties' cryptographic processing and the quality of the communication. [Brief description of the drawings]
[0041] [Figure 1] 1 is a diagram for explaining a communication mode of a communication device according to an embodiment of the present invention; [Diagram 2] 1 is a schematic diagram of a communication system according to an embodiment of the invention; [Diagram 3] FIG. 3 is a schematic diagram of a communication device 10 shown in FIG. 2 according to a first embodiment. [Figure 4] 3 is a schematic diagram of a communication device 20 shown in FIG. 2 according to a first embodiment. [Diagram 5] 2 is a schematic diagram showing a first communication quality monitored by a quality monitor 13. FIG. [Figure 6] FIG. 4 is a schematic diagram of the encryption code selection rule table 15 shown in FIG. [Figure 7] FIG. 13 is a schematic diagram of a cryptographic processing quality table. [Figure 8] 11A and 11B are schematic diagrams illustrating examples of a cipher selection rule table and a cipher processing quality table. [Figure 9] 13 is a schematic diagram showing another example of the encryption key selection rule table 15. FIG. [Figure 10] FIG. 13 is a schematic diagram of a generalized encryption selection rule table in the case where only data transmission is performed from the communication device 10A to the communication device 20A. [Figure 11] FIG. 13 is a schematic diagram showing an example of the encryption selection rule table 15 when a receiving rate TRS3 is used. [Figure 12] 13 is a schematic diagram showing an example of the encryption selection rule table 15 when the receiving speeds TRS3 and TRS4 are used. FIG. [Figure 13] 13 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1 and a reception rate TRS3 are used. FIG. [Figure 14] 13 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1, a transmission rate TRS2, and a reception rate TRS3 are used. FIG. [Figure 15] 13 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1, a reception rate TRS3, and a reception rate TRS4 are used. FIG. [Figure 16] 13 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1, a transmission rate TRS2, a reception rate TRS3, and a reception rate TRS4 are used. FIG. [Figure 17] 11 is a flowchart for explaining the operation of the communication device 10A. [Figure 18] FIG. 11 is a schematic diagram showing a process of establishing an encrypted communication path. [Figure 19] 18 is a flowchart for explaining a detailed operation of step S8 shown in FIG. 17. [Figure 20] 18 is a schematic diagram of an encryption key selection rule table used in the flowchart shown in FIG. 17. [Figure 21] 3 is a schematic diagram of a second embodiment of the communication device 10 shown in FIG. 2. FIG. [Figure 22] 1 is a flowchart illustrating a method for predicting future communication quality. [Figure 23] 23 is a flowchart for explaining a detailed operation of step S_PRS1 shown in FIG. 22. [Figure 24] FIG. 1 is a first schematic diagram used to explain a method for predicting future communication quality. [Diagram 25] FIG. 2 is a second schematic diagram used to explain a method for predicting future communication quality. [Figure 26] FIG. 23 is a conceptual diagram showing the operation of identifying correct data in step S_PRS5 shown in FIG. 22. [Figure 27] 11 is a flowchart for explaining the operation of the communication device 10B. [Figure 28] 28 is a flowchart for explaining a detailed operation of step S8B shown in FIG. 27. [Figure 29] FIG. 29 is a schematic diagram of an encryption code selection rule table 15B used in the flowchart shown in FIG. 28. [Diagram 30] 3 is a schematic diagram of a third embodiment of the communication device 10 shown in FIG. 2. [Diagram 31] 3 is a schematic diagram of a communication device 20 shown in FIG. 2 according to a third embodiment. FIG. [Diagram 32] FIG. 31 is a schematic diagram of an encryption code selection rule table 15C shown in FIG. [Diagram 33] 11 is a flowchart for explaining the operation of the communication device 10C. [Diagram 34] 34 is a flowchart for explaining a detailed operation of step S24 in FIG. 33. [Diagram 35] 4 is a schematic diagram of a communication device 10 shown in FIG. 2 according to a fourth embodiment. [Diagram 36] FIG. 4 is a schematic diagram of a communication device 20 shown in FIG. 2 according to a fourth embodiment. [Figure 37] FIG. 36 is a first schematic diagram of the encryption code selection rule table 15D shown in FIG. [Figure 38] FIG. 36 is a second schematic diagram of the encryption code selection rule table 15D shown in FIG. [Figure 39] FIG. 37 is a third schematic diagram of the encryption code selection rule table 15D shown in FIG. [Diagram 40] FIG. 37 is a fourth schematic diagram of the encryption code selection rule table 15D shown in FIG. [Diagram 41] FIG. 37 is a fifth schematic diagram of the encryption code selection rule table 15D shown in FIG. [Diagram 42] FIG. 37 is a sixth schematic diagram of the encryption code selection rule table 15D shown in FIG. [Diagram 43] FIG. 37 is a seventh schematic diagram of the encryption code selection rule table 15D shown in FIG. [Diagram 44] FIG. 37 is an eighth schematic diagram of the encryption code selection rule table 15D shown in FIG. [Diagram 45] FIG. 13 is a schematic diagram of another encryption processing quality table. [Figure 46] 11 is a flowchart for explaining the operation of the communication device 10D. [Figure 47] 47 is a flowchart for explaining a detailed operation of step S8C shown in FIG. 46. [Figure 48] 5 is a schematic diagram of a fifth embodiment of the communication device 10 shown in FIG. 2. FIG. [Figure 49]FIG. 49 is a schematic diagram of an encryption code selection rule table 15E shown in FIG. 48. [Figure 50] 11 is a first flowchart illustrating an operation of the communication device 10E. [Figure 51] 13 is a second flowchart illustrating the operation of the communication device 10E. [Figure 52] 52 is a flowchart for explaining a detailed operation of step S8E in FIG. 51. [Diagram 53] 10 is a schematic diagram of a sixth embodiment of the communication device 10 shown in FIG. 2. [Figure 54] FIG. 54 is a first schematic diagram of the encryption code selection rule table 15F shown in FIG. 53. [Figure 55] FIG. 54 is a second schematic diagram of the encryption code selection rule table 15F shown in FIG. 53. [Figure 56] FIG. 54 is a third schematic diagram of the encryption code selection rule table 15F shown in FIG. 53. [Figure 57] FIG. 54 is a fourth schematic diagram of the encryption code selection rule table 15F shown in FIG. 53. [Figure 58] FIG. 54 is a fifth schematic diagram of the encryption code selection rule table 15F shown in FIG. 53. [Figure 59] FIG. 54 is a sixth schematic diagram of the encryption code selection rule table 15F shown in FIG. [Figure 60] FIG. 54 is a seventh schematic diagram of the encryption code selection rule table 15F shown in FIG. [Figure 61] FIG. 54 is an eighth schematic diagram of the encryption code selection rule table 15F shown in FIG. 53. [Figure 62] 11 is a flowchart for explaining the operation of the communication device 10F. [Figure 63] 63 is a flowchart for explaining detailed operations of step S8G shown in FIG. 62. [Figure 64] 7 is a schematic diagram of a seventh embodiment of the communication device 10 shown in FIG. 2. [Figure 65] 10 is a schematic diagram of a seventh embodiment of the communication device 20 shown in FIG. 2. FIG. [Figure 66] FIG. 65 is a schematic diagram of an encryption code selection rule table 15G shown in FIG. 64. [Figure 67] FIG. 67 is a schematic diagram of rule tables R_1 to R_S shown in FIG. 66. [Figure 68] 11 is a first flowchart for explaining an operation of a communication device 10G. [Figure 69] 11 is a second flowchart for explaining the operation of the communication device 10G. [Figure 70] 70 is a flowchart for explaining the detailed operation of step S8H shown in FIG. 69. [Figure 71] 8 is a schematic diagram of the communication device 10 shown in FIG. 2 according to an eighth embodiment. [Figure 72] FIG. 72 is a schematic diagram of the encryption code selection rule table 10H shown in FIG. [Figure 73] 1 is a first flowchart for explaining an operation of a communication device 10H. [Figure 74] 11 is a second flowchart illustrating the operation of the communication device 10H. [Figure 75] 75 is a flowchart for explaining detailed operations of step S8J shown in FIG. 74. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0042] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail with reference to the drawings. In the drawings, the same or corresponding parts are designated by the same reference characters and their description will not be repeated.
[0043] FIG. 1 is a diagram for explaining a communication mode of a communication device according to an embodiment of the present invention.
[0044] Referring to (a) of Figure 1, in an embodiment of the present invention, a communication device performs at least a transmission process of encrypting data and transmitting the encrypted data to another communication device (not shown) via a base station, a core network (e.g., a fifth generation mobile communication system 5GC), the Internet (not shown), another core network (e.g., a fifth generation mobile communication system 5GC, not shown) and another base station (not shown).
[0045] In this case, the communication device transmits encrypted data at least between the base station and the communication device via wireless communication. The base station also transmits encrypted data between the core network (5GC) and the communication device via wired communication. Furthermore, in the section of the core network (5GC) - the Internet - another core network - another base station, the encrypted data is transmitted by wired communication. Furthermore, the other communication device receives the encrypted data between the other base station and the communication device via wireless communication.
[0046] Since the AMF (Access and Mobility Management Function), SMF (Session Management Function) and UPF (User Plane Function) in the core network (5GC) are well known, explanations of the AMF, SMF and UPF will be omitted.
[0047] With reference to FIG. 1(b), the communication device A executes at least a transmission process of transmitting encrypted data to the communication device B by wireless communication via the base station.
[0048] In an embodiment of the present invention, the source communication device may transmit data to the destination communication device using either wireless communication or wired communication, or may transmit data to the destination communication device using both wireless communication and wired communication.
[0049] 2 is a schematic diagram of a communication system according to an embodiment of the invention. Referring to FIG. 2, a communication system 100 according to the embodiment of the invention includes a communication device 10 and a communication device 20.
[0050] In FIG. 1, it has been explained that communication between a communication device and another communication device may be wireless communication, wired communication, or a mixture of wireless communication and wired communication. Therefore, in communication system 100, communication device 10 may transmit data to communication device 20 by wireless communication, wired communication, or a mixture of wireless communication and wired communication.
[0051] Therefore, in Figure 2, communication device 10 at least performs a transmission process to transmit data to communication device 20, and no intermediaries such as a base station and a core network (5GC) are shown between communication device 10 and communication device 20.
[0052] In the embodiment of the present invention, the cipher suite for encrypting and decrypting data includes an encryption algorithm and a key length, and is made up of sufficient information for establishing an encrypted communication path.
[0053] [Embodiment 1] Fig. 3 is a schematic diagram of the first embodiment of the communication device 10 shown in Fig. 2. Referring to Fig. 3, the communication device 10A includes an application 11, an encryption / decryption unit 12, a quality monitoring unit 13, an encryption / decryption unit 14, and an encryption / decryption rule table 15.
[0054] The application 11 sets "rules for selecting encryption" included in the encryption selection rule table 15. The application 11 is also a part that generates any communication traffic between the communication device 10A and the communication device 20A (= the communication device in the first embodiment of the communication device 20 shown in FIG. 2). The communication traffic may be anything, such as video. The application 11 then outputs data to the encryption / decryption unit 2.
[0055] When the encryption / decryption unit 12 changes the encryption suite that it uses for encrypting data and decrypting encrypted data by the cipher suite selection unit 14, the encryption / decryption unit 12 establishes an encrypted communication path with the communication device 20A (= the communication device in the first embodiment of the communication device 20 shown in FIG. 2) by a method to be described later. The process of establishing the encrypted communication path includes information exchange, key exchange, and authentication.
[0056] After the communication device 10A is started, the encryption suite that the encryption / decryption unit 12 uses to encrypt / decrypt data first is set in the encryption / decryption unit 12 by the operator of the communication device 10A. In this case, the encryption / decryption unit 12 at least executes information exchange in the process of establishing an encrypted communication path.
[0057] When communication device 10A executes only a transmission process to transmit data to communication device 20A (= a communication device in embodiment 1 of communication device 20 shown in FIG. 2), encryption / decryption unit 12 receives data from application 11, encrypts the received data using a cipher suite (= a cipher suite set by the operator of communication device 10A or a cipher suite changed by cipher selection unit 14), and transmits the encrypted data to communication device 20A via a communication interface of communication device 10A (hereinafter, the communication interface of communication device 10A will be referred to as "communication IF1").
[0058] In addition, when communication device 10A transmits and receives data to and from communication device 20A (= a communication device in embodiment 1 of communication device 20 shown in FIG. 2), encryption / decryption unit 12 receives data from application 11, encrypts the received data using a cipher suite (= a cipher suite set by the operator of communication device 10A or a cipher suite changed by cipher selection unit 14), and transmits the encrypted data to communication device 20A via communication IF1 of communication device 10A, while also receiving encrypted data from communication device 20A via communication IF1 of communication device 10A, decrypts the received encrypted data, and outputs the data to application 11.
[0059] The communication IF1 is an interface for transmitting encrypted data in the communication device 10A or an interface for receiving encrypted data from the communication device 20A.
[0060] When the communication device 10A executes only a transmission process for transmitting data to the communication device 20A (= the communication device in the first embodiment of the communication device 20 shown in FIG. 2), the quality monitoring unit 13 monitors a first communication quality CMQ1_1 including a transmission rate TRS1 which is a transmission rate when data is transmitted from the application 11 to the encryption / decryption unit 12, and a transmission rate TRS2 which is a transmission rate in the communication IF1 when the encryption / decryption unit 12 transmits encrypted data to the communication device 20A (= the communication device in the first embodiment of the communication device 20 shown in FIG. 2) via the communication IF1. Then, the quality monitoring unit 13 holds the monitored first communication quality CMQ1_1.
[0061] Furthermore, when the communication device 10A transmits and receives data to and from the communication device 20A (=the communication device in the first embodiment of the communication device 20 shown in FIG. 2), the quality monitoring unit 13 monitors a first communication quality CMQ1_2 including, in addition to the transmission rates TRS1 and TRS2, a reception rate TRS3 when the encryption / decryption unit 12 receives encrypted data from the communication device 20A via the communication IF 1 of the communication device 10A and a reception rate TRS4 when the application 11 receives data decrypted by the encryption / decryption unit 12. Then, the quality monitoring unit 13 holds the monitored first communication quality CMQ1_2.
[0062] When communication device 10A performs only a transmission process to transmit data to communication device 20A (= a communication device in embodiment 1 of communication device 20 shown in FIG. 2), the cipher selection unit 14 inquires of quality monitoring unit 13 about the communication quality, and selects a cipher suite based on the first communication quality CMQ1_1 obtained from the quality monitoring unit 13, the cipher selection rule table 15, and the encryption processing quality table by a method described later, determines whether the selected cipher suite is different from the cipher suite used in encryption / decryption unit 12, and if it is determined that the selected cipher suite is different from the cipher suite used in encryption / decryption unit 12, it changes the cipher suite used in encryption / decryption unit 12 to the selected cipher suite, and if it is determined that the selected cipher suite is not different from the cipher suite used in encryption / decryption unit 12 (i.e., if it is determined that they are the same), it performs a cipher suite selection process that does not change the cipher suite used in encryption / decryption unit 12.
[0063] In addition, when the communication device 10A transmits and receives data to and from the communication device 20A (= the communication device in embodiment 1 of the communication device 20 shown in FIG. 2), the cipher selection unit 14 inquires of the quality monitoring unit 13 about the communication quality, and performs cipher suite selection processing based on the first communication quality CMQ1_2 obtained from the quality monitoring unit 13, the cipher selection rule table 15, and the cipher processing quality table by a method described later.
[0064] The cipher selection rule table 15 stores rules for the cipher suite selection unit 14 to select. The cipher selection rule table 15 is set or rewritten by the administrator or application 11 of the communication device 10A.
[0065] Fig. 4 is a schematic diagram of the first embodiment of the communication device 20 shown in Fig. 2. Referring to Fig. 4, the communication device 20A includes an encryption / decryption unit 21 and an application 22.
[0066] The encryption / decryption unit 21 at least exchanges information with the encryption / decryption unit 12 of the communication device 10A in the process of establishing an encrypted communication path.
[0067] When communication device 10A executes only a transmission process to transmit data to communication device 20A, encryption / decryption unit 21 of communication device 20A receives encrypted data from communication device 10A via a communication interface (hereinafter, the communication interface of communication device 20A will be referred to as “communication IF2”), decrypts the received encrypted data using a cipher suite, and outputs the decrypted data to application 22.
[0068] In addition, when communication device 10A transmits and receives data to communication device 20A, encryption / decryption unit 21 receives encrypted data via communication IF2, decrypts the received encrypted data using the cipher suite, and outputs the decrypted data to application 22, and also receives data from application 22, encrypts the received data using the cipher suite, and transmits the encrypted data to communication device 10A via communication IF2.
[0069] When the communication device 10A executes only a transmission process for transmitting data to the communication device 20A, the application 22 receives the data from the encryption / decryption unit .
[0070] Furthermore, when the communication device 10A transmits and receives data to and from the communication device 20A, the application 22 outputs the data to the encryption / decryption unit .
[0071] In this manner, the communication device 20A receives encrypted data from the communication device 10A, and transmits and receives encrypted data to and from the communication device 10A.
[0072] In the first embodiment, when encrypted data is only transmitted from the communication device 10A to the communication device 20A, the communication device 10A is, for example, a sensor, and the communication device 20A is, for example, a server. When encrypted data is transmitted and received between the communication device 10A and the communication device 20A, each of the communication device 10A and the communication device 20A is, for example, a mobile phone and a tablet.
[0073] Fig. 5 is a schematic diagram showing the first communication quality monitored by the quality monitoring unit 13. Fig. 5(a) shows the first communication quality when the communication device 10A only transmits data to the communication device 20A, and Fig. 5(b) shows the first communication quality when the communication device 10A transmits and receives data to and from the communication device 20A.
[0074] Referring to (a) of Figure 5, in communication from communication device 10A to communication device 20A, the transmission speed when application 11 of communication device 10A transmits data to encryption / decryption unit 12 of communication device 10A is transmission speed TRS1, and the transmission speed at communication IF1 when encryption / decryption unit 12 transmits encrypted data via communication IF1 is transmission speed TRS2.
[0075] As a result, the first communication quality CMQ1_1 is made up of the transmission rate TRS1 and the transmission rate TRS2.
[0076] Then, the quality monitoring unit 13 monitors the first communication quality CMQ1_1 (=transmission rates TRS1, TRS2).
[0077] Referring to (b) of Figure 5, in two-way communication between communication device 10A and communication device 20A, the transmission speed when application 11 of communication device 10A transmits data to encryption / decryption unit 12 of communication device 10A is transmission speed TRS1, the transmission speed at communication IF1 when encryption / decryption unit 12 transmits encrypted data via communication IF1 is transmission speed TRS2, the reception speed at communication IF1 when encrypted data is received from communication device 20A via communication IF1 is reception speed TRS3, and the reception speed when application 11 receives data from encryption / decryption unit 12 is reception speed TRS4.
[0078] As a result, the first communication quality CMQ1_2 is made up of the sending rate TRS1, the sending rate TRS2, the receiving rate TRS3, and the receiving rate TRS4.
[0079] Fig. 6 is a schematic diagram of the cipher selection rule table 15 shown in Fig. 3. Referring to Fig. 6, the cipher selection rule table 15 includes a priority, a cipher suite, and a condition. The priority, the cipher suite, and the condition are associated with each other.
[0080] The priorities are comprised of Priority 1 to Priority N (N is an integer equal to or greater than 2). Priority 1 is the highest priority, Priority 2 is the second highest priority, and Priority N is the lowest priority.
[0081] The cipher suites consist of cipher suite 1 to cipher suite N. Cipher suite 1 to cipher suite N correspond to priority levels 1 to N, respectively. Cipher suite 1 has the slowest encryption and decryption speeds, cipher suite 2 has the second slowest encryption and decryption speeds, and so on until cipher suite N has the fastest encryption and decryption speeds.
[0082] The conditions consist of rule 1 to rule N. Rule 1 to rule N correspond to priority levels 1 to N and cipher suites 1 to N, respectively. Rule 1 to rule N are rules for selecting cipher suites 1 to N, respectively.
[0083] 7 is a schematic diagram of an encryption processing quality table. Referring to FIG. 7, the encryption processing quality table 30 includes cipher suites 1 to N and encryption speeds C1 to C2. N and the decoding speed E1 to E N The encryption processing quality table 30 indicates the processing quality (= encryption speed and decryption speed) of the cipher suite. Therefore, in the embodiment of the present invention, as described above, the cipher suite includes the encryption algorithm and the key length, and is made up of information sufficient to establish an encrypted communication path, so that the processing quality of the cipher suite is represented by the encryption processing quality table 30.
[0084] Encryption speed C1~C N are associated with cipher suites 1 to N, respectively, and have decryption speeds E1 to E N are associated with cipher suites 1 through N, respectively.
[0085] Encryption speed C1~C N is C1 <C2,C2<C3,···,C n-1 <C n and the decoding speeds E1 to E N is E1 <E2,E2<E3,···,E n-1 <E n The above relationship exists.
[0086] The cipher selection unit 14 performs a test to measure the processing time of cipher suites 1 to N, and selects the encryption speed C of one cipher suite n (n is any one of 1 to N). n and the decoding speed E n The encryption speeds C1 to C2 are calculated by measuring the encryption speeds C1 to C2 for all N cipher suites 1 to N. N and decoding speed E1~E N Get the.
[0087] The encryption selector 14 selects encryption rates C1 to C Nare stored in the encryption processing quality table 30 in correspondence with the cipher suites 1 to N, respectively, and the decryption speeds E1 to E N are stored in the encryption processing quality table 30 in association with Cipher Suite 1 to Cipher Suite N, respectively, to initialize the encryption processing quality table 30. The cipher selection unit 14 holds the initialized encryption processing quality table 30.
[0088] Fig. 8 is a schematic diagram showing an example of the encryption selection rule table 15 and the encryption processing quality table 30. Fig. 8(a) is an example of the encryption selection rule table 15, and Fig. 8(b) is an example of the encryption processing quality table 30.
[0089] The cipher selection rule table 15-1 shown in FIG. 8(a) is an cipher selection rule table when a slower cipher is used without limiting the rate of communication in the sending direction of the communication device 10A by encryption processing.
[0090] Referring to (a) of FIG. 8, the cipher suite Kyber1024 is associated with priority level 1, the cipher suite Kyber768 is associated with priority level 2, and the cipher suite Kyber512 is associated with priority level 3.
[0091] Rule 1 associated with priority 1 is "the transmission rate TRS1, which is the data transmission rate from the application 11 to the encryption / decryption unit 12, is slower than the encryption rate of the cipher suite Kyber1024." Rule 2 associated with priority 2 is "the transmission rate TRS1, which is the data transmission rate from the application 11 to the encryption / decryption unit 12, is slower than the encryption rate of the cipher suite Kyber768." And rule 3 associated with priority 3 has no specific rule set.
[0092] Referring to (b) of FIG. 8, the cipher suite Kyber1024 has an encryption speed of 59,907 [bps] and a decryption speed of 64,592 [bps].
[0093] Additionally, the Kyber768 cipher suite has an encryption speed of 91,045 bps and a decryption speed of 99,386 bps.
[0094] Furthermore, the Kyber512 cipher suite has an encryption speed of 148,198 [bps] and a decryption speed of 163,097 [bps].
[0095] The numerical values of the encryption speed and decryption speed in the encryption processing quality table 30-1 are as follows: [clock cycles] for encryption of the Kyber512 cipher suite is 539,817, [clock cycles] for decryption of the Kyber512 cipher suite is 490,506, [clock cycles] for encryption of the Kyber768 cipher suite is 878,689, [clock cycles] for decryption of the Kyber768 cipher suite is 804,940, [clock cycles] for encryption of the Kyber1024 cipher suite is 1,335,403, [clock cycles] for decryption of the Kyber1024 cipher suite is 1,238,542, the operating frequency is 20 MHz, and it is assumed that data is encrypted every 500 bytes, and the encryption speed and decryption speed are 8 x 500 x 20 x 10 6 / clock cycle.
[0096] [Cipher suite selection method] (I) When only data transmission is performed from the communication device 10A to the communication device 20A With reference to the encryption selection rule table 15-1 shown in FIG. 8(a) and the encryption processing quality table 30-1 shown in FIG. 8(b), a method for selecting an encryption suite when only data transmission is performed from the communication device 10A to the communication device 20A will be described.
[0097] If the transmission rate TRS1 is 100,000 [bps], the cipher selection unit 14 evaluates whether the transmission rate TRS1 (= 100,000 [bps]) satisfies rule 1 in the cipher selection rule table 15-1 (= the transmission rate TRS1, which is the transmission rate of data arriving from the application 11 to the encryption / decryption unit 12, is smaller than the encryption rate of the cipher suite Kyber1024).
[0098] In this case, since the encryption speed of the Kyber1024 cipher suite is 59,907 [bps] (see (b) of Figure 8), the transmission speed TRS1 (= 100,000 [bps]) is not smaller than the encryption speed of the Kyber1024 cipher suite (= 59,907 [bps]).
[0099] Therefore, the cipher selection unit 14 evaluates that the transmission rate TRS1 (= 100,000 [bps]) does not satisfy rule 1 in the cipher selection rule table 15-1 (= the transmission rate TRS1, which is the transmission rate of data when it arrives from the application 11 to the encryption / decryption unit 12, is smaller than the encryption rate of the cipher suite Kyber1024).
[0100] Since the transmission rate TRS1 (=100,000 [bps]) does not satisfy rule 1, the encryption selection unit 14 next evaluates whether the transmission rate TRS1 (=100,000 [bps]) satisfies rule 2 or not.
[0101] In this case, since the encryption speed of the Kyber768 cipher suite is 91,045 [bps] (see (b) of Figure 8), the transmission speed TRS1 (= 100,000 [bps]) is not smaller than the encryption speed of the Kyber768 cipher suite (= 91,045 [bps]).
[0102] Therefore, the cipher selection unit 14 evaluates that the transmission rate TRS1 (= 100,000 [bps]) does not satisfy rule 2 in the cipher selection rule table 15-1 (= the transmission rate TRS1, which is the transmission rate of data when it arrives from the application 11 to the encryption / decryption unit 12, is smaller than the encryption rate of the cipher suite Kyber768).
[0103] Since the transmission rate TRS1 (=100,000 [bps]) does not satisfy rule 2, the encryption selection unit 14 next evaluates whether the transmission rate TRS1 (=100,000 [bps]) satisfies rule 3 or not.
[0104] Since no specific rule is specified for rule 3, the cipher suite selection unit 14 evaluates that the transmission rate TRS1 (=100,000 [bps]) satisfies rule 3, and selects the cipher suite 512 associated with rule 3.
[0105] In this way, the cipher suite selection unit 14 uses the transmission rate TRS1 to evaluate the rules in the cipher suite selection rule table 15-1 starting from the rule with the highest priority (rule 1 associated with priority 1), and selects the cipher suite corresponding to the first rule that is satisfied.
[0106] The reason why rule 1 in the encryption selection rule table 15-1 is that "the transmission rate TRS1, which is the transmission rate of data arriving from the application 11 to the encryption / decryption unit 12, is smaller than the encryption rate of the cipher suite Kyber1024" is as follows.
[0107] When the transmission rate TRS1 is equal to or higher than the encryption rate of the cipher suite Kyber1024, if the cipher suite Kyber1024 is selected, the transmission rate TRS1 when transmitting data from the communication device 10A to the communication device 20A is limited by the encryption rate of the cipher suite Kyber1024, so this is to prevent the transmission rate TRS1 from being limited by the encryption processing of the encryption / decryption unit 12.
[0108] The reason why rule 2 in the encryption selection rule table 15-1 is that "the transmission rate TRS1, which is the transmission rate of data arriving from the application 11 to the encryption / decryption unit 12, is smaller than the encryption rate of the cipher suite Kyber768" is the same as above.
[0109] Fig. 9 is a schematic diagram showing another example of the cipher selection rule table 15. The cipher selection rule table 15-2 shown in Fig. 9 is an cipher selection rule table for dealing with the rate limitation of the communication path without imposing rate limitation on the encryption process in the transmission direction of the communication device 10A.
[0110] 9, encryption code selection rule table 15-2 is the same as encryption code selection rule table 15-1 except that rules 1 and 2 of encryption code selection rule table 15-1 are changed.
[0111] In the encryption selection rule table 15-2, rule 1 is that when transmission from communication device 10A to communication device 20A is rate-limited by the transmission rate TRS2, the transmission rate TRS2 from the encryption / decryption unit 12 to communication IF1 is smaller than the encryption rate of the cipher suite Kyber1024, and when transmission from communication device 10A to communication device 20A is not rate-limited by the transmission rate TRS2, the transmission rate TRS1 from the application 11 to the encryption / decryption unit 12 is smaller than the encryption rate of the cipher suite Kyber1024.
[0112] Furthermore, in the encryption selection rule table 15-2, rule 2 is that when transmission from communication device 10A to communication device 20A is rate-limited by the transmission rate TRS2, the transmission rate TRS2 from the encryption / decryption unit 12 to communication IF1 is smaller than the encryption rate of the cipher suite Kyber768, and when transmission from communication device 10A to communication device 20A is not rate-limited by the transmission rate TRS2, the transmission rate TRS1 from the application 11 to the encryption / decryption unit 12 is smaller than the encryption rate of the cipher suite Kyber768.
[0113] Then, when the transmission rate TRS1, the current encryption rate of the encryption / decryption unit 12 of the communication device 10A, and the transmission rate TRS2 are [transmission rate TRS1 < (current encryption rate of the encryption / decryption unit 12) and transmission rate TRS1 > transmission rate TRS2], the transmission from the communication device 10A to the communication device 20A is limited by the transmission rate TRS2.
[0114] The encryption / decrease selection unit 14 refers to the encryption / decrease selection rule table 15-2 shown in FIG. 9 and the encryption / decrease processing quality table 30-1 shown in FIG. 8(b) to evaluate whether or not rule 1 is satisfied.
[0115] If the cipher suite selection unit 14 evaluates that rule 1 is satisfied, it selects the cipher suite Kyber1024 associated with rule 1.
[0116] On the other hand, when the encryption code selection unit 14 determines that the rule 1 is not satisfied, it evaluates whether or not the rule 2 is satisfied.
[0117] Then, when the encryption key selection unit 14 evaluates that rule 2 is satisfied, it selects Kyber768 associated with rule 2.
[0118] On the other hand, when the cipher suite selection unit 14 determines that rule 2 is not satisfied, it evaluates whether or not rule 3 is satisfied. In this case, since rule 3 does not prescribe a specific rule, the cipher suite selection unit 14 determines that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3.
[0119] The cipher selection rule table 15-2 is obtained by adding a condition regarding the presence or absence of a communication path rate limitation to the cipher selection rule table 15-1 shown in FIG. 8(a).
[0120] FIG. 10 is a schematic diagram of a generalized encryption selection rule table in the case where only data transmission is performed from the communication device 10A to the communication device 20A.
[0121] Referring to Figure 10, (a) of Figure 10 shows encryption code selection rule table 15-G1 which is a generalization of encryption code selection rule table 15-1 shown in Figure 8, and (b) of Figure 10 shows encryption code selection rule table 15-G2 which is a generalization of encryption code selection rule table 15-2 shown in Figure 9.
[0122] Therefore, the cipher selection unit 14 evaluates whether rule 1 is satisfied based on the cryptographic processing quality table 30 (see Figure 5) and the cipher selection rule table 15-G1, and if it evaluates that rule 1 is satisfied, it selects the cipher suite 1 associated with rule 1, and if it evaluates that rule 1 is not satisfied, it evaluates whether rule 2 is satisfied.
[0123] If the cipher suite selection unit 14 determines that rule 2 is satisfied, it selects cipher suite 2 associated with rule 2, and if the cipher suite selection unit 14 determines that rule 2 is not satisfied, it evaluates whether or not rule 3 is satisfied.
[0124] Similarly, when the encryption code selection unit 14 determines that the rule N-2 is not satisfied, it then determines whether or not the rule N-1 is satisfied.
[0125] If the cipher suite selection unit 14 evaluates that the rule N-1 is satisfied, it selects the cipher suite N-1 associated with the rule N-1, and if it evaluates that the rule N-1 is not satisfied, it evaluates whether the rule N is satisfied.
[0126] Since the specific content of rule N is not specified, the cipher suite selection unit 14 selects cipher suite N associated with rule N when it evaluates that rule N-1 is not satisfied.
[0127] The cipher suite selection unit 14 similarly selects a cipher suite based on the cryptographic process quality table 30 (see FIG. 5) and the cipher suite selection rule table 15-G2. (II) When data is transmitted and received between the communication device 10A and the communication device 20A When transmitting and receiving data between communication device 10A and communication device 20A, there are cases where transmission speed TRS1 is used, cases where transmission speeds TRS1 and TRS2 are used, cases where reception speed TRS3 is used, cases where reception speeds TRS3 and TRS4 are used, cases where transmission speed TRS1 and reception speed TRS3 are used, cases where transmission speed TRS1, transmission speed TRS2 and reception speed TRS3 are used, cases where transmission speed TRS1 and reception speed TRS4 are used, and cases where transmission speed TRS1, transmission speed TRS2, reception speed TRS3 and reception speed TRS4 are used.
[0128] The case where the transmission rate TRS1 is used and the case where the transmission rates TRS1 and TRS2 are used have been described with reference to FIG. 8(a) and FIG. 9, and therefore description thereof will be omitted here. (II-1) When using receiving speed TRS3 Fig. 11 is a schematic diagram showing an example of the cipher selection rule table 15 when using a receiving speed TRS3. The cipher selection rule table 15-3 shown in Fig. 11 is an cipher selection rule table when using a slower cipher without limiting the rate of communication in the receiving direction of the communication device 10A by the decryption process.
[0129] 11, encryption code selection rule table 15-3 is obtained by modifying rules 1 to 3 of encryption code selection rule table 15-1, and is otherwise the same as encryption code selection rule table 15-1.
[0130] In the cipher suite selection rule table 15-3, rule 1 is that the receiving speed TRS3 at the communication IF1 of the communication device 10A is smaller than the decryption speed of the cipher suite Kyber1024.
[0131] Moreover, rule 2 is that the receiving speed TRS3 at the communication IF1 of the communication device 10A is smaller than the decryption speed of the encryption suite Kyber768.
[0132] And rule 3 does not specify any specific content.
[0133] The cipher suite selection unit 14 evaluates whether rule 1 is satisfied based on the cipher suite selection rule table 15-3, and if it evaluates that rule 1 is satisfied, selects the Kyber1024 cipher suite associated with rule 1, and if it evaluates that rule 1 is not satisfied, evaluates whether rule 2 is satisfied.
[0134] If the cipher suite selection unit 14 evaluates that rule 2 is satisfied, it selects the cipher suite Kyber768 associated with rule 2, and if the cipher suite selection unit 14 evaluates that rule 2 is not satisfied, it evaluates whether rule 3 is satisfied or not.
[0135] Since the specific content of rule 3 is not specified, the cipher suite selection unit 14 evaluates that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3.
[0136] The cipher selection rule table 15-3 includes rules that are symmetric to the rules in the cipher selection rule table 15-1 shown in Fig. 8(a) because in the cipher selection rule table 15-1, the transmission rate TRS1 is used to evaluate whether each rule is satisfied, and in the cipher selection rule table 15-3, the reception rate TRS3, which is the rate in the opposite direction to the transmission rate TRS1, is used to evaluate whether each rule is satisfied. (II-2) When using receiving speed TRS3 and receiving speed TRS4 FIG. 12 is a schematic diagram showing an example of the encryption selection rule table 15 when the receiving rates TRS3 and TRS4 are used.
[0137] 12, encryption code selection rule table 15-4 is obtained by modifying rules 1 to 3 of encryption code selection rule table 15-1, and is otherwise the same as encryption code selection rule table 15-1.
[0138] The encryption / decryption rule table 15-4 is an encryption / decryption rule table for dealing with the rate limit of the communication path in the receiving direction of the communication device 10A without being rate-limiting due to the decryption process.
[0139] In the cipher selection rule table 15-4, rule 1 is that if the reception rate TRS4 in the application 11 of the communication device 10A is rate-limiting, the reception rate TRS4 is smaller than the decryption rate of the encryption suite Kyber1024, and if the reception rate TRS4 is not rate-limiting, the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber1024.
[0140] In addition, rule 2 states that if the reception rate TRS4 is rate-limiting, the reception rate TRS4 is smaller than the decryption rate of the encryption suite Kyber768, and if the reception rate TRSTRS4 is not rate-limiting, the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber768.
[0141] And rule 3 does not specify any specific content.
[0142] The cipher suite selection unit 14 evaluates whether rule 1 is satisfied based on the cipher suite selection rule table 15-4, and if it evaluates that rule 1 is satisfied, selects the cipher suite Kyber1024 associated with rule 1, and if it evaluates that rule 1 is not satisfied, evaluates whether rule 2 is satisfied.
[0143] If the cipher suite selection unit 14 evaluates that rule 2 is satisfied, it selects the cipher suite Kyber768 associated with rule 2, and if the cipher suite selection unit 14 evaluates that rule 2 is not satisfied, it evaluates whether rule 3 is satisfied or not.
[0144] Since the specific content of rule 3 is not specified, the cipher suite selection unit 14 evaluates that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3.
[0145] When the reception rate TRS3 is lower than the decryption rate of the current cipher suite of the communication device 10A and is higher than the reception rate TRS4, it is determined that the reception rate TRS4 is the rate limiting factor.
[0146] Therefore, when the reception rate TRS3 is equal to or greater than the decryption rate of the current cipher suite of the communication device 10A, or when the reception rate TRS3 is equal to or less than the reception rate TRS4, or when the reception rate TRS3 is equal to or greater than the decryption rate of the current cipher suite of the communication device 10A and the reception rate TRS3 is equal to or less than the reception rate TRS4, it is determined that the reception rate TRS4 is not limiting. (II-3) When using sending speed TRS1 and receiving speed TRS3 FIG. 13 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1 and a reception rate TRS3 are used.
[0147] The cipher selection rule table 15-5 shown in FIG. 13 is an cipher selection rule table when a slower cipher is used without limiting the rate of communication in the transmission and reception directions of the communication device 10A by the encryption process.
[0148] 13, encryption code selection rule table 15-5 is obtained by modifying rules 1 to 3 of encryption code selection rule table 15-1, and is otherwise the same as encryption code selection rule table 15-1.
[0149] The cipher selection rule table 15-5 is an cipher selection rule table for using slower ciphers without limiting the speed of communication in the sending and receiving directions by encryption processing.
[0150] In the cipher selection rule table 15-5, rule 1 is that the transmission rate TRS1 is smaller than the encryption rate of the cipher suite Kyber1024, and the reception rate TRS3 is smaller than the decryption rate of the cipher suite Kyber1024.
[0151] Furthermore, rule 2 is that the sending rate TRS1 is smaller than the encryption rate of the encryption suite Kyber768, and the receiving rate TRS3 is smaller than the decryption rate of the encryption suite Kyber768.
[0152] And rule 3 does not specify any specific content.
[0153] The cipher selection unit 14 evaluates whether rule 1 is satisfied based on the cipher selection rule table 15-5, and if it evaluates that rule 1 is satisfied, it selects the cipher suite Kyber1024 associated with rule 1, and if it evaluates that rule 1 is not satisfied (i.e., at least one of "the transmission rate TRS1 is smaller than the encryption rate of the cipher suite Kyber1024" and "the reception rate TRS3 is smaller than the decryption rate of the cipher suite Kyber1024" is not satisfied), it evaluates whether rule 2 is satisfied.
[0154] If the encryption selection unit 14 evaluates that rule 2 is satisfied, it selects the encryption suite Kyber768 associated with rule 2, and if it evaluates that rule 2 is not satisfied (i.e., when at least one of "the transmission rate TRS1 is smaller than the encryption rate of the encryption suite Kyber768" and "the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber768" is not satisfied), it evaluates whether rule 3 is satisfied.
[0155] Since the specific content of rule 3 is not specified, the cipher suite selection unit 14 evaluates that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3. (II-4) When using transmission speed TRS1, transmission speed TRS2 and reception speed TRS3 FIG. 14 is a schematic diagram showing an example of the encryption selection rule table 15 when the transmission rates TRS1, TRS2, and the reception rate TRS3 are used.
[0156] 14, encryption code selection rule table 15-6 is obtained by modifying rules 1 to 3 of encryption code selection rule table 15-1, and is otherwise the same as encryption code selection rule table 15-1.
[0157] The cipher selection rule table 15-6 is an cipher selection rule table for dealing with the rate limit of the communication path in the transmission direction and preventing the transmission / reception speed from being limited by encryption.
[0158] In the cipher selection rule table 15-6, rule 1 is that if the communication device 10A is rate-limited by the transmission rate TRS2, the transmission rate TRS2 is smaller than the encryption rate of the encryption suite Kyber1024, and if the communication device 10A is not rate-limited by the transmission rate TRS2, the transmission rate TRS1 is smaller than the encryption rate of the encryption suite Kyber1024 and the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber1024.
[0159] In addition, rule 2 is that if the transmission rate TRS2 is rate-limited, the transmission rate TRS2 is smaller than the encryption rate of the Kyber768 encryption suite, and if the transmission rate TRS2 is not rate-limited, the transmission rate TRS1 is smaller than the encryption rate of the Kyber768 encryption suite and the reception rate TRS3 is smaller than the decryption rate of the Kyber768 encryption suite.
[0160] And rule 3 does not specify any specific content.
[0161] The cipher suite selection unit 14 evaluates whether rule 1 is satisfied based on the cipher suite selection rule table 15-6, and if it evaluates that rule 1 is satisfied, selects the Kyber1024 cipher suite associated with rule 1, and if it evaluates that rule 1 is not satisfied, evaluates whether rule 2 is satisfied.
[0162] Here, when communication in the transmission direction of communication device 10A is rate-limited by the transmission rate TRS2, it is evaluated that rule 1 is not satisfied if it is evaluated that the transmission rate TRS2 is equal to or greater than the encryption rate of encryption suite Kyber1024, and when communication in the transmission direction of communication device 10A is not rate-limited by the transmission rate TRS2, it is evaluated that rule 1 is not satisfied if at least one of “the transmission rate TRS1 is equal to or greater than the encryption rate of encryption suite Kyber1024” and “the reception rate TRS3 is equal to or greater than the decryption rate of encryption suite Kyber1024” is satisfied.
[0163] Then, in evaluating whether rule 2 is satisfied, the cipher suite selection unit 14 selects the Kyber768 cipher suite associated with rule 2 if it evaluates that rule 2 is satisfied, and evaluates whether rule 3 is satisfied if it evaluates that rule 2 is not satisfied.
[0164] Here, to determine that rule 2 is not satisfied, simply replace "encryption suite Kyber1024" with "encryption suite Kyber768" in the explanation of the above-mentioned determination that rule 1 is not satisfied.
[0165] In evaluating whether rule 3 is satisfied or not, since no specific rule is prescribed for rule 3, the cipher suite selection unit 14 evaluates that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3. (II-5) When using sending speed TRS1, receiving speed TRS3 and receiving speed TRS4 FIG. 15 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1, a reception rate TRS3, and a reception rate TRS4 are used.
[0166] The encryption / decryption rule table 15-7 shown in FIG. 15 is an encryption / decryption rule table when the transmission / reception speed is not limited by the encryption process (encryption process and decryption process) in response to the rate limit of the communication path in the receiving direction of the communication device 10A.
[0167] 15, encryption code selection rule table 15-7 is obtained by modifying rules 1 to 3 of encryption code selection rule table 15-1, and is otherwise the same as encryption code selection rule table 15-1.
[0168] In the encryption selection rule table 15-7, rule 1 is that if the communication device 10A is rate-constrained by the reception rate TRS4, the reception rate TRS4 is smaller than the decryption rate of the encryption suite Kyber1024, and if the communication device 10A is not rate-constrained by the reception rate TRS2, the transmission rate TRS1 is smaller than the encryption rate of the encryption suite Kyber1024 and the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber1024.
[0169] In addition, rule 2 is that if the reception rate TRS4 is the limiting factor, the reception rate TRS4 is smaller than the decryption rate of the encryption suite Kyber768, and if the reception rate TRS4 is not the limiting factor, the transmission rate TRS1 is smaller than the encryption rate of the encryption suite Kyber768 and the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber768.
[0170] And rule 3 does not specify any specific content.
[0171] The cipher suite selection unit 14 evaluates whether rule 1 is satisfied based on the cipher suite selection rule table 15-7, and if it evaluates that rule 1 is satisfied, selects the cipher suite Kyber1024 associated with rule 1, and if it evaluates that rule 1 is not satisfied, evaluates whether rule 2 is satisfied.
[0172] Here, when the rate is limited by the reception rate TRS4, it is evaluated that rule 1 is not satisfied if the reception rate TRS4 is evaluated to be equal to or greater than the decryption rate of the Kyber1024 encryption suite. Also, when the rate is not limited by the reception rate TRS4, it is evaluated that rule 1 is not satisfied if at least one of “the transmission rate TRS1 is equal to or greater than the encryption rate of the Kyber1024 encryption suite” and “the reception rate TRS3 is equal to or greater than the decryption rate of the Kyber1024 encryption suite” is satisfied.
[0173] Then, in evaluating whether rule 2 is satisfied, the cipher suite selection unit 14 selects the Kyber768 cipher suite associated with rule 2 if it evaluates that rule 2 is satisfied, and evaluates whether rule 3 is satisfied if it evaluates that rule 2 is not satisfied.
[0174] Here, to determine that rule 2 is not satisfied, simply replace "encryption suite Kyber1024" with "encryption suite Kyber768" in the explanation of the above-mentioned determination that rule 1 is not satisfied.
[0175] In evaluating whether rule 3 is satisfied or not, since no specific rule is prescribed for rule 3, the cipher suite selection unit 14 evaluates that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3. (II-6) When using sending speed TRS1, sending speed TRS2, receiving speed TRS3 and receiving speed TRS4 FIG. 16 is a schematic diagram showing an example of the encryption selection rule table 15 when a transmission rate TRS1, a transmission rate TRS2, a reception rate TRS3, and a reception rate TRS4 are used.
[0176] The encryption / decryption rule table 15-8 shown in FIG. 16 is an encryption / decryption rule table for dealing with the rate limitation of the communication path without being rate-limiting due to encryption processing (encryption processing and decryption processing) in the transmission / reception direction of the communication device 10A.
[0177] 16, encryption code selection rule table 15-8 is obtained by modifying rules 1 to 3 of encryption code selection rule table 15-1, and is otherwise the same as encryption code selection rule table 15-1.
[0178] In the cipher selection rule table 15-8, rule 1 is that if the communication device 10A is rate-limited by the transmission rate TRS2, the transmission rate TRS2 is smaller than the encryption rate of the encryption suite Kyber1024; if it is not rate-limited by the transmission rate TRS2 and is rate-limited by the reception rate TRS4, the reception rate TRS4 is smaller than the decryption rate of the encryption suite Kyber1024; if it is not rate-limited by either the transmission rate TRS2 or the reception rate TRS4, the transmission rate TRS1 is smaller than the encryption rate of the encryption suite Kyber1024 and the reception rate TRS3 is smaller than the decryption rate of the encryption suite Kyber1024.
[0179] In addition, rule 2 is: if the transmission rate TRS2 is the limiting factor, then the transmission rate TRS2 is smaller than the encryption rate of the Kyber768 encryption suite; if the transmission rate TRS2 is not the limiting factor and the reception rate TRS4 is the limiting factor, then the reception rate TRS4 is smaller than the decryption rate of the Kyber768 encryption suite; if the transmission rate TRS2 is not the limiting factor and the reception rate TRS4 is the limiting factor, then the transmission rate TRS1 is smaller than the encryption rate of the Kyber768 encryption suite and the reception rate TRS3 is smaller than the decryption rate of the Kyber768 encryption suite.
[0180] And rule 3 does not specify any specific content.
[0181] The cipher suite selection unit 14 evaluates whether or not rule 1 is satisfied based on the cipher suite selection rule table 15-8, and if it evaluates that rule 1 is satisfied, selects the cipher suite Kyber1024 associated with rule 1, and if it evaluates that rule 1 is not satisfied, evaluates whether or not rule 2 is satisfied.
[0182] Here, when the rate is limited by the transmission rate TRS2, it is evaluated that rule 1 is not satisfied if the transmission rate TRS2 is evaluated to be equal to or greater than the encryption rate of the Kyber1024 encryption suite. Also, when the rate is not limited by the transmission rate TRS2 but is limited by the reception rate TRS4, it is evaluated that rule 1 is not satisfied if the reception rate TRS4 is evaluated to be equal to or greater than the decryption rate of the Kyber1024 encryption suite. Furthermore, when the rate is not limited by either the transmission rate TRS2 or the reception rate TRS4, it is evaluated that rule 1 is not satisfied if at least one of “the transmission rate TRS1 is equal to or greater than the encryption rate of the Kyber1024 encryption suite” and “the reception rate TRS3 is equal to or greater than the decryption rate of the Kyber1024 encryption suite” is satisfied.
[0183] Then, in evaluating whether rule 2 is satisfied, the cipher suite selection unit 14 selects the Kyber768 cipher suite associated with rule 2 if it evaluates that rule 2 is satisfied, and evaluates whether rule 3 is satisfied if it evaluates that rule 2 is not satisfied.
[0184] Here, to determine that rule 2 is not satisfied, simply replace "encryption suite Kyber1024" with "encryption suite Kyber768" in the explanation of the above-mentioned determination that rule 1 is not satisfied.
[0185] In evaluating whether rule 3 is satisfied or not, since rule 3 does not prescribe any specific content, the cipher suite selection unit 14 evaluates that rule 3 is satisfied and selects the cipher suite Kyber512 associated with rule 3.
[0186] In the encryption selection rule table 15-8, when it is evaluated that the transmission rate TRS1 is smaller than [the current encryption rate of the encryption / decryption unit 12 of the communication device 10A] and the transmission rate TRS1 is greater than the transmission rate TRS2, it is determined that the transmission rate is limited by the transmission rate TRS2.
[0187] Furthermore, when it is evaluated in the encryption selection rule table 15-8 that the reception rate TRS3 is smaller than [the current decryption rate of the encryption / decryption unit 12 of the communication device 10A] and is greater than the reception rate TRS4, it is determined that the reception rate is limited by the reception rate TRS4.
[0188] Fig. 17 is a flowchart for explaining the operation of the communication device 10A. Referring to Fig. 17, when the operation of the communication device 10A is started, a rule is set in the encryption cipher selection rule table 15 (step S1). In this case, the operator of the communication device 10A or the application 11 of the communication device 10A sets the rule in the encryption cipher selection rule table 15.
[0189] After step S1, the cipher suite selection unit 14 performs a test to measure the processing time of each cipher suite, and initializes the cipher suite quality table 30 (step S2).
[0190] Then, the encryptor / decryptor 12 executes a process of establishing an encrypted communication path based on the cipher suite initially set by the operator (step S3).
[0191] Thereafter, the cipher suite selection unit 14 sets a cipher suite change prohibition period PHB, which is a period during which a change of the cipher suite is prohibited (step S4).
[0192] Subsequently, the communication device 10A communicates with the communication device 20A using the application (step S5).
[0193] In this case, when communication device 10A executes only a transmission process to transmit data to communication device 20A, application 11 of communication device 10A outputs the data to encryption / decryption unit 12, and encryption / decryption unit 12 receives data from application 11, encrypts the received data with a cipher suite to generate encrypted data, and transmits the generated encrypted data to communication device 20A via communication IF1.
[0194] Furthermore, when communication device 10A transmits and receives data to communication device 20A, application 11 of communication device 10A outputs the data to encryption / decryption unit 12, and encryption / decryption unit 12 receives data from application 11, encrypts the received data with a cipher suite to generate encrypted data, and transmits the generated encrypted data to communication device 20A via communication IF 1. Thereafter, encryption / decryption unit 12 of communication device 10A receives encrypted data from communication device 20A via communication IF 1, decrypts the received encrypted data, and outputs the data to application 11.
[0195] After step S5, the cipher suite selection unit 14 determines whether the cipher suite change prohibition period PHB has ended (step S6).
[0196] Then, when the cipher encryption / cipher change prohibition period PHB ends (see "YES" in step S6), the cipher encryption / cipher selection unit 14 outputs to the quality monitoring unit 13 the fact that the cipher encryption / cipher change prohibition period PHB has ended.
[0197] When the quality monitoring unit 13 receives a notification that the encryption key change prohibition period PHB has ended from the encryption key selection unit 14, the quality monitoring unit 13 monitors the processing and communication quality (step S7). More specifically, the quality monitoring unit 13 monitors the data encryption processing by the encryption / decryption unit 12, as well as the transmission rates TRS1 and TRS2 and the reception rates TRS3 and TRS4.
[0198] After step S7, the cipher selection unit 14 inquires about the communication quality from the quality monitoring unit 13, and selects a cipher suite based on the first communication quality (= transmission rates TRS1, TRS2 and receiving rates TRS3, TRS4) obtained from the quality monitoring unit 13, the cipher selection rule table 15, and the cipher processing quality table 30 (step S8).
[0199] Then, the cipher suite selection unit 14 determines whether or not the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12, thereby determining whether or not a different cipher suite has been selected (step S9).
[0200] In this case, when the cipher suite selection unit 14 determines that the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12, it determines that a different cipher suite has been selected, and when the selected cipher suite is the same as the cipher suite used in the encryption / decryption unit 12, it determines that a different cipher suite has not been selected (i.e., the same cipher suite has been selected).
[0201] When it is determined in step S9 that a different cipher suite has not been selected, the operation of the communication device 10A proceeds to step S7.
[0202] On the other hand, when it is determined in step S9 that a different cipher suite has been selected, the cipher suite selection unit 14 notifies the encryption / decryption unit 12 of the selected cipher suite and changes the cipher suite in the encryption / decryption unit 12 (step S10). As a result, the encryption process in the encryption / decryption unit 12 is changed.
[0203] After step S10, the cipher suite selection unit 14 sets the cipher suite change prohibition period PHB (step S11).
[0204] Then, the communication device 10A communicates with the communication device 20A using the changed cipher suite (step S12). In this case, "only the transmission process in which the communication device 10A transmits data to the communication device 20A" or "transmission and reception of data between the communication device 10A and the communication device 20A" described in step S5 is executed.
[0205] Thereafter, the operation of the communication device 10A proceeds to step S6. Then, while the communication device 10A is operating, the above-mentioned steps S6 to S12 are repeatedly executed.
[0206] In the flowchart shown in FIG. 17, the cipher suite selection unit 14 determines in step S9 whether the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12. When the cipher suite is determined to be different from the cipher suite used in the encryption / decryption unit 12 (see "YES" in step S9), step S10 is executed. When the cipher suite is determined to be not different from the cipher suite used in the encryption / decryption unit 12 (see "NO" in step S9), the operation of the communication device 10A transitions to step S7. This corresponds to executing a "cipher suite selection process in which the cipher suite used in encryption / decryption unit 12 is determined to be different from the cipher suite used in encryption / decryption unit 12, and if it is determined that the selected cipher suite is different from the cipher suite used in encryption / decryption unit 12, the cipher suite used in encryption / decryption unit 12 is changed to the selected cipher suite, and if it is determined that the selected cipher suite is not different from the cipher suite used in encryption / decryption unit 12 (i.e., the selected cipher suite is the same as the cipher suite used in encryption / decryption unit 12), the cipher suite used in encryption / decryption unit 12 is not changed to the selected cipher suite."
[0207] In this case, the cipher suite selected by the cipher selector 14 constitutes the "first cipher suite" and the cipher suite used in the encryption / decryption unit 12 constitutes the "second cipher suite".
[0208] Also, in the flowchart shown in Figure 17, when step S8 is executed, when the communication device 10A executes only the transmission process of transmitting data to the communication device 20A, the cipher selection unit 14 selects a cipher suite using the cipher selection rule table 15-1 (see (a) of Figure 8) or the cipher selection rule table 15-1 (see Figure 9), and communicates the selected cipher suite to the encryption / decryption unit 12.
[0209] On the other hand, when communication device 10A transmits and receives data with communication device 20A, the cipher suite selection unit 14 selects a cipher suite using one of the cipher suite selection rule tables 15-1, 15-3 to 15-8 (see Figure 8(a) and Figures 11 to 16) and communicates the selected cipher suite to encryption / decryption 12.
[0210] In step S11, the cipher suite change prohibition period PHB is set in order to prevent the cipher suite used in the encryption / decryption unit 12 from being changed (see step S10) and from being changed to another cipher suite within a short period of time. In addition, when the cipher suite is changed, communication by the application 11 is stopped during the process of establishing an encrypted communication path, so that the cipher suite change prohibition period PHB is set in order to prevent the application 11 from stopping communication due to the process of establishing an encrypted communication path.
[0211] After step S12, the operation of the communication device 10A transitions to step S6 in order to secure a period until the cipher change prohibition period PHB set in step S11 ends so that the quality monitoring unit 13 can monitor the processing and communication quality using the changed cipher suite.
[0212] Fig. 18 is a schematic diagram showing the process of establishing an encrypted communication path. With reference to Fig. 18, when a cipher suite is initially set in the encryption / decryption unit 12, or when a cipher suite in the encryption / decryption unit 12 is changed, information exchange, key exchange, and authentication are performed between the encryption / decryption unit 12 and the encryption / decryption unit 21 of the communication device 20A.
[0213] The information exchange involves exchanging information necessary for establishing an encrypted communication path, such as the encryption algorithm, key length, key exchange method, whether or not authentication is performed, the authentication method, and the message verification method, between the encryption / decryption unit 12 of communication device 10A and the encryption / decryption unit 21 of communication device 20A.
[0214] The key exchange is a process in which the encryption / decryption unit 12 of the communication device 10A and the encryption / decryption unit 21 of the communication device 20A obtain key information necessary for encrypted communication. For example, key data may be exchanged directly, or a token for calculating a key may be exchanged. Furthermore, a public key certificate may be used for the exchange.
[0215] Furthermore, authentication is performed if required by the cipher suite, and there are methods using public key certificates and password authentication methods.
[0216] In step S3 in FIG. 17, the process of establishing an encrypted communication path shown in FIG. 18 is executed, but if the encryption key is set in the encryption / decryption unit 12 by the operator of the communication device 10A or the application 11, the key exchange in FIG. 18 can be omitted.
[0217] Also in step S10 in FIG. 17, the process of establishing an encrypted communication path shown in FIG. 18 is executed.
[0218] As shown in FIG. 18, after information exchange, key exchange, and authentication are completed between the encryption / decryption unit 12 of the communication device 10A and the encryption / decryption unit 21 of the communication device 20A, data is transmitted or received between the application 11 of the communication device 10A and the application 22 of the communication device 20A using the established encrypted communication path.
[0219] Fig. 19 is a flowchart for explaining the detailed operation of step S8 shown in Fig. 17. Fig. 20 is a schematic diagram of an encryption selection rule table used in the flowchart shown in Fig. 17. The encryption selection rule table 15A shown in Fig. 20 is a table in which rules 1 to N of the encryption selection rule table 15 shown in Fig. 6 are calculated based on a transmission rate TRS1 from the application 11 to the encryption / decryption unit 12 and encryption rates C1 to C2 of the encryption processing quality table shown in Fig. 7. N-1 The encryption code selection rule table 15A is a generalized encryption code selection rule table of the encryption code selection rule table 15-1 shown in FIG.
[0220] 19, after step S7 in FIG. 17, the encryption key selection unit 14 of the communication device 10A sets n=1 (step S81), and selects the rule n associated with the priority level n in the encryption key selection rule table 15A (step S82).
[0221] Then, the cipher selection unit 14 judges whether or not the transmission rate TRS1 from the application 11 to the encryption / decryption unit 12 satisfies the rule n (step S83). In this case, the cipher selection unit 14 judges whether or not the transmission rate TRS1 is equal to the encryption rate C of the cipher suite n. n Determine whether the transmission rate TRS1 is smaller than the encryption rate C of cipher suite n. n If the transmission rate TRS1 is smaller than the encryption rate C n If it is determined that it is equal to or greater than this, it is determined that the transmission rate TRS1 does not satisfy the rule n.
[0222] When it is determined in step S83 that the transmission rate TRS1 does not satisfy the rule n, the encryption selection unit 14 sets n=n+1 (step S84). After that, the detailed operation of step S8 proceeds to step S82, and steps S82 to S84 are repeatedly executed until it is determined in step S83 that the transmission rate TRS1 satisfies the rule n.
[0223] Then, when it is determined in step S83 that the transmission rate TRS1 satisfies the rule n, the cipher suite selection unit 14 refers to the cipher suite selection rule table 15A and selects the cipher suite n associated with the rule n when it is determined that the transmission rate TRS1 satisfies the rule n (step S85). Then, the process proceeds to step S9 in FIG. 17.
[0224] In the flowchart shown in FIG. 19, when the cipher selection rule table 15A shown in FIG. 20 is used, when step S82 is executed after step S81, the cipher selection unit 14 selects rule 1 associated with priority 1 in the cipher selection rule table 15A in step S82, and determines whether the transmission rate TRS1 satisfies rule 1 in step S83.
[0225] When it is determined in step S83 that the transmission rate TRS1 satisfies the rule 1, the cipher suite selection unit 14 selects the cipher suite 1 associated with the rule 1 with reference to the cipher suite selection rule table 15A in step S85.
[0226] On the other hand, when the cipher selection unit 14 determines in step S83 that the transmission rate TRS1 does not satisfy the rule 1, it sets n=1+1=2 in step S84. Thereafter, in step S82, the cipher selection unit 14 selects the rule 2 associated with the priority 2 in the cipher selection rule table 15A, and determines in step S83 whether the transmission rate TRS1 satisfies the rule 2.
[0227] When it is determined in step S83 that the transmission rate TRS1 satisfies the rule 2, the cipher suite selection unit 14 selects the cipher suite 2 associated with the rule 2 with reference to the cipher suite selection rule table 15A in step S85.
[0228] On the other hand, when the encryption / decryption unit 14 determines in step S83 that the transmission rate TRS1 does not satisfy the rule 2, the encryption / decryption unit 14 sets n=2+1=3 in step S84. After that, the above-mentioned operations are repeatedly executed.
[0229] Then, in step S84, the cipher selection unit 14 sets n=n+1=N-1, and then in step S82, selects rule N-1 associated with priority N-1 in the cipher selection rule table 15A, and in step S83, determines whether the transmission rate TRS1 satisfies rule N-1.
[0230] When it is determined in step S83 that the transmission rate TRS1 satisfies the rule N-1, the cipher suite selection unit 14 selects the cipher suite N-1 associated with the rule N-1 by referring to the cipher suite selection rule table 15A in step S85.
[0231] On the other hand, when the encryption / decryption selector 14 determines in step S83 that the transmission rate TRS1 does not satisfy the rule N-1, it sets n=N-1+1=N in step S84.
[0232] Thereafter, in step S82, the cipher suite selection unit 14 selects rule N associated with priority level N in the cipher suite selection rule table 15A, and in step S83, determines whether the transmission rate TRS1 satisfies rule N. In this case, since no specific rule is set for rule N, the cipher suite selection unit 14 determines in step S83 that the transmission rate TRS1 satisfies rule N.
[0233] Then, the cipher suite selection unit 14 selects the cipher suite N associated with the rule N in step S85.
[0234] In this way, by executing the flowchart shown in FIG. 19, the cipher suite selection unit 14 uses the communication quality (transmission rate TRS1) to evaluate whether or not the communication quality (transmission rate TRS1) satisfies the rule, starting from the rule with the highest priority (rule 1 associated with priority 1) in the cipher suite selection rule table 15A, and selects the cipher suite corresponding to the rule when it is first determined that the communication quality (transmission rate TRS1) satisfies the rule.
[0235] In the cipher suite selection rule table 15A, the rules 1 to N-1 respectively indicate that the transmission rate TRS1 corresponds to the encryption rates C1 to C2 of the cipher suites 1 to N-1. N-1 The reason why the cipher suite selection rule is "smaller than" is the same as that explained in the above-mentioned cipher suite selection rule table 15-1.
[0236] In the flowchart shown in FIG. 19, any one of the encryption code selection rule tables 15-2 to 15-8 is used in place of the encryption code selection rule table 15-1.
[0237] In this case, like the encryption code selection rule table 15A obtained by generalizing the encryption code selection rule table 15-1, any one of the encryption code selection rule tables 15-2 to 15-8 is generalized, and the generalized encryption code selection rule table is used in step S83 in FIG.
[0238] According to the flowchart shown in FIG. 17 (including the flowchart shown in FIG. 19), the cipher suite selection unit 14 selects a cipher suite so that the communication quality (transmission rate TRS1) satisfies the rule (= any one of rules 1 to N) in the cipher suite selection rule table 15A (see step S8 in FIG. 17 (= the flowchart shown in FIG. 19)), and therefore can select a cipher suite that does not impair the communication quality (transmission rate TRS1).
[0239] As a result, the cipher suite in the encryption / decryption unit 12 is changed to the cipher suite selected by the cipher selection unit 14 (see step S10 in FIG. 17), so that the encryption / decryption unit 12 of the communication device 10A communicates with the communication device 20A using the cipher suite that does not impair the communication quality (transmission rate TRS1) (see step S12 in FIG. 17). Therefore, data can be encrypted without impairing the communication quality (transmission rate TRS1) of the communication device 10A.
[0240] In the first embodiment, the operation of the communication device 10A may be realized by software. In this case, the communication device 10A includes a CPU (Central Processing Unit), a ROM (Read Only Memory), and a RAM (Random Access Memory). The ROM stores a program Prog_A consisting of the steps of the flowchart shown in FIG. 17 (including the flowchart shown in FIG. 19).
[0241] The CPU reads out the program Prog_A from the ROM, executes the read out program Prog_A, monitors the communication quality (transmission speed TRS1), and selects a cipher suite based on the monitored communication quality (transmission speed TRS1). The RAM temporarily stores the communication quality (transmission speed TRS1).
[0242] Also, the program Prog_A may be distributed in a form recorded on a recording medium such as a CD or a DVD. When the recording medium on which the program Prog_A is recorded is installed in a computer, the computer reads and executes the program Prog_A from the recording medium to monitor the communication quality (transmission rate TRS1) and selects a cipher suite based on the monitored communication quality (transmission rate TRS1).
[0243] Therefore, the recording medium on which the program Prog_A is recorded is a computer-readable recording medium.
[0244] In addition, when the operation of communication device 10A is realized by the CPU executing program Prog_A, the communication quality is not limited to the transmission rate TRS1, but any of the communication qualities described in cipher selection rule table 15-2 (see FIG. 9), cipher selection rule table 15-3 (see FIG. 11), cipher selection rule table 15-4 (see FIG. 12), cipher selection rule table 15-5 (see FIG. 13), cipher selection rule table 15-6 (see FIG. 14), cipher selection rule table 15-7 (see FIG. 15) and cipher selection rule table 15-8 (see FIG. 16) is used.
[0245] In the above description, the "cipher change prohibition period PHB" is set, but the present invention is not limited to this in the first embodiment, and the "cipher change prohibition period PHB" does not have to be set. This is because the cipher suite selection unit 14 can select a cipher suite that satisfies a rule (any of rules 1 to N) in the cipher selection rule table 15 based on the communication quality (transmission speed TRS1, etc.) without setting the "cipher change prohibition period PHB".
[0246] [Embodiment 2] Fig. 21 is a schematic diagram of the communication device 10 shown in Fig. 2 in a second embodiment. Referring to Fig. 21, the communication device 10B in the second embodiment is the same as the communication device 10A, except that a quality prediction unit 16 is added to the communication device 10A shown in Fig. 3, the encryption cipher selection unit 14 of the communication device 10A is replaced with an encryption cipher selection unit 14A, and the encryption cipher selection rule table 15A of the communication device 10A is replaced with an encryption cipher selection rule table 15B.
[0247] In addition, in the second embodiment, the communication device 20 shown in FIG. 2 has the same configuration as the communication device 20A shown in FIG. 4, but is represented as "communication device 20B" to distinguish it from the communication device 20A in the first embodiment.
[0248] In the second embodiment, the quality monitoring unit 13 monitors the transmission rates TRS1, TRS2 and the receiving rates TRS3, TRS4 over time, and generates time series data TRS1(t) of the transmission rate TRS1, time series data TRS2(t) of the transmission rate TRS2, time series data TRS3(t) of the receiving rate TRS3, and time series data TRS4(t) of the receiving rate TRS4 based on the transmission rates TRS1, TRS2 and the receiving rates TRS3, TRS4, respectively.
[0249] The quality prediction unit 16 inquires of the quality monitoring unit 13 about the communication quality, and predicts future communication quality based on the first communication quality (=time series data TRS1(t) to TRS4(t)) obtained from the quality monitoring unit 13 by a method described later.
[0250] In this case, the quality prediction unit 16 predicts future communication quality based on the time series data TRS1(t) to TRS4(t) generated by the quality monitoring unit 13, for example, by machine learning using a probabilistic neural network PNN (Probabilistic Neural Network).
[0251] The future communication quality includes a future transmission rate TRS1_F which is a future transmission rate predicted based on the time series data TRS1(t) of the transmission rate TRS1, a future transmission rate TRS2_F which is a future transmission rate predicted based on the time series data TRS1(t) of the transmission rate TRS2, a future receiving rate TRS3_F which is a future receiving rate predicted based on the time series data TRS3(t) of the receiving rate TRS3, and a future receiving rate TRS4_F which is a future receiving rate predicted based on the time series data TRS4(t) of the receiving rate TRS4.
[0252] The cipher suite selection unit 14A queries the quality prediction unit 16 about the communication quality, and executes the above-mentioned cipher suite selection process based on the future communication quality obtained from the quality prediction unit 16, the cipher suite selection rule table 15, and the cipher suite selection quality table 30 (see FIG. 7). [How to predict future communication quality] This paper explains a method for predicting future communication quality through machine learning using a probabilistic neural network (PNN).
[0253] Fig. 22 is a flowchart for explaining a method for predicting future communication quality. Fig. 23 is a flowchart for explaining detailed operations of step S_PRS1 shown in Fig. 22. Fig. 24 and Fig. 25 are first and second schematic diagrams used to explain a method for predicting future communication quality, respectively.
[0254] Referring to FIG. 22, when the operation of predicting future communication quality is started, the quality prediction unit 16 executes a learning process for performing a pattern matching-based prediction process using a PNN on the time series data TRS1(t) of the transmission speed TRS1 to obtain the learned data D_trained (step S_PRS1).
[0255] Then, the quality prediction unit 16 acquires a future value prediction dataset Dset1, a norm calculation dataset Dset2, and a label (correct answer data) dataset Dset_Label from the acquired learned data D_trained (step S_PRS2). The future value prediction dataset Dset1, the norm calculation dataset Dset2, and the label (correct answer data) dataset Dset_Label are respectively expressed by formulas (1) to (3). The future value prediction dataset Dset1 includes the norm calculation dataset Dset2 and the label (correct answer data) dataset Dset_Label (see FIG. 24). In formula (1), n1 is a natural number.
[0256]
number
[0257]
number
[0258]
number
[0259] In the matrix of the above norm calculation data set Dset2, each row vector corresponds to a learning vector at time i.
[0260] After step S_PRS2, the quality prediction unit 16 uses the above data set (Equations (1) to (3)) to perform, for example, a learning process using a PNN, and acquires a learned model (for example, a learned model using a PNN) (step S_PRS3).
[0261] Here, the data of the transmission speed TRS1 at time i is D i Then, the data D1s (=time series data TRS1(t)) is, for example, three consecutive time series data D1s={D i ,D i+1 ,Di+2} is set.
[0262] For ease of explanation, the observation value series (time-series data) of the transmission rate TRS1 after time t1 is set to c0, c1, c2,... as shown in Fig. 25. In this case, the data D1s = {c0, c1, c2}.
[0263] After step S_PRS3, the quality prediction unit 16 calculates the norm (for example, Euclidean distance) D_norm={d0, d1, . . . , d n1-1} is calculated (step S_PRS4).
[0264] Then, the quality prediction unit 16 determines whether the calculated norm (for example, Euclidean distance) D_norm is equal to or smaller than the minimum value d min A row vector satisfying the formula (1) is detected, and a label (correct data) corresponding to the detected row vector is identified using the data set Dset_Label (step S_PRS5).
[0265] Subsequently, the quality prediction unit 16 calculates the minimum value d min The label (correct data) corresponding to the row vector taking the above formula is obtained as the predicted data value D_predict for a future time (step S_PRS6), and the predicted data value D_predict for a future time obtained is set as the future transmission rate TRS1_F, which is the future transmission rate of the transmission rate TRS1 (step S_PRS7).
[0266] Specifically, for example, in the case shown in FIG. 25, the norm d2 between the time series data D1s (={c0, c1, c2}) of the transmission rate TRS1 and the vector ({a2, a3, a4}) in the third row of the norm calculation data set Dset2 is the minimum value d minAssuming that the above equation is taken, the quality prediction unit 16 identifies the label value a6 (the data in the third row of the label (correct data) data set Dset_Label) corresponding to the vector ({a2, a3, a4}) in the third row of the norm calculation data set Dset2 as the predicted data value D_predict for a future time (future time i+4 if the current time is i).
[0267] After step S_PRS7, the method for predicting a future transmission rate TRS1_F ends.
[0268] Next, a detailed operation of step S_PRS1 in Fig. 22 will be described. With reference to Fig. 23, the quality prediction unit 16 acquires k1 observation value series of the transmission rate TRS1 from time i (corresponding to time t0 in Fig. 24) and acquires a learning vector (step S_PRS1-1).
[0269] Then, the quality prediction unit 16 sets the future value data (correct answer data) corresponding to the learning vector as the observed value at time i+k2 in the label associated with the learning vector (step S_PRS1-2).
[0270] For example, in the case of FIG. 24, i=0, k1=3, and the time series data D1s of the transmission rate TRS1 is expressed as follows: D1s={D i ,D i+1 ,D i+2} ={a i ,a i+1 ,a i+2}={a0,a1,a2} The above data D1s is used as a learning vector.
[0271] In the case of FIG. 24, since k2=4, the label to be associated with the learning vector is the observed value (=value of transmission rate TRS1) at time i+k2 (=i+4). i+4 Let us assume that.
[0272] The target data for the above process in the case of FIG. 24 is data included in the section of window Win1 in FIG. 24 (the section from time t0 to tw).
[0273] After step S_PRS1-2, the quality prediction unit 16 then advances the time (time step) by one. That is, the quality prediction unit 16 shifts the section of the window Win1 in Fig. 24 by one time step (=time corresponding to one data sampling) toward the time axis direction Dir1, and sets the shifted section of the window Win1 as the target data for processing (step S_PRS1-3).
[0274] Then, similar to process (1) (consisting of steps S_PRS1-1 and S_PRS1-2), the quality prediction unit 16 acquires k1 time series observation value series (time series data for transmission speed TRS1) from time i+1, and acquires a learning vector (step S_PRS1-4).
[0275] Thereafter, the quality prediction unit 16 sets the future value data (correct answer data) corresponding to the learning vector as the observed value (transfer rate TRS2_1) at time i+k2+1 in the label associated with the learning vector (step S_PRS1-5).
[0276] For example, in the case of FIG. 24, i=0, k1=3, and the time series data D1s of the transmission rate TRS1 is expressed as follows: D1s={D i+1 ,D i+2 ,D i+3} ={a i+1 ,a i+2 ,a i+3}={a1,a2,a3} The quality prediction unit 16 uses the above data D1s as a learning vector.
[0277] In the case of FIG. 24, since k2=4, the label to be associated with the learning vector is the observed value (transmission rate TRS2_1) at time i+k2+1 (=i+4). i+5 Let us assume that.
[0278] After step S_PRS1-5, at time i+n1-1 (n1: natural number), the quality prediction unit 16 acquires k1 time series observation value series (time series data of transmission speed TRS1) from time i+n1-1, as in process (1) (=step S_PRS1-1 and step S_PRS1-2), and acquires a learning vector.
[0279] In addition, the future value data (correct answer data) corresponding to the learning vector is set as the observed value (value of transmission rate TRS1) at time i+n1-1+k2 in a label associated with the learning vector (step S_PRS1-6).
[0280] For example, in the case of FIG. 15, i=0, k1=3, and the time series data D1s of the transmission rate TRS1 is expressed as follows: D1s={D i+n1-1 ,D i+n1 ,D i+n1+1} ={a i+n1-1 ,a i+n1 ,a i+n1+1}={a n1-1 ,a n1 ,a n1+1} The quality prediction unit 16 uses the above data D1s as a learning vector.
[0281] In the case of FIG. 24, since k2=4, the quality prediction unit 16 sets the label to be associated with the learning vector as the observed value (value of the transmission rate TRS1) at time i+n1-1+k2 (=i+n1+3). n1+3 Let us assume that.
[0282] Then, when step S_PRS1-6 is completed, the detailed operation of step S_PRS1 in FIG. 23 is completed.
[0283] 24 and 25, the first step consists of steps S_PRS1 to S_PRS3 in FIG. 22, and the second step consists of steps S_PRS4 to S_PRS7 in FIG.
[0284] In the first step shown in Fig. 24, the quality prediction unit 16 repeatedly executes the steps of acquiring learning vectors from the time series data TRS1(t) of the transmission speed TRS1 and setting future values corresponding to the acquired learning vectors as observed values at future times in the labels corresponding to the learning vectors (see step S_PRS1 (= the flowchart shown in Fig. 23)). As a result, the labels of the data set Dset_Label shown in Fig. 24 are set to the future values a4, a5, a6, ... a corresponding to the learning vectors acquired from the time series data TRS1(t) of the transmission speed TRS1. n1+3 is stored.
[0285] Then, in the second step shown in FIG. 25, the quality prediction unit 16 calculates the norm D_norm={d0, d1, d2} between each row vector of the norm calculation dataset Dset2 acquired from the learned data D_trained and the data D1s (={c0, c1, c2}).
[0286] After that, the quality prediction unit 16 determines whether the calculated norm D_norm={d0, d1, d2} is the minimum value d min Then, using the data set Dset_Label, we identify the label (correct data) corresponding to the detected row vector, and find the minimum value d min The label (correct data) corresponding to the row vector taking the above formula is obtained as the predicted data value D_predict (=future transmission speed TRS1_F) at a future time.
[0287] For example, in FIG. 25, the quality prediction unit 16 determines whether the calculated norm D_norm={d0, d1, d2} is equal to or smaller than the minimum value d min When row vector {a2, a3, a4} is detected as a row vector such that: label a6 corresponding to row vector {a2, a3, a4} is obtained as the predicted data value D_predict (=future transmission rate TRS1_F) at a future time.
[0288] Here, the calculated norm D_norm={d0,d1,d2} is the minimum value d minThe row vector {a2, a3, a4} such that: is detected from the time series data TRS1(t) of the transmission rate TRS1 in the first step shown in FIG.
[0289] Then, the norm {d0,d1,d2} (=Euclidean distance) between the row vector {a2,a3,a4} and the data D1s (={c0,c1,c2}) is the minimum value d min Therefore, the row vector {a2, a3, a4} has the smallest Euclidean distance with the data D1s (= {c0, c1, c2}). That is, the row vectors {a0, a1, a2}, {a1, a2, a3}, {a2, a3, a4}, ..., {a n1-1 ,a n1 ,a n1+1}, the row vector {a2, a3, a4} is most similar to the data D1s (={c0, c1, c2}).
[0290] Therefore, the execution of steps S_PRS4 and S_PRS5 shown in FIG. 22 by the quality prediction unit 16 corresponds to detecting the row vector {a2, a3, a4} (= a row vector consisting of time series data earlier than the time series data D1s (= {c0, c1, c2})) that is most similar to the time series data D1s (= {c0, c1, c2}) of the transmission speed TRS1 monitored by the quality monitoring unit 13, among the multiple row vectors acquired by the quality prediction unit 16 from the norm calculation dataset Dset2, and identifying the label (correct answer data) = a6 (= the transmission speed TRS1 after the row vector {a2, a3, a4}) corresponding to the detected row vector {a2, a3, a4} using the dataset Dset_Label.
[0291] After the quality prediction unit 16 identifies the label (correct data) = a6 in step S_PRS5, executing steps S_PRS6 and S_PRS7 corresponds to applying the correspondence between the row vector {a2, a3, a4} and the label (correct data) = a6 to the data D1s (= {c0, c1, c2}) to predict the future transmission speed TRS1_F at a time later than the data D1s (= {c0, c1, c2}).
[0292] Fig. 26 is a conceptual diagram showing the operation of identifying correct data in step S_PRS5 shown in Fig. 22. Referring to Fig. 26, in step S_PRS5 shown in Fig. 22, the quality prediction unit 16 sequentially executes (a), (b), and (c) in Fig. 26 to identify the label (correct data)=a6 corresponding to the row vector {a2, a3, a4}.
[0293] When multiple norms are the minimum, any one of the multiple norms is set as the minimum norm.
[0294] The quality prediction unit 16 predicts a future transmission rate TRS1_F, which is a future transfer rate of the transmission rate TRS1, by repeatedly executing the flowchart shown in Fig. 22 (including the flowchart shown in Fig. 23) while shifting the window Win1 in the time axis direction Dir1 during a section t1 to t2 shown in Fig. 25. As a result, as shown in Fig. 25, a predicted future transmission rate TRS1_F (time series data of the future transmission rate) is obtained (see the dotted line in Fig. 25).
[0295] When the quality prediction unit 16 finishes predicting the future transmission rate TRS1_F of the transmission rate TRS1 by repeatedly executing the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23), it repeatedly executes the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23) to predict the future transmission rate TRS2_F which is the future transmission rate of the transmission rate TRS2, it repeatedly executes the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23) to predict the future reception rate TRS3_F which is the future reception rate of the reception rate TRS3, and it repeatedly executes the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23) to predict the future reception rate TRS4_F which is the future reception rate of the reception rate TRS4.
[0296] Then, the quality predictor 16 holds the predicted future transmission rate TRS1_F, future transmission rate TRS2_F, future receiving rate TRS3_F, and future receiving rate TRS4_F.
[0297] Thereafter, when the quality predictor 16 receives an inquiry about the communication quality from the encryption / decrease selector 14A, it notifies the encryption / decrease selector 14A of the future transmission rate TRS1_F, the future transmission rate TRS2_F, the future reception rate TRS3_F, and the future reception rate TRS4_F.
[0298] Each of the future transmission rate TRS1_F, the future transmission rate TRS2_F, the future reception rate TRS3_F, and the future reception rate TRS4_F is a curve in which the future transmission rate or reception rate changes over time, and is therefore time-series data.
[0299] Fig. 27 is a flowchart for explaining the operation of the communication device 10B. The flowchart shown in Fig. 27 is the same as the flowchart shown in Fig. 17 except that step S8 in the flowchart shown in Fig. 17 is replaced with step S8A and step S8B.
[0300] FIG. 28 is a flowchart for explaining the detailed operation of step S8B shown in FIG.
[0301] 29 is a schematic diagram of the encryption selection rule table 15B used in the flowchart shown in Fig. 28. The encryption selection rule table 15B shown in Fig. 29 is a table in which rules 1 to N of the encryption selection rule table 15 shown in Fig. 6 are calculated based on a future transmission rate TRS1_F from the application 11 to the encryption / decryption unit 12 and encryption rates C1 to C2 of the encryption processing quality table shown in Fig. 7. N-1 That is, the cipher selection rule table 15B shown in Fig. 29 is an cipher selection rule table in which the "transmission rate TRS1" in the cipher selection rule table 15A (see Fig. 20) which is a generalized version of the cipher selection rule table 15-1 shown in Fig. 8(a) is changed to a "future transmission rate TRS1_F."
[0302] 27, when the operation of the communication device 10B is started, the above-mentioned steps S1 to S5, "YES" in step S6, and step S7 are executed in sequence. In this case, in step S5, the communication device 10B executes communication with the communication device 20B using the application 11. That is, the communication device 10B executes only a transmission process for transmitting data to the communication device 20B, or transmits and receives data to and from the communication device 20B.
[0303] Then, after step S7, the quality prediction unit 16 acquires the communication quality (= transmission rate TRS1) from the quality monitoring unit 13, and predicts the future communication quality based on the acquired communication quality (= transmission rate TRS1) using the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)) (step S8A).
[0304] Thereafter, the cipher selection unit 14A inquires of the quality prediction unit 16 about the communication quality, and selects a cipher suite based on the future communication quality obtained from the quality prediction unit 16, the cipher selection rule table 15B (see FIG. 29), and the cipher processing quality table 30 (see FIG. 7) (step S8B).
[0305] After step S8B, the above-mentioned steps S9 to S12 are executed in sequence, and after step S12, the operation of the communication device 10B proceeds to step S6. Then, while the communication device 10B is operating, the above-mentioned steps S6, S7, S8A, S8B, S9 to S12 are repeatedly executed.
[0306] In the flowchart shown in Figure 27, when the cipher suite of the encryption / decryption unit 12 is changed in step S10, the encryption / decryption unit 12 encrypts data using the changed cipher suite in step S12, and transmits the encrypted data to communication device 20B via communication IF1, or transmits and receives the encrypted data to and from communication device 20B.
[0307] The cipher suite in the encryption / decryption unit 12 is the cipher suite selected based on the future communication quality (=future transmission rate TRS1_F).
[0308] Therefore, the cipher suite in the encryption / decryption unit 12 can be changed to an appropriate cipher suite before the communication quality deteriorates.
[0309] The rest of the description of the flowchart shown in FIG. 27 is the same as the description of the flowchart shown in FIG.
[0310] The flowchart shown in Fig. 28 will be described below. The flowchart shown in Fig. 28 is the same as the flowchart shown in Fig. 19, except that step S83 in the flowchart shown in Fig. 19 is replaced with step S83A.
[0311] With reference to Fig. 28, after step S8A in Fig. 27, steps S81 and S82 described above are executed in sequence. In this case, in step S82, the encryption key selection unit 14A selects rule n from the encryption key selection rule table 15B (see Fig. 29).
[0312] After step S82, the cipher suite selection unit 14A determines whether the future transmission rate TRS1_F satisfies the rule n (step S83A). In this case, the cipher suite selection unit 14A determines whether the future transmission rate TRS1_F satisfies the encryption rate C of the cipher suite n. n Determine whether the future transmission rate TRS1_F is smaller than the encryption rate C of cipher suite n. n If it is determined that the future transmission rate TRS1_F satisfies rule n, and the future transmission rate TRS1_F is smaller than the encryption rate C n If it is determined that the future transmission rate TRS1_F is equal to or greater than this, it is determined that the future transmission rate TRS1_F does not satisfy the rule n.
[0313] When it is determined in step S83A that the future transmission rate TRS1_F does not satisfy rule n, the above-mentioned step S84 is executed, and after step S84, the detailed operation of step S8B proceeds to step S82, and steps S82, S83A, and S84 are repeatedly executed until it is determined in step S83A that the future transmission rate TRS1_F satisfies rule n.
[0314] Then, when it is determined in step S83A that the future transmission rate TRS1_F satisfies the rule n, the cipher suite selection unit 14A refers to the cipher suite selection rule table 15B and selects the cipher suite n associated with the rule n when it is determined that the future transmission rate TRS1_F satisfies the rule n (step S85). After that, the operation of the communication device 10B proceeds to step S9 in FIG.
[0315] In the flowchart shown in FIG. 28, when the cipher selection rule table 15B shown in FIG. 29 is used, when step S82 is executed after step S81, the cipher selection unit 14A selects rule 1 associated with priority 1 in the cipher selection rule table 15B in step S82, and determines whether the future transmission rate TRS1_F satisfies rule 1 in step S83A.
[0316] When it is determined in step S83A that the future transmission rate TRS1_F satisfies rule 1, the cipher suite selection unit 14A selects cipher suite 1 associated with rule 1 with reference to the cipher suite selection rule table 15B in step S85.
[0317] On the other hand, when the cipher selection unit 14A determines in step S83A that the future transmission rate TRS1_F does not satisfy rule 1, the cipher selection unit 14A sets n=1+1=2 in step S84. After that, in step S82, the cipher selection unit 14A selects rule 2 associated with priority 2 in the cipher selection rule table 15B, and determines in step S83A whether the future transmission rate TRS1_F satisfies rule 2.
[0318] When it is determined in step S83A that the future transmission rate TRS1_F satisfies rule 2, the cipher suite selection unit 14A selects cipher suite 2 associated with rule 2 with reference to the cipher suite selection rule table 15B in step S85.
[0319] On the other hand, when the encryption selection unit 14A determines in step S83A that the future transmission rate TRS1_F does not satisfy rule 2, the encryption selection unit 14A sets n=2+1=3 in step S84. After that, the above-mentioned operations are repeatedly executed.
[0320] Then, when the cipher selection unit 14A determines in step S83A that the future transmission rate TRS1_F does not satisfy the rule N-2, it sets n=N-2+1=N-1 in step S84, and then selects the rule N-1 associated with the priority N-1 in the cipher selection rule table 15B in step S82, and determines in step S83A whether the future transmission rate TRS1_F satisfies the rule N-1.
[0321] When it is determined in step S83A that the future transmission rate TRS1_F satisfies the rule N-1, in step S85, the cipher suite selection unit 14A refers to the cipher suite selection rule table 15B and selects the cipher suite N-1 associated with the rule N-1.
[0322] On the other hand, when it is determined in step S83A that the future transmission rate TRS1_F does not satisfy the rule N-1, the cipher selection unit 14A sets n=N-1+1=N in step S84.
[0323] Thereafter, in step S82, the cipher suite selection unit 14A selects rule N associated with priority level N in the cipher suite selection rule table 15B, and in step S83A, determines whether or not the future transmission rate TRS1_F satisfies rule N. In this case, since no specific rule is set for rule N, the cipher suite selection unit 14A determines in step S83A that the future transmission rate TRS1_F satisfies rule N.
[0324] Then, the cipher suite selection unit 14A selects the cipher suite N associated with the rule N in step S85.
[0325] In this way, by executing the flowchart shown in FIG. 28, the cipher selection unit 14A uses the future communication quality (future transmission rate TRS1_F) to evaluate whether or not the future communication quality (future transmission rate TRS1_F) satisfies the rule from the high priority rule (rule 1 associated with priority 1) in the cipher selection rule table 15B, and selects the cipher suite corresponding to the rule when it is first determined that the future communication quality (future transmission rate TRS1_F) satisfies the rule.
[0326] In the cipher suite selection rule table 15B, rules 1 to N-1 respectively indicate that the future transfer rate TRS1_F corresponds to the encryption rates C1 to C2 of the cipher suites 1 to N-1. N-1 The reason why the cipher suite selection rule is "smaller than" is the same as that explained in the above-mentioned cipher suite selection rule table 15-1.
[0327] In addition, in the flowchart shown in FIG. 28, instead of the cipher selection rule table 15B, an “cipher selection rule table similar to cipher selection rule table 15B” is used in which any one of the cipher selection rule tables 15-2 to 15-8 is generalized as “cipher selection rule table 15A” and the “transmission rates TRS1, TRS2 and reception rates TRS3, TRS4” in the generalized cipher selection rule table are changed to “future transmission rates TRS1_F, TRS2_F and future reception rates TRS3_F, TRS4_F.”
[0328] Therefore, when communication device 10B only performs a transmission process to transmit data to communication device 20B, and when data is transmitted and received between communication device 10B and communication device 20B, the cipher suite selection unit 14A can select a cipher suite based on the future communication quality predicted by the quality prediction unit 16 (future transmission rates TRS1_F, TRS2_F and future reception rates TRS3_F, TRS4_F).
[0329] According to the flowchart shown in FIG. 27 (including the flowchart shown in FIG. 28), the cipher suite selection unit 14A selects a cipher suite so that the future communication quality (future transfer rate TRS1_F) satisfies the rules in the cipher suite selection rule table 15B (step S8B in FIG. 27 (= flowchart shown in FIG. 28)), and therefore can select a cipher suite so as not to impair the future communication quality (future transfer rate TRS1_F).
[0330] As a result, the cipher suite can be changed to an appropriate one before the communication quality (transmission speeds TRS1 and TRS2 and reception speeds TRS3 and TRS4) deteriorates.
[0331] In the second embodiment, the operation of the communication device 10B may be realized by software. In this case, the communication device 10B includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_B including the steps of the flowchart shown in FIG. 27 (including the flowchart shown in FIG. 28).
[0332] The CPU reads out the program Prog_B from the ROM, executes the read out program Prog_B, predicts the future communication quality (= future transmission speed TRS1_F) from the monitored communication quality (= transmission speed TRS1), and selects a cipher suite based on the predicted future communication quality (future transmission speed TRS1_F). The RAM temporarily stores the communication quality (transmission speed TRS1) and the future communication quality (future transmission speed TRS1_F).
[0333] Also, the program Prog_B may be distributed in a form recorded on a recording medium such as a CD or a DVD. When the recording medium on which the program Prog_B is recorded is attached to a computer, the computer reads out and executes the program Prog_B from the recording medium, predicts the future communication quality (= future transmission rate TRS1_F) from the monitored communication quality (= transmission rate TRS1), and selects a cipher suite based on the predicted future communication quality (future transmission rate TRS1_F).
[0334] Therefore, the recording medium on which the program Prog_B is recorded is a computer-readable recording medium.
[0335] In addition, when the operation of communication device 10B is realized by the CPU executing program Prog_B, the communication quality is determined by the future communication quality stored in an "encryption selection rule table similar to cipher selection rule table 15B" obtained by generalizing any one of cipher selection rule tables 15-2 to 15-8 into "cipher selection rule table 15A" and changing the "transmission rates TRS1, TRS2 and reception rates TRS3, TRS4" of the generalized cipher selection rule table to "future transmission rates TRS1_F, TRS2_F and future reception rates TRS3_F, TRS4_F."
[0336] Other aspects of the second embodiment are the same as those of the first embodiment.
[0337] [Embodiment 3] Fig. 30 is a schematic diagram of the communication device 10 shown in Fig. 2 in the third embodiment. Referring to Fig. 30, the communication device 10C in the third embodiment is the same as the communication device 10A shown in Fig. 3 except that the application 11 of the communication device 10A shown in Fig. 3 is changed to application 11A, the encryption / decryption unit 12 of the communication device 10A shown in Fig. 3 is changed to S (S is an integer equal to or greater than 2) encryption / decryption units 12-1 to 12-S, the quality monitoring unit 13 of the communication device 10A shown in Fig. 3 is changed to quality monitoring unit 13A, the encryption selection unit 14 of the communication device 10A shown in Fig. 3 is changed to encryption selection unit 14B, and the encryption selection rule table 15 of the communication device 10A shown in Fig. 3 is changed to encryption selection rule table 15C.
[0338] In the communication device 10C, there are S streams #1 to #S. The application 11A outputs S pieces of data 1 to S to the S encryption / decryption units 12-1 to 12-S via the S streams #1 to #S, respectively.
[0339] Here, S represents the total number of data, the total number of streams, the total number of encryption / decryption units, the total number of communication IF1, the transmission rates TRS1, TRS2, and the reception rates TRS3, TRS4, and is an integer equal to or greater than 2. The S pieces of data are, for example, video and sensor information.
[0340] When the communication device 10C executes only a transmission process for transmitting data to the communication device 20C, the encryption / decryption unit 12-1 receives data 1 from the application 11A via stream #1, encrypts the received data 1 using the cipher suite CRY_1 selected by the cipher selection unit 14B, and generates encrypted data CRY_D_1. Then, the encryption / decryption unit 12-1 transmits the encrypted data CRY_D_1 to the communication device 20C via the communication IF1_1.
[0341] Furthermore, when the communication device 10C executes only a transmission process for transmitting data to the communication device 20C, the encryption / decryption unit 12-2 receives data 2 from the application 11A via stream #2, encrypts the received data 2 using the cipher suite CRY_2 selected by the cipher selection unit 14B, and generates encrypted data CRY_D_2. Then, the encryption / decryption unit 12-2 transmits the encrypted data CRY_D_2 to the communication device 20C via the communication IF1_2.
[0342] Similarly, the encryption / decryption unit 12-S receives data S from the application 11A via stream #S, encrypts the received data S using the cipher suite CRY_S selected by the cipher selection unit 14B, and generates encrypted data CRY_D_S. The encryption / decryption unit 12-S then transmits the encrypted data CRY_D_S to the communication device 20C via the communication IF1_S.
[0343] Furthermore, when the communication device 10C transmits and receives data to and from the communication device 20C, the encryption / decryption unit 12-1 receives data 1 from the application 11A via stream #1, encrypts the received data 1 using the cipher suite CRY_1 selected by the cipher selection unit 14B to generate encrypted data CRY_D_1, and transmits the generated encrypted data CRY_D_1 to the communication device 20C via the communication IF1_1. Thereafter, the encryption / decryption unit 12-1 receives the encrypted data CRY_D_1 from the communication device 20C via the communication IF1_1, decrypts the received encrypted data CRY_D_1 using the cipher suite CRY_1, and outputs the data 1 to the application 11A via stream #1.
[0344] When the communication device 10C transmits and receives data to and from the communication device 20C, the encryption / decryption unit 12-2 receives data 2 from the application 11A via stream #2, encrypts the received data 2 using the cipher suite CRY_2 selected by the cipher selection unit 14B to generate encrypted data CRY_D_2, and transmits the generated encrypted data CRY_D_2 to the communication device 20C via communication IF1_2. Thereafter, the encryption / decryption unit 12-2 receives the encrypted data CRY_D_2 from the communication device 20C via communication IF1_2, decrypts the received encrypted data CRY_D_2 using the cipher suite CRY_2, and outputs the data 2 to the application 11A via stream #2.
[0345] Similarly, when the communication device 10C transmits and receives data to and from the communication device 20C, the encryption / decryption unit 12-S receives data S from the application 11A via stream #S, encrypts the received data S using the cipher suite CRY_S selected by the cipher selection unit 14B to generate encrypted data CRY_D_S, and transmits the generated encrypted data CRY_D_S to the communication device 20C via the communication IF1_S. Thereafter, the encryption / decryption unit 12-S receives the encrypted data CRY_D_S from the communication device 20C via the communication IF1_S, decrypts the received encrypted data CRY_D_S using the cipher suite CRY_S, and outputs the data S to the application 11A via stream #S.
[0346] The quality monitoring unit 13A monitors S transmission rates TRS1_1 to TRS1_S of data 1 to S from the application 11A to the encryption / decryption units 12-1 to 12-S, respectively, S transmission rates TRS2_1 to TRS2_S of encrypted data CRY_D_1 to CRY_D_S from the encryption / decryption units 12-1 to 12-S to the communication IF1_1 to communication IF1_S, respectively, S reception rates TRS3_1 to TRS3_S when the encryption / decryption units 12-1 to 12-S receive the encrypted data CRY_D_1 to CRY_D_S from the communication IF1_1 to communication IF1_S, respectively, and S reception rates TRS4_1 to TRS4_S when the application 11A receives data 1 to data S from the encryption / decryption units 12-1 to 12-S, respectively.
[0347] The cipher selection unit 14B inquires of the quality monitoring unit 13A about the communication quality, and selects S cipher suites CRY_1 to CRY_S based on the S communication qualities (=S transmission rates TRS1_1 to TRS1_S, S transmission rates TRS2_1 to TRS2_S, S receiving rates TRS3_1 to TRS3_S, and S receiving rates TRS4_1 to TRS4_S) obtained from the quality monitoring unit 13A, the cipher selection rule table 15C, and the encryption processing quality table (=see FIG. 7).
[0348] Then, the cipher suite selection unit 14B transmits the selected S cipher suites CRY_1 to CRY_S to the S encryption / decryption units 12-1 to 12-S, respectively.
[0349] Fig. 31 is a schematic diagram of a third embodiment of the communication device 20 shown in Fig. 2. With reference to Fig. 31, a communication device 20C according to the third embodiment includes S encryption / decryption units 21-1 to 21-S, and an application 22A.
[0350] In the communication device 20C, there are S streams #1 to #S. Cipher suites are set in the S encryption / decryption units 21-1 to 21-S by the process of establishing the encrypted communication path described above (see FIG. 18).
[0351] When the communication device 10C executes only a transmission process to transmit data to the communication device 20C, the encryption / decryption unit 21-1 receives encrypted data from the communication device 10C via the communication IF2_1, decrypts the received encrypted data using the cipher suite CRY_1, and outputs the decrypted data 1 to the application 22A via stream #1.
[0352] In addition, when the communication device 10C executes only a transmission process to transmit data to the communication device 20C, the encryption / decryption unit 21-2 receives encrypted data from the communication device 10C via the communication IF2_2, decrypts the received encrypted data using the cipher suite CRY_2, and outputs the decrypted data 2 to the application 22A via stream #2.
[0353] Similarly, when the communication device 10C executes only the transmission process of transmitting data to the communication device 20C, the encryption / decryption unit 21-S receives encrypted data from the communication device 10C via the communication IF2_S, decrypts the received encrypted data using the cipher suite CRY_S, and outputs the decrypted data S to the application 22A via stream #S.
[0354] In addition, when the communication device 10C transmits and receives data to and from the communication device 20C, the encryption / decryption unit 21-1 receives encrypted data from the communication device 10C via the communication IF2_1, decrypts the received encrypted data using the cipher suite CRY_1 to output data 1 to the application 22A via stream #1, and also transmits encrypted data, which is data 1 received from the application 22A encrypted using the cipher suite CRY_1, to the communication device 10C via the communication IF2_1.
[0355] When the communication device 10C transmits and receives data to and from the communication device 20C, the encryption / decryption unit 21-2 receives encrypted data from the communication device 10C via communication IF2_2, decrypts the received encrypted data using the cipher suite CRY_2 to output data 2 to the application 22A via stream #2, and also transmits encrypted data, which is data 2 received from the application 22A and encrypted using the cipher suite CRY_2, to the communication device 10C via communication IF2_2.
[0356] Similarly, when communication device 10C transmits and receives data to and from communication device 20C, encryption / decryption unit 21-S receives encrypted data from communication device 10C via communication IF2_S, decrypts the received encrypted data using cipher suite CRY_S to output data S to application 22A via stream #S, and also transmits encrypted data, which is data S received from application 22A encrypted using cipher suite CRY_S, to communication device 10C via communication IF2_S.
[0357] When the communication device 10C executes only a transmission process for transmitting data to the communication device 20C, the application 22A receives data 1 to data S from the encryption / decryption units 21-1 to 21-S via streams #1 to #S, respectively.
[0358] In addition, when the communication device 10C transmits and receives data to and from the communication device 20C, the application 22A receives data 1 through data S from the encryption / decryption units 21-1 through 21-S, respectively, and outputs data 1 through data S to the encryption / decryption units 21-1 through 21-S, respectively.
[0359] Fig. 32 is a schematic diagram of the encryption key selection rule table 15C shown in Fig. 30. With reference to Fig. 32, the encryption key selection rule table 15C includes streams #1 to #S and element tables C_1 to C_S. The element tables C_1 to C_S are associated with the streams #1 to #S, respectively.
[0360] Each of the factor tables C_1 to C_S has the same configuration as the encryption code selection rule table 15A shown in FIG.
[0361] The operation of the cipher suite selection unit 14B selecting S cipher suites CRY_1 to CRY_S will be specifically described.
[0362] When selecting the cipher suite CRY_1 in the encryption / decryption unit 12-1, the cipher selection unit 14B selects the element table C_1 (see FIG. 32) of the cipher selection rule table 15C. Then, the cipher selection unit 14B determines whether the transmission rate TRS1_1 satisfies the rule 1 associated with the priority 1 of the element table C_1 based on the transmission rate TRS1_1, the element table C_1 (see FIG. 32), and the encryption processing quality table (=the encryption processing quality table shown in FIG. 7). More specifically, when the transmission rate TRS1_1 is smaller than the encryption rate C1 of the cipher suite 1, the cipher selection unit 14B determines that the transmission rate TRS1_1 satisfies the rule 1 of the element table C_1, and when the transmission rate TRS1_1 is equal to or greater than the encryption rate C1 of the cipher suite 1, the cipher selection unit 14B determines that the transmission rate TRS1_1 does not satisfy the rule 1 of the element table C_1.
[0363] When the cipher suite selection unit 14B determines that the transmission rate TRS1_1 satisfies the rule 1 in the factor table C_1, it selects the cipher suite 1 associated with the rule 1 as the cipher suite CRY_1.
[0364] On the other hand, when the cipher selection unit 14B determines that the transmission rate TRS1_1 does not satisfy the rule 1 of the element table C_1, the cipher selection unit 14B determines whether or not the transmission rate TRS1_1 satisfies the rule 2 associated with the priority 2 of the element table C_1 based on the transmission rate TRS1_1, the element table C_1 (see FIG. 32), and the encryption processing quality table (= the encryption processing quality table shown in FIG. 7). More specifically, when the transmission rate TRS1_1 is smaller than the encryption rate C2 of the cipher suite 2, the cipher selection unit 14B determines that the transmission rate TRS1_1 satisfies the rule 2 of the element table C_1, and when the transmission rate TRS1_1 is equal to or greater than the encryption rate C2 of the cipher suite 2, the cipher selection unit 14B determines that the transmission rate TRS1_1 does not satisfy the rule 2 of the element table C_1.
[0365] Then, when the cipher suite selection unit 14B determines that the transmission rate TRS1_1 satisfies the rule 2 in the factor table C_1, it selects the cipher suite 2 associated with the rule 2 as the cipher suite CRY_1.
[0366] On the other hand, when the encryption selection unit 14B determines that the transmission rate TRS1_1 does not satisfy rule 2 of the element table C_1, it similarly determines, based on the transmission rate TRS1_1, the element table C_1 (see FIG. 32), and the encryption processing quality table (= the encryption processing quality table shown in FIG. 7), whether the transmission rate TRS1_1 satisfies rules 3 to N-2, which are respectively associated with priorities 3 to N-2, of the element table C_1.
[0367] Then, when the encryption selection unit 14B determines that the transmission rate TRS1_1 does not satisfy rules 3 to N-2 associated with priorities 3 to N-2, respectively, in the element table C_1, it determines whether or not the transmission rate TRS1_1 satisfies rule N-1 associated with priority N-1 in the element table C_1 based on the transmission rate TRS1_1, the element table C_1 (see FIG. 32), and the encryption processing quality table (= the encryption processing quality table shown in FIG. 7).
[0368] Then, when the cipher suite selection unit 14B determines that the transmission rate TRS1_1 satisfies the rule N-1 of the element table C_1 (i.e., the transmission rate TRS1_1 satisfies the encryption rate C of the cipher suite N-1), N-1 is determined to be smaller than N-1), select cipher suite N-1 associated with rule N-1 as cipher suite CRY_1.
[0369] On the other hand, when the encryption selection unit 14B determines that the transmission rate TRS1_1 does not satisfy the rule N-1 in the element table C_1, it determines whether or not the transmission rate TRS1_1 satisfies the rule N associated with the priority N in the element table C_1 based on the transmission rate TRS1_1, the element table C_1 (see Figure 32), and the encryption processing quality table (= the encryption processing quality table shown in Figure 7).
[0370] In this case, since no specific rule is set for rule N, the cipher suite selection unit 14B determines that the transmission rate TRS1_1 satisfies rule N in the element table C_1, and selects the cipher suite N associated with rule N as the cipher suite CRY_1.
[0371] When selecting cipher suite CRY_2 in encryption / decryption unit 12-2 to cipher suite CRY_S in encryption / decryption unit 12-S, the encryption selection unit 14B refers to element tables C_2 to C_S, respectively, and performs the same operation as the operation of selecting cipher suite CRY_1 in encryption / decryption unit 12-1 described above, thereby selecting cipher suite CRY_2 in encryption / decryption unit 12-2 to cipher suite CRY_S in encryption / decryption unit 12-S.
[0372] When the cipher suite selection unit 14B selects cipher suite CRY_1 to cipher suite CRY_S by the method described above, it determines whether cipher suite CRY_s (s is 1 to S) is the same as the cipher suite used in the encryption / decryption unit 12-s, and if cipher suite CRY_s is different from the cipher suite used in the encryption / decryption unit 12-s, it changes the cipher suite used in the encryption / decryption unit 12-s to cipher suite CRY_s, and if cipher suite CRY_s is the same as the cipher suite used in the encryption / decryption unit 12-s, it executes a cipher suite selection process for all of the encryption / decryption units 12-1 to 12-S, without changing the cipher suite used in the encryption / decryption unit 12-s.
[0373] Fig. 33 is a flowchart for explaining the operation of the communication device 10C. The flowchart shown in Fig. 33 is the same as the flowchart shown in Fig. 17, except that steps S6 to S12 in the flowchart shown in Fig. 17 are replaced with steps S21 to S30.
[0374] In addition, the S encryption / decryption units 12-1 to 12-S of the communication device 10C are set with S cipher suites that the S encryption / decryption units 12-1 to 12-S will use initially, respectively, by the operator of the communication device 10C.
[0375] 33, when the operation of the communication device 10C is started, the above-mentioned steps S1 to S5 are sequentially executed.
[0376] In this case, in step S1, rules 1 to N are set by the operator of the communication device 10C or the application 11A in each of the S element tables C_1 to C_S of the cipher selection rule table 15C.
[0377] In step S3, a process for establishing an encrypted communication path is executed.
[0378] Furthermore, in step S4, the cipher selection unit 14B sets cipher change prohibition periods PHB_1 to PHB_S for each of the S streams.
[0379] Furthermore, in step S5, the communication device 10C uses the application 11A to communicate with the communication device 20C (only a transmission process for transmitting data from the communication device 10A to the communication device 20C, or transmission and reception of data between the communication device 10C and the communication device 20C).
[0380] Then, after step S5, the encryption selection unit 14B sets s=1 (step S21), where s is an argument indicating each stream.
[0381] After step S21, the cipher selection unit 14B determines whether the cipher change prohibition period PHB_s of the target stream s has ended (step S22).
[0382] Then, when it is determined in step S22 that the cipher change prohibition period PHB_s of the target stream s has ended, the cipher selection unit 14B outputs an end signal SG_end_s indicating that the cipher change prohibition period PHB_s of the target stream s has ended to the quality monitoring unit 13A.
[0383] Upon receiving the end signal SG_end_s from the encryption selection unit 14B, the quality monitoring unit 13A monitors the processing and communication quality of the target stream s in response to the end signal SG_end_s (step S23).
[0384] Then, the cipher selection unit 14B inquires of the quality monitoring unit 13A about the communication quality of the target stream s, and selects a cipher suite based on the communication quality (= transmission rates TRS1_s, TRS2_s and reception rates TRS3_s, TRS4_s) obtained from the quality monitoring unit 13A, the cipher selection rule table 15C (see Figure 32), and the encryption processing quality table (see Figure 7) (step S24).
[0385] Thereafter, the cipher suite selection unit 14B determines whether the cipher suite used by the cipher / selection unit 12-s for the target stream s is different from the selected cipher suite (step S25).
[0386] When it is determined in step S25 that the cipher suite used by the encryption / selection unit 12-s for the target stream s is not different from (that is, is the same as) the selected cipher suite, the operation of the communication device 10C proceeds to step S23.
[0387] On the other hand, when it is determined in step S25 that the cipher suite used by the encryptor / selector 12-s of the target stream s is different from the selected cipher suite, the cipher selector 14B notifies the encryptor / decryptor 12-s of the target stream s of the selected cipher suite and changes the cipher suite of the encryptor / decryptor 12-s (step S26). In this case, the encryptor / decryptor 12-s executes the process of establishing an encrypted communication path shown in FIG. 18 with the encryptor / decryptor 21-s of the communication device 20C.
[0388] Then, the cipher selection unit 14B sets the cipher change prohibition period PHB_s of the target stream s (step S27).
[0389] After that, the communication device 10C communicates with the communication device 20C using the changed cipher suite for the target stream s (step S28).
[0390] After step S28, the cipher selection unit 14B determines whether or not s=S (step S29), where S is the total number of target streams s.
[0391] When it is determined in step S29 that s is not equal to S, the encryption key selection unit 14B sets s to s+1 (step S30). After that, the operation of the communication device 10C proceeds to step S22, and steps S22 to S30 are repeatedly executed until it is determined in step S29 that s is equal to S.
[0392] If it is determined in step S29 that s=S, the operation of the communication device 10C proceeds to step S21. Thereafter, while the communication device 10C is operating, the above-described steps S21 to S30 are repeatedly executed.
[0393] In the flowchart shown in FIG. 33, the cipher suite selection unit 14B determines in step S25 whether the cipher suite used by the encryption / decryption unit 12-s of the target stream s is different from the selected cipher suite, and when it determines that the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12-s (see "YES" in step S25), it executes step S26. When it determines that the selected cipher suite is not different from the cipher suite used in the encryption / decryption unit 12-s (see "NO" in step S25), the operation of the communication device 10C transitions to step S23, which corresponds to executing the above-mentioned "cipher suite selection process."
[0394] In this case, the cipher suite selected by cipher selection unit 14B constitutes the "first cipher suite," and the cipher suite used in encryption / decryption unit 12-s constitutes the "second cipher suite."
[0395] According to the flowchart shown in FIG. 33, when the communication device 10C performs only the transmission process of transmitting data to the communication device 20C, it selects a cipher suite for each target stream s (see step S24), and when the cipher suite selected in step S24 is different from the cipher suite used in the encryption / decryption unit 12-s of the target stream s (see "YES" in step S25), it encrypts the data s using the cipher suite selected in step S24 and transmits the encrypted data to the communication device 20C (see steps S26 and S28).
[0396] Also, according to the flowchart shown in FIG. 33, when transmitting and receiving data between the communication device 10C and the communication device 20C, the communication device 10C selects a cipher suite for each target stream s (see step S24), and if the cipher suite selected in step S24 is different from the cipher suite used in the encryption / decryption unit 12-s of the target stream s (see "YES" in step S25), the communication device 10C encrypts the data s using the cipher suite selected in step S24 and transmits the encrypted data to the communication device 20C, and also receives and decrypts the encrypted data from the communication device 20C, and outputs the decrypted data to the application 11A (see steps S26 and S28).
[0397] Therefore, the cipher suite can be changed according to the communication quality (= transmission speed TRS1_s) to transmit encrypted data to the communication device 20C, or the cipher suite can be changed according to the communication quality (= transmission speed TRS1_s) to transmit encrypted data to and from the communication device 20C.
[0398] The rest of the description of the flowchart shown in FIG. 33 is the same as the description of the flowchart shown in FIG.
[0399] FIG. 34 is a flowchart for explaining the detailed operation of step S24 in FIG.
[0400] The flowchart shown in FIG. 34 is the same as the flowchart shown in FIG. 19, except that step S82 in the flowchart shown in FIG. 19 is changed to step S82A and step S83 is changed to step S83B.
[0401] Referring to FIG. 34, after step S23 in FIG. 33, the encryption / decryption selection unit 14B executes the above-mentioned step S81, and then refers to the element table C_s of the encryption / decryption rule table 15C to select the rule n associated with the priority n (step S82A).
[0402] Then, the cipher selection unit 14B determines whether the transmission rate TRS1_s in the stream s satisfies the rule n (step S83B).
[0403] When it is determined in step S83B that the transmission rate TRS1_s does not satisfy the rule n, the above-mentioned step S84 is executed, and thereafter, the detailed operation of step S24 proceeds to step S82A.
[0404] Thereafter, the operations of step S82A, step S83B, and step S84 are repeatedly executed until it is determined in step S83B that the transmission rate TRS1_s satisfies the rule n.
[0405] Then, if it is determined in step S83B that the transmission rate TRS1_s satisfies the rule n, the above-mentioned step S85 is executed, and then the process proceeds to step S25 in FIG.
[0406] In the flowchart shown in FIG. 34, when s=1, after step S81, in step S82A, the cipher selection unit 14B refers to the element table C_1 of the cipher selection rule table 15C and selects rule 1 associated with priority 1 in the element table C_1, and in step S83B, the cipher selection unit 14B determines whether the transmission rate TRS1_1 satisfies rule 1.
[0407] Then, when it is determined in step S83B that the transmission rate TRS1_1 does not satisfy the rule 1, the cipher selection unit 14B sets n=1+1=2 in step S84.
[0408] Then, in step S82A, the cipher suite selection unit 14B refers to the element table C_1 and selects rule 2 associated with priority 2 in the element table C_1, and in step S83B, the cipher suite selection unit 14B determines whether the transmission rate TRS1_1 satisfies rule 2.
[0409] Then, when it is determined in step S83B that the transmission rate TRS1_1 does not satisfy the rule 2, the cipher selection unit 14B sets n=2+1=3 in step S84.
[0410] Thereafter, for "n=3" to "n=N-2", if it is determined in step S83B that the transmission rate TRS1_1 does not satisfy rule 3 to rule N-2, the cipher selection unit 14B sets n=N-2+1=N-1 in step S84.
[0411] Then, in step S82A, the cipher selection unit 14B refers to the element table C_1 and selects the rule N-1 associated with the priority N-1 in the element table C_1, and in step S83B, the cipher selection unit 14B determines whether the transmission rate TRS1_1 satisfies the rule N-1.
[0412] When it is determined in step S83B that the transmission rate TRS1_1 satisfies the rule N-1, the cipher suite selection unit 14B selects the cipher suite N-1 associated with the rule N-1 by referring to the element table C_1 in step S85.
[0413] On the other hand, when it is determined in step S83B that the transmission rate TRS1_1 does not satisfy the rule N-1, the cipher selection unit 14B sets n=N-1+1=N in step S84.
[0414] Then, in step S82A, the encryption key selection unit 14B refers to the element table C_1, selects the rule N associated with the priority level N, and in step S83B, determines whether the transmission rate TRS1_1 satisfies the rule N or not.
[0415] In this case, since no specific rule is set for rule N in the element table C_1 (see FIG. 32), the cipher suite selection unit 14B determines in step S83B that the transmission rate TRS1_1 satisfies rule N, and selects the cipher suite N associated with rule N in step S85.
[0416] Also, when any one of the element tables C_2 to C_S of the cipher suite selection rule table 15C is used, the cipher suite selection unit 14B refers to any one of the element tables C_2 to C_S and selects a cipher suite by performing the same operation as described above.
[0417] In this way, the cipher suite selection unit 14B executes the flowchart shown in FIG. 34 for one encryption / decryption unit 12-s to evaluate whether the transmission rate TRS1_s satisfies the rule starting from the high priority condition in the cipher suite selection rule table 15C (rule 1 associated with priority 1), and selects the cipher suite corresponding to the rule that first satisfied the condition.
[0418] In addition, in the element table C_s (s=1 to S) of the cipher selection rule table 15C, the rules 1 to N-1 respectively indicate that the transmission rate TRS1_s is the encryption rate C1 to C2 of the cipher suites 1 to N-1. N-1 The reason why the cipher suite selection rule is "smaller than" is the same as that explained in the above-mentioned cipher suite selection rule table 15-1.
[0419] In addition, in the flowchart shown in FIG. 33 (including the flowchart shown in FIG. 34), when the communication device 10C performs only a transmission process of transmitting data to the communication device 20C, an “encryption selection rule table that generalizes the encryption selection rule table 15-2 (see FIG. 9)” similar to the encryption selection rule table 15C that generalizes the encryption selection rule table 15-1 (see FIG. 8(a)) may be used.
[0420] In addition, in the flowchart shown in FIG. 33 (including the flowchart shown in FIG. 34), when the communication device 10C transmits and receives data between the communication device 20C, a “cipher selection rule table similar to cipher selection rule table 15C” is used, which is a generalized version of any of the cipher selection rule table 15-1 (see FIG. 8(a)), cipher selection rule table 15-2 (see FIG. 9), cipher selection rule table 15-3 (see FIG. 11), cipher selection rule table 15-4 (see FIG. 12), cipher selection rule table 15-5 (see FIG. 13), cipher selection rule table 15-6 (see FIG. 14), cipher selection rule table 15-7 (see FIG. 15), and cipher selection rule table 15-8 (see FIG. 16).
[0421] In the third embodiment, the operation of the communication device 10C may be realized by software. In this case, the communication device 10C includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_C including the steps of the flowchart shown in FIG. 33 (including the flowchart shown in FIG. 34).
[0422] The CPU reads out the program Prog_C from the ROM, executes the read out program Prog_C, monitors the communication quality (transmission rate TRS1_s) for each stream s, and selects a cipher suite based on the monitored communication quality (transmission rate TRS1_s) for all of the S encryption / decryption units 12-1 to 12-S. The RAM temporarily stores the communication quality (transmission rate TRS1_s).
[0423] Also, the program Prog_C may be distributed in a form recorded on a recording medium such as a CD or a DVD. When the recording medium on which the program Prog_C is recorded is attached to a computer, the computer reads out and executes the program Prog_C from the recording medium, monitors the communication quality (transmission rate TRS1_s) for each stream s, and selects a cipher suite based on the monitored communication quality (transmission rate TRS1_s) for all of the S encryption / decryption units 12-1 to 12-S.
[0424] Therefore, the recording medium on which the program Prog_C is recorded is a computer-readable recording medium.
[0425] In addition, when the operation of the communication device 10C is realized by the CPU executing the program Prog_C, the communication quality is not limited to the transmission rate TRS1, but any of the communication qualities described in the cipher selection rule table 15-2 (see FIG. 9), the cipher selection rule table 15-3 (see FIG. 11), the cipher selection rule table 15-4 (see FIG. 12), the cipher selection rule table 15-5 (see FIG. 13), the cipher selection rule table 15-6 (see FIG. 14), the cipher selection rule table 15-7 (see FIG. 15) and the cipher selection rule table 15-8 (see FIG. 16) is used.
[0426] The rest of the description in the third embodiment is the same as that in the first embodiment.
[0427] [Embodiment 4] Fig. 35 is a schematic diagram of the communication device 10 shown in Fig. 2 in a fourth embodiment. Referring to Fig. 35, a communication device 10D in the fourth embodiment is the same as the communication device 10A shown in Fig. 3, except that the quality monitoring unit 13 of the communication device 10A shown in Fig. 3 is replaced with a quality monitoring unit 13B, the encryption key selection unit 14 of the communication device 10A is replaced with an encryption key selection unit 14C, and the encryption key selection rule table 15 of the communication device 10A is replaced with an encryption key selection rule table 15D.
[0428] The quality monitor 13B monitors the above-mentioned sending rates TRS1 and TRS2 and receiving rates TRS3 and TRS4.
[0429] Then, the quality monitor 13B sets the monitored transmission rates TRS1, TRS2 and reception rates TRS3, TRS4 as communication quality CM_QLT1.
[0430] In addition, the quality monitoring unit 13B receives quality information QLT_IF2 = [#C1 / CM_QLT2] associated with tag #C1 from the communication device 20D via a communication path to which tag #C1 has been assigned, and retains the communication quality CM_QLT2 included in the received quality information QLT_IF2 = [#C1 / CM_QLT2].
[0431] The communication quality CM_QLT2 includes sending rates TRS1', TRS2' and receiving rates TRS3', TRS4', which will be described later.
[0432] Therefore, the quality monitor 13B monitors the transmission rates TRS1, TRS2 and the reception rates TRS3, TRS4 in the communication device 10D, and the transmission rates TRS1', TRS2' and the reception rates TRS3', TRS4' in the communication device 20D.
[0433] Then, when the quality monitor 13B receives an inquiry about the communication quality from the encryption / decrease selector 14C, it notifies the encryption / decrease selector 14C of the communication quality CM_QLT1 and the communication quality CM_QLT2 in the communication device 20D.
[0434] The encryption selection unit 14C inquires of the quality monitoring unit 13B about the communication quality, and obtains the communication qualities CM_QLT1 and CM_QLT2 from the quality monitoring unit 13B.
[0435] Then, the cipher selection unit 14C selects a cipher suite based on the communication qualities CM_QLT1, CM_QLT2, the cipher selection rule table 15D (see Figure 37) and the encryption processing quality table (see Figure 45 described later), and communicates the selected cipher suite CRY_SLCT to the encryption / decryption unit 12.
[0436] The encryption / decryption unit 12 executes a process of establishing an encrypted communication path between the encryption / decryption unit 21 of the communication device 20D, and transmits the cipher suite CRY_SLCT received from the cipher selection unit 14C to the encryption / decryption unit 21 of the communication device 20D using the established encrypted communication path.
[0437] Fig. 36 is a schematic diagram of the communication device 20 shown in Fig. 2 in a fourth embodiment. Referring to Fig. 36, the communication device 20D in the fourth embodiment is the same as the communication device 20A except that a quality monitoring unit 23 is added to the communication device 20A shown in Fig. 4 and application 22 of the communication device 20A is changed to application 22A.
[0438] The application 22A outputs data to the encryption / decryption unit 21 and receives data from the encryption / decryption unit 21.
[0439] The quality monitoring unit 23 monitors a transmission rate TRS1' which is the transmission rate at which the application 22A transmits data to the encryption / decryption unit 21, a transmission rate TRS2' which is the transmission rate at which the encryption / decryption unit 21 transmits encrypted data via communication IF2, a receiving rate TRS3' which is the receiving rate at which the encryption / decryption unit 21 receives encrypted data from the communication device 10D via communication IF2, and a receiving rate TRS4' which is the receiving rate at which the application 22A receives data from the encryption / decryption unit 21.
[0440] Then, the quality monitoring unit 23 generates communication quality CM_QLT2 including the monitored transmission rates TRS1', TRS2' and receiving rates TRS3', TRS4', and generates quality information QLT_IF2 = [#C1 / CM_QLT2] by associating the generated communication quality CM_QLT2 with tag #C1.
[0441] Then, the quality monitor 23 transmits the quality information QLT_IF2 to the communication device 10D (=quality monitor 13B) via the communication path to which the tag #C1 has been added.
[0442] In the fourth embodiment, the encryption / decryption unit 21 receives encrypted data from the communication device 10D via the communication IF2, decrypts the received encrypted data using the cipher suite, and outputs the decrypted data to the application 22A.
[0443] Furthermore, when the encryption / decryption unit 21 receives data from the application 22A, it encrypts the received data using the encryption suite and transmits the encrypted data to the communication device 10D via the communication IF2.
[0444] 37 to 44 are first to eighth schematic diagrams, respectively, of the encryption code selection rule table 15D shown in FIG.
[0445] The cipher selection rule table 15D-1 shown in FIG. 37 is an cipher selection rule table when slower ciphers are used without limiting the rate of communication in the transmission direction by encryption processing.
[0446] Moreover, the cipher selection rule table 15D-2 shown in FIG. 38 is an cipher selection rule table for dealing with the rate limitation of the communication path in the transmission direction, without imposing rate limitation on the cipher process.
[0447] In the encryption selection rule table 15D-2, being limited by the reception rate TRS3' is determined when the transmission rate TRS1 is lower than the current encryption rate of the communication device 10D and the transmission rate TRS1 is higher than the reception rate TRS3'.
[0448] In addition, in the encryption selection rule table 15D-2, the limiting effect is determined by the fact that the transmission rate TRS1 is smaller than [the current encryption rate of the communication device 10D and the current decryption rate of the communication device 20D] and the transmission rate TRS1 is greater than the reception rate TRS4' of the communication device 20D.
[0449] This determination is made to determine whether the receiving rate TRS4' is lower than the sending rate TRS1 when the rate is not limited by the encryption process.
[0450] Furthermore, the encryption / decryption rule table 15D-3 shown in FIG. 39 is an encryption / decryption rule table for use when a slower encryption is used without limiting the rate of communication in the receiving direction by encryption processing.
[0451] Furthermore, the encryption / decryption rule table 15D-4 shown in FIG. 40 is an encryption / decryption rule table for dealing with the rate limitation of the communication path in the receiving direction, without imposing rate limitation on encryption processing.
[0452] In the encryption selection rule table 15D-4, being limited by the reception rate TRS3 is determined by the fact that the transmission rate TRS1' of the communication device 20D is lower than the current encryption rate of the communication device 20D and the transmission rate TRS1' is higher than the reception rate TRS3 of the communication device 10D.
[0453] In addition, in the encryption selection rule table 15D-4, the limiting effect is determined by the fact that the transmission rate TRS1' is smaller than [the current encryption rate of the communication device 20D and the current decryption rate of the communication device 10D] and the transmission rate TRS1' is greater than the reception rate TRS4.
[0454] Furthermore, the encryption / decryption rule table 15D-5 shown in FIG. 41 is an encryption / decryption rule table for use when a slower encryption is used without limiting the rate of communication in the sending and receiving directions by encryption processing.
[0455] Furthermore, the encryption code selection rule table 15D-6 shown in FIG. 42 is an encryption code selection rule table when the transmission speed is not limited by encryption in response to the rate limit of the communication path in the transmission direction.
[0456] In the encryption selection rule table 15D-6, being limited by the receiving rate TRS3' is determined when the transmitting rate TRS1 is lower than the current encryption rate of the communication device 10D and the transmitting rate TRS1 is higher than the receiving rate TRS3' of the communication device 20D.
[0457] In addition, in the encryption selection rule table 15D-6, the limiting effect is determined by the fact that the transmission rate TRS1 is smaller than [the current encryption rate of the communication device 10D and the current decryption rate of the communication device 20D] and the transmission rate TRS1 is greater than the reception rate TRS4'.
[0458] Furthermore, the encryption code selection rule table 15D-7 shown in FIG. 43 is an encryption code selection rule table when the transmission / reception speed is not limited by encryption in response to the rate limit of the communication path in the receiving direction.
[0459] In the encryption selection rule table 15D-7, being limited by the reception rate TRS3 is determined when the transmission rate TRS1' is lower than the current encryption rate of the communication device 20D and the transmission rate TRS1' is higher than the reception rate TRS3.
[0460] In addition, in the encryption selection rule table 15D-7, the limitation to the receiving rate TRS4 is determined by the fact that the transmitting rate TRS1' is smaller than [the current encryption rate of the communication device 20D and the current decryption rate of the communication device 10D] and the transmitting rate TRS1' is greater than the receiving rate TRS4.
[0461] This determination is made as to whether the receiving rate TRS4 is slower than the sending rate TRS1 when the rate is not limited by the encryption process.
[0462] Furthermore, the encryption / decryption rule table 15D-8 shown in FIG. 44 is an encryption / decryption rule table for dealing with the rate limitation of the communication path, without imposing rate limitation on encryption processing in the transmission / reception direction.
[0463] In the encryption selection rule table 15D-8, being limited by the receiving rate TRS3' is determined when the transmitting rate TRS1 is lower than the current encryption rate of the communication device 10D and the transmitting rate TRS1 is higher than the receiving rate TRD3'.
[0464] In addition, in the encryption selection rule table 15D-8, the limiting effect is determined by the fact that the transmission rate TRS1 is smaller than [the current encryption rate of the communication device 10D and the current decryption rate of the communication device 20D] and the transmission rate TRS1 is greater than the reception rate TRS4'.
[0465] Furthermore, in the encryption selection rule table 15D-8, the limiting effect on the receiving rate TRS3 is determined when the transmitting rate TRS1' is lower than the current encryption rate of the communication device 20D and the transmitting rate TRS1' is higher than the receiving rate TRS3.
[0466] Furthermore, in the encryption selection rule table 15D-8, the limiting effect is determined by the fact that the transmission rate TRS1' is smaller than [the current encryption rate of the communication device 20D and the current decryption rate of the communication device 10D] and the transmission rate TRS1' is greater than the reception rate TRS4.
[0467] FIG. 37 shows an encryption code selection rule table 15D-1 which is a first schematic diagram of the encryption code selection rule table 15D shown in FIG.
[0468] Referring to FIG. 37, rule 1 associated with priority 1 is that the transmission rate TRS1 of communication device 10D is smaller than the encryption rate C1 of cipher suite 1 of communication device 10D and smaller than the decryption rate E1 of cipher suite 1 of communication device 20D.
[0469] Furthermore, rule 2 associated with priority level 2 specifies that the transmission rate TRS1 of the communication device 10D is lower than the encryption rate C2 of cipher suite 2 of the communication device 10D and is lower than the decryption rate E2 of cipher suite 2 of the communication device 20D.
[0470] Similarly, the rule N-1 associated with the priority N-1 specifies that the transmission rate TRS1 of the communication device 10D is greater than the encryption rate C N-1 and the decryption speed E of the cipher suite N-1 of the communication device 20D is smaller than N-1 It is smaller than that.
[0471] For rule N associated with priority level N, no specific rule is set.
[0472] The cipher selection rule table 15D-2 shown in Fig. 38 will be described. Referring to Fig. 38, rule 1 is that if the encryption process is limited by the reception speed TRS3' of the communication device 20D, the reception speed TRS3' is smaller than [encryption speed C1 of cipher suite 1 of the communication device 10D] and [decryption speed E1 of cipher suite 1 of the communication device 20D], if the encryption process is not limited by the reception speed TRS3' of the communication device 20 but is limited by the reception speed TRS4' of the communication device 20D, the reception speed TRS4' is smaller than [encryption speed C1 of cipher suite 1 of the communication device 10D] and [decryption speed E1 of cipher suite 1 of the communication device 20D], and if the encryption process is not limited by the reception speed TRS3' and the reception speed TRS4', the transmission speed TRS1 is smaller than [encryption speed C1 of encryption suite 1 of the communication device 10D and decryption speed E1 of encryption suite 1 of the communication device 20D].
[0473] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0474] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0475] And, for rule N, no specific rule is set.
[0476] A description will be given of the cipher selection rule table 15D-3 shown in Fig. 39. Referring to Fig. 39, rule 1 states that the transmission rate TRS1' of the communication device 20D is smaller than {[encryption rate C1 of cipher suite 1 of the communication device 20D] and [decryption rate E1 of cipher suite 1 of the communication device 10D]}.
[0477] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0478] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0479] And, for rule N, no specific rule is set.
[0480] The cipher selection rule table 15D-4 shown in Fig. 40 will be described. Referring to Fig. 40, the rule 1 is that if the encryption process is limited by the reception speed TRS3 of the communication device 10D, the reception speed TRS3 is smaller than [encryption speed C1 of cipher suite 1 of the communication device 20D] and [decryption speed E1 of cipher suite 1 of the communication device 10D], if the encryption process is not limited by the reception speed TRS3 of the communication device 10 but is limited by the reception speed TRS4 of the communication device 10D, the reception speed TRS4 is smaller than [encryption speed C1 of cipher suite 1 of the communication device 20D] and [decryption speed E1 of cipher suite 1 of the communication device 10D], and if the encryption process is not limited by the reception speed TRS3 and the reception speed TRS4, the transmission speed TRS1' of the communication device 20D is smaller than [encryption speed C1 of cipher suite 1 of the communication device 20D and decryption speed E1 of cipher suite 1 of the communication device 10D].
[0481] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0482] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0483] And, for rule N, no specific rule is set.
[0484] The cipher selection rule table 15D-5 shown in Fig. 41 will be described. Referring to Fig. 41, rule 1 is that the transmission rate TRS1 of communication device 10D is smaller than {[encryption rate C1 of cipher suite 1 of communication device 10D] and [decryption rate E1 of cipher suite 1 of communication device 20D]}, and the transmission rate TRS1' of communication device 20D is smaller than {[encryption rate C1 of cipher suite 1 of communication device 20D] and [decryption rate E1 of cipher suite 1 of communication device 10D]}.
[0485] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0486] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0487] And, for rule N, no specific rule is set.
[0488] The cipher selection rule table 15D-6 shown in Fig. 42 will be described. Referring to Fig. 42, rule 1 states that if the encryption process is limited by the reception rate TRS3' of the communication device 20D, the reception rate TRS3' is smaller than [encryption rate C1 of cipher suite 1 of communication device 10D] and [decryption rate E1 of cipher suite 1 of communication device 20D], and if the encryption process is not limited by the reception rate TRS3' of the communication device 20 but is limited by the reception rate TRS4' of the communication device 20D, the reception rate TRS4' is smaller than [encryption rate C1 of cipher suite 1 of communication device 10D] and [decryption rate E1 of cipher suite 1 of communication device 20D]. If the transmission rate TRS1 of communication device 10D is smaller than [encryption rate C1 of encryption suite 1 of communication device 10D and decryption rate E1 of encryption suite 1 of communication device 20D] and is not limited by the reception rate TRS3' and the reception rate TRS4', then the transmission rate TRS1 of communication device 10D is smaller than [encryption rate C1 of encryption suite 1 of communication device 20D and decryption rate E1 of encryption suite 1 of communication device 10D] and the transmission rate TRS1' of communication device 20D is smaller than [encryption rate C1 of encryption suite 1 of communication device 20D and decryption rate E1 of encryption suite 1 of communication device 10D].
[0489] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0490] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0491] And, for rule N, no specific rule is set.
[0492] The cipher selection rule table 15D-7 shown in Fig. 43 will be described. Referring to Fig. 43, rule 1 states that if the encryption process is limited by the reception rate TRS3 of the communication device 10D, the reception rate TRS3 is smaller than [encryption rate C1 of cipher suite 1 of communication device 20D] and [decryption rate E1 of cipher suite 1 of communication device 10D], and if the encryption process is not limited by the reception rate TRS3 of the communication device 10 but is limited by the reception rate TRS4 of the communication device 10D, the reception rate TRS4 is smaller than [encryption rate C1 of cipher suite 1 of communication device 20D] and [decryption rate E1 of cipher suite 1 of communication device 10D]. If the transmission rate TRS1 of communication device 10D is smaller than [encryption rate C1 of encryption suite 1 of communication device 10D and decryption rate E1 of encryption suite 1 of communication device 20D] and is not limited by the reception rate TRS3 and the reception rate TRS4, then the transmission rate TRS1 of communication device 10D is smaller than [encryption rate C1 of encryption suite 1 of communication device 20D and decryption rate E1 of encryption suite 1 of communication device 20D], and the transmission rate TRS1' of communication device 20D is smaller than [encryption rate C1 of encryption suite 1 of communication device 20D and decryption rate E1 of encryption suite 1 of communication device 20D].
[0493] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0494] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0495] And, for rule N, no specific rule is set.
[0496] The cipher selection rule table 15D-8 shown in Fig. 44 will be described. Referring to Fig. 44, rule 1 states that if the encryption process is limited by the reception speed TRS3' of the communication device 20D, the reception speed TRS3' is smaller than [encryption speed C1 of cipher suite 1 of communication device 10D] and [decryption speed E1 of cipher suite 1 of communication device 20D], and if the encryption process is not limited by the reception speed TRS3' of the communication device 20, and if the encryption process is limited by the reception speed TRS4' of the communication device 20D, the reception speed TRS4' is smaller than [encryption speed C1 of cipher suite 1 of communication device 10D] and [decryption speed E1 of cipher suite 1 of communication device 20D], and is not limited by the reception speeds TRS3', TRS4', and if the encryption process is limited by the reception speed TRS3 of the communication device 10D, the reception speed TRS3 of the communication device 10D is [encryption speed C1 of encryption suite 1 of communication device 20D and decryption speed E1 of communication device 10D]. If the reception rate TRS4 is smaller than [encryption rate C1 of encryption suite 1 of communication device 20D and decryption rate E1 of encryption suite 1 of communication device 10D] and is not limited by the reception rates TRS3', TRS4', TRS3, but is limited by the reception rate TRS4 of communication device 10D, then if the reception rate TRS4 is smaller than [encryption rate C1 of encryption suite 1 of communication device 10D and decryption rate E1 of encryption suite 1 of communication device 20D] and is not limited by the reception rates TRS3', TRS4', TRS3, TRS4, then the transmission rate TRS1 of communication device 10D is smaller than [encryption rate C1 of encryption suite 1 of communication device 10D and decryption rate E1 of encryption suite 1 of communication device 20D] and the transmission rate TRS1' of communication device 20D is smaller than [encryption rate C1 of encryption suite 1 of communication device 20D and decryption rate E1 of encryption suite 1 of communication device 10D].
[0497] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0498] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1" and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0499] And, for rule N, no specific rule is set.
[0500] 45 is a schematic diagram of another encryption processing quality table. Referring to FIG. 45, the encryption processing quality table 30A includes the cipher suites and encryption speeds C1 to C2 in the encryption processing quality table shown in FIG. N and decoding speed E1~E N The communication device 10D and the communication device 20D each have a corresponding relationship with each other.
[0501] Fig. 46 is a flowchart for explaining the operation of the communication device 10D. The flowchart shown in Fig. 46 is the same as the flowchart shown in Fig. 17 except that step S31 is added between step S7 and step S8 of the flowchart shown in Fig. 17 and step S8 is changed to step S8C.
[0502] 46, when the operation of the communication device 10D is started, the above-mentioned steps S1 to S7 are executed in sequence. In this case, in step S3, the encryption / decryption unit 12 of the communication device 10D executes the process of establishing an encrypted communication path shown in FIG. 18 with the encryption / decryption unit 21 of the communication device 20D, and in step S5, the communication device 10D executes communication with the communication device 20D using the application 11.
[0503] After step S7, the quality monitor 13B of the communication device 10D receives the communication quality CM_QLT2 (=transmission rates TRS1', TRS2' and reception rates TRS3', TRS4') monitored in the communication device 20D by receiving the quality information QLT_IF2=[#C1 / CM_QLT2] from the communication device 20D (step S31). This allows the quality monitor 13B of the communication device 10D to monitor the transmission rates TRS1, TRS2, TRS1', TRS2' and reception rates TRS3, TRS4, TRS3', TRS4'.
[0504] After step S31, the cipher selection unit 14C inquires about the communication quality from the quality monitoring unit 13, and selects a cipher suite based on the communication qualities CM_QLT1, CM_QLT2 obtained from the quality monitoring unit 13B, any one of the cipher selection rule tables 15D-1 to 15D-8 (see Figures 37 to 44), and the encryption processing quality table (see Figure 45) (step S8C).
[0505] Then, the above-mentioned steps S9 and S10 are sequentially executed. In this case, in step S10, the encryption / decryption unit 12 of the communication device 10D executes the process of establishing an encrypted communication path shown in FIG. 18 between the encryption / decryption unit 21 of the communication device 20D and the communication device 20D to establish the encrypted communication path.
[0506] After step S10, the above-mentioned steps S11 and S12 are executed in sequence, and after step S12, the operation of the communication device 10D proceeds to step S6. Thereafter, while the communication device 10D is operating, the above-mentioned steps S6, S7, S31, S8C, S9, S10, S11, and S12 are repeatedly executed.
[0507] In the flowchart shown in FIG. 46, the cipher suite selection unit 14C determines in step S9 whether the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12, and if it determines that the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12 (see "YES" in step S9), it executes step S10. If it determines that the selected cipher suite is not different from the cipher suite used in the encryption / decryption unit 12 (see "NO" in step S9), the operation of the communication device 10D transitions to step S7, which corresponds to executing the above-mentioned "cipher suite selection process."
[0508] In this case, the cipher suite selected by cipher selection unit 14C constitutes the "first cipher suite", and the cipher suite used in encryption / decryption unit 12 constitutes the "second cipher suite".
[0509] According to the flowchart shown in FIG. 46, the cipher suite selection unit 14C of the communication device 10D selects a cipher suite based on the communication quality CM_QLT1 (= transmission rates TRS1, TRS2 and receiving rates TRS3, TRS4) in the communication device 10D and the communication quality CM_QLT2 (= transmission rates TRS1', TRS2' and receiving rates TRS3', TRS4') in the communication device 20D (see step S8C).
[0510] Therefore, a cipher suite can be selected adaptively to the communication quality of both the communication device 10D and the communication device 20D.
[0511] The rest of the description of the flowchart shown in FIG. 46 is the same as the description of the flowchart shown in FIG.
[0512] FIG. 47 is a flowchart for explaining detailed operations of step S8C shown in FIG.
[0513] The flowchart shown in FIG. 47 is the same as the flowchart shown in FIG. 19, except that step S83 in the flowchart shown in FIG. 19 is replaced with step S83C.
[0514] In FIG. 47, the detailed operation of step S8C will be described using the encryption code selection rule table 15D-1 shown in FIG.
[0515] Referring to FIG. 47, when the detailed operation of step S8C is started, the above-mentioned steps S81 and S82 are executed in sequence.
[0516] After step S82, the cipher suite selection unit 14C determines whether the transmission rate TRS1 of the communication device 10D satisfies the rule n in the cipher suite selection rule table 15D-1 (step S83C).
[0517] If it is determined in step S83C that the transmission rate TRS1 does not satisfy the rule n, then the above-mentioned step S84 is executed.
[0518] Thereafter, the detailed operation of step S8C proceeds to step S82.
[0519] On the other hand, when it is determined in step S83C that the transmission rate TRS1 satisfies the rule n, the above-mentioned step S85 is executed, and after step S85, the process proceeds to step S9 in FIG.
[0520] In the flowchart shown in FIG. 47, after step S81, in step S82, the cipher selection unit 14C selects rule 1 associated with priority 1 in the cipher selection rule table 15D-1, and in step S83C, the cipher selection unit 14C determines whether the transmission rate TRS1 satisfies rule 1.
[0521] Then, when it is determined in step S83C that the transmission rate TRS1 does not satisfy the rule 1, the cipher selection unit 14C sets n=1+1=2 in step S84.
[0522] Thereafter, in step S82, the cipher suite selection unit 14C selects rule 2 associated with priority level 2 in the cipher suite selection rule table 15D-1, and in step S83C, the cipher suite selection unit 14C determines whether the transmission rate TRS1 satisfies rule 2 or not.
[0523] Then, when it is determined in step S83C that the transmission rate TRS1 does not satisfy the rule 2, the cipher selection unit 14C sets n=2+1=3 in step S84.
[0524] Thereafter, for "n=3" to "n=N-2", if it is determined in step S83C that the transmission rate TRS1 does not satisfy rule 3 to rule N-2, the cipher selection unit 14C sets n=N-2+1=N-1 in step S84.
[0525] Then, in step S82, the cipher suite selection unit 14C selects the rule N-1 associated with the priority level N-1 in the cipher suite selection rule table 15D-1, and in step S83C, the cipher suite selection unit 14C determines whether the transmission rate TRS1 satisfies the rule N-1.
[0526] When it is determined in step S83C that the transmission rate TRS1 satisfies the rule N-1, the cipher suite selection unit 14C selects in step S85 the cipher suite N-1 associated with the rule N-1 in the cipher suite selection rule table 15D-1.
[0527] On the other hand, when it is determined in step S83C that the transmission rate TRS1 does not satisfy the rule N-1, the cipher selection unit 14C sets n=N-1+1=N in step S84.
[0528] Then, in step S82, the cipher suite selection unit 14C selects the rule N associated with the priority level N in the cipher suite selection rule table 15D-1, and in step S83C, determines whether the transmission rate TRS1 satisfies the rule N.
[0529] In this case, since no specific rule is set for rule N in the cipher suite selection rule table 15D (see FIG. 37), the cipher suite selection unit 14C determines in step S83C that the transmission rate TRS1 satisfies rule N, and selects the cipher suite N associated with rule N in step S85.
[0530] In this manner, the cipher suite selection unit 14C executes the flowchart shown in FIG. 47 to evaluate whether the transmission rate TRS1 satisfies the rule starting from the high-priority condition in the cipher suite selection rule table 15D-1 (rule 1 associated with priority 1), and selects the cipher suite corresponding to the rule that first satisfied the condition.
[0531] Even when any one of the cipher suite selection rule tables 15D-2 to 15D-8 is used instead of the cipher suite selection rule table 15D-1, the cipher suite selection unit 14C selects a cipher suite by the above-mentioned operation.
[0532] In this case, in step S83C of FIG. 47, the cipher suite selection unit 14C sequentially determines whether rules 1 to N in the cipher suite selection rule tables 15D-2 to 15D-8 are satisfied, starting from rule 1, and selects the cipher suite associated with the rule that is determined to be satisfied.
[0533] In the fourth embodiment, the operation of the communication device 10D may be realized by software. In this case, the communication device 10D includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_D including the steps of the flowchart shown in FIG. 46 (including the flowchart shown in FIG. 47).
[0534] The CPU reads the program Prog_D from the ROM and executes the read program Prog_C to select a cipher suite based on the communication quality CM_QLT1 of the communication device 10D and the communication quality CM_QLT2 of the communication device 20D. The RAM temporarily stores the communication qualities CM_QLT1 and CM_QLT2.
[0535] Furthermore, the program Prog_D may be distributed in a form recorded on a recording medium such as a CD or a DVD. When the recording medium on which the program Prog_D is recorded is installed in a computer, the computer reads the program Prog_D from the recording medium, executes the program, and selects a cipher suite based on the communication quality CM_QLT1 of the communication device 10D and the communication quality CM_QLT2 of the communication device 20D.
[0536] Therefore, the recording medium on which the program Prog_D is recorded is a computer-readable recording medium.
[0537] In addition, when the operation of the communication device 10D is realized by the CPU executing the program Prog_D, the communication quality is not limited to the transmission speed TRS1, but any of the communication qualities described in the cipher selection rule table 15D-2 (see FIG. 38), the cipher selection rule table 15D-3 (see FIG. 39), the cipher selection rule table 15D-4 (see FIG. 40), the cipher selection rule table 15D-5 (see FIG. 41), the cipher selection rule table 15D-6 (see FIG. 42), the cipher selection rule table 15D-7 (see FIG. 43) and the cipher selection rule table 15D-8 (see FIG. 44) is used.
[0538] The rest of the description in the fourth embodiment is the same as that in the first embodiment.
[0539] [Embodiment 5] Fig. 48 is a schematic diagram of the communication device 10 shown in Fig. 2 in the fifth embodiment. Referring to Fig. 48, the communication device 10E in the fifth embodiment is the same as the communication device 10C shown in Fig. 30, except that a quality prediction unit 16A is added to the communication device 10C shown in Fig. 30, the encryption cipher selection unit 14B of the communication device 10C is changed to an encryption cipher selection unit 14D, and the encryption cipher selection rule table 15C of the communication device 10C is changed to an encryption cipher selection rule table 15E.
[0540] In addition, in the fifth embodiment, the communication device 20 shown in FIG. 2 has the same configuration as the communication device 20C shown in FIG. 31, but is represented as "communication device 20E" to distinguish it from the communication device 20C in the third embodiment.
[0541] In embodiment 5, the quality monitoring unit 13A monitors S transmission rates TRS1_1 to TRS1_S of S pieces of data 1 to S from the application 11A to S encryption / decryption units 12-1 to 12-S respectively over time, and generates S pieces of time series data D(t)1_1 to 1_S of the S transmission rates TRS1_1 to TRS1_S.
[0542] In addition, the quality monitoring unit 13A monitors S transmission rates TRS2_1 to TRS2_S over time when the S encryption / decryption units 12-1 to 12-S respectively transmit S pieces of encrypted data to the S communication IF1_1 to communication IF1_S, and generates S pieces of time series data D(t)2_1 to 2_S for the S transmission rates TRS2_1 to TRS2_S.
[0543] Furthermore, the quality monitoring unit 13A monitors the S receiving rates TRS3_1 to TRS3_S over time when the S encryption / decryption units 12-1 to 12-S each receive the S encrypted data from the communication device 20E, and generates S time series data D(t)3_1 to 3_S of the S transmission rates TRS3_1 to TRS3_S.
[0544] Furthermore, the quality monitoring unit 13A monitors S receiving rates TRS4_1 to TRS4_S over time when the application 11A receives data from the S encryption / decryption units 12-1 to 12-S, and generates S time series data D(t)4_1 to 4_S of the S transmission rates TRS4_1 to TRS4_S.
[0545] The quality monitoring unit 13A holds S pieces of time series data D(t)1_1 to 1_S, S pieces of time series data D(t)2_1 to 2_S, S pieces of time series data D(t)3_1 to 3_S, and S pieces of time series data D(t)4_1 to 4_S.
[0546] The quality prediction unit 16A inquires of the quality monitoring unit 13A about the communication quality, and predicts the future communication quality CM_QLT_F based on the communication quality obtained from the quality monitoring unit 13A using the above-mentioned [method of predicting future communication quality] (= the flowchart shown in Figure 22 (including the flowchart shown in Figure 23)).
[0547] In this case, the quality prediction unit 16A predicts the future transmission rate TRS1_s_F, which is the future transmission rate, based on the time series data D(t)1_s (s = any one of 1 to S) using the above-mentioned [method of predicting future communication quality] (= the flowchart shown in Figure 22 (including the flowchart shown in Figure 23)) for all S pieces of time series data D(t)1_1 to 1_S, thereby predicting the S future transmission rates TRS1_1_F to TRS1_S_F.
[0548] The quality predictor 16A then holds S future transmission rates TRS1_1_F to TRS1_S_F.
[0549] In addition, the quality prediction unit 16A predicts the future transmission rate TRS2_s_F, which is the future transmission rate, based on the time series data D(t)2_s (s = any one of 1 to S) using the above-mentioned [method of predicting future communication quality] (= the flowchart shown in Figure 22 (including the flowchart shown in Figure 23)) for all S pieces of time series data D(t)2_1 to 2_S, to predict the S future transmission rates TRS2_1_F to TRS2_S_F.
[0550] The quality predictor 16A then holds S future transmission rates TRS2_1_F to TRS2_S_F.
[0551] Furthermore, the quality prediction unit 16A predicts the future reception speed TRS3_s_F, which is the future reception speed, based on the time series data D(t)3_s (s = any one of 1 to S) using the above-mentioned [method of predicting future communication quality] (= the flowchart shown in Figure 22 (including the flowchart shown in Figure 23)) for all of the S time series data D(t)3_1 to 3_S, to predict the S future reception speeds TRS3_1_F to TRS3_S_F.
[0552] Then, the quality predicting unit 16A holds S future receiving rates TRS3_1_F to TRS3_S_F.
[0553] Furthermore, the quality prediction unit 16A predicts the future receiving speed TRS4_s_F, which is the future receiving speed, based on the time series data D(t)4_s (s = any one of 1 to S) using the above-mentioned [method of predicting future communication quality] (= the flowchart shown in Figure 22 (including the flowchart shown in Figure 23)) for all of the S time series data D(t)4_1 to 4_S, to predict the S future receiving speeds TRS4_1_F to TRS4_S_F.
[0554] Then, the quality predicting unit 16A holds S future receiving rates TRS4_1_F to TRS4_S_F.
[0555] The S future transmission rates TRS1_1_F to TRS1_S_F, the S future transmission rates TRS2_1_F to TRS2_S_F, the S future reception rates TRS3_1_F to TRS3_S_F, and the S future reception rates TRS4_1_F to TRS4_S_F configure the future communication quality CM_QLT_F.
[0556] The cipher selection unit 14D inquires of the quality prediction unit 16A about the communication quality, and selects a cipher suite for each of the S encryption / decryption units 12-1 to 12-S based on the future communication quality CM_QLT_F obtained from the quality prediction unit 16A, the cipher selection rule table 15E, and the encryption processing quality table (see FIG. 7).
[0557] Then, the cipher suite selection unit 14D transmits the selected S cipher suites to the S encryption / decryption units 12-1 to 12-S, respectively.
[0558] Fig. 49 is a schematic diagram of the encryption code selection rule table 15E shown in Fig. 48. With reference to Fig. 49, the encryption code selection rule table 15E includes element tables E_1 to E_S.
[0559] The element tables E_1 to E_S correspond to the encryption / decryption units 12-1 to 12-S, respectively.
[0560] The element table E_1 is obtained by changing the transmission rate TRS1 in the cipher selection rule table 15-G1 shown in FIG. 10 to a future transmission rate TRS1_1_F.
[0561] Moreover, element table E_2 is obtained by changing the future transmission rate TRS1_1_F of element table E_1 to a future transmission rate TRS1_2_F.
[0562] Similarly, an element table E_S is obtained by changing the future transmission rate TRS1_1_F of the element table E_1 to a future transmission rate TRS1_S_F.
[0563] 50 and 51 are first and second flowcharts, respectively, for explaining the operation of the communication device 10E.
[0564] The flowcharts shown in FIGS. 50 and 51 are the same as the flowchart shown in FIG. 33, except that step S24 in the flowchart shown in FIG. 33 is replaced with steps S8D and S8E.
[0565] 50, when the operation of the communication device 10E is started, the above-mentioned steps S1 to S5 are sequentially executed.
[0566] In this case, in step S3, the process of establishing an encrypted communication path is executed as shown in Fig. 18. Also, in step S5, the communication device 10E executes communication with the communication device 20E by using the application 11A.
[0567] With reference to FIG. 51, after step S5, the above-mentioned steps S21 to S23 are executed in sequence.
[0568] Then, after step S23, the quality predicting unit 16A acquires the communication quality of the target stream s from the quality monitoring unit 13A, and predicts the future communication quality of the target stream s based on the acquired communication quality of the target stream s (step S8D).
[0569] In this case, the quality prediction unit 16A predicts the future transmission rate TRS1_s_F by the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)) based on the time series data D(t)1_s of the transmission rate TRS1_s of the target stream s, and predicts the future transmission rate TRS2_s by the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)) based on the time series data D(t)2_s of the transmission rate TRS2_s of the target stream s. 22 (including the flowchart shown in FIG. 23)) based on the time series data D(t)3_s of the receiving rate TRS3_s of the target stream s, and the future receiving rate TRS4_s_F is predicted by the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)) based on the time series data D(t)4_s of the receiving rate TRS4_s of the target stream s.
[0570] Then, after step S8D, the cipher selection unit 14D inquires of the quality prediction unit 16A about the communication quality of the target stream s, and selects a cipher suite based on the future communication quality of the target stream s (= future transmission rates TRS1_s_F, TRS2_s_F and future receiving rates TRS3_s_F, TRS4_s_F) obtained from the quality prediction unit 16A, the cipher selection rule table 15E (see Figure 49), and the encryption processing quality table (see Figure 7) (step S8E).
[0571] Thereafter, the above-mentioned steps S25 to S29 are sequentially executed. If it is determined in step S29 that s is not equal to S, step S30 is executed, and then the operation of the communication device 10E proceeds to step S22. Then, steps S22, S23, S8D, S8E, and S25 to S30 are repeatedly executed until it is determined in step S29 that s is equal to S.
[0572] Then, when it is determined in step S29 that s=S, the operation of the communication device 10E proceeds to step S21, and steps S21 to S23, steps S8D, S8E, and steps S25 to S30 are repeatedly executed while the communication device 10E is operating.
[0573] In the flowcharts shown in Figures 50 and 51, when it is determined in step S22 that the cipher change prohibition period PHB_s of the target stream s has ended, the communication quality of the target stream s is monitored (see step S23), and the future communication quality of the target stream s (= future transmission rates TRS1_s_F, TRS2_s_F and future receiving rates TRS3_s_F, TRS4_s_F) is predicted based on the monitored communication quality of the target stream s (see step S8D).
[0574] Then, a cipher suite is selected based on the future communication quality of the target stream s predicted in step S8D, the cipher selection rule table, and the cipher processing quality table (see step S8E).
[0575] Thereafter, when it is determined that the cipher suite used by the encryption / decryption unit 12-s of the target stream s is different from the cipher suite selected in step S8E (see "YES" in step S25), the cipher suite selected in step S8E is transmitted to the encryption / decryption unit 12-s of the target stream s, and the cipher suite used by the encryption / decryption unit 12-s of the target stream s is changed to the cipher suite selected in step S8E (see step S26). In this case, the encryption / decryption unit 12-s of the communication device 10E executes the process of establishing an encrypted communication path shown in FIG. 18 between the encryption / decryption unit 21-s of the communication device 20E.
[0576] Then, the cipher change prohibition period PHB_s of the target stream s is set (see step S27), and communication is performed between the communication device 10E and the communication device 20E using the changed cipher suite (see step S28). In this case, when the communication device 10E executes only a transmission process of transmitting data to the communication device 20E, the encryption / decryption unit 12-s of the communication device 10E transmits encrypted data to the communication device 20E via the communication IF1_s, and when the communication device 10E executes data transmission and reception with the communication device 20E, the encryption / decryption unit 12-s transmits encrypted data to the communication device 20E via the communication IF1_s and receives encrypted data from the communication device 20E via the communication IF1_s.
[0577] Therefore, in the path of "YES" in step S22 → step S23 → step S8D → step S8E → "YES" in step S25 → step S26 → step S27 → step S28, the communication quality of the target stream s is monitored, the future communication quality of the target stream s is predicted based on the monitored communication quality of the target stream s, a cipher suite is selected based on the predicted future communication quality of the target stream s, the cipher suite used by the encryption / decryption unit 12-s of the target stream s is changed by the selected cipher suite, and communication is performed between communication device 10E and communication device 20E using the changed cipher suite.
[0578] Then, the sequence of "YES" in step S22 → step S23 → step S8D → step S8E → "YES" in step S25 → step S26 → step S27 → step S28 is executed for all of streams 1 to S as long as it is determined in step S25 that the cipher suite used by the encryption / decryption unit 12-s of the target stream s is different from the selected cipher suite.
[0579] As a result, in each of streams 1 to S, communication is performed between the communication device 10E and the communication device 20E using the cipher suite selected based on the predicted future communication quality.
[0580] Also, in the flowcharts shown in Figures 50 and 51, the cipher suite selection unit 14D determines in step S25 whether the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12-s, and when it determines that the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12-s (see "YES" in step S25), it executes step S26.When it determines that the selected cipher suite is not different from the cipher suite used in the encryption / decryption unit 12-s (see "NO" in step S25), the operation of the communication device 10E transitions to step S23, which corresponds to executing the above-mentioned "cipher suite selection process."
[0581] In this case, the cipher suite selected by the cipher selection unit 14D constitutes the "first cipher suite," and the cipher suite used in the encryption / decryption unit 12-s (s=1 to S) constitutes the "second cipher suite."
[0582] Fig. 52 is a flowchart for explaining the detailed operation of step S8E in Fig. 51. The flowchart shown in Fig. 52 is the same as the flowchart shown in Fig. 19, except that step S82 in the flowchart shown in Fig. 19 is changed to step S82B and step S83 in the flowchart shown in Fig. 19 is changed to step S83D.
[0583] Referring to FIG. 52, after step S8D in FIG. 51, the encryption / decryption selection unit 14D executes the above-mentioned step S81, and then refers to the element table E_s of the encryption / decryption rule table 15E to select the rule n associated with the priority n (step S82B).
[0584] Then, the cipher selection unit 14D determines whether or not the future transmission rate TRS1_s_F of the stream s satisfies the rule n (Step S83D).
[0585] When it is determined in step S83D that the future transmission rate TRS1_s_F does not satisfy the rule n, the above-mentioned step S84 is executed, and thereafter, the detailed operation of step S8E proceeds to step S82B.
[0586] Then, the operations of step S82B→step S83D→step S84 are repeatedly executed until it is determined in step S83D that the future transmission rate TRS1_s_F satisfies the rule n.
[0587] Then, if it is determined in step S83D that the future transmission rate TRS1_s_F satisfies the rule n, then the above-mentioned step S85 is executed, and thereafter, the process proceeds to step S25 in FIG.
[0588] In the flowchart shown in FIG. 52, when s=1, after step S81, in step S82B, the cipher selection unit 14D refers to the element table E_1 of the cipher selection rule table 15E and selects rule 1 associated with priority 1 in the element table E_1, and in step S83D, the cipher selection unit 14D determines whether the future transmission rate TRS1_s_F satisfies rule 1.
[0589] Then, when it is determined in step S83D that the future transmission rate TRS1_s_F does not satisfy rule 1, the cipher selection unit 14D sets n=1+1=2 in step S84.
[0590] Then, in step S82B, the cipher selection unit 14D refers to the element table E_1 and selects rule 2 associated with priority 2 in the element table E_1, and in step S83D, the cipher selection unit 14D determines whether the future transmission rate TRS1_s_F satisfies rule 2.
[0591] Then, when it is determined in step S83D that the future transmission rate TRS1_s_F does not satisfy rule 2, the cipher selection unit 14D sets n=2+1=3 in step S84.
[0592] Thereafter, for "n=3" to "n=N-2", if it is determined in step S83D that the future transmission rate TRS1_s_F does not satisfy rule 3 to rule N-2, the cipher selection unit 14D sets n=N-2+1=N-1 in step S84.
[0593] Then, in step S82B, the encryption selection unit 14D refers to the element table E_1 and selects the rule N-1 associated with the priority N-1 in the element table E_1, and in step S83D, the encryption selection unit 14D determines whether the future transmission rate TRS1_s_F satisfies the rule N-1.
[0594] When it is determined in step S83D that the future transmission rate TRS1_s_F satisfies the rule N-1, the cipher suite selection unit 14D selects the cipher suite N-1 associated with the rule N-1 with reference to the element table E_1 in step S85.
[0595] On the other hand, when it is determined in step S83D that the future transmission rate TRS1_s_F does not satisfy the rule N-1, the cipher selection unit 14D sets n=N-1+1=N in step S84.
[0596] Then, in step S82B, the encryption selecting unit 14D refers to the element table E_1, selects the rule N associated with the priority level N, and in step S83D, determines whether the future transmission rate TRS1_s_F satisfies the rule N.
[0597] In this case, since no specific rule is set for rule N in the element table E_1 (see FIG. 49), in step S83D, the cipher suite selection unit 14D determines that the future transmission rate TRS1_s_F satisfies rule N, and in step S85, selects the cipher suite N associated with rule N.
[0598] Also, when any one of the element tables E_2 to E_S of the cipher suite selection rule table 15E is used, the cipher suite selection unit 14D refers to any one of the element tables E_2 to E_S and selects a cipher suite by performing the same operation as described above.
[0599] In this way, by executing the flowchart shown in FIG. 52, the cipher suite selection unit 14D evaluates whether the future transmission rate TRS1_s_F satisfies the rule from the high priority condition (rule 1 associated with priority 1) in any of the element tables E_1 to E_S of the cipher suite selection rule table 15E, and selects the cipher suite corresponding to the rule when the condition was first satisfied.
[0600] In addition, when the communication device 10E executes only a transmission process to transmit data to the communication device 20E, the cipher suite is selected by the above-described operation using, instead of the cipher selection rule table 15E, a cipher selection rule table that is a generalized version of the cipher selection rule table 15-2 (see FIG. 9) like the cipher selection rule table 15E.
[0601] Furthermore, when the communication device 10E transmits and receives data to and from the communication device 20E, the cipher suite is selected by the above-described operation using, instead of the cipher suite selection rule table 15E, a cipher suite that is a generalized version of any of the cipher suite selection rule tables 15-1 to 15-8 (see FIG. 8(a), FIG. 9, and FIG. 11 to FIG. 16) as the cipher suite selection rule table 15E.
[0602] In this case, in step S83D of FIG. 52, the cipher suite selection unit 14C sequentially determines whether rules 1 to N of the cipher suite selection rule table 15E, which is a generalized version of any of the cipher suite selection rule tables 15-2 to 15-8 (see FIGS. 9, 11 to 16), are satisfied, starting from rule 1, and selects the cipher suite associated with the rule that is determined to be satisfied.
[0603] Furthermore, in the element table E_s (s=1 to S) of the cipher selection rule table 15E, the rules 1 to N-1 respectively indicate that the future transmission rate TRS1_s_F is the encryption rates C1 to C2 of the cipher suites 1 to N-1. N-1 The reason why the cipher suite selection rule is "smaller than" is the same as that explained in the above-mentioned cipher suite selection rule table 15-1.
[0604] In the fifth embodiment, the operation of the communication device 10E may be realized by software. In this case, the communication device 10E includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_E including the steps of the flowcharts shown in Figs. 50 and 51 (including the flowchart shown in Fig. 52).
[0605] The CPU reads out the program Prog_E from the ROM, executes the read out program Prog_E, predicts the communication quality (future transmission rates TRS1_s_F, TRS2_s_F and future reception rates TRS3_s_F, TRS4_s_F) for each stream s, and selects a cipher suite based on the predicted communication quality (future transmission rates TRS1_s_F, TRS2_s_F and future reception rates TRS3_s_F, TRS4_s_F) for all of the S encryption / decryption units 12-1 to 12-S. The RAM temporarily stores the communication quality (future transmission rates TRS1_s_F, TRS2_s_F and future reception rates TRS3_s_F, TRS4_s_F).
[0606] Also, the program Prog_E may be distributed in a form recorded on a recording medium such as a CD or a DVD. When a recording medium on which the program Prog_E is recorded is attached to a computer, the computer reads out the program Prog_E from the recording medium, executes the program, and predicts communication quality (future transmission rates TRS1_s_F, TRS2_s_F and future reception rates TRS3_s_F, TRS4_s_F) for each stream s, and selects a cipher suite based on the predicted communication quality (future transmission rates TRS1_s_F, TRS2_s_F and future reception rates TRS3_s_F, TRS4_s_F) for all of the S encryption / decryption units 12-1 to 12-S.
[0607] Therefore, the recording medium on which the program Prog_E is recorded is a computer-readable recording medium.
[0608] Other aspects of the fifth embodiment are the same as those of the first to third embodiments.
[0609] [Embodiment 6] Fig. 53 is a schematic diagram of a sixth embodiment of the communication device 10 shown in Fig. 2. The communication device 10E shown in Fig. 53 is the same as the communication device 10D shown in Fig. 35, except that a quality prediction unit 16B is added to the communication device 10D shown in Fig. 35, the encryption cipher selection unit 14C of the communication device 10D shown in Fig. 35 is replaced with an encryption cipher selection unit 14E, and the encryption cipher selection rule table 15D of the communication device 10D shown in Fig. 35 is replaced with an encryption cipher selection rule table 15F.
[0610] In addition, in embodiment 6, the communication device 20 shown in FIG. 2 has the same configuration as the communication device 20D shown in FIG. 36, but in order to distinguish it from the communication device 20D, the communication device 20 in embodiment 6 is written as "communication device 20F."
[0611] 53, the quality monitoring unit 13B acquires the above-mentioned time series data TRS1(t), time series data TRS2(t), time series data TRS3(t) and time series data TRS4(t).
[0612] In addition, the quality monitoring unit 13B receives time series data TRS1'(t) of the transmission rate TRS1', time series data TRS2'(t) of the transmission rate TRS2', time series data TRS3'(t) of the receiving rate TRS3', and time series data TRS4'(t) of the receiving rate TRS4' from the communication device 20E via the communication IF1.
[0613] The quality prediction unit 16B inquires of the quality monitoring unit 13B about the communication quality, and receives time series data TRS1(t), TRS2(t), TRS3(t), TRS4(t), TRS1'(t), TRS2'(t), TRS3'(t), and TRS4'(t) from the quality monitoring unit 13B.
[0614] Then, the quality prediction unit 16B predicts future transmission rates TRS1_F, TRS2_F, TRS1'_F, and TRS2'_F based on the time series data TRS1(t), TRS2(t), TRS1'(t), and TRS2'(t), respectively, using the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)).
[0615] In addition, the quality prediction unit 16B predicts future receiving speeds TRS3_F, TRS4_F, TRS3'_F, and TRS4'_F based on the time series data TRS3(t), TRS4(t), TRS3',(t), and TRS4',(t), respectively, using the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)).
[0616] The cipher selection unit 14E inquires of the quality prediction unit 16B about future communication quality, and obtains future transmission rates TRS1_F, TRS2_F, TRS1'_F, TRS2'_F, TRS3_F, TRS4_F, TRS3'_F, and TRS4'_F from the quality prediction unit 16B.
[0617] Then, the cipher suite selection unit 14E selects a cipher suite based on the future transmission rates TRS1_F, TRS2_F, TRS1'_F, TRS2'_F, TRS3_F, TRS4_F, TRS3'_F, and TRS4'_F, the cipher selection rule table 15F, and the cryptographic processing quality table 30A (see FIG. 45).
[0618] Then, the cipher suite selection unit 14E conveys the cipher suite to the encryption / decryption unit 12 and changes the cipher suite.
[0619] 54 to 61 are respectively a first schematic diagram to an eighth schematic diagram of the encryption code selection rule table 15F shown in FIG.
[0620] The cipher selection rule table 15F-1 shown in FIG. 54 is the same as the cipher selection rule table 15D-1 shown in FIG. 37, except that the "transmission rate TRS1" in the cipher selection rule table 15D-1 shown in FIG. 37 is changed to a "future transmission rate TRS1_F."
[0621] The encryption selection rule table 15F-2 shown in FIG. 55 is the same as the encryption selection rule table 15D-2 shown in FIG. 38, except that the "reception rate TRS3'" is changed to the "future reception rate TRS3'_F", the "reception rate TRS4'" is changed to the "future reception rate TRS4'_F", and the "transmission rate TRS1" is changed to the "future transmission rate TRS1_F".
[0622] The cipher selection rule table 15F-3 shown in Figure 56 is the same as the cipher selection rule table 15D-2 shown in Figure 39, except that the "transmission rate TRS1'" in the cipher selection rule table 15D-3 shown in Figure 39 is changed to "future transmission rate TRS1'_F."
[0623] The encryption selection rule table 15F-4 shown in FIG. 57 is the same as the encryption selection rule table 15D-2 shown in FIG. 40, except that the "reception rate TRS3" in the encryption selection rule table 15D-4 shown in FIG. 40 is changed to a "future reception rate TRS3_F," the "reception rate TRS4" to a "future reception rate TRS4_F," and the "transmission rate TRS1'" to a "future transmission rate TRS1'_F."
[0624] The cipher selection rule table 15F-5 shown in FIG. 58 is the same as the cipher selection rule table 15D-4 shown in FIG. 41, except that the "transmission rate TRS1" in the cipher selection rule table 15D-5 shown in FIG. 41 is changed to the "future transmission rate TRS1_F" and the "transmission rate TRS1'" is changed to the "future transmission rate TRS1'_F."
[0625] The encryption selection rule table 15F-6 shown in Figure 59 is the same as the encryption selection rule table 15D-6 shown in Figure 42, except that the "reception rate TRS3'" is changed to the "future reception rate TRS3'_F", the "reception rate TRS4'" is changed to the "future reception rate TRS4'_F", the "transmission rate TRS1" is changed to the "future transmission rate TRS1_F", and the "transmission rate TRS1'" is changed to the "future transmission rate TRS1'_F".
[0626] The encryption selection rule table 15F-7 shown in Figure 60 is the same as the encryption selection rule table 15D-7 shown in Figure 43, except that the "reception rate TRS3" is changed to the "future reception rate TRS3_F", the "reception rate TRS4" is changed to the "future reception rate TRS4_F", the "transmission rate TRS1" is changed to the "future transmission rate TRS1_F", and the "transmission rate TRS1'" is changed to the "future transmission rate TRS1'_F".
[0627] The encryption selection rule table 15F-8 shown in Figure 61 is obtained by changing the "reception rate TRS3'" of the encryption selection rule table 15D-8 shown in Figure 44 to the "future reception rate TRS3'_F", the "reception rate TRS4'" to the "future reception rate TRS4'_F", the "reception rate TRS3" to the "future reception rate TRS3_F", the "reception rate TRS4" to the "future reception rate TRS4_F", the "transmission rate TRS1" to the "future transmission rate TRS1_F", and the "transmission rate TRS1'" to the "future transmission rate TRS1'_F", and otherwise is the same as the encryption selection rule table 15D-8 shown in Figure 44.
[0628] The cipher selection rule table 15F-1 shown in Fig. 54 will be described. Referring to Fig. 54, rule 1 is that the future transmission rate TRS1_F of the communication device 10F is smaller than the encryption rate C1 of the cipher suite 1 of the communication device 10F, and the future transmission rate TRS1_F of the communication device 10F is smaller than the decryption rate E1 of the cipher suite 1 of the communication device 20F.
[0629] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0630] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”.N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0631] And, for rule N, no specific rule is set.
[0632] The encryption code selection rule table 15F-2 shown in FIG. 55 will be described. Referring to FIG. 55, rule 1 is that if the future reception rate TRS3'_F of the communication device 20F is rate-limiting, the future reception rate TRS3'_F is smaller than {[encryption rate C1 of cipher suite 1 of communication device 10F] and [decryption rate E1 of cipher suite 1 of communication device 20F]}, and if the future reception rate TRS3'_F is not rate-limiting and is rate-limiting, the future reception rate TRS4'_F of the communication device 20F is smaller than {[encryption rate C1 of cipher suite 1 of communication device 10F] and [decryption rate E1 of cipher suite 1 of communication device 20F]}, and if the future reception rate TRS3'_F, TRS4'_F is not rate-limiting, the future transmission rate TRS1_F is smaller than {[encryption rate C1 of cipher suite 1 of communication device 10F] and [decryption rate E1 of cipher suite 1 of communication device 20F]}.
[0633] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0634] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0635] And, for rule N, no specific rule is set.
[0636] In the encryption selection rule table 15F-2, the future reception rate TRS3'_F is determined to be the limiting factor when the future transmission rate TRS1_F is smaller than the current encryption rate of the communication device 10F and the future transmission rate TRS1_F is larger than the future reception rate TRS3'_F.
[0637] In addition, in the encryption selection rule table 15F-2, the future reception rate TRS4'_F is determined to be limiting when the future transmission rate TRS1_F is smaller than [the current encryption rate of communication device 10F and the current decryption rate of communication device 20F] and the future transmission rate TRS1_F is greater than the future reception rate TRS4'_F of communication device 20F.
[0638] This determination is made to determine whether the future receiving rate TRS4'_F is lower than the future transmitting rate TRS1_F when the rate is not limited by the encryption process.
[0639] The cipher selection rule table 15F-3 shown in Fig. 56 will be described. Referring to Fig. 56, rule 1 is that the future transmission rate TRS1'_F is smaller than the encryption rate C1 of the cipher suite 1 of the communication device 20F, and the future transmission rate TRS1'_F is smaller than the decryption rate E1 of the cipher suite 1 of the communication device 10F.
[0640] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0641] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0642] And, for rule N, no specific rule is set.
[0643] The encryption code selection rule table 15F-4 shown in FIG. 57 will be described. Referring to FIG. 57, rule 1 is that if the encryption processing is rate-limited by the future reception rate TRS3_F of the communication device 10F, the future reception rate TRS3_F is smaller than [encryption rate C1 of cipher suite 1 of the communication device 20F] and [decryption rate E1 of cipher suite 1 of the communication device 10F]; if the encryption processing is not rate-limited by the future reception rate TRS3_F of the communication device 20F and is rate-limited by the future reception rate TRS4_F of the communication device 10F, the future reception rate TRS4_F is smaller than [encryption rate C1 of cipher suite 1 of the communication device 20F] and [decryption rate E1 of cipher suite 1 of the communication device 10F]; and if the encryption processing is not rate-limited by the future reception rates TRS3_F and TRS4_F, the future transmission rate TRS1'_F of the communication device 20F is smaller than [encryption rate C1 of encryption suite 1 of the communication device 20F and decryption rate E1 of encryption suite 1 of the communication device 10F].
[0644] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0645] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0646] And, for rule N, no specific rule is set.
[0647] In the encryption selection rule table 15F-4, the future reception rate TRS3_F is determined to be the limiting factor when the future transmission rate TRS1'_F of the communication device 20F is smaller than the current encryption rate of the communication device 20F and the future transmission rate TRS1'_F is greater than the future reception rate TRS3_F of the communication device 10F.
[0648] In addition, in the encryption selection rule table 15F-4, the future reception rate TRS4_F is determined to be the limiting factor when the future transmission rate TRS1'_F is smaller than [the current encryption rate of the communication device 20F and the current decryption rate of the communication device 10F] and the future transmission rate TRS1'_F is greater than the future reception rate TRS4_F.
[0649] The cipher selection rule table 15F-5 shown in Fig. 58 will be described. Referring to Fig. 58, rule 1 is that the future transmission rate TRS1_F is smaller than the encryption rate C1 of cipher suite 1 of the communication device 10F and the decryption rate E1 of cipher suite 1 of the communication device 20F, and the future transmission rate TRS1'_F is smaller than the encryption rate C1 of cipher suite 1 of the communication device 20F and the decryption rate E1 of cipher suite 1 of the communication device 10F.
[0650] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0651] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0652] And, for rule N, no specific rule is set.
[0653] The cipher selection rule table 15F-6 shown in Fig. 59 will be described. Referring to Fig. 59, rule 1 states that if the encryption process is limited by the future reception rate TRS3'_F of the communication device 20F, the future reception rate TRS3'_F is smaller than [encryption rate C1 of cipher suite 1 of the communication device 10F] and [decryption rate E1 of cipher suite 1 of the communication device 20F], and if the encryption process is not limited by the future reception rate TRS3'_F of the communication device 20F and is limited by the future reception rate TRS4'_F of the communication device 20F, the future reception rate TRS4'_F is smaller than [encryption rate C1 of cipher suite 1 of the communication device 10F] and [decryption rate E1 of cipher suite 1 of the communication device 10F]. If the future transmission rate TRS1_F is smaller than [encryption rate C1 of encryption suite 1 of communication device 10F and decryption rate E1 of encryption suite 1 of communication device 20F] and is not limited by the future reception rates TRS3'_F, TRS4'_F, then the future transmission rate TRS1_F is smaller than [encryption rate C1 of encryption suite 1 of communication device 10F and decryption rate E1 of encryption suite 1 of communication device 20F] and the future transmission rate TRS1'_F is smaller than [encryption rate C1 of encryption suite 1 of communication device 20F and decryption rate E1 of encryption suite 1 of communication device 10F].
[0654] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0655] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0656] And, for rule N, no specific rule is set.
[0657] In the encryption selection rule table 15F-6, the future reception rate TRS3'_F is determined to be the limiting factor when the future transmission rate TRS1_F is smaller than the current encryption rate of the communication device 10F and the future transmission rate TRS1_F is smaller than the future reception rate TRS3'_F of the communication device 20F.
[0658] In addition, in the encryption selection rule table 15F-6, the future reception rate TRS4'_F is determined to be limiting when the future transmission rate TRS1_F is smaller than [the current encryption rate of the communication device 10F and the current decryption rate of the communication device 20F] and the future transmission rate TRS1_F is greater than the future reception rate TRS4'_F.
[0659] The cipher selection rule table 15F-7 shown in Fig. 60 will be described. Referring to Fig. 60, rule 1 states that if the encryption process is limited by the future reception rate TRS3_F of the communication device 10F, the future reception rate TRS3_F is smaller than [encryption rate C1 of cipher suite 1 of the communication device 20F] and [decryption rate E1 of cipher suite 1 of the communication device 10F], and the encryption process is not limited by the future reception rate TRS3_F, and if the encryption process is limited by the future reception rate TRS4_F of the communication device 10F, the future reception rate TRS4_F is smaller than [encryption rate C1 of cipher suite 1 of the communication device 20F] and If the future transmission rate TRS1_F is smaller than [encryption rate C1 of encryption suite 1 of communication device 10F and decryption rate E1 of encryption suite 1 of communication device 20F] and is not limited by the future reception rates TRS3_F, TRS4_F, then the future transmission rate TRS1_F is smaller than [encryption rate C1 of encryption suite 1 of communication device 10F and decryption rate E1 of encryption suite 1 of communication device 20F] and the future transmission rate TRS1'_F is smaller than [encryption rate C1 of encryption suite 1 of communication device 20F and decryption rate E1 of encryption suite 1 of communication device 10F].
[0660] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0661] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0662] And, for rule N, no specific rule is set.
[0663] In the encryption selection rule table 15F-7, the future reception rate TRS3_F is determined to be the limiting factor when the future transmission rate TRS1'_F is smaller than the current encryption rate of the communication device 20F and the future transmission rate TRS1'_F is larger than the future reception rate TRS3_F.
[0664] In addition, in the encryption selection rule table 15F-7, the future reception rate TRS4_F is determined to be limiting when the future transmission rate TRS1'_F is smaller than [the current encryption rate of the communication device 20F and the current decryption rate of the communication device 10F] and the future transmission rate TRS1'_F is greater than the future reception rate TRS4_F.
[0665] This determination is made to determine whether the future receiving rate TRS4_F is lower than the future transmitting rate TRS1_F when the rate is not limited by the encryption process.
[0666] The encryption key selection rule table 15F-8 shown in FIG. 61 will be described. Referring to FIG. 61, rule 1 states that if the encryption process is rate-determined by the future reception rate TRS3'_F of the communication device 20F, the future reception rate TRS3'_F is smaller than [encryption rate C1 of cipher suite 1 of communication device 10F] and [decryption rate E1 of cipher suite 1 of communication device 20F], and the encryption process is not rate-determined by the future reception rate TRS3'_F, and if the encryption process is rate-determined by the future reception rate TRS4'_F of the communication device 20F, the future reception rate TRS4'_F is smaller than [encryption rate C1 of cipher suite 1 of communication device 10F] and [decryption rate E1 of cipher suite 1 of communication device 20F], and the encryption process is not rate-determined by the future reception rate TRS3'_F, TRS4'_F, and if the encryption process is rate-determined by the future reception rate TRS3_F of the communication device 10F, the future reception rate TRS3_F is {[encryption rate C1 of encryption suite 1 of communication device 20F] and [decryption rate E1 of encryption suite 1 of communication device 10F]} If the future reception rate TRS4_F is smaller than {[encryption rate C1 of encryption suite 1 of communication device 10F] and [decryption rate E1 of encryption suite 1 of communication device 10F]} and is not rate-limited by the future reception rates TRS3'_F, TRS4'_F, TRS3_F but is rate-limited by the future reception rate TRS4_F of communication device 10F, then if the future reception rate TRS4_F is smaller than {[encryption rate C1 of encryption suite 1 of communication device 10F] and [decryption rate E1 of encryption suite 1 of communication device 20F]} and is not rate-limited by the future reception rates TRS3'_F, TRS4'_F, TRS3_F, TRS4_F, then the future transmission rate TRS1_F is smaller than {[encryption rate C1 of encryption suite 1 of communication device 10F] and [decryption rate E1 of encryption suite 1 of communication device 20F]} and the future transmission rate TRS1'_F is smaller than {[encryption rate C1 of encryption suite 1 of communication device 20F] and [decryption rate E1 of encryption suite 1 of communication device 10F]}.
[0667] Rule 2 is the same as rule 1, except that "Cipher Suite 1," "Encryption Speed C1," and "Decryption Speed E1" in the explanation of rule 1 are replaced with "Cipher Suite 2," "Encryption Speed C2," and "Decryption Speed E2," respectively.
[0668] Similarly, for rule N-1, “Cipher suite 1”, “encryption speed C1”, and “decryption speed E1” in the explanation of rule 1 are respectively changed to “Cipher suite N-1”, “encryption speed C1”, and “decryption speed E1”. N-1 " and "Decoding speed E N-1 " and the rest is the same as Rule 1.
[0669] And, for rule N, no specific rule is set.
[0670] In the encryption selection rule table 15F-8, the future reception rate TRS3'_F is determined to be the limiting factor when the future transmission rate TRS1_F is smaller than the current encryption rate of the communication device 10F and is greater than the future reception rate TRD3'_F.
[0671] In addition, in the encryption selection rule table 15F-8, the future reception rate TRS4'_F is determined to be limiting when the future transmission rate TRS1_F is smaller than [the current encryption rate of the communication device 10F and the current decryption rate of the communication device 20F] and the future transmission rate TRS1_F is greater than the future reception rate TRS4'_F.
[0672] Furthermore, in the encryption selection rule table 15F-8, the future reception rate TRS3_F is determined to be the limiting factor when the future transmission rate TRS1'_F is smaller than the current encryption rate of the communication device 20F and the future transmission rate TRS1'_F is larger than the future reception rate TRS3_F.
[0673] Furthermore, in the encryption selection rule table 15F-8, the future reception rate TRS4'_F is determined to be limiting because the future transmission rate TRS1'_F is smaller than [the current encryption rate of the communication device 20F and the current decryption rate of the communication device 10F] and the future transmission rate TRS1'_F is greater than the future reception rate TRS4'_F.
[0674] Fig. 62 is a flowchart for explaining the operation of the communication device 10F. The flowchart shown in Fig. 62 is the same as the flowchart shown in Fig. 46, except that step S8C of the flowchart shown in Fig. 46 is replaced with steps S8F and S8G.
[0675] 62, when the operation of the communication device 10F is started, the above-mentioned steps S1 to S7 and step S31 are sequentially executed.
[0676] In this case, in step S5, the communication device 10F communicates with the communication device 20F using the application 11. Also, in step S31, the quality monitor 13B receives the communication quality CM_QLT2 (=time series data TRS1'(t), time series data TRS2'(t), time series data TRS3'(t), and time series data TRS4'(t)) from the communication device 20F.
[0677] After step S31, the quality prediction unit 16B predicts future transmission rates TRS1'_F, TRS2'_F and future receiving rates TRS3'_F, TRS4'_F based on the time series data TRS1'(t), time series data TRS2'(t), time series data TRS3'(t), and time series data TRS4'(t) monitored in the communication device 10F, respectively, by the above-mentioned "method of predicting future communication quality" (= the flowchart shown in FIG. 22 (including the flowchart shown in FIG. 23)) (step S8F).
[0678] Then, the cipher selection unit 14E inquires of the quality prediction unit 16B about the communication quality, and selects a cipher suite based on the future communication quality obtained from the quality prediction unit 16B, the cipher selection rule table 15F (= any one of the cipher selection rule tables 15F-1 to 15F-8), and the encryption processing quality table (see FIG. 45) (step S8G).
[0679] Then, after step S8G, the above-mentioned steps S9, S10, S11, and S12 are executed in sequence, and after step S12, the operation of the communication device 10F proceeds to step S6. Thereafter, while the communication device 10F is operating, the above-mentioned steps S6, S7, S31, S8F, S8G, S9, S10, S11, and S12 are repeatedly executed.
[0680] In the flowchart shown in FIG. 62, the cipher suite selection unit 14E determines in step S9 whether the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12, and when it determines that the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12 (see "YES" in step S9), it executes step S10, and when it determines that the selected cipher suite is not different from the cipher suite used in the encryption / decryption unit 12 (see "NO" in step S9), the operation of the communication device 10F transitions to step S7, which corresponds to executing the above-mentioned "cipher suite selection process."
[0681] In this case, the cipher suite selected by cipher selection unit 14E constitutes the "first cipher suite", and the cipher suite used in encryption / decryption unit 12 constitutes the "second cipher suite".
[0682] According to the flowchart shown in FIG. 62, the cipher suite selection unit 14E of the communication device 10F selects a cipher suite based on the future transmission rates TRS1_F, TRS2_F and future reception rates TRS3_F, TRS4_F of the transmission rates TRS1, TRS2 and reception rates TRS3, TRS4 monitored in the communication device 10F, and the future transmission rates TRS1'_F, TRS2'_F and future reception rates TRS3'_F, TRS4'_F of the transmission rates TRS1', TRS2' and reception rates TRS3', TRS4' monitored in the communication device 20F (see step S8G).
[0683] Therefore, a cipher suite can be selected adaptively to the future communication quality of both the communication device 10F and the communication device 20F.
[0684] As a result, in both the communication device 10F and the communication device 20F, the cipher suite can be changed before the communication quality deteriorates.
[0685] The rest of the description of the flowchart shown in FIG. 62 is the same as the description of the flowchart shown in FIG.
[0686] FIG. 63 is a flowchart for explaining detailed operations of step S8G shown in FIG.
[0687] The flowchart shown in FIG. 63 is the same as the flowchart shown in FIG. 47, except that step S83C in the flowchart shown in FIG. 47 is replaced with step S83E.
[0688] 63, when the detailed operation of step S8G is started, after step S8F shown in FIG. 62, steps S81 and S82 described above are executed in sequence.
[0689] After step S82, the cipher selection unit 14E determines whether the future transmission rate TRS1_F of the communication device 10F satisfies the rule n in the cipher selection rule table 15F-1 (see FIG. 54) (step S83E).
[0690] If it is determined in step S83E that the future transmission rate TRS1_F does not satisfy the rule n, then step S84 described above is executed.
[0691] Thereafter, the detailed operation of step S8G proceeds to step S82.
[0692] On the other hand, when it is determined in step S83E that the future transmission rate TRS1_F satisfies the rule n, the above-mentioned step S85 is executed, and after step S85, the process proceeds to step S9 in FIG.
[0693] In the flowchart shown in FIG. 63, after step S81, in step S82, the cipher selection unit 14E selects rule 1 associated with priority 1 in the cipher selection rule table 15F-1, and in step S83E, the cipher selection unit 14E determines whether the future transmission rate TRS1_F satisfies rule 1.
[0694] Then, when it is determined in step S83E that the future transmission rate TRS1_F does not satisfy rule 1, the cipher selection unit 14E sets n=1+1=2 in step S84.
[0695] Thereafter, in step S82, the cipher suite selection unit 14E selects rule 2 associated with priority level 2 in the cipher suite selection rule table 15F, and in step S83E, the cipher suite selection unit 14E determines whether the future transmission rate TRS1_F satisfies rule 2 or not.
[0696] Then, when it is determined in step S83E that the future transmission rate TRS1_F does not satisfy rule 2, the cipher selection unit 14E sets n=2+1=3 in step S84.
[0697] Thereafter, for "n=3" to "n=N-2", if it is determined in step S83E that the future transmission rate TRS1_F does not satisfy rule 3 to rule N-2, the cipher selection unit 14E sets n=N-2+1=N-1 in step S84.
[0698] Then, in step S82, the cipher suite selection unit 14E selects the rule N-1 associated with the priority level N-1 in the cipher suite selection rule table 15F, and in step S83E, the cipher suite selection unit 14E determines whether the future transmission rate TRS1_F satisfies the rule N-1.
[0699] When it is determined in step S83E that the future transmission rate TRS1_F satisfies the rule N-1, the cipher suite selection unit 14E selects in step S85 the cipher suite N-1 associated with the rule N-1 in the cipher suite selection rule table 15F.
[0700] On the other hand, when it is determined in step S83E that the future transmission rate TRS1_F does not satisfy the rule N-1, the cipher selection unit 14E sets n=N-1+1=N in step S84.
[0701] Then, in step S82, the cipher suite selection unit 14E selects the rule N associated with the priority level N in the cipher suite selection rule table 15F-1, and in step S83E, determines whether the future transmission rate TRS1_F satisfies the rule N.
[0702] In this case, since no specific rule is set for rule N in the cipher suite selection rule table 15F-1 (see FIG. 54), the cipher suite selection unit 14E determines in step S83E that the future transmission rate TRS1_F satisfies rule N, and selects the cipher suite N associated with rule N in step S85.
[0703] In this way, the cipher suite selection unit 14E executes the flowchart shown in FIG. 63 to evaluate whether the future transmission rate TRS1_F satisfies the rule starting from the high priority condition (rule 1 associated with priority 1) in the cipher suite selection rule table 15F, and selects the cipher suite corresponding to the rule that first satisfied the condition.
[0704] The cipher suite selection unit 14E uses one of the cipher suite selection tables 15F-2 to 15F-8 (see FIGS. 54 to 61) instead of the cipher suite selection table 15F-1, and selects a cipher suite through the above-mentioned operation.
[0705] In this case, in step S83E of FIG. 63, the cipher suite selection unit 14E sequentially determines whether rules 1 to N in any one of the cipher suite selection rule tables 15F-2 to 15F-8 are satisfied, starting from rule 1, and selects the cipher suite associated with the rule that is determined to be satisfied.
[0706] In addition, in the cipher suite selection rule table 15F-1, the rules 1 to N-1 respectively indicate that the future transmission rate TRS1_F is the encryption rates C1 to C2 of the cipher suites 1 to N-1. N-1 The reason why the cipher suite selection rule is "smaller than" is the same as that explained in the above-mentioned cipher suite selection rule table 15-1.
[0707] In the sixth embodiment, the operation of the communication device 10F may be realized by software. In this case, the communication device 10F includes a CPU, a ROM, and a RAM. The ROM stores a program Prog_F consisting of the steps of the flowchart shown in FIG. 62 (including the flowchart shown in FIG. 63).
[0708] The CPU reads the program Prog_F from the ROM and executes the read program Prog_F to select a cipher suite based on both the future transmission rate TRS1_F of the communication device 10F and the future transmission rate TRS1'_F of the communication device 20F. The RAM temporarily stores the future transmission rate TRS1_F and the future transmission rate TRS1'_F.
[0709] The program Prog_F may be distributed in a form recorded on a recording medium such as a CD or a DVD. When the recording medium on which the program Prog_F is recorded is installed in a computer, the computer reads the program Prog_F from the recording medium, executes the program, and selects a cipher suite based on both the future transmission rate TRS1_F of the communication device 10F and the future transmission rate TRS1′_F of the communication device 20F.
[0710] Therefore, the recording medium on which the program Prog_F is recorded is a computer-readable recording medium.
[0711] In addition, when the operation of communication device 10F is realized by the CPU executing program Prog_F, the communication quality is not limited to the future transmission rate TRS1_F and the future transmission rate TRS1'_F, but any of the communication qualities described in cipher selection rule table 15F-2 (see Figure 55), cipher selection rule table 15F-3 (see Figure 56), cipher selection rule table 15F-4 (see Figure 57), cipher selection rule table 15F-5 (see Figure 58), cipher selection rule table 15F-6 (see Figure 59), cipher selection rule table 15F-7 (see Figure 60), and cipher selection rule table 15F-8 (see Figure 61) is used.
[0712] The rest of the description of the sixth embodiment is the same as the description of the first, second and fourth embodiments.
[0713] [Embodiment 7] Fig. 64 is a schematic diagram of the seventh embodiment of the communication device 10 shown in Fig. 2. The communication device 10G shown in Fig. 64 is the same as the communication device 10C shown in Fig. 30, except that the quality monitoring unit 13A of the communication device 10C shown in Fig. 30 is replaced with a quality monitoring unit 13C, the encryption cipher selection unit 14B of the communication device 10C shown in Fig. 30 is replaced with an encryption cipher selection rule table 14F, and the encryption cipher selection rule table 15C of the communication device 10C shown in Fig. 30 is replaced with an encryption cipher selection rule table 15G.
[0714] In the seventh embodiment, the communication device 20 shown in FIG. 2 is referred to as "communication device 20G."
[0715] With reference to FIG. 64, the quality monitoring unit 13C monitors S transmission rates TRS1_1 to TRS1_S which are the transmission rates when the application 11A transmits data to the S encryption / decryption units 12-1 to 12-S, respectively; S transmission rates TRS2_1 to TRS2_S which are the transmission rates in communication IF1_1 to communication IF1_S when the S encryption / decryption units 12-1 to 12-S transmit encrypted data via communication IF1_1 to communication IF1_S, respectively; S receiving rates TRS3_1 to TRS3_S which are the receiving rates when the S encryption / decryption units 12-1 to 12-S receive encrypted data via communication IF1_1 to communication IF1_S, respectively; and S receiving rates TRS4_1 to TRS4_S which are the receiving rates when the application 11A receives data from the S encryption / decryption units 12-1 to 12-S, respectively.
[0716] Here, S transmission rates TRS1_1 to TRS1_S, S transmission rates TRS2_1 to TRS2_S, S receiving rates TRS3_1 to TRS3_S, and S receiving rates TRS4_1 to TRS4_S configure communication quality CM_QLT3.
[0717] In addition, the quality monitoring unit 13C receives the transmission rates TRS1'_1 to TRS1'_S, TRS2'_1 to TRS2'_S and receiving rates TRS3'_1 to TRS3'_S, TRS4'_1 to TRS4'_S in the communication device 20G from the communication device 20G via a communication path to which tag #C1 has been assigned, and retains the received transmission rates TRS1'_1 to TRS1'_S, TRS2'_1 to TRS2'_S and receiving rates TRS3'_1 to TRS3'_S, TRS4'_1 to TRS4'_S.
[0718] Then, when the quality monitor 13C receives an inquiry about communication quality from the cipher selector 14F, it notifies the cipher selector 14F of the transmission rates TRS1_1 to TRS1_S, TRS2_1 to TRS2_S, TRS1'_1 to TRS1'_S, TRS2'_1 to TRS2'_S and the reception rates TRS3_1 to TRS3_S, TRS4_1 to TRS4_S, TRS3'_1 to TRS3'_S, TRS4'_1 to TRS4'_S to the cipher selector 14F.
[0719] The cipher selection unit 14F inquires of the quality monitoring unit 13C about the communication quality, and obtains the transmission rates TRS1_1 to TRS1_S, TRS2_1 to TRS2_S, TRS1'_1 to TRS1'_S, TRS2'_1 to TRS2'_S and the reception rates TRS3_1 to TRS3_S, TRS4_1 to TRS4_S, TRS3'_1 to TRS3'_S, TRS4'_1 to TRS4'_S from the quality monitoring unit 13C.
[0720] Then, the cipher selection unit 14F selects S cipher suites CRY_1_SLCT to CRY_S_SLCT based on the transmission rates TRS1_1 to TRS1_S, TRS2_1 to TRS2_S, TRS1'_1 to TRS1'_S, TRS2'_1 to TRS2'_S and the receiving rates TRS3_1 to TRS3_S, TRS4_1 to TRS4_S, TRS3'_1 to TRS3'_S, TRS4'_1 to TRS4'_S, the cipher selection rule table 15G and the encryption processing quality table (see FIG. 45), and transmits the S selected cipher suites CRY_1_SLCT to CRY_S_SLCT to the S encryption / decryption units 12-1 to 12-S, respectively.
[0721] Fig. 65 is a schematic diagram of the seventh embodiment of the communication device 20 shown in Fig. 2. Referring to Fig. 65, the communication device 20G in the seventh embodiment includes S encryption / decryption units 21-1 to 21-S, an application 22B, and a quality monitoring unit 23A.
[0722] The encryption / decryption unit 21-1 receives encrypted data from the communication device 10G via the communication IF 2_1. Then, the encryption / decryption unit 21-1 decrypts the encrypted data using the cipher suite, and outputs the decrypted data to the application 22B via the stream #1.
[0723] Furthermore, the encryption / decryption unit 21-1 receives data from the application 22B via the stream #1, encrypts the received data using the cipher suite, and transmits the encrypted data to the communication device 10G via the communication IF 2_1.
[0724] The encryption / decryption unit 21-2 receives encrypted data from the communication device 10G via the communication IF2_2. Then, the encryption / decryption unit 21-2 decrypts the encrypted data using the cipher suite, and outputs the decrypted data to the application 22B via the stream #2.
[0725] Furthermore, the encryption / decryption unit 21-2 receives data from the application 22B via the stream #2, encrypts the received data using the cipher suite, and transmits the encrypted data to the communication device 10G via the communication IF2_2.
[0726] Similarly, the encryption / decryption unit 21-S receives encrypted data from the communication device 10G via the communication IF2_S. Then, the encryption / decryption unit 21-S decrypts the encrypted data using the cipher suite and outputs the decrypted data to the application 22B via the stream #S.
[0727] Furthermore, the encryption / decryption unit 21-S receives data from the application 22B via the stream #S, and encrypts the received data using the cipher suite. Then, the encryption / decryption unit 21-S transmits the encrypted data to the communication device 10G via the communication IF2_S.
[0728] The application 22B outputs data 1 to S to the encryption / decryption units 21-1 to 21-S via streams #1 to #S, respectively. Also, the application 22B receives data 1 to S from the encryption / decryption unit 21-S via streams #1 to #S, respectively.
[0729] The quality monitoring unit 23A monitors S transmission rates TRS1'_1 to TRS1'_S, which are the transmission rates at which the application 22B transmits the data 1 to S to the encryption / decryption units 21-1 to 21-S, respectively.
[0730] In addition, the quality monitoring unit 23A monitors S transmission rates TRS2'_1 to TRS2'_S, which are the transmission rates in communication IF2_1 to communication IF2_S when the encryption / decryption units 21-1 to 21_S transmit S pieces of encrypted data to the communication device 10G via communication IF2_1 to communication IF2_S, respectively.
[0731] Furthermore, the quality monitoring unit 23A monitors S receiving rates TRS3'_1 to TRS3'_S, which are the receiving rates in communication IF2_1 to communication IF2_S when the encryption / decryption units 21-1 to 21_S receive S encrypted data from the communication device 10G via communication IF2_1 to communication IF2_S, respectively.
[0732] Furthermore, the quality monitoring unit 23A monitors S receiving rates TRS4'_1 to TRS4'_S which are the receiving rates at which the application 22B receives S pieces of data from the encryption / decryption units 21-1 to 21_S via stream #1 to stream #S, respectively.
[0733] As a result, the quality monitor 23A monitors S transmission rates TRS1'_1 to TRS1'_S, S transmission rates TRS2'_1 to TRS2'_S, S receiving rates TRS3'_1 to TRS3'_S, and S receiving rates TRS4'_1 to TRS4'_S.
[0734] Then, the quality monitor 23A generates communication quality CM_QLT4 including S transmission rates TRS1'_1 to TRS1'_S, S transmission rates TRS2'_1 to TRS2'_S, S receiving rates TRS3'_1 to TRS3'_S, and S receiving rates TRS4'_1 to TRS4'_S.
[0735] Then, the quality monitoring unit 23A generates quality information QLT_IF4=[#C1 / CM_QLT4] that associates the communication quality CM_QLT4 with the tag #C1, and transmits the generated quality information QLT_IF4=[#C1 / CM_QLT4] to the communication device 10G via the communication path to which the tag #C1 has been assigned.
[0736] Fig. 66 is a schematic diagram of the encryption code selection rule table 15G shown in Fig. 64. With reference to Fig. 66, the encryption code selection rule table 15G includes element tables G_1 to G_S.
[0737] The element tables G_1 to G_S correspond to the streams #1 to #S, respectively. The element tables G_1 to G_S include the rule tables R_1 to R_S, respectively. The rule tables R_1 to R_S correspond to the priorities 1 to N, respectively.
[0738] Fig. 67 is a schematic diagram of rule tables R_1 to R_S shown in Fig. 66. With reference to Fig. 67, rule table R_1 includes rules 1 to N associated with priorities 1 to N, respectively.
[0739] Rule 1 is that the transmission rate TRS1_1 of the communication device 10G is smaller than the encryption rate C1 of the cipher suite 1 of the communication device 10G and the decryption rate E1 of the cipher suite 1 of the communication device 20G.
[0740] Rule 2 is that the transmission rate TRS1_1 of the communication device 10G is smaller than the encryption rate C2 of the cipher suite 2 of the communication device 10G and the decryption rate E2 of the cipher suite 2 of the communication device 20G.
[0741] Similarly, the rule N-1 specifies that the transmission rate TRS1_1 of the communication device 10G is equal to the encryption rate C N-1 and the decryption speed E of the cipher suite N-1 of the communication device 20G N-1 It is smaller than that.
[0742] And, for rule N, no specific rule is set.
[0743] Rules 1 to N in the rule table R_1 are the same as rules 1 to N in the encryption code selection rule table 15D-1 shown in FIG.
[0744] Moreover, each of the rule tables R_2 to R_G has the same configuration as the rule table R_1.
[0745] Therefore, the encryption / decryption rule table 15G shown in FIG. 66 is configured by associating the encryption / decryption rule table 15D-1 shown in FIG. 37 with the S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S.
[0746] 66 may be configured by associating the cipher selection rule table 15D-2 shown in FIG. 38 with the S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S, the cipher selection rule table 15D-3 shown in FIG. 39 with the S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S, the cipher selection rule table 15D-4 shown in FIG. 40 with the S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S, or the cipher selection rule table 15D-5 shown in FIG. 41 with the S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S. 42 may be configured to correspond to S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S, or cipher selection rule table 15D-6 shown in FIG. 42 may be configured to correspond to S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S, or cipher selection rule table 15D-7 shown in FIG. 43 may be configured to correspond to S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S, or cipher selection rule table 15D-8 shown in FIG. 44 may be configured to correspond to S encryption / decryption units 12-1 to 12-S in the S streams #1 to #S.
[0747] Figures 68 and 69 are first and second flowcharts, respectively, for explaining the operation of the communication device 10G. The flowcharts shown in Figures 68 and 69 are the same as the flowchart shown in Figure 33, except that step S24 in the flowchart shown in Figure 33 is replaced with step S31A and step S8H.
[0748] 68, when the operation of the communication device 10G is started, the above-mentioned steps S1 to S5 are executed in sequence. In this case, in step S5, the communication device 10G executes communication with the communication device 20G by using the application 11A.
[0749] 69, after step S5 in FIG. 68, steps S21 to S23 described above are executed in sequence.
[0750] After step S23, the quality monitor 13C of the communication device 10G receives the communication quality CM_QLT4 from the communication device 20G via the communication path to which #C1 has been assigned (step S31A).
[0751] Thereafter, the cipher suite selection unit 14F of the communication device 10G inquires about the communication quality from the quality monitoring unit 13C, and selects a cipher suite based on the communication qualities CM_QLT3, CM_QLT4 obtained from the quality monitoring unit 13C, the cipher suite selection rule table 15G, and the cipher suite quality table (see FIG. 45) (step S8H).
[0752] Then, after step S8H, the above-mentioned steps S25 to S28 are executed in sequence, and then, when it is determined in step S29 that s is not equal to S, step S30 is executed, and then the operation of the communication device 10G proceeds to step S22.
[0753] Then, steps S22, S23, S31A, S8H, S25, S26, S27, and S28 are repeatedly executed until it is determined in step S29 that s=S.
[0754] If it is determined in step S29 that s=S, the operation of the communication device 10G proceeds to step S21. Thereafter, while the communication device 10G is operating, steps S21, S22, S23, S31A, S8H, and S25 to S30 are repeatedly executed.
[0755] In the flowcharts shown in Figures 68 and 69, the cipher suite selection unit 14F determines in step S25 whether the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12-s, and when it determines that the selected cipher suite is different from the cipher suite used in the encryption / decryption unit 12-s (see "YES" in step S25), it executes step S26.When it determines that the selected cipher suite is not different from the cipher suite used in the encryption / decryption unit 12-s (see "NO" in step S25), the operation of the communication device 10G transitions to step S23, which corresponds to executing the above-mentioned "cipher suite selection process."
[0756] In this case, the cipher suite selected by cipher selection unit 14F constitutes the "first cipher suite," and the cipher suite used in encryption / decryption unit 12-s constitutes the "second cipher suite."
[0757] In the flowcharts shown in FIGS. 68 and 69, step S25 is executed for all of streams 1 to S, so that the cipher suite selection unit 14F executes the above-mentioned "cipher suite selection process" S times.
[0758] According to the flowcharts shown in Figures 68 and 69, the cipher suite selection unit 14F of the communication device 10G selects a cipher suite (see step S8H) for all streams 1 to S using the transmission rates TRS1_s, TRS2_s and reception rates TRS3_s, TRS4_s monitored in the communication device 10G, and the transmission rates TRS1'_s, TRS2'_s and reception rates TRS3'_s, TRS4'_s monitored in the communication device 20G.
[0759] Therefore, for all of streams 1 to S, a cipher suite can be selected adaptively to the communication quality of both the communication device 10G and the communication device 20G.
[0760] The rest of the explanation of the flowcharts shown in FIGS. 68 and 69 is the same as the explanation of the flowchart shown in FIG.
[0761] Figure 70 is a flowchart for explaining the detailed operation of step S8H shown in Figure 69. The flowchart shown in Figure 70 is the same as the flowchart shown in Figure 52, except that step S82B in the flowchart shown in Figure 52 is changed to step S82C and step S83D in the flowchart shown in Figure 52 is changed to step S83F.
[0762] Referring to FIG. 70, the encryption / decryption selection unit 14F of the communication device 10G executes the above-mentioned step S81 after step S31A of FIG. 69, and then refers to the rule table R_s of the element table G_s of the encryption / decryption rule table 15G to select the rule n associated with the priority n (step S82C).
[0763] Then, the cipher selection unit 14F determines whether the transmission rate TRS1_s in the stream s satisfies the rule n (Step S83F).
[0764] When it is determined in step S83F that the transmission rate TRS1_s does not satisfy the rule n, the above-mentioned step S84 is executed, and thereafter, the detailed operation of step S8H proceeds to step S82C.
[0765] Thereafter, the operations of step S82C→step S83F→step S84 are repeatedly executed until it is determined in step S83F that the transmission rate TRS1_s satisfies the rule n.
[0766] Then, if it is determined in step S83F that the transmission rate TRS1_s satisfies the rule n, the above-mentioned step S85 is executed, and then the process proceeds to step S25 in FIG.
[0767] In the flowchart shown in FIG. 70, when s=1, after step S81, in step S82C, the cipher selection unit 14F refers to the rule table R_1 of the element table G_1 of the cipher sel...
Claims
1. A communication device that encrypts data and transmits the encrypted data to at least a destination communication device, the communication device comprising: a cipher suite selection unit that selects a cipher suite including a cryptographic algorithm and a key length, the cipher suite being sufficient information for establishing an encrypted communication path; an encryption / decryption unit that executes a transmission process for encrypting data received from an application using the cipher suite selected by the cipher suite selection unit and transmitting the encrypted data to the destination communication device, the cipher selection unit selects a first cipher suite from the multiple cipher suites, the first cipher suite satisfying the selection rule of the cipher selection rule table, based on a cipher selection rule table in which a plurality of the cipher suites are associated with a plurality of selection rules for selecting each of the multiple cipher suites, a cipher processing quality table indicative of processing quality using the cipher suites, and a selection communication quality, the selection communication quality being a communication quality in at least the destination communication device among the destination communication device and the destination communication device when the encrypted data is transmitted to the destination communication device and used for selecting the cipher suite; determines whether the selected first cipher suite is different from a second cipher suite used in the encryption / decryption unit; and, when it is determined that the first cipher suite is different from the second cipher suite, changes the second cipher suite to the first cipher suite in the encryption / decryption unit; and, when it is determined that the first cipher suite is the same as the second cipher suite, does not change the second cipher suite to the first cipher suite in the encryption / decryption unit; A communication device, wherein the encryption / decryption unit performs the transmission process using the first cipher suite when the cipher selection unit changes the second cipher suite to the first cipher suite, and performs the transmission process using the second cipher suite when the cipher selection unit does not change the second cipher suite to the first cipher suite.
2. a quality monitoring unit that monitors a first communication quality including a first transmission rate which is a transmission rate of the data when the application transmits the data to the encryption / decryption unit, a second transmission rate which is a transmission rate in the first communication interface when the encryption / decryption unit transmits the encrypted data, which is an encryption data of the data, to the destination communication device via the first communication interface which is a communication interface of the communication device, a first reception rate which is a reception rate in the first communication interface when the encryption / decryption unit receives the encrypted data from the destination communication device via the first communication interface, and a second reception rate which is a reception rate when the application receives the data decrypted by the encryption / decryption unit from the encryption / decryption unit, 2. The communication device according to claim 1, wherein the cipher selection unit receives the first communication quality from the quality monitoring unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first communication quality as the selection communication quality.
3. a quality prediction unit that receives the first communication quality from the quality monitoring unit and predicts a first future communication quality, which is a future communication quality in the communication device, based on the received first communication quality; 3. The communication device according to claim 2, wherein the cipher selection unit receives the first future communication quality from the quality prediction unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first future communication quality as the selection communication quality.
4. the quality monitoring unit receives, from the destination communication device, a second communication quality including the first transmission rate, the second transmission rate, the first reception rate, and the second reception rate monitored in the destination communication device; 3. The communication device according to claim 2, wherein the cipher selection unit receives the first and second communication qualities from the quality monitoring unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second communication qualities as the selection communication qualities.
5. a quality prediction unit that receives from the quality monitoring unit the first communication quality and a second communication quality including the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed monitored in the destination communication device, predicts a first future communication quality that is a future communication quality in the communication device based on the first communication quality, and predicts a second future communication quality that is a future communication quality in the destination communication device based on the second communication quality, 3. The communication device according to claim 2, wherein the cipher selection unit receives the first and second future communication qualities from the quality prediction unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second future communication qualities as the selection communication qualities.
6. 3. The communication device according to claim 2, wherein the cipher suite selection unit sets a cipher suite change prohibition period during which a change of the cipher suite is prohibited, and after the cipher suite change prohibition period ends, executes the cipher suite selection process based on the cipher suite selection rule table, the cipher processing quality table, and the first communication quality as the selection communication quality.
7. the encryption / decryption unit includes S encryption / decryption units for executing the transmission process on S pieces of data (S is an integer equal to or greater than 2) using S streams, the quality monitoring unit monitors the first communication qualities in an s-th (s is any one of 1 to S) stream as the s-th first communication quality for all of the S streams; and the cipher selection unit receives the S first communication qualities from the quality monitoring unit, and executes the cipher suite selection process for the s-th encryption / decryption unit using the s-th first communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 3. The communication device according to claim 2, wherein each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the encryption / decryption unit uses to transmit the encrypted data between itself and the destination communication device.
8. a quality prediction unit configured to predict S first future communication qualities, which are S future communication qualities in the S streams, based on the S first communication qualities in the S streams for transmitting S (S is an integer equal to or greater than 2) pieces of data to the destination communication device, the encryption / decryption unit includes S encryption / decryption units for performing the transmission process on the S data by using the S streams, respectively; the quality monitoring unit monitors the s-th first communication quality in the s-th (s is any one of 1 to S) stream for all of the S streams, thereby monitoring the S first communication qualities; the quality prediction unit receives the S first communication qualities from the quality monitoring unit, and predicts an s-th first future communication quality, which is a future communication quality of an s-th stream among the S streams, based on an s-th (s is any one of 1 to S) first communication quality included in the received S first communication qualities, for all of the S streams, thereby predicting the S first future communication qualities; the cipher selection unit receives the S first future communication qualities from the quality prediction unit, and executes the cipher suite selection process for the s-th encryption / decryption unit using the s-th first future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 3. The communication device according to claim 2, wherein each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the encryption / decryption unit uses to transmit the encrypted data between itself and the destination communication device.
9. the S second communication qualities in the S (S is an integer equal to or greater than 2) streams monitored in the destination communication device include the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed in an s-th (s is any one of 1 to S) stream in the destination communication device for the S streams; the encryption / decryption unit includes S encryption / decryption units that perform the transmission process using S streams for transmitting the S data items to the destination communication device, the quality monitoring unit monitors the first communication qualities in an s-th (s is any one of 1 to S) stream of the communication device for all of the S streams to monitor the S first communication qualities, and receives the S second communication qualities from the destination communication device; the cipher selection unit receives the S first communication qualities and the S second communication qualities from the quality monitoring unit, and executes the cipher suite selection process in an s-th encryption / decryption unit using the s-th first communication quality and the s-th second communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities and the S second communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 3. The communication device according to claim 2, wherein each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the encryption / decryption unit uses to transmit the encrypted data between itself and the destination communication device.
10. a quality prediction unit that predicts S first future communication qualities, which are S future communication qualities in the S streams, based on the S first communication qualities monitored in the communication device for S streams for transmitting S (S is an integer of 2 or more) pieces of data to the destination communication device, and predicts S second future communication qualities, which are S future communication qualities in the S streams, based on S second communication qualities, which are communication qualities transmitted from the destination communication device for the S streams, including the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed monitored in the destination communication device; the encryption / decryption unit includes S encryption / decryption units for performing the transmission process on the S data by using the S streams, respectively; the quality monitoring unit monitors the first communication qualities in an s-th stream (s is any one of 1 to S) for all of the S streams, and receives the second communication qualities from the destination communication device; the quality prediction unit receives the S first communication qualities and the second communication qualities from the quality monitoring unit, and predicts a first future communication quality, which is a future communication quality for an s-th stream among the S streams, using an s-th first communication quality included in the S first communication qualities based on the S first communication qualities, for all of the S streams to predict the S first future communication qualities; and predicts a second future communication quality, which is a future communication quality for an s-th stream among the S streams, using an s-th second communication quality included in the S second communication qualities based on the S second communication qualities, for all of the S streams to predict the S second future communication qualities; the cipher selection unit receives the S first future communication qualities and the S second future communication qualities from the quality prediction unit, and executes the cipher suite selection process in an s-th encryption / decryption unit using the s-th first future communication quality and the s-th second future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities and the S second future communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 3. The communication device according to claim 2, wherein each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the encryption / decryption unit uses to transmit the encrypted data between itself and the destination communication device.
11. 11. The communication device according to claim 7, wherein the cipher selection unit sets a cipher change prohibition period during which a change of the cipher suite is prohibited for the s-th stream, and after the cipher change prohibition period ends, executes the cipher suite selection process for all of the S encryption / decryption units based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities as the selection communication qualities, or the S first communication qualities and the S second current qualities as the selection communication qualities, or the S first future communication qualities as the selection communication qualities, or the S first future communication qualities and the S second future communication qualities as the selection communication qualities.
12. the cipher suite selection rule table has a configuration in which a plurality of priorities representing priorities of the plurality of selection rules are associated with each other, and the plurality of cipher suites are associated with the plurality of selection rules; 11. The communication device according to claim 2 , wherein the cipher selection unit evaluates, in order of priority, whether or not the first communication quality as the selection communication quality, or the first future communication quality as the selection communication quality, or the first and second communication qualities as the selection communication qualities, or the first and second future communication qualities as the selection communication qualities, or the S first communication qualities as the selection communication qualities, or the S first future communication qualities as the selection communication qualities, or the S first future communication qualities and the S second future communication qualities as the selection communication qualities satisfy the selection rule, and selects a cipher suite associated with the selection rule that is first satisfied.
13. The communication device according to claim 2 , wherein the encryption key selection rule table is changed at a desired timing.
14. A program for causing a computer to execute a process of transmitting encrypted data, which is generated by a source communication device, to at least a destination communication device, the encrypted data being encrypted by a source communication device, the encrypted data being transmitted between the source communication device and the destination communication device, the program comprising: A first step in which a cipher suite selection unit selects a cipher suite including a cryptographic algorithm and a key length, and which is sufficient information for establishing an encrypted communication path; a second step of executing a transmission process in which the encryption / decryption unit encrypts data received from an application using the cipher suite selected by the cipher selection unit and transmits the encrypted data to the destination communication device; the cipher selection unit, in the first step, executes a cipher suite selection process in which a first cipher suite whose selection communication quality satisfies the selection rule of the cipher selection rule table is selected from the multiple cipher suites based on a cipher selection rule table in which a plurality of the cipher suites are associated with a plurality of selection rules for selecting each of the multiple cipher suites, a cipher processing quality table indicative of processing quality using the cipher suites, and a selection communication quality which is a communication quality in at least the destination communication device among the destination communication device and the destination communication device when the encrypted data is transmitted to the destination communication device and is used for selecting the cipher suite, determines whether the selected first cipher suite is different from a second cipher suite used in the encryption / decryption unit, and changes the second cipher suite to the first cipher suite in the encryption / decryption unit when it is determined that the first cipher suite is different from the second cipher suite, and does not change the second cipher suite to the first cipher suite in the encryption / decryption unit when it is determined that the first cipher suite is the same as the second cipher suite; A program to be executed by a computer, wherein in the second step, the encryption / decryption unit performs the transmission process using the first cipher suite when the cipher selection unit changes the second cipher suite to the first cipher suite, and performs the transmission process using the second cipher suite when the cipher selection unit does not change the second cipher suite to the first cipher suite.
15. a third step in which the quality monitoring unit monitors a first communication quality including a first transmission rate, which is a transmission rate of the data when the application transmits the data to the encryption / decryption unit, a second transmission rate, which is a transmission rate in the first communication interface when the encryption / decryption unit transmits the encrypted data, which is the data encrypted by the encryption / decryption unit, to the destination communication device via the first communication interface, which is a communication interface of the communication device, a first reception rate, which is a reception rate in the first communication interface when the encryption / decryption unit receives the encrypted data from the destination communication device via the first communication interface, and a second reception rate, which is a reception rate when the application receives the data decrypted by the encryption / decryption unit from the encryption / decryption unit, 15. The program for causing a computer to execute the program according to claim 14, wherein in the first step, the cipher selection unit receives the first communication quality from the quality monitoring unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first communication quality as the selection communication quality.
16. a fourth step in which a quality prediction unit receives the first communication quality from the quality monitoring unit and predicts a first future communication quality, which is a future communication quality in the communication device, based on the received first communication quality; 16. The program for causing a computer to execute the program according to claim 15, wherein in the first step, the cipher selection unit receives the first future communication quality from the quality prediction unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first future communication quality as the selection communication quality.
17. a third step in which a quality monitoring unit receives, from the destination communication device, a second communication quality including the first transmission rate, the second transmission rate, the first reception rate, and the second reception rate monitored in the destination communication device; 16. The program for causing a computer to execute the program according to claim 15, wherein in the first step, the cipher selection unit receives the first communication quality and the second communication quality from the quality monitoring unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second communication qualities as the selection communication qualities.
18. a quality prediction unit receives from the quality monitoring unit the first communication quality and a second communication quality including the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed monitored in the destination communication device, predicts a first future communication quality which is a future communication quality in the communication device based on the first communication quality, and predicts a second future communication quality which is a future communication quality in the destination communication device based on the second communication quality, 16. The program for causing a computer to execute the program according to claim 15, wherein in the first step, the cipher selection unit receives the first and second future communication qualities from the quality prediction unit, and executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first and second future communication qualities as the selection communication qualities.
19. 16. The program for causing a computer to execute the program according to claim 15, wherein the cipher selection unit, in the first step, sets a cipher change prohibition period during which a change of the cipher suite is prohibited, and after the cipher change prohibition period ends, executes the cipher suite selection process based on the cipher selection rule table, the cipher processing quality table, and the first communication quality as the selection communication quality.
20. the encryption / decryption unit includes S encryption / decryption units for executing the transmission process on S pieces of data (S is an integer equal to or greater than 2) using S streams, the quality monitoring unit, in the third step, monitors the first communication quality in an s-th stream (s is any one of 1 to S) as the s-th first communication quality for all of the S streams, thereby monitoring the S first communication qualities; the cipher selection unit, in the first step, receives the S first communication qualities from the quality monitoring unit, and executes the cipher suite selection process for the s-th encryption / decryption unit using the s-th first communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 16. A program for causing a computer to execute the program described in claim 15, wherein, in the second step, each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the S encryption / decryption units use to transmit the encrypted data between the S encryption / decryption units and the destination communication device.
21. the encryption / decryption unit includes S encryption / decryption units for performing the transmission process on S (S is an integer equal to or greater than 2) pieces of data using the S streams, a fourth step in which a quality prediction unit predicts S first future communication qualities, which are S future communication qualities in the S streams, based on the S first communication qualities in the S streams for transmitting the S data to the destination communication device, the quality monitoring unit, in the third step, monitors the s-th first communication quality in the s-th stream (s is any one of 1 to S) for all of the S streams to monitor the S first communication qualities; In the fourth step, the quality prediction unit receives the S first communication qualities from the quality monitoring unit, and predicts an s-th first future communication quality, which is a future communication quality of an s-th stream among the S streams, based on an s-th (s is any one of 1 to S) first communication quality included in the received S first communication qualities, for all of the S streams, thereby predicting the S first future communication qualities; the cipher selection unit, in the first step, receives the S first future communication qualities from the quality prediction unit, and executes the cipher suite selection process for the s-th encryption / decryption unit using the s-th first future communication quality based on the cipher selection rule table, the cipher processing quality table, and the S first future communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 16. A program for causing a computer to execute the program described in claim 15, wherein, in the second step, each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the S encryption / decryption units use to transmit the encrypted data between the S encryption / decryption units and the destination communication device.
22. the S second communication qualities in the S (S is an integer equal to or greater than 2) streams monitored in the destination communication device include the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed in an s-th (s is any one of 1 to S) stream in the destination communication device for the S streams; the encryption / decryption unit includes S encryption / decryption units that perform the transmission process using S streams for transmitting the S data items to the destination communication device, the quality monitoring unit, in the third step, monitors the first communication quality in an s-th (s is any one of 1 to S) stream of the communication device for all of the S streams to monitor the S first communication qualities, and receives the S second communication qualities from the destination communication device; the cipher selection unit, in the first step, receives the S first communication qualities and the S second communication qualities from the quality monitoring unit, and executes the cipher suite selection process in an s-th encryption / decryption unit using the s-th first communication quality and the s-th second communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities and the S second communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 16. A program for causing a computer to execute the program described in claim 15, wherein, in the second step, each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the S encryption / decryption units use to transmit the encrypted data between the S encryption / decryption units and the destination communication device.
23. the encryption / decryption unit includes S encryption / decryption units for performing the transmission process on S (S is an integer equal to or greater than 2) pieces of data using the S streams, a fourth step in which a quality prediction unit predicts S first future communication qualities which are S future communication qualities in the S streams based on the S first communication qualities monitored by the communication device in the S streams for transmitting the S data to the destination communication device, and predicts S second future communication qualities which are S future communication qualities in the S streams based on S second communication qualities which are communication qualities transmitted from the destination communication device for the S streams, the second communication qualities including the first transmission speed, the second transmission speed, the first reception speed, and the second reception speed monitored in the destination communication device; the quality monitoring unit, in the third step, monitors the first communication quality in an s-th stream (s is any one of 1 to S) for all of the S streams to monitor the S first communication qualities, and receives the second communication quality from the destination communication device; In the fourth step, the quality prediction unit receives the S first communication qualities and the second communication qualities from the quality monitoring unit, and predicts a first future communication quality that is a future communication quality for an s-th stream among the S streams using an s-th first communication quality included in the S first communication qualities based on the S first communication qualities, for all of the S streams to predict the S first future communication qualities, and predicts a second future communication quality that is a future communication quality for an s-th stream among the S streams using an s-th second communication quality included in the S second communication qualities based on the S second communication qualities, for all of the S streams to predict the S second future communication qualities; in the first step, the cipher selection unit receives the S first future communication qualities and the S second future communication qualities from the quality prediction unit, and executes the cipher suite selection process in an s-th encryption / decryption unit using the s-th first future communication quality and the s-th second future communication quality based on the cipher selection rule table, the encryption processing quality table, and the S first future communication qualities and the S second future communication qualities as the selection communication qualities, for all of the S encryption / decryption units; 16. A program for causing a computer to execute the program described in claim 15, wherein, in the second step, each of the S encryption / decryption units performs the transmission process using the first cipher suite or the second cipher suite in a stream that the S encryption / decryption units use to transmit the encrypted data between the S encryption / decryption units and the destination communication device.
24. 24. The program for causing a computer to execute the program according to claim 20, wherein, in the first step, the cipher selection unit sets a cipher change prohibition period during which a change of the cipher suite is prohibited for the s-th stream, and after the cipher change prohibition period ends, executes the cipher suite selection process for all of the S encryption / decryption units based on the cipher selection rule table, the encryption processing quality table, and the S first communication qualities as the selection communication qualities, or the S first communication qualities and the S second current qualities as the selection communication qualities, or the S first future communication qualities as the selection communication qualities, or the S first future communication qualities and the S second future communication qualities as the selection communication qualities.
25. the cipher suite selection rule table has a configuration in which a plurality of priorities representing priorities of the plurality of selection rules are associated with each other, and the plurality of cipher suites are associated with the plurality of selection rules; 24. The program for causing a computer to execute the program according to claim 15, wherein in the first step, the cipher selection unit evaluates in order of priority whether or not the first communication quality as the selection communication quality, or the first future communication quality as the selection communication quality, or the first and second communication qualities as the selection communication qualities, or the first and second future communication qualities as the selection communication qualities, or the S first communication qualities as the selection communication qualities, or the S first future communication qualities as the selection communication qualities, or the S first future communication qualities and the S second future communication qualities as the selection communication qualities satisfy the selection rule, and selects a cipher suite associated with the selection rule that is first satisfied.
26. 24. The program for causing a computer to execute the program according to claim 15, wherein the encryption key selection rule table in the source communication device is changed at a desired timing.
Citation Information
Patent Citations
Communication equipment
JP2004064652A
Apparatus and program for selecting encryption module
JP2009089045A
Information processing device, program, and recording medium
JP2013258566A
Dynamic cryptography change system
JP2014045237A
