Relay device and surveillance camera system
The relay device enhances cloud-based surveillance systems by converting camera data to RTMPS and TCP/IP protocols, generating still images, and switching modes to ensure stable display of multiple cameras, overcoming browser and internet limitations.
Patent Information
- Application Number
- JP2024002105U
- Authority / Receiving Office
- JP · JP
- Patent Type
- Utility models
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-08-23
- Estimated Expiration
- 2034-06-26
AI Technical Summary
Cloud-based surveillance camera systems face limitations in displaying images from multiple cameras simultaneously due to browser restrictions and unstable internet communication, leading to interrupted streaming and data loss.
A relay device that receives video data from multiple cameras using the ONVIF standard, converts it to RTMPS and TCP/IP protocols, generates still images at regular intervals, and transmits data via RTMPS, TCP, and FTP, allowing simultaneous display of up to 64 cameras using a standard browser, with automatic switching between streaming and still images based on user interaction.
Enables stable transmission and display of images from 16 to 64 cameras simultaneously, even with unstable internet conditions, reducing data loss and the need for high-performance computers.
Smart Images

Figure 0003248017000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a relay device and a cloud system in a surveillance camera system that can be used in a cloud-based manner. [Background technology]
[0002] Cloud-based surveillance camera systems, which have become increasingly popular in recent years, allow users to view live footage from multiple cameras in remote locations using a commonly available Internet browser (software).
[0003] Figure 6 shows an example of a typical conventional cloud-based surveillance camera system. Traditionally, it has been necessary to use dedicated cloud-enabled surveillance cameras. The video footage from the camera is sent to the cloud server via the internet using a communication method that complies with the RTSP and TCP / IP standards. The communication method is also called a protocol. Sending and receiving video footage in real time is called video streaming, or simply streaming. The cloud server receives the streaming image from the camera, generates a screen to be displayed on the computer's Internet browser, and sends it to the computer. The computer sequentially receives and displays the screens generated by the cloud server. On the PC, use an Internet browser to check the display screen. When streaming from a cloud server to a PC, it is common to use a communication method that complies with the HLS and HTTP standards. Summary of the Invention [Problem to be solved by the invention]
[0004] Commonly used internet browsers include Microsoft Edge (trademark) products from Microsoft, Google Chrome (trademark) products from Google, and Apple Safari (trademark) products. However, all of these have a technical limit of up to eight cameras that can be displayed simultaneously when viewing live footage from remote cameras. However, small and medium-sized facilities have an average of 16 cameras installed, and there is a problem of wanting to check the footage from 16, 32, or 64 cameras simultaneously.
[0005] In addition, cloud-based surveillance camera systems have the ability to record camera footage on the cloud server and play it back as needed, but Internet speeds are often unstable, and when the communication speed is not sufficient, streaming is interrupted and data does not reach the cloud server, resulting in periods when camera footage cannot be recorded.
[0006] The objective of this invention is to provide a surveillance camera system that allows users to simultaneously check footage from 16, 32, or 64 cameras using a commonly used Internet browser, and that can stably transmit surveillance camera footage to a cloud server even if the Internet communication speed becomes unstable. [Means for solving the problem]
[0007] The present invention is a relay device having a video receiving unit that receives video data output in the ONVIF standard from multiple surveillance cameras, a protocol conversion unit that converts the video received by the video receiving unit into a communication method compatible with the RTMPS standard for streaming to a cloud server via the Internet, a video recording unit that records the video received by the video receiving unit, a still image generation unit that generates multiple still image data at regular intervals from the video data received by the video receiving unit, a transmission control unit that transmits the output data from the protocol conversion unit, the output data from the still image generation unit, and the output data from the video recording unit to a cloud server via the Internet as appropriate in response to instructions from the cloud server, and a transmission control information receiving unit that controls transmission in response to instructions from the video receiving unit, the still image generation unit, the protocol conversion unit, and the cloud server.
[0008] Preferably, the video data is transmitted by RTMPS communication, and the still image data is transmitted by TCP communication. When streaming transmission by RTMPS communication or transmission of still image data by TCP communication is not required in response to a command from the cloud server, the transmission control unit stops each data transmission, thereby reducing the amount of communication on the Internet used.
[0009] Preferably, the device further comprises a video recording unit for recording the video data, and transmits the data from the video recording unit to a cloud server via FTP communication. When a command from the cloud server indicates that transmission of the video recording data via FTP communication is not necessary, the transmission control unit stops transmission of the video recording data via FTP, thereby reducing the amount of Internet traffic used.
[0010] The present invention includes a relay device and a cloud server, the relay device includes a video receiving unit that receives ONVIF video data from multiple surveillance cameras, a protocol conversion unit that converts the video received by the video receiving unit into a communication format compatible with the RTMPS standard for streaming to a cloud server, a video recording unit that records the video received by the video receiving unit, a still image generating unit that generates multiple still image data at regular time intervals from the video data received by the video receiving unit, and a transmission control unit that transmits data from the protocol conversion unit, data from the still image generating unit, and data from the video recording unit to the cloud server via the Internet as appropriate in response to an instruction from the cloud server, and the cloud server receives the streaming data and multiple still image data corresponding to the video data via the Internet. A display screen is generated based on the still image data corresponding to the multiple surveillance cameras. The display screen is appropriately displayed using a browser on a personal computer. When one or more still images from multiple security cameras are selected by operating the mouse device of the PC, the screen selection information and mouse pointer (mouse position) information are sent to the cloud server, and the transmission control information receiver 38 (screen display generator) of the cloud server switches from still images to streaming display. After a certain period of time has passed, the area that has been switched to streaming display is automatically reverted to still images and displayed.
[0011] By generating the display screen in this way, users can usually check live video in real time by switching between still images at appropriate intervals. Although the simultaneous display of streaming images via general Internet browsers is limited to eight cameras, there is no limit to the number of still images displayed, making it possible to simultaneously display images from 16, 32, or 64 security cameras. Of course, the number of still images that can be displayed simultaneously is not limited to 64, since it depends on the size of the monitor screen on which they are displayed. If a user wants to view faster changing footage from a specific camera, they can use the mouse to select the display area of the relevant surveillance camera, and the screen will instantly switch to streaming, allowing them to view the content.
[0012] According to the inventor's analysis, the appropriate interval for switching still images is usually between 1 and 15 minutes, and in an environment with little change, the user can easily recognize the image as live even if the still images are switched every hour. As a method of displaying live footage, normally still images are displayed, but by combining this with the ability to temporarily switch to streaming for designated cameras only to check movements in more detail, it is possible to simultaneously display footage from 16, 32, or 64 surveillance cameras.
[0013] Preferably, the relay device further includes a video recording unit that records the video data, and transmits data from the video recording unit to a cloud server by FTP communication. The cloud server displays the video recording data in a playback screen generator based on screen selection information and mouse pointer information from the personal computer, and displays the data on the personal computer's browser. Effect of the Invention
[0014] According to the present invention, it is possible to provide a relay device and a surveillance camera system that enables live video footage from 16, 32, or 64 cameras to be viewed simultaneously using a commonly used Internet browser. [Brief description of the drawings]
[0015] [Figure 1] FIG. 1 is a configuration diagram of a surveillance camera system 1 according to a first embodiment of the present invention. [Diagram 2] FIG. 2 is a configuration diagram of relay device 13 shown in FIG. [Diagram 3] FIG. 3 is a configuration diagram of the cloud server 15 shown in FIG. [Figure 4] FIG. 4 is a system configuration diagram of the relay device 13 shown in FIG. [Diagram 5] FIG. 5 is a system configuration diagram of the cloud server 15 shown in FIG. [Figure 6] FIG. 6 is a diagram for explaining the conventional technology. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0016] Hereinafter, a surveillance camera system according to an embodiment of the present invention will be described. FIG. 1 is a configuration diagram of a surveillance camera system 1 according to a first embodiment of the present invention. As shown in FIG. 1, the surveillance camera system 1 includes, for example, a router 11, a relay device 13, and a cloud server 15. FIG. 2 is a configuration diagram of relay device 13 shown in FIG. As shown in FIG. 2, the relay device 13 includes, for example, a video receiving unit 31, a still image generating unit 33, a protocol converting unit 35, a transmission control unit 37, a transmission control information receiving unit 38, and a video recording unit 39.
[0017] 1 and 2, the video receiving unit 31 of the relay device 13 receives ONVIF standard video data from a plurality of surveillance cameras 21. As the surveillance cameras 21, surveillance cameras that are commercially available can be used.
[0018] The still image generating unit 33 generates a plurality of still image data at a predetermined time interval from the video data received by the video receiving unit 31. The predetermined time interval may be every minute, every 15 minutes, every hour, etc., and is determined according to the usage environment of the surveillance camera 21. In addition, by making the generation of still images short enough, it is possible to view the images as if they were being streamed live, so this type of streaming is sometimes called pseudo-streaming. It is also sometimes called a slideshow format. By using the pseudo-streaming method, the limitation on the number of cameras that can be used when displaying on the personal computer 51 is eliminated. Generally, when streaming from a surveillance camera, 5 to 30 frames per second are transmitted, but in the case of still images, one frame is transmitted every minute or every 15 minutes, so the amount of data transmitted is overwhelmingly small, resulting in reduced communication costs and the convenience of not needing a high-performance computer to receive and display the images.
[0019] Protocol conversion unit 35 converts the video data received by video receiving unit 31 according to the Open Network Video Interface Forum (ONVIF) standard (first communication standard) into video data according to the Real-Time Messaging Protocol Streaming (RTMPS) standard (second communication standard). The transmission control unit 37 transmits the video data (streaming) of the RTMPS standard generated by the protocol conversion unit 35 to the cloud server 15.
[0020] The video recording unit 39 records the video data received by the video receiving unit 31 , and outputs the recorded file to the transmission control unit 37 . The transmission control unit 37 transmits the still image data of the TCP standard generated by the still image generating unit 33 to the cloud server 15 . In addition, the transmission control unit 37 transmits the video data file generated and stored by the video recording unit 39 to the cloud server 15 as an FTP file. In FTP communication, data is converted into files (blocks of data), and if the other party is unable to receive the file properly, it is automatically resent, allowing communication without any data loss. The relay device 13 appropriately records the above-mentioned moving images, still images, and recorded data in a memory, which will be described later.
[0021] FIG. 3 is a configuration diagram of the cloud server 15 shown in FIG. As shown in FIG. 3, the cloud server 15 includes, for example, a communication control unit 61 and a display screen generation unit 63. The communication control unit 61 includes, for example, a streaming receiving unit 71, a still image receiving unit 73, and a recorded data receiving unit 74.
[0022] The display screen generating unit 63 displays a multiple camera display screen, a single camera display screen, and a recorded data playback screen on the screen of the personal computer 51 based on the streaming data, still image data, and recorded video data from the streaming receiving unit 71. The personal computer 51 displays these screens using a general browser. The display screen generating unit 63 switches between a multiple camera display screen, a single camera display screen, and a recorded data playback screen displayed on the personal computer 51 based on designated operation information from the personal computer 51 (by a mouse or the like).
[0023] In addition, all or part of the multiple camera display screen, single camera display screen, and recorded data playback screen may be displayed simultaneously on the personal computer 51. In response to a designated operation, the display screen generating unit 63 may switch the surveillance camera 12 at the relevant location to streaming, and automatically return to still image display after a predetermined time. The display screen generating unit 63 can be set to switch the surveillance camera 12 at the relevant location to streaming by a specified operation and to display it as an independent screen, or to automatically display it as a still image screen after a predetermined time.
[0024] As mentioned above, the video recording data recorded at a specific time is sent as a file. In this case, FTP communication, which is suitable for file transmission, is used. In other words, by using FTP communication, even if communication via the Internet becomes unstable and transmission is delayed, retransmission processing is automatically performed and data is not lost. In addition, if the retransmission processing is also delayed, a log (communication history) is recorded, so that it is possible to know that data transmission was delayed and perform retransmission processing. With this configuration, even if Internet communications become unstable, recorded data will not be lost, and images captured by surveillance cameras can be recorded and stored on cloud server 15.
[0025] FIG. 4 is a system configuration diagram of the relay device 13 shown in FIG. As shown in FIG. 4, the relay device 13 includes, for example, a communication unit 81, a memory 83, and a processing unit 85. The communication unit 81 communicates with multiple surveillance cameras 21 and the cloud server 15. The memory 83 stores programs and data executed by the processing unit 85 . The processing unit 85 executes the program PRG1 stored in the memory 83 to perform the processing of the relay device 13 defined in this embodiment.
[0026] The function of the relay device 13 shown in FIG. 2 is executed using the configuration shown in FIG. The relay device 13 stores the above-mentioned moving images, still images, and recorded data in the memory 83 as appropriate. In addition, the communication unit 81 receives video data from the surveillance camera 12 and transmits the data to the cloud server 15 via the router 11. Moreover, the processing unit 85 controls the processing of the relay device 13 described above.
[0027] FIG. 5 is a system configuration diagram of the cloud server 15 shown in FIG. As shown in FIG. 5, the cloud server 15 includes, for example, a communication unit 91, a memory 93, and a processing unit 95. The communication unit 91 communicates with the relay device 13 and the personal computer 51 . The memory 93 appropriately stores programs and data executed by the processing unit 95 . The processing unit 95 executes the program PRG2 stored in the memory 93 to perform the processing of the cloud server 15 defined in this embodiment.
[0028] The functions of the cloud server 15 shown in FIG. 3 are executed using the configuration shown in FIG. The cloud server 15 stores the above-mentioned videos, still images, and files in the memory 93. Moreover, a communication unit 91 receives data from the relay device 13 and transmits and receives data to and from the personal computer 51 . Moreover, the processing unit 95 controls the processing of the cloud server 15 described above.
[0029] As described above, unlike general cloud-based surveillance camera systems, surveillance camera system 1 is not limited to dedicated cameras as surveillance cameras and can use commercially available surveillance cameras 12. When general surveillance cameras 12 output captured video to a network, they output data using a communication method that complies with an international standard called ONVIF. On the other hand, in the case of communication over the Internet, communication according to the ONVIF standard cannot be used, so in the surveillance camera system 1, as described above, communication is performed via the relay device 13 that converts the communication method. There are several types of communication methods permitted for communication via the Internet, but for video images and various controls, the online sales and delivery system 1 uses the RTMPS and TCP / IP communication methods. In this way, surveillance camera system 1 can use surveillance cameras that are commercially available, and can eliminate the restriction of simultaneously displaying images from eight surveillance cameras on personal computer 51. In other words, live video from 16, 32, or 64 cameras can be viewed simultaneously using any commonly available Internet browser.
[0030] Furthermore, even if the camera images change every minute, when a human being such as a security guard reviews the normal camera images, they can still be used as live footage. On the other hand, if a state that requires confirmation is captured by a surveillance camera, by moving the mouse pointer to a specific camera location on the screen of personal computer 51 and clicking, that information is sent to cloud server 15, and cloud server 15 switches the image of the corresponding surveillance camera 12 from a still image to a video image for display, or switches the corresponding surveillance camera 12 to an independent, standalone display screen for display. During this operation, cloud server 15 sends an instruction to relay device 13 to switch the output of still images to the output of moving images.
[0031] The present invention is not limited to the above-described embodiments. In other words, those skilled in the art may make various modifications, combinations, sub-combinations, and substitutions of the components of the above-described embodiment within the technical scope of the present invention or an equivalent scope. [Industrial Applicability]
[0032] This is applicable to surveillance camera systems. [Explanation of symbols]
[0033] 11…Router 12. Surveillance camera 13...Relay device 15. Cloud server 31...Video receiving unit 33...Still image generation section 35…Protocol conversion section 37...Transmission control unit 38...Transmission control information receiving unit 39…Video Recording Department 51…PC
Claims
1. A video receiving unit that receives ONVIF standard video data from a plurality of surveillance cameras; a protocol conversion unit that converts the video received by the video receiving unit into video data of a communication method compatible with the RTMPS standard in order to stream the video to a cloud server; a video recording unit that records the video received by the video receiving unit; a still image generating unit that generates a plurality of still image data at regular time intervals from the video data received by the video receiving unit; a transmission control unit that transmits data from the protocol conversion unit, the still image generation unit, and the video recording unit to the cloud server via the Internet in response to an instruction from the cloud server; a transmission control information receiving unit that controls transmission in response to commands from the video receiving unit, the still image generating unit, the protocol converting unit, and the cloud server; A relay device having the above configuration.
2. The video data is transmitted by RTMPS communication. The still image data is transmitted by TCP communication; When streaming transmission by RTMPS communication or transmission of still image data by TCP communication is not required in response to a command from the cloud server, the transmission control unit stops each data transmission, thereby reducing the amount of Internet traffic used. The relay device according to claim 1 .
3. The video data is transmitted by RTMPS communication, and the still image data is transmitted by TCP communication; When streaming transmission by RTMPS communication or transmission of still image data by TCP communication is not required in response to a command from the cloud server, the transmission control unit stops each data transmission, thereby reducing the amount of Internet traffic used. The relay device according to claim 2 .
4. A relay device; Cloud server and having The relay device is A video receiving unit that receives ONVIF standard video data from a plurality of surveillance cameras; a protocol conversion unit that converts the video received by the video receiving unit into video data of a communication method compatible with the RTMPS standard in order to stream the video to the cloud server; a video recording unit that records the video received by the video receiving unit; a still image generating unit that generates a plurality of still image data at regular time intervals from the video data received by the video receiving unit; a transmission control unit that transmits data from the protocol conversion unit, the still image generation unit, and the video recording unit to the cloud server via the Internet in response to an instruction from the cloud server; a transmission control information receiving unit that controls transmission in response to commands from the video receiving unit, the still image generating unit, the protocol converting unit, and the cloud server; The cloud server includes: receiving the video data and a plurality of still image data corresponding to the video data via the Internet; generating a plurality of screens including the still image data corresponding to the plurality of surveillance cameras; When a still image being displayed is designated, the video data corresponding to the designated still image is played back, and the video data is automatically switched back to the still image after a certain period of time has elapsed. Surveillance camera system.
5. The relay device transmits the video data to the cloud server via the Internet by FTP communication; The cloud server records or films the video data received from the relay device in the cloud server, and when a user operates a personal computer to receive an instruction to play back the recorded date and time, displays a playback screen of the corresponding period on the personal computer. The surveillance camera system according to claim 4.
