Video transmission device, video transmission method, and computer program

The video transmission device addresses reconnection failures and server overload by determining network conditions to adjust reconnection strategies, enhancing stability and efficiency in video streaming.

JP7955316B2Active Publication Date: 2026-11-24CANON KK
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
JP2024145596
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2024-08-27
Publication Date
2026-11-24
Estimated Expiration
2044-08-27

AI Technical Summary

Technical Problem

Existing video transmission systems face issues with reconnection failures and increased server load due to unpredictable network disconnections, where the client cannot determine the cause of disconnection, leading to unnecessary reconnection requests and server overload.

Method used

A video transmission device that determines the cause of disconnection by measuring packet loss and network load, adjusting the number, interval, and frequency of reconnection requests based on these metrics to reduce server load and reconnection failures.

Benefits of technology

The solution effectively reduces server load and minimizes reconnection failures by optimizing reconnection strategies based on network conditions, ensuring efficient and stable video transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007955316000001
    Figure 0007955316000001
  • Figure 0007955316000002
    Figure 0007955316000002
  • Figure 0007955316000003
    Figure 0007955316000003
Patent Text Reader

Abstract

To provide a video transmission device capable of reducing the possibility of failure in reconnection while reducing a load in communication with a transmission destination device.SOLUTION: The video transmission apparatus includes a transmission unit that transmits video data to a destination apparatus via a network, a determination unit that determines a load level of the network in communication with the destination apparatus, a determination unit that determines at least one of a reconnection period, a reconnection interval, and a reconnection count based on the load level at the time of disconnection when disconnection from the destination apparatus is detected, and a control unit that transmits a reconnection request to the destination apparatus based on at least one of the reconnection period, the reconnection interval, and the reconnection count determined by the determination unit.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a video transmission device, a video transmission method, a computer program, and the like.

Background Art

[0002] When performing real-time streaming distribution of video between a client and a server via a network, distribution may stop or become unstable due to factors such as network bandwidth limitations or packet loss caused by an unspecified large number of users sharing the same network. In such cases, the server may determine that it cannot continue distribution normally and disconnect the connection.

[0003] Accordingly, there is a function to automatically connect from the client to the server after disconnection to reconnect. Patent Document 1 performs control to automatically reconnect when a connection is disconnected due to deterioration of electric field strength of a wireless line in wireless data communication.

Prior Art Documents

Patent Documents

[0004]

Patent Document 1

Summary of the Invention

Problem to be Solved by the Invention

[0005] However, when a disconnection message is received from the server, the client cannot determine the cause of disconnection: whether the user performed a stop operation on the server's UI to end the distribution, or the server disconnected due to increased network load.

[0006] Therefore, even when a user intentionally disconnects from the stream and stops it from the server's UI, the client repeatedly requests to reconnect to the server. In this case, each time the server receives a reconnection request, it returns an IP-level error response (ICMP port unreachable), which puts a load on the server.

[0007] Furthermore, if the network load increased and the connection was lost, there was a possibility that the connection would fail if the reconnection period was too short. However, the period during which the client sends a reconnection request is fixed.

[0008] Therefore, when a client detects a disconnection from the server, it sends reconnection requests to the server at predetermined intervals, putting a load on the server. Alternatively, it may only send reconnection requests for a short time, resulting in the client being unable to connect to the server.

[0009] Therefore, one of the objectives of the present invention is to provide a video transmission device that can reduce the load on communication with the destination device while also reducing the possibility of reconnection failure. [Means for solving the problem]

[0010] To achieve the above objective, the video transmission device according to the embodiment is A transmission means for transmitting video data to a destination device via a network, A means for obtaining values ​​related to packet loss in the aforementioned network, A detection means for detecting disconnection of the connection with the destination device, When the disconnection is detected, a determination means determines whether the value of the packet loss obtained by the acquisition means before the disconnection is greater than a predetermined threshold, If the aforementioned break is detected, Based on the results of the above determination, A determination means for determining the number of reconnection requests, which indicates the number of times a reconnection request will be sent. The system includes a control means for transmitting the reconnection request to the destination device based on the number of reconnections determined by the determination means, The number of reconnections when the packet loss value acquired by the acquisition means before disconnection is greater than a predetermined threshold is greater than the number of reconnections when the packet loss value acquired by the acquisition means before disconnection is less than or equal to the predetermined threshold. It is characterized by the following: [Effects of the Invention]

[0011] According to the present invention, it is possible to provide a video transmission device that can reduce the possibility of reconnection failure while reducing the load in communication with a destination device. [Brief Description of Drawings]

[0012] [Figure 1] 1 is a diagram illustrating a configuration example of a network according to a first embodiment of the present invention. [Figure 2] 2 is a functional block diagram illustrating an internal configuration example of a camera 1000 according to the first embodiment of the present invention. [Figure 3] 3 is a functional block diagram illustrating an internal configuration example of a server device 2000 according to the first embodiment of the present invention. [Figure 4] 4 is a flowchart illustrating an example of automatic reconnection processing using packet loss in video transmission according to the first embodiment of the present invention. [Figure 5] 5 is a flowchart illustrating an example of processing for determining a period or the like for transmitting a reconnection request using packet loss in step S4004. [Figure 6] 6 is a flowchart illustrating an example of automatic reconnection processing using an estimated bandwidth in video transmission of a camera 1000 according to a second embodiment of the present invention. [Figure 7] 7 is a flowchart illustrating an example of processing for determining a period for transmitting a reconnection request using an estimated bandwidth according to the second embodiment of the present invention. [Figure 8] 8 is a flowchart illustrating an example of automatic reconnection processing using ACK and NAK transmitted from a server according to the second embodiment of the present invention. [Description of Embodiments]

[0013] Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the present invention is not limited to the following embodiments. In each of the drawings, the same members or elements are denoted by the same reference numerals, and redundant descriptions are omitted or simplified.

[0014] <Embodiment 1> Hereinafter, a video transmission device according to Embodiment 1 of the present invention will be described with reference to FIGS. 1 to 5. FIG. 1 is a diagram illustrating an example of a network configuration according to Embodiment 1 of the present invention.

[0015] The system according to the present embodiment includes a camera 1000, a server device 2000, a network 3000, and the like. The camera 1000 can transmit video data to the server device 2000 via the network 3000, and functions as a video transmission device.

[0016] It should be noted that the configuration diagram illustrated in FIG. 1 describes an example of an information processing device according to the present invention, and is not limited thereto, and various modifications and changes can be made within the scope of the gist thereof. For example, although the camera 1000 is given as an example of the video transmission device, any device capable of transmitting video data via a network may be used, such as a video recording / reproducing device or a server, without being limited to a camera.

[0017] FIG. 2 is a functional block diagram illustrating an example of the internal configuration of the camera 1000 according to Embodiment 1 of the present invention. Note that some of the functional blocks illustrated in FIG. 2 are realized by causing a CPU or the like as a computer included in the camera 1000 to execute a computer program stored in a memory as a storage medium.

[0018] However, some or all of them may be realized by hardware. As the hardware, a dedicated circuit (ASIC), a processor (reconfigurable processor, DSP), or the like can be used.

[0019] Further, the functional blocks illustrated in FIG. 2 need not be built in the same housing, and may be configured by separate devices connected to each other via signal paths. The above description regarding FIG. 2 also applies similarly to the server device illustrated in FIG. 3.

[0020] In Figure 2, 1001 is the control unit. The control unit 1001 has a built-in CPU and other components, and functions as a control means that controls the operation of each part of the entire device based on computer programs stored in the memory unit 1002, which is a storage medium.

[0021] 1002 is a memory unit. The memory unit 1002 is mainly used as a storage area for various types of data, such as a storage area for computer programs executed by the control unit 1001 and a work area during computer program execution.

[0022] 1003 is the imaging unit. The imaging unit 1003 includes, for example, a CMOS image sensor, and captures an image of the subject, converts the acquired analog signal into digital data, and outputs the captured image to the storage unit 1002.

[0023] Unit 1004 is the communications unit. The communications unit 1004 transmits video data and various settings to the server device 2000 via the network 3000 using the video transmission protocol SRT (Secure Reliable Transport). Although the communications unit 1004 uses SRT as the video transmission protocol, it is not limited to this.

[0024] Furthermore, the communication unit 1004 is used to measure communication information such as packet loss, estimated bandwidth, ACK, and NAK when receiving various setting values ​​and acknowledgments.

[0025] 1005 is the reconnection request transmission period control unit. When sending reconnection request data to the server device 2000, it controls the transmission period of the reconnection request based on the communication information obtained by the communication unit 1004. In other words, it will repeat the reconnection request at predetermined intervals until this period has elapsed.

[0026] Figure 3 is a functional block diagram showing an example of the internal configuration of a server device 2000 according to Embodiment 1 of the present invention.

[0027] Unit 2001 is the control unit. The control unit 2001 has a built-in CPU and other components, and functions as a control means that controls the operation of each part of the entire server device based on computer programs stored in the memory unit 2002, which serves as a storage medium.

[0028] Unit 2002 is a memory unit. The memory unit 2002 is used as a storage area for various types of data, including a storage area for computer programs executed by the control unit 2001, and a work area during computer program execution.

[0029] 2003 is the output unit. The output unit 2003 consists of, for example, an LCD or an organic EL display, and outputs various setting screens and a viewer for the video received from the camera 1000 to the user of the server device 2000.

[0030] 2004 is the input unit. The input unit 2004 consists of, for example, buttons, a directional pad, a touch panel, a mouse, etc., and notifies the control unit 2001 of the content of the screen operations performed by the user.

[0031] Unit 2005 is the communications unit. The communications unit 2005 is used to receive video data and various settings from camera 1000 via network 3000 using the video transmission protocol SRT, etc., and to transmit various settings and acknowledgments. While the communications unit 2005 uses SRT as its video transmission protocol, it is not limited to this.

[0032] Figure 4 is a flowchart illustrating an example of automatic reconnection processing using packet loss in video transmission according to Embodiment 1 of the present invention. The CPU and other components of the computer within the camera 1000 execute a computer program stored in memory, which sequentially performs the operations of each step in the flowchart of Figure 4.

[0033] In step S4001, camera 1000 transmits video to server device 2000 at an arbitrary transmission bitrate. Here, step S4001 functions as a transmission step (transmission means) that transmits video data to a destination device (external device) via the network. Next, in step S4002, the SRT function measures and stores the number of packet losses per unit time.

[0034] In step S4003, it is determined whether a disconnection from the server has been detected. If no disconnection is detected, in step S4001, the video data is transmitted. If a disconnection is detected, in step S4004, the period for periodically continuing reconnection using packet loss is determined.

[0035] The process in step S4004 will be described later using the flowchart in Figure 5. In step S4005, it is determined whether the period determined in step S4004 has elapsed. If the determined period has elapsed, the reconnection has not been successful, but the process is terminated, and the automatic reconnection process flow in Figure 4 is ended. However, the automatic reconnection process flow in Figure 4 can be restarted by the user after termination.

[0036] If it is determined in step S4005 that the determined period has not elapsed, a reconnection request is sent in step S4006. In step S4007, it is determined whether the reconnection was successful. If it is not successful, the process returns to step S4005. If it is successful, the automatic reconnection process shown in Figure 4 is terminated.

[0037] Figure 5 is a flowchart illustrating an example of the process for determining the duration for which the transmission of reconnection requests using packet loss will continue in step S4004. Note that the CPU and other components of the computer within the camera 1000 execute computer programs stored in memory, which sequentially perform the operations of each step in the flowchart in Figure 5.

[0038] In step S5001, the number of packet losses before disconnection, which was saved in step S4002, is checked. In step S5002, it is determined whether the number of packet losses is less than or equal to a predetermined value.

[0039] If packet loss is below a predetermined value, it is highly likely that the disconnection was caused by a user stopping the connection rather than network load. Therefore, in step S5003, it is decided to reconnect once to reduce the load on the server. However, if the answer is Yes in step S5002, reconnection may be omitted.

[0040] If, in step S5002, it is determined that the packet loss is greater than the predetermined value, then in step S5004, it is determined whether the packet loss is below a predetermined threshold. If the packet loss is below the predetermined threshold, in step S5005, it is decided to repeat reconnection for a certain period of time. For example, reconnection may be repeated for 30 seconds at 5-second intervals.

[0041] If step S5004 determines that the packet loss is greater than the predetermined threshold mentioned above, it is likely that the network load at the time of disconnection was higher, and therefore the disconnection was likely caused by network load. In other words, it is likely that the server is still waiting for a connection, so in step S5006, it is decided to repeat reconnection for a longer period of time. For example, reconnection may be repeated for 5 minutes at 1-second intervals.

[0042] High network load results in longer network recovery times; therefore, in this embodiment, repeated reconnection attempts over longer periods increase the likelihood of successful reconnection. Here, the threshold value is used to determine the level of network load. It may be a predetermined fixed value, or it may be dynamically determined during video transmission, for example, by calculating the average number of packet losses at regular intervals and adding or multiplying that average value by a predetermined number to set the threshold value.

[0043] In other words, the threshold used when comparing the load level to a predetermined threshold may be a constant value, or a value dynamically determined according to the network conditions.

[0044] Furthermore, multiple thresholds may be defined in step S5004 to determine the degree of network load in multiple ways and to decide on the reconnection period in more detail. In other words, the network load level may be determined in multiple stages by comparing the load level with multiple thresholds.

[0045] Here, steps S5002 and S5004 described above function as determination steps (determination means) for determining the network load level in communication with the destination device.

[0046] In addition, the reconnection period (reconnection period) may be determined, or alternatively, the reconnection interval (reconnection interval) may be shortened, or the number of reconnections per predetermined time (number of reconnections / reconnection frequency) may be increased. That is, the higher the load level, the longer the reconnection period, the shorter the reconnection interval, or the more reconnections may be made.

[0047] In other words, if the load level is greater than a predetermined threshold, it may be decided to lengthen the reconnection period, during which reconnection requests are repeated at predetermined intervals. Alternatively, if the load level is greater than a predetermined threshold, it may be decided to shorten the reconnection interval, during which reconnection requests are repeated at predetermined intervals. Alternatively, if the load level is greater than a predetermined threshold, it may be decided to increase the number of reconnections per predetermined time.

[0048] Furthermore, steps S5003, S5005, S5006, etc., function as decision steps (decision means) that, when a disconnection of the connection with the destination device is detected, determine at least one of the following based on the load level at the time of disconnection: the reconnection period, the reconnection interval, and the number of reconnections.

[0049] Furthermore, based on at least one of the reconnection period, reconnection interval, and number of reconnections determined in the flow chart of Figure 5, a reconnection request should be sent to the destination device in step S4006 of Figure 4. In other words, step S4006 functions as a control step (control means) that sends a reconnection request to the destination device based on at least one of the determined reconnection period, reconnection interval, and number of reconnections.

[0050] As explained above, in this embodiment, the process for determining the reconnection period determines that the disconnection was likely caused by network load when there is a large number of packet losses before disconnection, and increases at least one of the reconnection period, reconnection interval, or number of reconnections.

[0051] This allows for reducing the load on the server by shortening the reconnection period when it is highly likely that the user initiated the disconnection. On the other hand, when it is highly likely that the disconnection was caused by network load, the possibility of reconnection failure can be reduced by lengthening the duration of the reconnection, shortening the reconnection interval, or increasing the number of reconnection attempts (frequency).

[0052] Furthermore, for example, other values ​​such as estimated bandwidth, ACK, NAK, and round-trip time may be used instead of packet loss to determine the period, interval, number of reconnections, threshold, and statistical information representing the network load level.

[0053] For example, a higher packet loss is considered to indicate a higher load level. When using packet loss, the load level can be determined by a value based on the number or amount of packet loss per predetermined time. Additionally, a longer round-trip time is considered to indicate a higher load level.

[0054] When using round-trip time, the round-trip time itself or a value based on the round-trip time can be used as the load level. There are various methods for determining how much load is being placed on network communication. Therefore, the network load level can be determined using various other methods.

[0055] The load level may be determined based on at least one of the following: the number of packet losses, network bandwidth, round-trip time, and response packets sent from the destination device. Furthermore, the video transmission protocol is not limited to SRT; other protocols may be used, and audio may be transmitted along with the video.

[0056] <Embodiment 2> The video transmission device according to Embodiment 2 of the present invention will be described below with reference to Figures 1-3 and 6-8. Note that the network configuration in Figure 1, the internal configuration of camera 1000 in Figure 2, and the internal configuration of server device 2000 in Figure 3 are the same as in Embodiment 1, and therefore their explanation will be omitted.

[0057] In Embodiment 1, the reconnection period was lengthened, the reconnection interval was shortened, or the number of reconnections per predetermined time (frequency) was increased based on packet loss. In this embodiment, a method for determining the reconnection period using communication information representing network load other than packet loss will be explained with reference to Figures 6, 7, and 8.

[0058] Figure 6 is a flowchart showing an example of automatic reconnection processing using estimated bandwidth in video transmission of camera 1000 according to Embodiment 2 of the present invention.

[0059] Figure 7 is a flowchart showing an example of the process for determining the period for transmitting a reconnection request using estimated bandwidth, according to Embodiment 2 of the present invention.

[0060] Figure 8 is a flowchart showing an example of automatic reconnection processing using ACK and NAK received from a server, according to Embodiment 2 of the present invention.

[0061] Furthermore, the CPU and other components within the camera 1000, acting as a computer, execute the computer program stored in memory, thereby sequentially performing the actions shown in each step of the flowcharts in Figures 6 to 8.

[0062] In Figure 6, steps S6001, S6003, and S6005-S6007 are the same processes as steps S4001, S4003, and S4005-S4007 in the flowchart of Figure 4, so their explanation is omitted.

[0063] In step S6002, the current estimated bandwidth is measured and saved. In step S6003, if a disconnection from the server is detected, in step S6004, the period for reconnection is determined using the estimated bandwidth estimated in step S6002.

[0064] Using the flowchart in Figure 7, we will explain an example of the process of determining the reconnection period using the estimated bandwidth in step S6004. Steps S7003, S7005, and S7006 are the same processes as steps S4003, S4005, and S4006 in the flowchart in Figure 4, so we will omit their explanation.

[0065] In step S7001, the estimated bandwidth at the time of disconnection, which was saved in step S6002, is checked. In step S7002, it is determined whether the estimated bandwidth is significantly larger than the target bitrate at the time of disconnection. Specifically, it is determined whether the estimated bandwidth is greater than, for example, the target bitrate at the time of disconnection multiplied by a predetermined value (a value greater than 1).

[0066] The target bitrate represents the target bitrate when the camera attempts to transmit video data. If the estimated bandwidth is significantly larger than the target bitrate, it is highly likely that the disconnection was caused by a user stopping the connection rather than network load. Therefore, in step S7003, it is decided to reconnect only once to reduce the load on the server. However, reconnection may be omitted.

[0067] If step S7002 is determined to be No, i.e., the estimated bandwidth is not significantly larger than the target bitrate, then in step S7004, it is determined whether the estimated bandwidth is equal to or greater than the target bitrate at the time of disconnection.

[0068] If the estimated bandwidth is greater than or equal to the target bitrate at the time of disconnection, in step S7005, it is decided to repeat the reconnection process for a certain period of time. On the other hand, if the estimated bandwidth is less than the target bitrate, the network load at the time of disconnection is high, so in step S7006, it is decided to repeat the reconnection process for a longer period than in step S7005. Alternatively, it may be decided to shorten the reconnection interval or increase the number (frequency) of reconnections. All of these may be performed.

[0069] As explained above, in this embodiment, in the automatic reconnection process using estimated bandwidth, the target bitrate at the time of disconnection is used as a threshold and compared with the estimated bandwidth. Based on this, the degree of network load is determined and at least one of the reconnection period, reconnection interval, or number of reconnections is changed. We decide to let them do it.

[0070] Next, we will explain an example of automatic reconnection processing using ACK and NAK with the flowchart in Figure 8.

[0071] In step S8001 of Figure 8, the camera 1000 transmits video to the server device 2000 at an arbitrary transmission bitrate. In step S8002, after a certain period of time has elapsed, it is determined whether ACK and NAK have been received from the server.

[0072] If ACK and NAK are received from the server, video data is transmitted in step S8001. If ACK and NAK are not received from the server, the connection from the camera is disconnected in step S8003. In this case, it is highly likely that the server is down and not accepting connections because there was no response from the server for a certain period of time.

[0073] Therefore, in order to reduce the load on the server, in step S8004, reconnection is either not performed, or reconnection is repeated at shorter intervals than usual, or reconnection is repeated at longer time intervals than usual, and then the automatic reconnection process flow shown in Figure 8 is terminated.

[0074] In other words, if a response packet has not been sent from the destination device for a predetermined time before the disconnection is detected, in step S8004, reconnection is not performed, the period for which reconnection is continued is shortened, or the time interval for sending a reconnection request is lengthened.

[0075] However, the automatic reconnection process flow in Figure 8 terminates once reconnection is successful. If reconnection fails after the automatic reconnection process flow in Figure 8 has terminated, the user can restart the automatic reconnection process flow in Figure 8. In other words, if a connection to the destination device could not be established during the period in which a reconnection request was sent, the user can initiate the reconnection process.

[0076] As explained above, in the automatic reconnection process using ACK and NAK according to this embodiment, if ACK and NAK are not received from the server within a certain period of time, it is determined that the server is down, the connection is terminated, and a reconnection process is performed to reduce the load on the server. This reduces the load on the downed server.

[0077] Furthermore, for example, the method for determining the period, interval, number of reconnections, and threshold, or using other communication information as a value representing network load, or using response packets other than ACK and NAK, may be used. Also, the video transmission protocol is not limited to SRT; other protocols may be used. In addition, audio may be transmitted along with the video.

[0078] Embodiment 2 describes a method using estimated bandwidth, ACK, and NAK as communication information for automatic reconnection processing in video transmission. This allows for a reduction in the load on the server by shortening the reconnection period when it is highly likely that the user has performed a stop operation.

[0079] Furthermore, if the disconnection is likely due to network load, the reconnection period can be extended to reduce the chance of reconnection failure. Also, if the server is likely down, the load on the server can be reduced by not attempting to reconnect, shortening the reconnection period, or lengthening the reconnection interval.

[0080] Although the present invention has been described in detail above based on its preferred embodiments, the present invention is not limited to the above embodiments, and various modifications and combinations of the above embodiments are possible in accordance with the spirit of the present invention, and these are not excluded from the scope of the present invention.

[0081] Furthermore, the present invention includes, for example, a system that realizes the functions of the above embodiment using at least one processor such as a CPU, memory, and circuitry (e.g., an ASIC). Alternatively, multiple processors may be used for distributed processing.

[0082] Furthermore, in order to implement some or all of the control in the above embodiment, a computer program that implements the functions of the above embodiment may be supplied to a video transmission device, etc., via a network or various storage media.

[0083] Furthermore, the computer (or CPU, MPU, etc.) in the video transmission device may read and execute the program. In that case, the program and the storage medium in which the program is stored constitute the present invention. The present invention includes the following combinations.

[0084] (Configuration 1) A video transmission device comprising: a transmission means for transmitting video data to a destination device via a network; a determination means for determining the network load level in communication with the destination device; a determination means for determining at least one of a reconnection period, a reconnection interval, and a number of reconnections based on the load level at the time of disconnection when a disconnection of the connection with the destination device is detected; and a control means for transmitting a reconnection request to the destination device based on at least one of the reconnection period, the reconnection interval, and the number of reconnections determined by the determination means.

[0085] (Configuration 2) The video transmission device according to Configuration 1, characterized in that the determination means determines to lengthen the reconnection period, during which the reconnection request is repeated at predetermined intervals, when the load level is greater than a predetermined threshold.

[0086] (Configuration 3) The video transmission device according to Configuration 1 or 2, characterized in that the determination means determines to shorten the reconnection interval, which repeats the reconnection request at a predetermined interval, when the load level is greater than a predetermined threshold.

[0087] (Configuration 4) The video transmission device according to any one of Configurations 1 to 3, characterized in that the determination means determines to increase the number of reconnections per predetermined time when the load level is greater than a predetermined threshold.

[0088] (Configuration 5) The video transmission device according to any one of Configurations 1 to 4, characterized in that the load level is determined based on the number of packet losses, network bandwidth, round trip time, and at least one of the response packets sent from the destination device.

[0089] (Configuration 6) The video transmission device according to any one of Configurations 1 to 5, characterized in that the determination means compares the load level with a predetermined threshold, and the threshold is a constant value or a value dynamically determined according to the network conditions.

[0090] (Configuration 7) The video transmission device according to Configuration 6, characterized in that the determination means determines the load level of the network in multiple stages by comparing the load level with a plurality of thresholds.

[0091] (Configuration 8) The video transmission device according to any one of Configurations 1 to 7, characterized in that, if a response packet has not been sent from the destination device for a predetermined time before the disconnection is detected, the control means does not attempt to reconnect, reduces the reconnection period, or increases the time interval for sending the reconnection request.

[0092] (Configuration 9) A video transmission device according to any one of Configurations 1 to 8, characterized in that, if it is not possible to connect to the destination device during the period for sending the reconnection request, the user can initiate the process for reconnection.

[0093] (Method) A video transmission method comprising: a transmission step of transmitting video data to a destination device via a network; a determination step of determining the network load level in communication with the destination device; a decision step of determining at least one of a reconnection period, a reconnection interval, and a number of reconnections based on the load level at the time of disconnection when a disconnection of the connection with the destination device is detected; and a control step of transmitting a reconnection request to the destination device based on at least one of the reconnection period, the reconnection interval, and the number of reconnections determined by the decision step.

[0094] A computer program that causes a computer to execute each of the means of the video transmission device described in any one of configurations 1 to 9. [Explanation of Symbols]

[0095] 1000: Camera 2000: Client device 3000: Network

Claims

1. A transmission means for transmitting video data to a destination device via a network, A means for obtaining values ​​related to packet loss in the aforementioned network, A detection means for detecting disconnection of the connection with the destination device, When the disconnection is detected, a determination means determines whether the value of the packet loss obtained by the acquisition means before the disconnection is greater than a predetermined threshold, When the aforementioned disconnection is detected, a determination means determines the number of times a reconnection request will be sent based on the result of the determination, The system includes a control means for transmitting the reconnection request to the destination device based on the number of reconnections determined by the determination means, A video transmission device characterized in that the number of reconnections when the value of packet loss acquired by the acquisition means before disconnection is greater than a predetermined threshold is greater than the number of reconnections when the value of packet loss acquired by the acquisition means before disconnection is less than or equal to the predetermined threshold.

2. The determination means determines a reconnection period, which indicates the period during which the reconnection request is repeatedly transmitted, based on the result of the determination. The video transmission device according to claim 1, characterized in that the reconnection period when the value of the packet loss acquired by the acquisition means before the disconnection is greater than the predetermined threshold is longer than the reconnection period when the value of the packet loss acquired by the acquisition means before the disconnection is less than or equal to the predetermined threshold.

3. Based on the result of the determination, the determination means determines a reconnection interval in which the reconnection request is repeated at predetermined intervals. The video transmission device according to claim 1, characterized in that the reconnection interval when the value of packet loss acquired by the acquisition means before disconnection is greater than the predetermined threshold is shorter than the reconnection interval when the value of packet loss acquired by the acquisition means before disconnection is less than or equal to the predetermined threshold.

4. The video transmission device according to claim 1, characterized in that the predetermined threshold is a constant value or a value dynamically determined according to the network conditions.

5. The video transmission device according to claim 1, characterized in that if it fails to connect to the destination device during the period for sending the reconnection request, the user can initiate the process for reconnection.

6. A transmission step of transmitting video data to a destination device via a network, A step of obtaining values ​​related to packet loss in the aforementioned network, A detection step for detecting the disconnection of the connection with the destination device, When the disconnection is detected, a determination step is made to determine whether the value of the packet loss obtained before the disconnection is greater than a predetermined threshold. If the aforementioned disconnection is detected, a determination step is made to determine the number of reconnection requests, which indicates the number of times a reconnection request will be sent, based on the result of the determination. A control step includes transmitting the reconnection request to the destination device based on the number of reconnections determined in the determination step, A video transmission method characterized in that the number of reconnections when the value of packet loss acquired before disconnection is greater than a predetermined threshold is greater than the number of reconnections when the value of packet loss acquired before disconnection is less than or equal to the predetermined threshold.

7. A computer program for causing a computer to function as one of the means of a video transmission device according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Long connection recovery method, system and device, electronic equipment and storage medium

    CN111193769A

  • Communication path reconnection control system

    JP1993260121A

  • Communication device and reconnection method

    JP2017034562A

  • Radio communication device, electronic clock, radio communication method, and program

    JP2017118325A

  • Video transmission device, video transmission method, and computer program

    JP2020036156A