COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM

The communication device manages transmission queues by deleting unsent packets and adjusting connections to ensure timely transmission of new data, addressing delays caused by unsent packets.

JP7536567B2Active Publication Date: 2024-08-20CANON KK
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2020152248
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-09-10
Publication Date
2024-08-20
Estimated Expiration
2040-09-10

AI Technical Summary

Technical Problem

Existing communication devices face delays in starting new data transmission due to unsent packets remaining in the transmission queue, leading to incomplete transmission of new data.

Method used

A communication device with a transmission queue management system that determines whether to delete unsent packets and promptly transmit new data by maintaining or adjusting communication connections based on threshold conditions.

Benefits of technology

Enables prompt transmission of new data even when unsent packets are present, ensuring timely data delivery and reducing transmission delays.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007536567000002
    Figure 0007536567000002
  • Figure 0007536567000005
    Figure 0007536567000005
  • Figure 0007536567000004
    Figure 0007536567000004
Patent Text Reader

Abstract

To enable the prompt transmission of a packet related to newly created data even when a non-transmission packet exists in a transmission queue in a communication device that manages a transmission packet using the transmission queue.SOLUTION: A communication device determines whether to delete a non-transmission packet stored in a transmission queue from the transmission queue when new data to be transmitted to another communication device is generated, and deletes the non-transmission packet stored in the transmission queue and sends the transmission packet related to the new data to the other communication device while maintaining the communication connection with the other communication device when it is determined to delete the non-transmission packet.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device that manages transmission packets using a transmission queue. [Background technology]

[0002] A communication device has been proposed that manages transmission packets in a transmission queue before transmitting them to a network. In such a communication device, there is a possibility that unsent packets may accumulate in the transmission queue. As a method for resolving the accumulation in the transmission queue, a method has been considered in which data transmission is temporarily stopped while maintaining a communication connection with a remote device, and data transmission is then resumed after the cause of the accumulation in the transmission queue is resolved (Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 9-200290 Summary of the Invention [Problem to be solved by the invention]

[0004] However, the method of Patent Document 1 has a problem that when a communication device creates and transmits new transmission data, the transmission of the newly created data cannot begin until the transmission of unsent packets that have accumulated in the transmission queue is completed, resulting in a delay.

[0005] In view of the above problem, an object of the present invention is to enable a packet relating to newly created data to be transmitted promptly even when a packet not yet transmitted exists in a transmission queue. [Means for solving the problem]

[0006] The present invention is a communication device comprising: a transmission queue for storing transmission packets to be transmitted to another communication device via a communication connection with the other communication device; a determination means for determining, when new data to be transmitted to the other communication device is generated, whether to delete from the transmission queue an untransmitted packet that is the transmission packet stored in the transmission queue and has not been transmitted to the other communication device; a deletion means for deleting the untransmitted packet stored in the transmission queue while maintaining the communication connection when it is determined by the determination means that the untransmitted packet should be deleted; and a transmission means for transmitting a transmission packet related to the new data to the other communication device via the communication connection when the deletion means has deleted the untransmitted packet. When a transmission rate of the communication through the communication connection falls below a first threshold, the determination is made by the determination means. R Characterized by . Effect of the Invention

[0007] According to the present invention, even if there are unsent packets in the transmission queue, packets relating to newly created data can be sent promptly. [Brief description of the drawings]

[0008] [Figure 1] FIG. 2 shows a hardware configuration of a communication device 10. [Diagram 2] FIG. 2 is a diagram showing the software configuration of the communication device 10. [Diagram 3] 3 is a flowchart realized by the communication device 10 according to the first embodiment. [Figure 4] 10 is a flowchart realized by a communication device 10 according to a second embodiment. [Diagram 5] 11 is a flowchart realized by a communication device 10 according to a third embodiment. [Figure 6] 10 is a flowchart realized by a communication device 10 according to a fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] (Embodiment 1) 1 shows a hardware configuration of a communication device 10. The communication device 10 includes a RAM 101, a ROM 102, a CPU 103, a timer management unit 104, a media access control module (MAC) 105, a physical layer module (PHY) 106, and an antenna 107. Here, RAM stands for Random Access Memory, ROM stands for Read Only Memory, and CPU stands for Central Processing Unit. Note that the communication device 10 may include only some of the above modules.

[0010] The RAM 101 temporarily stores programs and data. A portion of the memory area of ​​the RAM 101 is used as a transmission queue 110. The ROM 102 stores computer programs that do not require modification and perform various operations described below, as well as various information such as communication parameters for wireless communication. The CPU 103 controls the entire communication device 10. The CPU 103 uses the RAM 101, which is the main memory, as a working memory to execute various programs stored in the ROM 102 or a storage medium in a program storage unit such as a HDD (not shown). The CPU 103 has one or more processors or cores.

[0011] A timer management unit 104 manages the passage of time for program processing, etc. A MAC 105 and a PHY 106 are communication units that perform communication via a network such as a wireless LAN (Local Area Network) using an antenna 107. A CPU 103 executes a network driver and controls the MAC 105 to transmit and receive data.

[0012] Specific examples of the communication device 10 include a sensor device, a digital camera, a digital video camera, a mobile phone, a smartphone, a PC, a notebook PC, a server, etc. The communication device 10 communicates via a wireless LAN (Local Area Network) conforming to the IEEE802.11 series standard, but is not limited thereto and may communicate using other wireless communication functions. A wired LAN communication function such as Ethernet, or a combination of a wireless LAN communication function and a wired LAN communication function may also be used. IEEE is an abbreviation for the Institute of Electrical and Electronics Engineers.

[0013] 2 shows software function blocks realized by the CPU 103 of the communication device 10 reading out a program stored in the ROM 102. At least a part of the software function blocks shown in FIG. 2 may be realized by hardware. When realized by hardware, for example, a specific compiler may be used to generate a dedicated circuit on an FPGA from a program for realizing each functional block, and this may be used as a hardware module having the function of the software module. FPGA is an abbreviation for Field Programmable Gate Array. Also, a gate array circuit may be formed in the same manner as an FPGA, and realized as hardware.

[0014] The communication device 10 includes a control unit 201, a LAN communication control unit 202, a storage control unit 203, a TCP / IP communication control unit 204, a data transmission control unit 205, a transmission queue flush unit 206, and a transmission queue flush determination unit 207. Note that the communication device 10 may be configured to include only some of the above modules.

[0015] The control unit 201 controls each of the functional modules included in the communication device 10. An application uses each of the functional modules via the control unit 201.

[0016] The LAN communication control unit 202 controls the MAC 105 to control LAN communication with other communication devices. When the communication device 10 connects to other communication devices via an external wireless access point (not shown), the LAN communication control unit 202 controls the MAC 105 to control wireless LAN communication with the wireless access point. However, the LAN communication control unit 202 may use other communication methods such as a wired LAN communication function.

[0017] The storage control unit 203 controls the RAM 101 and the ROM 102 to store or delete data such as processing data, image content, video content, etc. Note that, although an example in which the RAM 101 and the ROM 102 are used is shown in this embodiment, the present invention is not limited to this, and other storage units such as an auxiliary storage device may be used.

[0018] The TCP / IP communication control unit 204 performs TCP / IP communication protocol processing and communication control with other communication devices using the LAN communication control unit 202. Note that the TCP / IP communication control unit 204 is not limited to TCP / IP communication, and may perform a transmission method that manages transmission packets using the transmission queue 110, such as UDP communication.

[0019] The data transmission control unit 205 uses the transmission queue 110 to manage transmission packets and control data transmission. The data transmission control unit 205 controls the start / maintenance / end of communication connection, the start / stop / resume / retransmission / end of transmission packets managed by the transmission queue 110, and the transmission of newly created data. The newly created data does not mean the same data as the data being transmitted, but refers to newly created data with the intention of discarding the data being transmitted. The transmission queue 110 manages untransmitted packets, but in the case of a communication method that waits for an acknowledgment response, it may also manage transmitted packets for which an acknowledgment response has not been received. The data transmission control unit 205 is used by either the LAN communication control unit 202 or the TCP / IP communication control unit 204, or both.

[0020] The transmission queue flush unit 206 deletes transmission packets managed by the data transmission control unit 205 in the transmission queue 110. Here, the transmission queue flush unit 206 may delete the transmission packets by overwriting a predetermined value in the memory area of ​​the portion of the transmission queue 110 where the transmission packets are stored. The transmission queue flush unit 206 may also delete the transmission packets by setting a deletion flag to make it possible to write other information in the portion of the transmission queue 110 where the transmission packets are stored. The transmission queue flush unit 206 is used by the data transmission control unit 205.

[0021] The transmission queue flush determination unit 207 determines whether or not the data transmission control unit 205 should delete a transmission packet managed by the transmission queue 110. The transmission queue flush determination unit 207 is used by the data transmission control unit 205.

[0022] Fig. 3 is a data transmission flowchart showing a procedure for determining whether to delete unsent packets remaining in the transmission queue 110 when the communication device 10 transmits new data that has been recreated while maintaining a communication connection. The flowchart shown in Fig. 3 is implemented by the CPU 103 of the communication device 10 reading and executing a program stored in the ROM 102. Some or all of the steps shown in the flowchart in Fig. 3 may be implemented by hardware such as an ASIC. Here, ASIC is an abbreviation for Application Specific Integrated Circuit.

[0023] It should be noted that there is a possibility that untransmitted packets may be accumulated in the transmission queue 110 in the following cases. First, when the communication performance of the network interface is degraded due to a disturbance, untransmitted packets may be accumulated in the transmission queue 110. Second, when the reception processing capability of the other device is degraded, untransmitted packets may be accumulated in the transmission queue 110 in the transmitting communication device 10. Third, when an offload processing unit (not shown) is employed in the communication device 10, the efficiency of the generation processing of transmission packets is improved, and thus untransmitted packets may be accumulated in the transmission queue 110. The offload processing unit is a processing unit that takes over part of the communication protocol processing executed by the CPU in order to reduce the load on the CPU during transmission processing.

[0024] First, in S301, the TCP / IP communication control unit 204 of the communication device 10 starts a communication connection using the data transmission control unit 205. Then, the transmission queue 110 is used to manage transmission packets and transmit data to a partner device via the communication connection. Also, the LAN communication control unit 202 used by the TCP / IP communication control unit 204 of the communication device 10 may use the data transmission control unit 205 to manage transmission packets using the transmission queue 110 and transmit data.

[0025] In S302, the data transmission control unit 205 of the communication device 10 determines whether to maintain the communication connection and whether to regenerate and transmit new data. If the communication connection is maintained and new data is regenerated and transmitted (YES in S302), the process proceeds to S303, and if the communication connection is not maintained or new data is not regenerated and transmitted (NO in S302), the process proceeds to S307. Maintaining the communication connection and regenerating and transmitting new data are performed according to a user operation or an instruction from an application.

[0026] In S303, the data transmission control unit 205 of the communication device 10 checks the data transmission status. Specifically, the data transmission control unit 205 checks the remaining amount of data to be transmitted, the transmission rate of the communication method controlled by the LAN communication control unit 202, and the like.

[0027] In S304, the transmission queue flush determination unit 207 of the communication device 10 determines whether or not it is necessary to transmit the untransmitted packets remaining in the transmission queue 110 managed by the data transmission control unit 205. If it is necessary to transmit the untransmitted packets remaining in the transmission queue 110 (YES in S304), the process proceeds to S305, and if it is necessary to transmit the untransmitted packets remaining in the transmission queue 110 (NO in S304), the process proceeds to S306. The condition for determining that it is unnecessary to transmit the untransmitted packets remaining in the transmission queue 110 is, for example, a user operation or an instruction from an application. Alternatively, the remaining amount of data to be transmitted by the data transmission control unit 205 confirmed in S303 is equal to or greater than a threshold. Alternatively, the transmission rate of the communication method controlled by the LAN communication control unit 202 confirmed in S303 is less than a threshold, that is, a predetermined time has elapsed in a state where it is below a predetermined threshold. Alternatively, data transmission to the other device has not been performed for a predetermined time (which may be a time different from the above-mentioned predetermined time). Alternatively, a combination of these may be used as a condition.

[0028] In S305 , the data transmission control unit 205 of the communication device 10 uses the transmission queue flush unit 206 to delete unsent packets remaining in the transmission queue 110 .

[0029] In S306, the TCP / IP communication control unit 204 of the communication device 10 uses the data transmission control unit 205 to create and transmit new data while maintaining the communication connection.

[0030] In S307, the data transmission control unit 205 of the communication device 10 continues transmitting the transmission packets in the transmission queue 110.

[0031] As described above, when the data transmission control unit 205 of the communication device 10 regenerates and transmits new data while maintaining the communication connection, it deletes unsent packets that are accumulated in the transmission queue 110. As a result, the regenerated new data can be transmitted promptly.

[0032] As described above, even if an application re-creates and transmits transmission data while maintaining a communication connection, the re-created data can be sent quickly by deleting unsent packets that have accumulated in the transmission queue 110.

[0033] (Embodiment 2) In the second embodiment, a case will be described in which the communication device 10 determines whether to flush the transmission queue 110 when the communication device 10 stops transmission while maintaining a communication connection. Note that the hardware configuration and software configuration of the communication device 10 in the second embodiment are the same as those in the first embodiment. In the following description, the same parts as those in the first embodiment will not be described.

[0034] Fig. 4 is a data transmission flowchart showing a procedure for determining whether to delete untransmitted packets remaining in the transmission queue 110 when the communication device 10 stops transmission while maintaining a communication connection. The flowchart shown in Fig. 4 is realized by the CPU 103 of the communication device 10 reading and executing a program stored in the ROM 102. Some or all of the steps shown in the flowchart in Fig. 4 may be realized by hardware such as an ASIC.

[0035] S401 is similar to S301.

[0036] In S402, the data transmission control unit 205 of the communication device 10 determines whether to maintain the communication connection and whether to stop the data transmission. If the data transmission is to be stopped while maintaining the communication connection (YES in S402), the process proceeds to S403, and if the communication connection is not to be maintained or the data transmission is not to be stopped (NO in S402), the process proceeds to S406. The communication connection is maintained and the data transmission is stopped according to a user operation or an instruction from an application.

[0037] S403 is similar to S303.

[0038] In S404, the transmission queue flush determination unit 207 of the communication device 10 determines whether or not it is necessary to transmit the unsent packets remaining in the transmission queue 110 managed by the data transmission control unit 205. If it is necessary to transmit the unsent packets remaining in the transmission queue 110 (YES in S404), the process proceeds to S405, and if it is necessary to transmit the unsent packets remaining in the transmission queue 110 (NO in S404), the process proceeds to S406. The conditions for determining that it is necessary to transmit the unsent packets remaining in the transmission queue 110 include a user operation or an instruction from an application, and the remaining amount of data to be transmitted by the data transmission control unit 205 confirmed in S403 being less than a threshold. S405 is the same as S305. S406 is the same as S307.

[0039] In this way, when the data transmission control unit 205 of the communication device 10 stops data transmission while maintaining the communication connection, it uses the transmission queue flush unit 206 to delete unsent packets that are retained in the transmission queue 110 managed by the data transmission control unit 205. As a result, the next transmission process can be performed promptly.

[0040] (Embodiment 3) In the third embodiment, a case will be described in which the communication device 10 transmits unsent packets that are accumulated in the transmission queue 110 without creating new data.

[0041] The communication process according to the third embodiment of the present invention will be described below. Note that the hardware configuration and software configuration of the communication device 10 in the second embodiment are also the same as those in the first embodiment.

[0042] Fig. 5 is a flowchart showing a procedure for transmitting unsent packets remaining in the transmission queue 110 and not transmitting the new data when the communication device 10 regenerates and transmits new data while maintaining a communication connection. The flowchart shown in Fig. 5 is realized by the CPU 103 of the communication device 10 reading and executing a program stored in the ROM 102. Some or all of the steps shown in the flowchart in Fig. 5 may be realized by hardware such as an ASIC.

[0043] S501 to S505 are the same as S301 to S305.

[0044] In S506, the data transmission control unit 205 of the communication device 10 judges whether or not to start transmitting new data. If the transmission of new data is to be started (YES in S506), the process proceeds to S507. If the transmission of new data is not to be started (NO in S506), the process proceeds to S508. The decision not to start transmitting new data is made under the following conditions. If it is determined in S504 that the transmission of data in the transmission queue 110 is necessary, and the remaining amount of untransmitted data among all data to be transmitted by the data transmission control unit 205 is equal to or less than a threshold, the data transmission in the transmission queue 110 is determined to be continued without retransmitting new data. Also, if it is determined in S504 that the transmission of data in the transmission queue 110 is necessary, and the transmission rate of the data confirmed in S503 is not improved, the data transmission in the transmission queue 110 may be determined to be continued without retransmitting new data.

[0045] S507 and S508 are similar to S306 and S307.

[0046] In this way, when creating and transmitting new data while maintaining a communication connection, the data transmission control unit 205 may determine that continuing to transmit data in the transmission queue 110 will complete transmission of all data sooner than resending the new data. In this case, the data transmission control unit 205 transmits unsent packets that are retained in the transmission queue 110, and does not transmit the new data. As a result, it is possible to complete transmission of all data sooner than by creating and transmitting new data.

[0047] (Embodiment 4) In the fourth embodiment, a case will be described in which the communication device 10 flushes the transmission queue 110 and terminates the communication connection, that is, disconnects the communication connection and starts a new communication connection, and then resends new data.

[0048] The communication process according to the third embodiment of the present invention will be described below. Note that the hardware configuration and software configuration of the communication device 10 in the second embodiment are also the same as those in the first embodiment.

[0049] Fig. 6 is a flowchart showing a procedure in which the communication device 10 flushes the transmission queue 110, terminates the communication connection without maintaining it, starts a new communication connection, and then resends new data. The flowchart shown in Fig. 6 is realized by the CPU 103 of the communication device 10 reading and executing a program stored in the ROM 102. Some or all of the steps shown in the flowchart in Fig. 6 may be realized by hardware such as an ASIC.

[0050] S601 to S603 are the same as S301 to S303.

[0051] In S604, the data transmission control unit 205 of the communication device 10 judges whether or not to maintain the current communication connection. If the communication connection is to be maintained (YES in S604), the process proceeds to S605. If the communication connection is not to be maintained (NO in S604), the process proceeds to S609. The decision not to maintain the communication connection is made under the following conditions. This is a case where, on the premise that the communication device 10 is equipped with a plurality of antennas 107, it is confirmed in S603 that the transmission rate of an antenna not currently being used is better than the transmission rate of an antenna currently being used. In this case, the data transmission control unit 205 of the communication device 10 does not maintain the communication connection, ends the process, switches the antenna, starts a new communication connection, and resends new data. Also, this is a case where, on the premise that the communication device 10 has a wireless communication connection, it is confirmed in S603 that the transmission rate of a band or channel not currently being used is better than the transmission rate of a band or channel currently being used. In this case, the data transmission control unit 205 of the communication device 10 may also end the process, without maintaining the communication connection, switch the band or channel, start a new communication connection, and resend new data.

[0052] S605 to S608 are the same as S304 to S307.

[0053] In S609, the data transmission control unit 205 of the communication device 10 uses the transmission queue flush unit 206 to delete unsent packets remaining in the transmission queue 110. Then, the data transmission control unit 205 of the communication device 10 terminates the communication connection.

[0054] In S610, the data transmission control unit 205 of the communication device 10 starts a new communication connection.

[0055] In this way, the data transmission control unit 205 may be able to determine that the transmission of all data can be completed sooner by terminating the communication connection, starting a new communication connection, and then resending the new data, rather than maintaining the communication connection and resending the new data. In this case, the data transmission control unit 205 flushes unsent packets that are stuck in the transmission queue 110, terminates the communication connection without maintaining it, and starts a new communication connection. As a result, the transmission of all data can be completed sooner than by creating and sending new data again while maintaining the communication connection.

[0056] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]

[0057] 10. Communications Equipment 101 RAM 102 ROM 103 CPU 104 Timer Management Unit 105 MAC 106 PHY 107 Antenna

Claims

1. 1. A communication device, comprising: a transmission queue for storing transmission packets to be transmitted to another communication device via a communication connection with the other communication device; a determination means for determining whether to delete, from the transmission queue, an untransmitted packet that is one of the transmission packets stored in the transmission queue and has not been transmitted to the other communication device, when new data to be transmitted to the other communication device is generated; a deletion means for deleting the untransmitted packet stored in the transmission queue while maintaining the communication connection when the determination means determines that the untransmitted packet should be deleted; a transmitting means for transmitting a transmission packet relating to the new data to the other communication device via the communication connection when the not-yet-transmitted packet has been deleted by the deleting means; having A communication device, characterized in that, when a transmission rate of communication via the communication connection falls below a first threshold, a determination is made by the determining means.

2. A communication device, a transmission queue for storing transmission packets to be transmitted to another communication device via a communication connection with the other communication device; a determination means for determining whether to delete, from the transmission queue, an untransmitted packet that is one of the transmission packets stored in the transmission queue and has not been transmitted to the other communication device, when new data to be transmitted to the other communication device is generated; a deletion means for deleting the untransmitted packet stored in the transmission queue while maintaining the communication connection when the determination means determines that the untransmitted packet should be deleted; a transmitting means for transmitting a transmission packet relating to the new data to the other communication device via the communication connection when the not-yet-transmitted packet has been deleted by the deleting means; having The communication device is characterized in that the determination means determines to delete the untransmitted packets from the transmission queue when the amount of the untransmitted packets stored in the transmission queue is greater than a second threshold.

3. A communication device having a plurality of antennas, a transmission queue for storing transmission packets to be transmitted to another communication device via a communication connection with the other communication device; a determination means for determining whether to delete, from the transmission queue, an untransmitted packet that is one of the transmission packets stored in the transmission queue and has not been transmitted to the other communication device, when new data to be transmitted to the other communication device is generated; a deletion means for deleting the untransmitted packet stored in the transmission queue while maintaining the communication connection when the determination means determines that the untransmitted packet should be deleted; a transmitting means for transmitting a transmission packet relating to the new data to the other communication device via the communication connection when the not-yet-transmitted packet has been deleted by the deleting means; having When the antenna used for communication with the other communication device is not switched, the deletion means deletes the untransmitted packets stored in the transmission queue while maintaining the communication connection; When switching the antenna used for communication with the other communication device, the deletion means disconnects the communication connection and deletes the untransmitted packets stored in the transmission queue.

4. A communication device, a transmission queue for storing transmission packets to be transmitted to another communication device via a communication connection with the other communication device, the transmission packets including image data; a determination means for determining whether to delete, from the transmission queue, an untransmitted packet that is one of the transmission packets stored in the transmission queue and has not been transmitted to the other communication device when new image data to be transmitted to the other communication device is generated; a deletion means for deleting the untransmitted packet stored in the transmission queue while maintaining the communication connection when the determination means determines that the untransmitted packet should be deleted; a transmitting means for transmitting a transmission packet related to the new image data to the other communication device via the communication connection when the untransmitted packet has been deleted by the deleting means; A communication device comprising:

5. 5. The communication device according to claim 1, wherein if the determination means does not determine that the untransmitted packet should be deleted, the transmission means transmits the untransmitted packet to the other communication device via the communication connection.

6. 6. The communication device according to claim 1, wherein the communication connection is a connection for performing communication in compliance with the IEEE 802.11 series standard.

7. 7. The communication device according to claim 1, wherein the determination means deletes, when a predetermined instruction is received from a user, an unsent packet that has not been transmitted to the other communication device from the transmission queue.

8. 1. A method for controlling a communication device having a transmission queue for storing transmission packets to be transmitted to another communication device via a communication connection with the other communication device, the transmission packets including image data, the method comprising: a determination step of determining whether to delete, from the transmission queue, an untransmitted packet that is one of the transmission packets stored in the transmission queue and has not been transmitted to the other communication device, when new image data to be transmitted to the other communication device is generated; a deletion step of deleting the untransmitted packet stored in the transmission queue while maintaining the communication connection when it is determined in the determination step that the untransmitted packet should be deleted; a transmission step of transmitting a transmission packet related to the new image data to the other communication device via the communication connection when the untransmitted packet has been deleted in the deletion step; A control method comprising the steps of:

9. A program for causing a computer to operate as the communication device according to any one of claims 1 to 7.

10. A communication device, comprising: a transmission queue for storing transmission packets relating to video data to be transmitted to another communication device; a determination means for determining whether or not to delete, from the transmission queue, an untransmitted packet including video data that has not been transmitted to the other communication device, among the transmission packets stored in the transmission queue; a transmission control means for, when the determination means determines that the not-yet-transmitted packet should be deleted, discarding the not-yet-transmitted packet stored in the transmission queue while maintaining a connection with the other communication device, storing a transmission packet related to video data newly generated in the transmission queue in the transmission queue, and transmitting the transmission packet related to the newly generated video data stored in the transmission queue to the other communication device; A communication device comprising:

11. The communication device according to claim 10, characterized in that the determination means determines to delete from the transmission queue a transmission packet that has not been transmitted to the other communication device for a predetermined period of time when the transmission packet related to the video data stored in the transmission queue has not been transmitted to the other communication device for the predetermined period of time.

12. The communication device according to claim 10 or 11, characterized in that the discarding of the unsent packet is performed by changing the memory access management state of the memory area in which the unsent packet is stored from a state in which other data cannot be written to a state in which data can be written.

13. 13. The communication device according to claim 10, wherein the transmission packet is transmitted to the other communication device by wireless communication.

Citation Information

Patent Citations

  • Transmission buffer abort method and packet transmitter

    JP1994152650A

  • Flow control system at busy time of communication control and communication control equipment

    JP1997200290A

  • Communication terminal

    JP2009005193A

  • Communication system, communication terminal device and communication method

    JP2012249002A

  • Transmitter, transmission method, and program

    JP2014011636A