Communication device, communication system, communication method, and program

The communication device addresses the issue of downstream data loss in daisy chain systems by generating and transmitting image packets with essential information, ensuring continuous data transmission despite upstream failures.

JP2024119485APending Publication Date: 2024-09-03CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023026412
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-02-22
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing systems fail to transmit image data generated by downstream devices if an upstream device in a daisy chain connection experiences a camera failure, leading to the cessation of all image packet transmission.

Method used

A communication device with receiving, generating, and transmitting means that deletes predetermined information from received image packets and generates new packets with the information, ensuring transmission even if the original packet cannot be generated.

Benefits of technology

Ensures continuous transmission of image data from downstream devices by generating and transmitting packets with essential information, even if an upstream device fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024119485000001
    Figure 2024119485000001
Patent Text Reader

Abstract

To transmit image data generated by a downstream-side device even when an upstream-side device can no longer generate an image packet.SOLUTION: A communication device comprises: receiving means that receives a first image packet; generation means that generates a second image packet; transmission means that, when the first image packet includes predetermined information, transmits the first image packet from which the predetermined information is deleted and the second image packet including the predetermined information; and control means that, when the second image packet can no longer be generated, causes the transmission means to transmit a communication packet including at least the predetermined information.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, a communication system, a communication method, and a program. [Background technology]

[0002] In recent years, a system has been proposed in which a subject is photographed from a plurality of directions using a plurality of cameras. For example, Patent Document 1 proposes a system that generates a virtual viewpoint image of a subject based on images captured by multiple cameras that capture the subject from multiple directions. In this system, multiple camera adapters are connected in a daisy chain. Then, image data created by each camera adapter is sequentially transmitted between the camera adapters as image packets, and finally the image data of all the camera adapters is transmitted to a front-end server. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent Publication No. 2021-93661 Summary of the Invention [Problem to be solved by the invention]

[0004] However, for example, if a camera malfunction occurs in a device along the daisy chain and it becomes unable to generate image packets, not only will the image packets from the device that is unable to generate them be unable to be transmitted, but the image packets generated by each device downstream will also not be transmitted.

[0005] The problem to be solved by the present invention is to enable the transmission of image data generated in a downstream device even when an upstream device is unable to generate image packets. [Means for solving the problem]

[0006] In order to solve the above problems, a communication device according to one embodiment of the present invention comprises a receiving means for receiving a first image packet, a generating means for generating a second image packet, a transmitting means for transmitting the first image packet from which the specified information has been deleted and the second image packet including the specified information if the first image packet includes specified information, and a control means for causing the transmitting means to transmit a communication packet including at least the specified information if it becomes impossible to generate the second image packet. Effect of the Invention

[0007] According to the present invention, even if an upstream device is unable to generate image packets, image data generated in a downstream device can be transmitted. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a system configuration diagram of a synchronous imaging system according to a first embodiment. [Diagram 2] FIG. 2 is a diagram showing an example of image packet transmission in a synchronous shooting system. [Diagram 3] 11A and 11B are diagrams for explaining problems in a comparative example. [Figure 4] FIG. 2 is a diagram showing the internal configuration of the camera adapter according to the first embodiment. [Diagram 5] FIG. 2 is a functional block diagram showing an internal function of a transmission unit in the first embodiment. [Figure 6] FIG. 4 is a diagram showing the internal structure of an image packet. [Figure 7] 6 is a flowchart showing operations such as transmission of image packets in a transmission unit. [Figure 8] 13 is a flowchart showing an abnormality flag setting process. [Figure 9] 10 is a flowchart showing operations such as transmitting an image packet in the second embodiment. [Figure 10] FIG. 11 is a functional block diagram showing the internal functions of a transmission unit in a third embodiment. [Figure 11] 13 is a flowchart showing an abnormality flag setting process in the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, the embodiments of the present invention will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the present invention, and not all of the combinations of features described in the embodiments are necessarily essential to the solution of the present invention. The configurations of the embodiments may be appropriately modified or changed depending on the specifications of the system and device to which the present invention is applied and various conditions (such as the conditions of use and the environment in which the device is used). The technical scope of the present invention is defined by the claims, and is not defined by the individual embodiments below. In the following description, components shown in earlier referenced drawings will be referred to as appropriate in the description of later drawings.

[0010] <Configuration of synchronous imaging system> FIG. 1 is a system configuration diagram of a synchronous imaging system according to the first embodiment. The synchronized photography system 300 is a system in which a plurality of cameras are installed in a facility such as a sports field (stadium) or a concert hall to take pictures. The synchronized photography system 300 includes photography units 390a to 390z, a time server 320, an image processing device 360, a user terminal 370, a control terminal 380, and a hub 340. A network is formed by these elements in the synchronized photography system 300, and the hub 340 has a function of routing communication packets.

[0011] In the following description, when elements of the same kind that are distinguished by alphabetical subscripts of the reference numerals are collectively referred to, the reference numerals without the subscripts may be used. For example, 26 sets of photographing units 390a to 390z may be collectively referred to as photographing units 390. The control terminal 380 manages the operating state and controls parameter setting for each element of the synchronous imaging system 300 through a network. Here, the network may be GbE (Gigabit Ethernet), 10 GbE, or 100 GbE, which is Ethernet (registered trademark) and conforms to the IEEE standard. The network may also be configured by combining an interconnect such as Infiniband or industrial Ethernet. Furthermore, the network is not limited to these, and may be another type of network.

[0012] Each photographing unit 390 has a camera 302 and a camera adapter 301, and an image photographed by the camera 302 is input to an image processing device 360 ​​via a network. The image processing device 360 ​​processes the input image to generate a virtual viewpoint image. The user terminal 370 is operated by a user to specify a viewpoint to the image processing device 360 ​​and display the virtual viewpoint image on a display screen.

[0013] The synchronous photography system 300 includes, as an example, 26 sets of photography units 390a to 390z, but the number of sets is not limited to this. In addition, the multiple photography units 390 do not need to have the same configuration, and for example, each may be configured with a different model of device. In this embodiment, unless otherwise specified, the word "image" will be described as including the concepts of moving images and still images. In other words, the synchronous photography system 300 of this embodiment can process both still images and moving images.

[0014] The photographing units 390a to 390z provided in the synchronous photographing system 300 are connected by a daisy chain from a first network cable 310a to a 26th network cable 310z. In a network in which a plurality of photographing units 390a to 390z are connected, the side closer to the hub 340 is referred to as the root side, and the side farther from the hub 340 is referred to as the leaf side. In the transmission of communication packets in the synchronous photographing system 300, the root side may be upstream, and the leaf side may be upstream. Also, in each photographing unit 390 and each camera adapter 301, the side closer to the hub 340 is referred to as the root side, and the side farther from the hub 340 is referred to as the leaf side.

[0015] 1 shows a configuration in which all 26 sets of photographing units 390a to 390z are daisy-chained, but the connection form is not limited to this in the synchronized photographing system 300. For example, the multiple photographing units 390 may be divided into several groups, and the photographing units 390 may be daisy-chained in units of the divided groups.

[0016] Such a configuration is particularly effective in a stadium or the like. For example, a stadium may be configured with multiple floors, and a daisy chain of the photographing units 390 may be installed on each floor. In this case, input to the image processing device 360 ​​is possible for each floor or for each half circumference of the stadium. Therefore, even in a place where it is difficult to wire all the photographing units 390 in a single daisy chain, the installation can be simplified and the system can be made more flexible.

[0017] As described above, each photographing unit 390 has a camera 302 and a camera adapter 301. That is, the synchronous photographing system 300 is provided with a plurality of cameras 302 (e.g., 26 cameras) for photographing a subject from a plurality of directions. Note that the plurality of cameras 302 provided in the synchronous photographing system 300 may have different performances or models.

[0018] Furthermore, each photographing unit 390 is not limited to a configuration having a camera 302 and a camera adapter 301, and may include, for example, an audio device such as a microphone, a camera platform for controlling the orientation of the camera, etc. Furthermore, for example, the photographing unit 390 may be composed of one camera adapter 301 and multiple cameras 302, or may be composed of one camera 302 and multiple camera adapters 301. That is, the multiple cameras 302 and the multiple camera adapters 301 in the synchronized photographing system 300 correspond to each other in an N to M ratio (N and M are both integers equal to or greater than 1).

[0019] 1 shows only one connection 303 between the camera 302 and the camera adapter 301, but the number of connections 303 is not limited to this. There are cases where multiple connections 303 are provided, such as a signal line for controlling the camera 302 and a signal line for transmitting data captured by the camera 302.

[0020] Also, the camera 302 and the camera adapter 301 may be configured as one unit. Furthermore, at least a part of the functions of the camera adapter 301 may be included in the image processing device 360. Note that, in the following, an example will be described in which each photographing unit 390 includes one camera 302 and one camera adapter 301 of the same type.

[0021] <Generation of virtual viewpoint images> The camera adapter 301 of each photographing unit 390 transmits an image captured by the camera 302 in the form of an image packet carrying image data to the image processing device 360 ​​via a daisy chain connection. The connection form in which the photographing units 390 are connected to each other via a daisy chain makes it possible to reduce the number of connection cables and save on wiring work when the volume of image data increases with the increase in resolution of photographed images to 4K, 8K, etc. and the increase in frame rate.

[0022] The control of image processing in the image processing device 360 ​​is switched depending on whether there is one or more camera adapters 301 located at one end of the daisy chain on the image processing device 360 ​​side. In other words, the control in the image processing device 360 ​​is switched depending on whether the photographing units 390 are divided into multiple groups.

[0023] The camera adapter 301 located at one end of the daisy chain on the image processing device 360 ​​side relays images from the camera adapters 301 of the other photographing units 390 connected in the daisy chain, and inputs the images to the image processing device 360 ​​. When there is a single camera adapter 301 that inputs images, the images are transmitted via a daisy chain and an image of the entire stadium is generated, so the timing at which the images of the entire stadium are collected is synchronized in the image processing device 360. In other words, if the photographing units 390 are not divided into groups, synchronization can be achieved.

[0024] However, when there are multiple camera adapters 301 that input images, the delay from when an image is captured until when it is input to the image processing device 360 ​​may differ for each lane (route) of the daisy chain. That is, when the photographing units 390 are divided into groups, the timing of inputting the images of the entire circumference to the image processing device 360 ​​may not be synchronized. For this reason, the image processing device 360 ​​needs to perform image processing while checking the collection of images by using synchronization control that waits until all image data of the entire circumference is collected and then synchronizes.

[0025] In each lane of the daisy chain, for example, an image captured by a camera 302z of a 26th photographing unit 390z is subjected to image processing in a camera adapter 301z and then packetized. The image packetized by the 26th photographing unit 390z is transmitted to a camera adapter 301y of a 25th photographing unit 390y via a network cable 310z of the daisy chain. The packetized image is transmitted as an image packet.

[0026] The 25th photographing unit 390y transfers the image packet received from the 26th photographing unit 390z to the downstream 24th photographing unit 390x. In addition, the 25th photographing unit 390y performs image processing on the image captured by the camera 302y, packetizes the image, and transmits it to the 24th photographing unit 390x.

[0027] By executing the above-mentioned operation in each photographing unit 390, an image packet of an image captured by each photographing unit 390 is transmitted from the first photographing unit 390a to the hub 340, and then transmitted to the image processing device 360. The image processing device 360 ​​processes the images captured by each photographing unit 390 and transmitted. The image processing device 360 ​​first reconstructs the image from the transmitted image packet. The camera adapter ID, image type, frame number, etc. contained in the header information of the image packet are used to reconstruct the image. The image processing device 360 ​​also stores the image in association with this information.

[0028] The image processing device 360 ​​receives a designation of a viewpoint from the user terminal 370, reads out a corresponding image from stored information based on the designated viewpoint, and performs rendering processing to generate a virtual viewpoint image. Note that at least a part of the functions of the image processing device 360 ​​may be included in the control terminal 380, the photographing unit 390, or the user terminal 370.

[0029] The virtual viewpoint image generated by the rendering process is transmitted from the image processing device 360 ​​to the user terminal 370 and displayed on the display screen of the user terminal 370. A user operating the user terminal 370 can view an image from a viewpoint according to the specification. That is, the image processing device 360 ​​generates virtual viewpoint content based on images (multiple viewpoint images) captured by the multiple cameras 302 and viewpoint information.

[0030] In this embodiment, the virtual viewpoint content is generated by the image processing device 360, but the virtual viewpoint content may be generated by the control terminal 380 or the user terminal 370.

[0031] <Time synchronization> The time server 320 has a function of distributing time. That is, it distributes the time to each photographing unit 390 using a synchronization packet, which is a communication packet for performing time synchronization in the photographing units 390. The camera adapter 301 transmits and receives the synchronization packet in a daisy chain. The camera adapter 301 Genlocks the cameras 302 based on the time information included in the synchronization packet, and synchronizes image frames between the cameras 302.

[0032] The camera adapter 301 has a transparent clock function and an ordinary clock function in PTP. That is, when the camera adapter 301 transfers a received synchronization packet, it calculates the residence time in the terminal and adds it to the synchronization packet. The camera adapter 301 then transfers the synchronization packet to the subsequent camera adapter 301, and the camera adapter 301 synchronizes with the time of the time server 320 based on the received synchronization packet.

[0033] All camera adapters 301 in the synchronous shooting system 300 have the above two functions, which enables highly accurate time synchronization with the time server 320. The multiple camera adapters 301 that are time-synchronized based on the time server 320 can synchronize the shooting timing of the cameras 302 with each other. The hub 340 has a transparent clock function in PTP.

[0034] Since the synchronous imaging system 300 will fail if a problem occurs in the time server 320, multiple time servers 320 may be provided for redundancy. When redundancy is provided, the time servers 320 are synchronized using a Global Positioning System (GPS) or the like so that the times of the time servers 320 are synchronized.

[0035] <Image packet transmission> FIG. 2 is a diagram showing an example of image packet transmission in the synchronous imaging system 300. As shown in FIG. However, for convenience of explanation, the synchronous photography system 300 is illustrated as having four camera adapters 301 .

[0036] All camera adapters 301 are time-synchronized by PTP, and capture images in synchronization with reference signals 1a and 1b that are generated at the same time within each camera adapter 301. Image packets 2a-5a, 2b-5b of foreground images in which subject parts such as human bodies are cut out from images obtained by shooting are transmitted to the image processing device in order from the fourth camera adapter 301, which is the most upstream, starting from the reference signals 1a, 1b. Note that while each of the image packets 2a-5a, 2b-5b is shown as a single block in Fig. 2, the actual image packets 2a-5a, 2b-5b are packet groups consisting of one or more image packets. In other words, each camera adapter 301 divides the captured image as necessary, places it in a packet group, and continues transmitting the packets until all image data has been transmitted.

[0037] The third camera adapter 301 transmits (transfers) image packets 2a, 2b received from the adjacent fourth camera adapter 301 on the upstream side to the adjacent second camera adapter 301 on the downstream side. In addition, the third camera adapter 301 starts generating and transmitting image packets 3a, 3b of its own device in response to start instruction information included in the image packets 2a, 2b received from the adjacent fourth camera adapter 301 on the upstream side.

[0038] Similarly, the second camera adapter 301 transmits downstream the image packets 2a, 2b, 3a, and 3b of the fourth and third camera adapters 301 that have been transmitted from the third camera adapter 301. Also, the second camera adapter 301 begins generating and transmitting image packets 4a and 4b in response to start instruction information included in the image packets 3a and 3b generated by the third camera adapter 301.

[0039] The first camera adapter 301 transmits downstream image packets 2a, 2b, 3a, 3b, 4a, and 4b of the fourth, third, and second camera adapters 301. Then, the first camera adapter 301 starts generating and transmitting image packets 5a and 5b in response to start instruction information included in image packets 4a and 4b generated by the second camera adapter 301.

[0040] That is, each camera adapter 301 receives and transfers image packets from all upstream camera adapters 301, and starts generating and transmitting image packets in response to start instruction information included in the image packet of the adjacent upstream camera adapter 301. As a result, all image packets 2a-5a and 2b-5b are transmitted to image processing device 360 ​​via hub 340.

[0041] For the sake of convenience, FIG. 3 illustrates the fourth camera adapter 301 as starting to generate and transmit image packets 2a and 2b at the timing of reference signals 1a and 1b. However, in reality, image processing latency and camera imaging latency occur within the camera adapter 301, so that the image packets 2a and 2b are transmitted at a timing later than the reference signal.

[0042] FIG. 3 is a diagram for explaining the problem in the comparative example. In the comparative example, similarly to the synchronous photography system 300 of the present embodiment, image packets 2a-5a generated by each camera adapter 301 are transmitted to the image processing device in order starting from the most upstream, fourth camera adapter 301. Fig. 3 shows a case where an abnormality such as a camera failure occurs in the photography unit 390 during transmission of image packet 3b by the third camera adapter 301.

[0043] The third camera adapter 301 can transmit a portion of the image associated with the reference signal 1b as an image packet 3b', but the other portion of the image packet 3b'' cannot be generated due to the occurrence of an abnormality. The image packet 3b'' that cannot be generated includes an image packet that includes start instruction information, and in the comparative example, the camera adapter 301 cannot send the start instruction information downstream.

[0044] For this reason, the second camera adapter 301 is able to forward image packets 2b and 3b' received from the third camera adapter 301, but is unable to generate or transmit image packets of its own device. Therefore, the second camera adapter 301 is also unable to transmit image packets including start instruction information downstream, and in a chain reaction, each downstream camera adapter 301 is also unable to generate or transmit image packets of its own device.

[0045] That is, in the comparative example, if an abnormality such as a camera failure occurs in any of the multiple camera adapters 301 and image packets cannot be generated, each downstream camera adapter 301 will be unable to generate and transmit image packets in its own device. As a result, the amount of information reaching the image processing device 360 ​​decreases, causing degradation in the image quality of the virtual viewpoint content generated by the image processing device 360 ​​using an image associated with the reference signal 1b.

[0046] In contrast to the comparative example, in the synchronous photography system 300 of this embodiment, even downstream of the camera adapter 301 in which image packets cannot be generated, image packets can be generated and transmitted as described below.

[0047] <Camera adapter configuration> Fig. 4 is a diagram showing the internal configuration of the camera adapter 301 of the first embodiment. Note that Fig. 4 shows the internal configuration of the second camera adapter 301b as a representative of the camera adapters 301.

[0048] The camera adapter 301 includes a CPU 401, a storage unit 402, DMA (Direct Memory Access) units 403a and 403b, and a time synchronization control unit 404. The camera adapter 301 further includes an image processing unit 405, an imaging control unit 406, a transmission unit 407, communication interfaces (IF) units 408a and 408b, and a system bus 409. CPU is an abbreviation for Central Processing Unit.

[0049] The CPU 401 is a processing unit that controls the entire camera adapter 301 , and also exchanges synchronization packets with the time server 320 and control packets with the control terminal 380 .

[0050] The storage unit 402 is a memory that holds the programs of the CPU 401, and synchronization packets and control packets to be transmitted and received. It also holds image data generated by the image processing unit 405 by performing image processing on the captured image data received from the camera 302. Although the storage unit 402 is illustrated as one block in Fig. 4, multiple storage units 402 may be provided depending on the application. Furthermore, when multiple storage units 402 are provided, the respective storage units 402 may be of different memory types.

[0051] The DMA units 403a and 403b perform DMA for transmitting and receiving packets. The DMA units 403a and 403b perform DMA in accordance with transfer instructions from the CPU 401 or the transmission unit 407. Transfer instructions for image packets are issued by the transmission unit 407, and transfer instructions for synchronous packets are issued by the CPU 401.

[0052] In DMA for packet transmission, DMA units 403a, 403b read image packets from a designated area in storage unit 402 and output them to corresponding communication IF units 408a, 408b. In DMA for packet reception, DMA units 403a, 403b transfer image packets received from corresponding communication IF units 408a, 408b to a designated area in storage unit 402. Each DMA unit 403 can buffer multiple transfer instructions.

[0053] The communication IF units 408a and 408b handle the processing of layers 1 and 2 of the OSI reference model, and transmit and receive communication packets to and from the outside of the camera adapter 301. As communication packets, synchronization packets, TCP / IP packets, image packets, and the like are transmitted and received. The synchronization packet transmitted by the time server 320 is received by the communication IF unit 408a on the root side via the camera adapter 301a on the root side. Then, the synchronization packet is transferred to the storage unit 402 by the DMA unit 403a on the root side according to a transfer instruction generated by the CPU 401.

[0054] After the synchronization packet is internally subjected to protocol processing, it is transmitted to the camera adapter 301c on the adjacent leaf side via the DMA unit 403b and communication IF unit 408b on the leaf side in response to an instruction from the CPU 401. Similarly, a synchronization packet transmitted from each camera adapter 301 on the leaf side to the time server 320 is received via the communication IF unit 408 b and DMA unit 403 b on the leaf side and transferred to the storage unit 402 .

[0055] After the synchronization packet has been subjected to protocol processing, it is transferred from the storage unit 402 to the DMA unit 403 a and the communication IF unit 408 a on the root side in response to an instruction from the CPU 401 , and is finally transmitted to the time server 320 . A synchronization packet generated by the camera adapter 301 itself is similarly stored in the memory unit 402 and transmitted to the camera adapter 301 on the root side via the root side DMA unit 403 a and communication IF unit 408 a, and then transmitted to the time server 320.

[0056] The transmission and reception of image packets will be described later. The communication IF unit 408 has an internal clock and a time stamp function for holding the time of the internal clock when a synchronization packet is transmitted or received. The CPU 401 uses the time stamp function for time synchronization calculations. The time stamp function makes it possible to accurately determine the transmission and reception time of a synchronization packet and the time that the synchronization packet remains in the camera adapter 301b.

[0057] In order to measure the accurate residence time of the synchronization packet, the clocks of the communication IF units 408a and 408b synchronize with each other before starting time synchronization by PTP. The time difference with the time server 320 calculated by the PTP protocol processing is applied to all the clocks of the communication IF unit 408, and is controlled by the CPU 401 so that they are always synchronized with the time server 320.

[0058] The time synchronization control unit 404 has its own clock that synchronizes with the clock in the communication IF unit 408, and outputs a synchronization signal, for example of 1 Hz, synchronized with its own clock to the imaging control unit 406. Since the two communication IF units 408 have a total of two clocks, the clock synchronization control unit 204 also has two clocks inside. The synchronization signal output by the time synchronization control unit 404 is synchronized with one of the internal clocks. Since the clock in the communication IF unit 408 is synchronized with the time server 320, the synchronization signal output by the time synchronization control unit 404 is also synchronized with the time server 320.

[0059] The imaging control unit 406 controls the camera 302. When the camera adapter 301 receives an instruction from the control terminal 380 via the hub 340, the CPU 401 sets the imaging control unit 406. Then, the imaging control unit 406 starts outputting a Genlock signal and a Timecode to the camera 302. The Genlock signal and the Timecode are generated based on a synchronization signal received from the time synchronization control unit 404.

[0060] In addition, the imaging control unit 406 outputs a part of the timecode as a trigger signal to the image processing unit 405. This trigger signal is also synchronized with the synchronization signal, and is generated at a cycle equal to the imaging frame rate of the camera 302 in this embodiment. For example, if the imaging frame rate of the camera adapter 301 that generates a foreground image is 60 fps and the imaging frame rate of the camera adapter 301 that generates a background image is 30 fps, the cycles of the generated trigger signals are 60 Hz and 30 Hz, respectively. fps is an abbreviation for frames per second.

[0061] The camera 302 captures an image in synchronization with the Genlock signal, and outputs the captured image data to the image processing unit 405 together with the received timecode. The image processing unit 405 performs image processing required to generate a virtual viewpoint video from the captured image data received from the camera 302, and transfers the image data obtained as a result of the processing to the storage unit 402. The image processing performed by the image processing unit 405 includes, for example, cutting out background parts, foreground parts, and the like.

[0062] Furthermore, upon receiving the trigger signal, image processing unit 405 notifies transmission unit 407 of information related to the generated image data by means of notification signal 450 (see FIG. 5). Notification signal 450 includes address information indicating an area stored in storage unit 402 for each image type, such as a foreground image or background image, as well as a data size and a frame number. Hereinafter, this information included in notification signal 450 will be referred to as notification information.

[0063] The imaging process of camera 302 and the image processing by image processing unit 405 require overhead to start each process. For this reason, notification signal 450, which notifies based on the Nth received trigger signal, does not necessarily notify transmission unit 407 of image data obtained by processing the Nth imaging data received from camera 302. Taking into consideration the delay due to overhead, notification signal 450, which notifies based on the Nth received trigger signal, may notify image data obtained by image processing the N-1th or N-2th imaging data with a delay of one or two.

[0064] If the N-th notification signal 450 notifies image data obtained by processing the (N-1)th imaging data, thereafter, the deviation between the notification signal 450 and the imaging data does not change. The transmission unit 407 generates image packets by packetizing image data based on the notification information of the notification signal 450 received from the image processing unit 405, and issues a transfer instruction to the DMA unit 408a on the root side. Since the transmission unit 407 receives the notification signal 450, which is generated based on the time synchronized with the time server 320, at the same cycle as the imaging frame rate, the transfer instruction for the image packets is also issued periodically.

[0065] The transmission unit 407 also relays image packets received from the adjacent camera adapter 301. In other words, the image packets transmitted by the leaf-side camera adapter 301 are taken into the transmission unit 407 by the leaf-side DMA unit 408b, and a transfer instruction is issued to the root-side DMA unit 408a, which then transmits the packets to the root-side camera adapter 301. The generation, transmission, and relay of image packets by the transmission unit 407 will be described in detail later.

[0066] <Functions of the transmission section> FIG. 5 is a functional block diagram showing the internal functions of the transmission unit 407 in the first embodiment. The configuration shown in Fig. 5 is an example, and multiple functional blocks may be configured as one functional block, or any functional block may be divided into blocks performing multiple functions. Also, at least one of the functional blocks may be implemented as hardware. When implementing by hardware, for example, a specific compiler may be used to automatically generate a dedicated circuit on an FPGA from a program for realizing each step.

[0067] FPGA is an abbreviation for Field Programmable Gate Array. A gate array circuit may be formed in the same manner as an FPGA and realized as hardware. It may also be realized by an ASIC (Application Specific Integrated Circuit).

[0068] The transmitter 407 includes a setting unit 501, a receive buffer unit 502, a transfer packet editing unit 503, an arbitration unit 504, a transmit buffer unit 505, and a packet generation unit 506. The transmitter 407 also includes a receive DMA control unit 507 and a transmit DMA control unit 508. The setting unit 501 has a control information register that holds control information for the entire transmission unit 407. Each functional block of the transmission unit 407 can refer to the control information register of the setting unit 501, and operates according to settings instructed by the CPU 401. The setting unit 501 has a status holding register that holds the status of each functional block of the transmission unit 407, and the CPU 401 can monitor the status of each functional block by using the status holding register.

[0069] The receive buffer unit 502 has a function of receiving from the DMA unit 403 and temporarily holding image packets received by the leaf-side communication IF unit 408b, and a function of outputting the held image packets to the transfer packet editing unit 503. The image packet output by the receive buffer unit 502 is the oldest of the image packets stored in its own buffer. In other words, the receive buffer unit 502 outputs the image packets in the order in which they were received. The receive buffer unit 502 starts outputting the received image packets after receiving a DMA completion notification 570 from the receive DMA control unit 507.

[0070] The receive DMA control unit 507 issues a transfer instruction to the leaf-side DMA unit 403b to receive the image packets. When the CPU 401 enables the transmission unit 407 via the setting unit 501, the receive DMA control unit 507 sets multiple transfer instructions in the corresponding DMA unit 403. Then, every time the receive DMA control unit 507 completes reception of an image packet, it sets a new transfer instruction in the corresponding DMA unit 403, thereby maintaining a state in which image packets can be received at any time.

[0071] Furthermore, each time reception of an image packet is completed, reception DMA control unit 507 issues DMA completion notification 570 to reception buffer unit 502. DMA completion notification 570 includes data size information indicating the data size of the image packet transferred by DMA. Reception buffer unit 502 can determine the breakpoints of the image packets transferred from DMA unit 403 based on the data size information.

[0072] The transfer packet editing unit 503 receives the image packets from the receiving buffer unit 502 and outputs them to the arbitration unit 504. In other words, the transfer packet editing unit 503 receives the image packets via the receiving buffer unit 502 and the DMA unit 403. When outputting an image packet, if the received image packet matches a predetermined condition, the transfer packet editing unit 503 outputs a start notification 550 to the packet generation unit 506. If the condition is met, the transfer packet editing unit 503 rewrites the received image packet and outputs it to the arbitration unit 504. Details of the rewriting will be described later.

[0073] The forwarding packet editing unit 503 has an internal abnormality flag, and when an abnormal state is notified by the packet generating unit 506 through abnormality notification 570, the forwarding packet editing unit 503 holds the abnormality flag. In the following explanation, holding an abnormal state in the abnormality flag is sometimes referred to as "setting a flag," and clearing the abnormal state held by the abnormality flag is sometimes referred to as "clearing the flag." The abnormality notification 570 indicates an abnormal state when it is 'H', and indicates a normal state when it is 'L'. When the forwarding packet editing unit 503 receives the abnormality notification 570 of 'L', the abnormality flag is cleared. In the following explanation, the abnormality notification 570 becoming 'H' may be referred to as "raising the notification", and the abnormality notification 570 becoming 'L' may be referred to as "lowering the notification".

[0074] The arbitration unit 504 arbitrates between the image packets received from the transfer packet editing unit 503 and the packet generation unit 506 , and outputs the packets to the transmission buffer unit 505 . Transmission buffer unit 505 has a function of temporarily holding image packets to be transmitted to other camera adapters 301, and upon receiving an image packet from arbitration unit 504, issues DMA start notification 580 to transmission DMA control unit 508. DMA start notification 580 includes data size information of the image packet stored in the buffer, and is issued when the last data of the image packet is stored in transmission buffer unit 505.

[0075] When an image packet with last packet information added is stored in transmission buffer unit 505, DMA start notification 580 also includes an identifier indicating that it is the last image packet. The last packet information indicates that it is the last image packet of a packet group consisting of one or more image packets transmitted as a series of image packets.

[0076] In the present embodiment, the last packet information is used as the above-mentioned start instruction information. In other words, the start instruction information is included in the last image packet of a packet group consisting of one or more image packets communicated as a series of image packets. When transmit DMA control unit 508 receives DMA start notification 580 from transmit buffer unit 505, it issues a transfer instruction to DMA unit 403a on the root side to transmit the image packet. Furthermore, when the transfer of the image packet in response to DMA start notification 580, which includes an identifier indicating that this is the last image packet, is completed by DMA unit 403, transmit DMA control unit 508 issues transfer completion notification 560 to packet generation unit 506.

[0077] The packet generator 506 controls packet generation for the background image, foreground image, etc. generated by the image processor 405. The packet generator 506 acquires image data to be the payload of the image packet via the system bus 409 using the notification information included in the notification signal 450. The packet generator 506 generates header information and generates an image packet by linking the header information to the image data acquired via the system bus 409.

[0078] The generation of image packets by the packet generator 506 begins when a start notification 550 is received. Furthermore, if the image data size notified by the notification signal 450 is 0 bytes, the packet generation unit 506 transmits an abnormality notification 570 to the transfer packet editing unit 503. If the image data size is not 0 bytes, the packet generation unit 506 sets the abnormality notification 570 to 'L'.

[0079] Packet generating unit 506 may have a transmission completion timer that counts the time from the start of transmission of image packets generated by its own device to the time when the last image packet must be transmitted. In this case, packet generating unit 506 notifies an abnormal state with abnormality notification 570 of 'H' when the transmission completion timer times out, and sets abnormality notification 570 to 'L' at the time of the next frame. In other words, packet generating unit 506 determines that an image packet cannot be generated when a predetermined time has passed since the image packet including start instruction information was received.

[0080] Here, the internal structure of the image packet will be described. FIG. 6 is a diagram showing the internal structure of an image packet 601. An image packet 601 is composed of a header 601a and data 601b. In addition to the Ethernet header, the header 601a includes a frame number, a camera adapter ID, an image type, an image payload size, an image offset, last data information, and last packet information 601c.

[0081] The frame number indicates the number of frames in a moving image. For example, if the frame rate is 60 fps, the frame number will be any value from 0 to 59. If one image packet 601 cannot store all image data for one frame, the same frame number is assigned to multiple image packets 601. The frame number included in the notification signal 450 described above is used as the header 601a of the image packet 601.

[0082] The camera adapter ID indicates the camera adapter 301 that generated the image packet 601 , and is a unique value for each camera adapter 301 . The image type indicates the type of image, such as a foreground image or a background image, extracted by performing image processing on the captured image data.

[0083] The image payload size indicates the data length of the image data contained in the image packet 601 . The image offset indicates the amount of offset from the beginning of the image data. If the offset is zero, it indicates that it is the beginning of the image data. If one image packet 601 cannot store one frame of image data, the image data is divided into multiple image packets 601, and offset information is written as divided position information. When dividing image data to generate multiple image packets 601, the packet generator 506 divides the image data in order from the beginning. The image processing device 360 ​​uses the image offset of the image packet 601 to expand the image data in the internal memory and reassemble it.

[0084] The last data information indicates that this is the last image packet 601 for each image type in frame number N (N is 0 or a positive integer). If the value of the last data information is "1", it is the last image packet 601, and if the value is "0", the last data information has been erased.

[0085] The last packet information 601c indicates that this is the last image packet 601 of frame number N. If the value of the last packet information 601c is "1", it is the last image packet 601, and if the value is "0", the last packet information 601c has been erased. In other words, the last packet information 601c, which is treated as start instruction information, is included in the header 601a of the last image packet 601. For example, if there are two types of image data, a foreground image and a background image, and the frame number is notified as N, the camera adapter 301 transmits two image packets 601 with last data information having a value of "1" and frame number N. In this case, the camera adapter 301 also transmits one image packet 601 with last packet information 601c having a value of "1" and frame number N. Note that the image packet 601 may have last packet information 601d at the end of the data 601b instead of the last packet information 601c in the header 601a. ​​In other words, the last packet information 601c treated as start instruction information may be included at the end of the last image packet 601.

[0086] <Image packet transmission> 4 and 5, a process will be described below in which an image packet is transmitted from camera adapter 301 to an adjacent camera adapter 301. First, a process will be described in which an image packet received by camera adapter 301 is transmitted (transferred) to an adjacent camera adapter 301.

[0087] An image packet transmitted by camera adapter 301 adjacent to the leaf side is received by leaf-side communication IF unit 408b via network cable 310. Leaf-side communication IF unit 408b performs data conversion processing on the received image packet and then outputs the image packet to DMA unit 403. In response to a transfer instruction from reception DMA control unit 507, DMA unit 403 transfers the received image packet to reception buffer unit 502. When transfer of the image packet is completed, reception DMA control unit 507 outputs DMA completion notification 570 to reception buffer unit 502.

[0088] The receiving buffer unit 502 outputs one image packet to the transfer packet editing unit 503 based on the data size information included in the received DMA completion notification 570. The transfer packet editing unit 503 outputs the received image packet to the arbitration unit 504. When outputting, the transfer packet editing unit 503 analyzes the header 601a of the image packet, and if the image packet includes last packet information 601c (i.e., the value is "1"), it rewrites the header 601a and issues a start notification 550. When rewriting the header 601a, the transfer packet editing unit 503 rewrites the last packet information to the value "0", for example, and essentially deletes the last packet information 601c.

[0089] The arbitration unit 504 outputs the image packets received from the transfer packet editing unit 503 to the transmission buffer unit 505. The transmission buffer unit 505 holds the received image packets internally and notifies the transmission DMA control unit 508 that DMA can start by sending a DMA start notification 580. The DMA start notification 580 also includes information on the packet length of the image packets.

[0090] Upon receiving DMA start notification 580, transmission DMA control unit 508 issues a transfer instruction to DMA unit 403. DMA unit 403, which has received the transfer instruction, reads image packets from transmission buffer unit 505 based on the address information and data size information included in the transfer instruction, and outputs the packets to communication IF unit 408. Communication IF unit 408 converts the received image packets into information that can be transmitted over network cable 310, and transmits them to the adjacent camera adapter 301.

[0091] Next, the transmission of image packets internally generated by the camera adapter 301 will be described. As described above, the packet generation unit 506 starts generating image packets when it receives a start notification 550 from the transfer packet editing unit 503. However, in the case of a camera adapter 301 to which no other camera adapter 301 is connected on the leaf side, the packet generation unit 506 starts generating image packets when the transmission start timer times out or the like.

[0092] The packet generating unit 506 assigns last packet information 601c to the last generated image packet (that is, sets the value to “1”). The image packet generated by the packet generating unit 506 is output to the arbitration unit 504. The arbitration unit 504 outputs the image packets received from the packet generation unit 506 to the transmission buffer unit 505. Thereafter, the image packets are transmitted to the adjacent camera adapter 301 in the same manner as the transmission of the received image packets.

[0093] The above processing by transfer packet editor 503 and packet generator 506 continues until camera adapter 301 finishes transmitting the image data notified by notification signal 450 as an image packet. Since the last image packet to be transmitted contains last packet information 601c (value "1"), the received image packet and the generated image packet are transmitted as a series of packets.

[0094] That is, in this embodiment, the start instruction information is included in the last image packet of a packet group consisting of one or more image packets communicated as a series of image packets. Furthermore, in this embodiment, the start instruction information is last packet information indicating that the image packet including the start instruction information is the last image packet. As a result of the above processing by the transfer packet editing unit 503 and the packet generation unit 506, if the received image packet contains start instruction information, the received image packet from which the start instruction information has been deleted and the generated image packet including the start instruction information are transmitted.

[0095] Next, the operations of transferring, generating, and transmitting image packets in the transmission unit 407 will be described with reference to a flowchart. FIG. 7 is a flowchart showing the operations of transferring, generating, and transmitting image packets in the transmission unit 407. The processing operation shown in FIG. 7 mainly consists of waiting for reception of an image packet (S703), transferring the received packet (S704 to S707), and transmitting the image packet (S708 to S714).

[0096] The processing operation shown in FIG. 7 begins when the camera adapter 301 is powered on and starts up as one of the terminals constituting the synchronous shooting system 300 shown in FIG. 1, and the driver for the transmission unit 407 is loaded into the CPU 401 (S701). First, in S702, the camera adapter 301 goes into a standby state (S702: N) until it is instructed by the control terminal 380 to start generating and transferring image packets, and when the instruction to start is given (S702: Y), the process proceeds to S703.

[0097] In S703, the transfer packet editing unit 503 is in a standby state (S703: N) until it receives an image packet from the receiving buffer unit 502. If an image packet is received (S703: Y), the process proceeds to S704, where it is determined whether or not the received image packet 601 includes last packet information 601c.

[0098] If the image packet 601 does not contain the last packet information 601c (S704: N), the process proceeds to S707, where the transfer packet editing unit 503 outputs the image packet received from the receiving buffer unit 502 to the arbitration unit 504 without editing it. Thereafter, the process proceeds to S715, where it is determined whether or not the transmission unit 407 has received an instruction to stop processing from the CPU 401. If the instruction to stop processing has been received (S715: Y), the process ends in S716, and if the instruction to stop processing has not been received (S715: N), the process returns to S703.

[0099] If the image packet 601 contains the last packet information 601c in S705 above (S704: Y), the process proceeds to S705, where the transfer packet editing unit 503 deletes the last packet information 601c of the image packet 601 received from the receiving buffer unit 502. Specifically, the last packet information 601c is deleted by rewriting the value of the last packet information 601c to "0." The process then proceeds to S706, where the transfer packet editing unit 503 outputs the image packet 601 from which the last packet information 601c has been deleted to the arbitration unit 504.

[0100] Thereafter, the process proceeds to S708, where it is determined whether or not an internal abnormality flag in the forwarding packet editing unit 503 is set. If the abnormality flag is not set (S708: N), the process proceeds to S709, where the packet generator 506 packetizes the image generated by the image processor 405. Then, the process proceeds to S710, where it is determined whether the image packetized by the packet generator 506 is the last image it owns (i.e., the last image packet).

[0101] If it is not the last image (S710: N), the process proceeds to S711, where packet generation unit 506 outputs the image packet to arbitration unit 504. As a result, arbitration unit 504 outputs the image packet to transmission buffer unit 505, and the image packet is transmitted to the adjacent camera adapter 301 via DMA unit 403a and communication IF unit 408a. Then, the process returns to S708.

[0102] If the packetized image is the last image held by the packet generating unit 506 in S710 (S710: Y), then in S712 the packet generating unit 506 adds last packet information 601c to the image packet 601. Specifically, the addition of the last packet information 601c is performed by rewriting the value of the last packet information 601c to "1". Then, in S714, packet generation unit 506 outputs image packet 601 including last packet information 601c to arbitration unit 504. As a result, arbitration unit 504 outputs the image packet to transmission buffer unit 505, and the image packet is transmitted to adjacent camera adapter 301 via DMA unit 403a and communication IF unit 408a. Thereafter, the process proceeds to S715, and the same process as above is performed.

[0103] In S708, if the internal abnormality flag of the forwarding packet editing unit 503 is set (S708: Y), in S713 the forwarding packet editing unit 503 generates a communication packet including the last packet information 601c. Then, in S714, the forwarding packet editing unit 503 outputs the communication packet including the last packet information 601c to the arbitration unit 504, and then the same processing as above is performed.

[0104] The communication packet generated in S713 does not need to include image data other than the header 601a because, for the image captured by the photographing unit 390, a portion of the image data is unrecoverable due to a malfunction in the packet generating unit 506, and the image cannot be restored to the original image before fragmentation even if the image processing device reassembles the image data.

[0105] For this reason, for example, the communication packet is transmitted with the minimum necessary data size so that the bandwidth of the transmission path is not wasted and the last packet information 601c is transmitted to the downstream camera adapter 301 in the shortest time. The minimum necessary data size depends on the standard of the communication IF unit 408, and is 64 bytes in the case of Ethernet. Of the 64 bytes, a 4-byte Frame Check Sequence may be generated by the communication IF unit 408.

[0106] That is, when an image packet cannot be generated, a communication packet including at least the start instruction information is transmitted. In the present embodiment, a packet including the start instruction information and not including image data is transmitted as the communication packet. Furthermore, a minimum-sized packet including the start instruction information is transmitted as the communication packet including at least the start instruction information. The communication packet generated in S713 is not limited to the above, and may be, for example, an image packet including start instruction information and dummy image data. By including the dummy image data, the difference in transmission timing between abnormal and normal times is suppressed, and unintended problems due to differences in transmission timing are avoided.

[0107] FIG. 8 is a flowchart showing the abnormality flag setting process. The process shown in FIG. 8 begins when the camera adapter 301 is powered on and starts up as one of the terminals constituting the synchronous shooting system 300 shown in FIG. 1, and the driver for the transmission unit 407 is loaded into the CPU 401 (S801).

[0108] First, in S802, the camera adapter 301 goes into a standby state (S802: N) until it is instructed by the control terminal 380 to start generating and transferring image packets, and if the instruction to start is given (S802: Y), the process proceeds to S803. In S803, CPU 401 determines whether it is the first reception timing of first notification signal 450 in the Nth frame (i.e., frame start timing). If it is not the frame start timing (S803:N), the process proceeds to S804 and goes into a standby state (S804:N) until a certain period of time has elapsed. If the certain period of time has elapsed (S804:Y), the process proceeds to S806. Also, if it is the frame start timing in S803 (S803:Y), S804 is skipped and the process proceeds to S806.

[0109] In S806, the transfer packet editing unit 503 judges whether or not an abnormal state has been notified by the packet generating unit 506 through the abnormality notification 570. If an abnormal state has been notified (S806: Y), the process proceeds to S807, where the packet editing unit 503 sets the abnormality flag to a value of "1." On the other hand, if an abnormal state has not been notified (S806: N), the packet editing unit 503 clears the abnormality flag.

[0110] When the packet editing unit 503 sets an abnormality flag, the process advances from S708 to S713 in the process shown in FIG. 7, packetization of the image is skipped, and the last packet information 601c is sent to the downstream camera adapter 301. Note that the abnormal state corresponds to, for example, a case where the size of the image notified by the notification signal 450 is 0 bytes, a case where the above-mentioned transmission completion timer has timed out, etc. Also, when the transmission completion timer has timed out, the packet editing unit 503 may determine the abnormal state and set an abnormality flag without relying on the abnormality notification 570. In this case, the abnormality flag is cleared at the start timing of the next frame.

[0111] After S807 and S808, the process proceeds to S809, where it is determined whether the camera adapter 301 has received an instruction to stop packet transfer / transmission processing from the control terminal 380. If an instruction to stop processing has been received (S809: Y), the process ends in S810, and if an instruction to stop processing has not been received (S809: N), the process returns to S803.

[0112] As a result of the processing shown in FIG. 7 and FIG. 8, the received image packets are transmitted to the adjacent camera adapter 301, and for the image packets 601 including last packet information 601c, the last packet information 601c is deleted before being transmitted. When packet generator 506 is in a normal state, upon receiving image packet 601 including last packet information 601c, the image is packetized by packet generator 506. The resulting image packet is then transmitted to adjacent camera adapter 301, and last packet information 601c is added to the last image packet 601.

[0113] On the other hand, if the packet generator 506 is in an abnormal state and cannot generate an image packet, an abnormality flag is set, and a communication packet including last packet information 601 c is generated by the transfer packet editor 503 and transmitted to the adjacent camera adapter 301 . In other words, even if the packet generation unit 506 is abnormal, the last packet information 601c is sent to the downstream camera adapter 301, so that each camera adapter 301 downstream of the own device can transmit the generated image data as an image packet.

[0114] Next, another embodiment of the present invention will be described, focusing on the differences from the first embodiment, and components similar to those in the first embodiment will be given the same reference numerals and will not be described again. The second embodiment of the present invention is similar to the first embodiment except for a part of the process shown in FIG.

[0115] FIG. 9 is a flowchart showing the operations of transferring, generating, and transmitting image packets in the second embodiment. 9, if an image packet is received in S703 (S703:Y), then in S901, before S704, it is determined whether or not an abnormality flag is set. If the abnormality flag is not set (S901:N), the process proceeds to S704 as in the first embodiment. On the other hand, if the abnormality flag is set in S901 (S901:Y), the process proceeds to S707, where the received image packet is transferred directly to the adjacent camera adapter 301.

[0116] In other words, in the second embodiment, if an abnormality flag is raised in the transfer packet editing unit 503 at the transfer stage of the received image packet, the received image packet 601 including the last packet information 601c is also transferred as is, and no image packet is generated in the device itself. In other words, in the second embodiment, when an image packet cannot be generated, the received image packet including the start instruction information is transmitted as the above-mentioned communication packet with the start instruction information remaining undeleted. In the first embodiment, even in the event of an abnormality, the last packet information 601c is deleted from the received image packet 601, and then a communication packet including the last packet information 601c is generated and transmitted by the transfer packet editing unit 503. In contrast, in the second embodiment, the double work of deleting and generating is avoided. In particular, when the inability to generate image packets is not temporary but continues for a certain amount of time, in the second embodiment, the branching of S901 continues the transfer of image packets exclusively, thereby reducing the load on the transmission unit 407.

[0117] In the second embodiment, if an abnormal state occurs during generation of an image packet by the packet generation unit 506, the transfer packet editing unit 503 generates a communication packet including the last packet information 601c in S713.

[0118] FIG. 10 is a functional block diagram showing the internal functions of the transmission unit 407 in the third embodiment. In the transmission unit 407 in the third embodiment, an abnormality flag is provided in the setting unit 1001, and when the CPU 401 detects an abnormality in the packet generation unit 506, the CPU 401 sets the abnormality flag in the setting unit 1001. The CPU 401 also instructs the abnormality flag to be cleared.

[0119] The setting unit 1001 includes a control information register that holds control information for the entire transmission unit 407. Each functional block of the transmission unit 407 can refer to the control information register in the setting unit 1001, and the CPU 401 uses the control information register to control each functional block. In the third embodiment, an abnormality flag is provided as one of the control information registers.

[0120] The setting unit 1001 also includes a status register for storing the status of each functional block of the transmission unit 407, and the CPU 401 can monitor the status of each functional block by using the status register. In the third embodiment, a data abnormality notification register is provided as one of the status registers.

[0121] FIG. 11 is a flowchart showing the abnormality flag setting process in the third embodiment. In the third embodiment, after S803 and S804, the process proceeds to S1101, where it is determined whether or not a command to clear the flag has been issued by the CPU 401. Conditions under which a command to clear the flag is issued include when no information has been written to the data abnormality notification register, when a command has been received from software that controls the camera adapter 301, etc.

[0122] If an instruction to clear the flag is given in S1101 (S1101: Y), the process proceeds to S1102, where the abnormality flag is cleared, and then the process proceeds to S809. On the other hand, if an instruction to clear the flag is not given in S1101 (S1101: N), the process proceeds to S1103, where it is determined whether or not the CPU 401 has detected an abnormality.

[0123] The conditions for detecting an abnormality include, for example, when a value is written to a data abnormality notification register, when an instruction is received from the above software, etc. If the CPU 401 detects an abnormality (S1103: Y), the process proceeds to S1104 where an abnormality flag is set, and if no abnormality is detected (S1103: N), S1104 is skipped.

[0124] That is, in the first embodiment, the determination of an abnormal state and the clearing of the abnormality flag are executed in the transmission unit 407 by the transfer packet editing unit 503, whereas in the third embodiment, they are executed by the CPU 401. Therefore, the load on the transfer packet editing unit 503 is reduced, and monitoring and control are unified by the CPU 401.

[0125] (Other embodiments) The present invention can be embodied as, for example, a system, an apparatus, a method, a program, or a recording medium (storage medium), etc. Specifically, the present invention may be applied to a system composed of multiple devices (for example, a host computer, an interface device, a Web application, etc.), or may be applied to an apparatus composed of a single device.

[0126] The present invention can also be realized by supplying a program (computer program) that realizes one or more functions of the above-mentioned embodiments to a system or device via a network or a recording medium (storage medium). One or more processors in the computer of the system or device read and execute the program. In this case, the program (program code) itself read from the recording medium realizes the functions of the embodiment. Also, the recording medium on which the program is recorded can constitute the present invention.

[0127] In addition, not only can the functions of the embodiments be realized by the computer executing a program it has read, but the functions of the above-mentioned embodiments can also be realized by an operating system (OS) running on the computer performing some or all of the actual processing based on the instructions of the program.

[0128] Furthermore, after the program read from the recording medium is written into a memory provided on a function expansion card inserted into a computer or a function expansion unit connected to the computer, a CPU provided on the function expansion card or function expansion unit may perform some or all of the actual processing based on the instructions of the program, and the functions of the above-mentioned embodiments may be realized through this processing.

[0129] When the present invention is applied to the above-mentioned recording medium, the recording medium stores a program corresponding to the flowchart described above. The disclosure of the above embodiment includes the following configurations and methods.

[0130] (Configuration 1) receiving means for receiving a first image packet; A generating means for generating a second image packet; a transmitting means for transmitting, when the first image packet includes predetermined information, the first image packet from which the predetermined information has been deleted and the second image packet including the predetermined information; a control means for transmitting a communication packet including at least the predetermined information when the second image packet cannot be generated; A communication device comprising:

[0131] (Configuration 2) 2. The communication device according to claim 1, wherein the predetermined information is included in a last image packet of a packet group made up of one or more image packets communicated as a series of image packets.

[0132] (Configuration 3) 3. The communication device according to claim 2, wherein the predetermined information is last packet information indicating that an image packet including the predetermined information is the last image packet. (Configuration 4) 4. The communication device according to claim 2, wherein the predetermined information is included in a header of the last image packet.

[0133] (Configuration 5) 4. The communication device according to claim 2, wherein the predetermined information is included at the end of the last image packet. (Configuration 6) The communication device according to any one of configurations 1 to 5, characterized in that, when it becomes impossible to generate the second image packet, the control means causes the transmission means to transmit the first image packet including the specified information as the communication packet with the specified information remaining undeleted.

[0134] (Configuration 7) 7. The communication device according to any one of configurations 1 to 6, wherein the control means generates and transmits the communication packet when it becomes impossible to generate the second image packet. (Configuration 8) 8. The communication device according to claim 7, wherein the control means transmits, as the communication packet, a packet that contains the predetermined information and does not contain image data.

[0135] (Configuration 9) 9. The communication device according to claim 7 or 8, wherein the control means causes a packet of a minimum size including the predetermined information to be transmitted as the communication packet. (Configuration 10) 8. The communication device according to claim 7, wherein the control means transmits, as the communication packet, an image packet including the predetermined information and data of a dummy image.

[0136] (Configuration 11) The communication device described in any one of configurations 1 to 10, characterized in that the control means determines that the second image packet cannot be generated when a predetermined time has elapsed since the first image packet containing the specified information was received. (Configuration 12) 12. A communication system comprising the communication devices according to any one of configurations 1 to 11 connected in a daisy chain.

[0137] (Method 1) a receiving step of receiving a first image packet; A generating step of generating a second image packet; a transmitting step of transmitting, when the first image packet includes the predetermined information, the first image packet from which the predetermined information has been deleted and the second image packet including the predetermined information; a control step of transmitting a communication packet including at least the predetermined information when the second image packet cannot be generated; A communication method comprising:

[0138] (Configuration 13) A program for causing a computer to function as each of the means of the communication device according to any one of configurations 1 to 11. [Explanation of symbols]

[0139] 300: Synchronous photography system; 301: Camera adapter; 302: Camera; 320: time server, 340: hub, 360: image processing device, 370: user terminal, 380: control terminal; 390: photographing unit; 401: CPU; 402: storage unit; 403a, 403b...DMA unit, 404...time synchronization control unit, 405...image processing unit, 406: Imaging control unit; 407: Transmission unit; 408a, 408b: Communication IF unit; 409: system bus; 501, 1001: setting unit; 502: receiving buffer unit; 503: forwarding packet editing unit; 504: arbitration unit; 505: transmission buffer unit; 506: packet generation unit; 507: reception DMA control unit; 508: transmission DMA control unit

Claims

1. receiving means for receiving a first image packet; A generating means for generating a second image packet; a transmitting means for transmitting, when the first image packet includes predetermined information, the first image packet from which the predetermined information has been deleted and the second image packet including the predetermined information; a control means for causing the transmitting means to transmit a communication packet including at least the predetermined information when the second image packet cannot be generated; A communication device comprising:

2. 2. The communication device according to claim 1, wherein the predetermined information is included in a last image packet of a packet group consisting of one or more image packets communicated as a series of image packets.

3. 3. The communication device according to claim 2, wherein the predetermined information is last packet information indicating that an image packet including the predetermined information is the last image packet.

4. 3. The communication device according to claim 2, wherein the predetermined information is included in a header of the last image packet.

5. 3. The communication device according to claim 2, wherein the predetermined information is included at the end of the last image packet.

6. The communication device according to claim 1, characterized in that, when it becomes impossible to generate the second image packet, the control means causes the transmitting means to transmit the first image packet including the specified information as the communication packet with the specified information remaining undeleted.

7. 2. The communication device according to claim 1, wherein, when it becomes impossible to generate the second image packet, the control means causes the transmission means to generate the communication packet and transmit the communication packet.

8. 8. The communication device according to claim 7, wherein the control means transmits, as the communication packet, a packet that contains the predetermined information but does not contain image data.

9. 8. The communication device according to claim 7, wherein the control means causes a packet of a minimum size including the predetermined information to be transmitted as the communication packet.

10. 8. The communication device according to claim 7, wherein the control means transmits, as the communication packet, an image packet including the predetermined information and data of a dummy image.

11. The communication device according to claim 1 , wherein the control means determines that the second image packet cannot be generated if a predetermined time has elapsed since the first image packet including the predetermined information was received.

12. A communication system comprising the communication devices according to any one of claims 1 to 11 connected in a daisy chain.

13. a receiving step of receiving a first image packet; generating a second image packet; a transmitting step of transmitting, when the first image packet includes the predetermined information, the first image packet from which the predetermined information has been deleted and the second image packet including the predetermined information; a control step of transmitting a communication packet including at least the predetermined information when the second image packet cannot be generated; A communication method comprising:

14. A program for causing a computer to function as each of the means of the communication device according to any one of claims 1 to 11.

Citation Information

Patent Citations

  • Image processing device, control method thereof, and program

    JP2021093661A