WO2007023626A1 - Network camera, management server, and video distribution system - Google Patents

Network camera, management server, and video distribution system Download PDF

Info

Publication number
WO2007023626A1
WO2007023626A1 PCT/JP2006/314257 JP2006314257W WO2007023626A1 WO 2007023626 A1 WO2007023626 A1 WO 2007023626A1 JP 2006314257 W JP2006314257 W JP 2006314257W WO 2007023626 A1 WO2007023626 A1 WO 2007023626A1
Authority
WO
WIPO (PCT)
Prior art keywords
network camera
port number
address
global
router
Prior art date
Application number
PCT/JP2006/314257
Other languages
French (fr)
Japanese (ja)
Inventor
Eizo Umeda
Original Assignee
Megachips Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Megachips Corporation filed Critical Megachips Corporation
Priority to JP2006522832A priority Critical patent/JP4576637B2/en
Publication of WO2007023626A1 publication Critical patent/WO2007023626A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/54Store-and-forward switching systems 
    • H04L12/56Packet switching systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • H04N23/661Transmitting camera control signals through networks, e.g. control via the Internet

Definitions

  • the present invention relates to a technique for distributing video captured by a network camera connected to a router.
  • a network camera is connected to the Internet and used, an image captured by the network camera installed at home or the like can be viewed from a remote location.
  • the network camera has a function to distribute the captured video and audio via the Internet.
  • the network camera captures the image. You can view the video inside. For example, when using a surveillance camera to check whether an abnormal situation has occurred at home by looking at home images captured by a network camera during a long trip, Are various.
  • DNS Domain Name System
  • IP address which is a list of 32bits numbers
  • domain name that is easy for humans to divide and memorize, so that the user can easily change the IP address to the target IP address without being aware of the IP address. Can be accessed.
  • Patent Document 1 discloses a technique for assigning a port number as a technique related to the present invention.
  • Patent Document 1 JP 2004-266320 A Disclosure of the Invention Problems to be Solved by the Invention
  • the global IP address of the network camera is generally not fixed, and at a predetermined timing such as when connecting to the Internet, an ISP (Internet Service Provider) will use the dynamic IP address assigned by the server.
  • ISP Internet Service Provider
  • DDNS Dynamic Domain Name System
  • the subdomain name “.00” is assigned to a personal network camera.
  • a network camera such as an external camera
  • the FQDN Full Qualified Domain Name (hereinafter referred to as “address”)
  • xxx.xxx.co.jp the address input field.
  • the DDNS server power of domain name “00.co.jp” is converted to the global IP address registered in association with the subdomain name “ ⁇ . ⁇ .co.jp”. It is possible to connect to the network camera with the global IP address.
  • the network camera dynamically registers the global IP address associated with the subdomain name to the DDNS server, thereby renewing the global IP address.
  • Domain names can be used instead of IP addresses.
  • the port forwarding function is a function that assigns and transfers access to a specific port number from the Internet side to a network device in the home having a specific private IP address.
  • the network camera can be used as a Web server on the Internet.
  • some network cameras in recent years automatically perform a setting operation related to a port forward function of a router.
  • the router's port forward function is automatically set by the network camera, so connect the network camera to the router. It is only possible to distribute video over the Internet.
  • an object of the present invention is when a plurality of network cameras are connected to a router for use, or when a network device other than a network camera is connected under the router. Another object is to provide a technology that allows video and audio captured by a network camera to be distributed via the Internet simply by connecting the network camera to a router.
  • a first invention that solves the above problem is a video distribution system that distributes captured video via a network, the router connected to the network, and connected to the router, A network camera that transmits the identification information of the router and the global IP address of the router, and a database that associates and manages the identification information, the global IP address and the port number, and the network camera power received the global camera
  • the port number associated with the IP address and the identification information different from the identification information received from the network camera is stored, the port number different from the port number is assigned to the network. Assign to the camera and assign the assigned port number to the network camera.
  • a management server for transmission.
  • the second invention is the video distribution system according to the first invention, wherein the network camera receives the port number from the management server and assigns the port number to itself. It is characterized by setting the port forward function of the router.
  • the third invention is the video distribution system according to the first or second invention, wherein
  • the network camera transmits the identification information, the global IP address, and error information to the management server when the port forward function of the router is not set within a predetermined time, and the management server
  • the network camera power is searched based on the received global IP address, and the port number different from the port number stored in association with the global IP address is determined. Reassigning to the network camera and transmitting the reassigned port number to the network camera.
  • the fourth invention is the video distribution system according to any one of the first to third inventions, and the network camera, when the setting of the port forward function of the router is completed, the management server
  • the management server requests connection to the network camera by the port number transmitted to the network camera in response to a request from the network camera.
  • the fifth invention is a video distribution system according to any one of the first to fourth inventions, and further assigns a subdomain name corresponding to the identification information to the global IP address.
  • DDNS server that manages the network, and when the network camera recognizes that the connection by the port number has been established from the management server, the network camera transmits the identification information and the global IP address to the DDNS server. It is required to assign a subdomain name.
  • the sixth invention is the video distribution system according to any one of the first to fourth inventions, and further manages by assigning a subdomain name to the identification information and the global IP address.
  • the network camera recognizes that the connection by the port number has been established from the management server, it generates a subdomain name corresponding to the identification information, and the identification information, The global IP address and the subdomain name are transmitted to the DDNS server to request assignment of the subdomain name.
  • a seventh invention is the video distribution system according to any one of the first to sixth inventions, wherein the DDNS server assigns the sub domain name in response to a request from the network camera. Is notified to the network camera, and the network When receiving the notification, the work camera notifies the completion of the setting.
  • the eighth invention is a network camera that distributes captured images via a network, and is connected to the network via a router, and includes its own identification information and the router's global information.
  • the router sends the IP address to the management server connected to the network, requests the port number assignment, receives the port number assigned by the management server, and assigns the port number to itself. It is characterized by setting the port forward function.
  • the ninth invention is the network camera according to the eighth invention, wherein if the port forward function of the router is not set within a predetermined time, the global IP address and When the port number changed by the management server is transmitted by sending error information to the management server and the port number changed by the management server is received, the port forward function of the router is assigned so that the port number is assigned to itself. It is characterized by resetting.
  • the tenth invention is the network camera according to the eighth or ninth invention, wherein when the setting of the port forward function of the router is completed, the management server is checked for connection via the router. It is characterized by requiring to do.
  • the eleventh invention is the network camera according to any of the eighth to tenth inventions, and when the management sano recognizes that the connection by the port number has been established, the DDNS server The identification information and the global IP address are transmitted to request assignment of the subdomain name.
  • the twelfth invention is the network camera according to any of the eighth to tenth inventions, and when the management sano recognizes that the connection by the port number has been established, A corresponding subdomain name is generated, and the identification information, the global IP address, and the subdomain name are transmitted to a DDNS server to request assignment of the subdomain name.
  • the thirteenth invention is the network camera according to any of the eighth to twelfth inventions, and when the signal notifying that the assignment of the subdomain name is completed, the setting is completed. It is characterized by notifying.
  • the fourteenth invention comprises a database that manages the identification information and the global IP address in association with the port number, and receives the global IP address when the identification information and the global IP address are received. If the port number associated with the address and the identification information different from the received identification information is stored, the port number different from the port number is determined, and the port number is determined. And transmitting to the sender of the identification information and the global IP address.
  • the fifteenth aspect of the invention is the management server according to the fourteenth aspect of the invention, wherein when data including the identification information, the global IP address and the error information is received, the management server is based on the received global IP address. Then, the database is searched, the port number different from the port number stored in association with the global IP address is reassigned to the transmission source, and the reassigned port number is assigned to the error information. It is characterized by being sent to the sender.
  • the port numbers of the network cameras may overlap. It is automatically assigned so that the user does not have to consider and determine the port number for each network camera!
  • the port forward function of the router is automatically set by the network camera, even when the user uses a plurality of network cameras, It is not necessary to set the router's port forward function for each network camera.
  • any one of the video distribution system according to the third invention, the network camera according to the ninth invention, and the management server according to the fifteenth invention a network device other than the network camera is connected to the router. Even if the port number assigned to the network camera has already been assigned to another network device, the port number assigned to the network camera is automatically changed. There is no need to check the port number used by the device or to determine the port number of the network camera. [0040] According to the video distribution system according to the fourth invention or the network camera according to the tenth invention, it is confirmed whether or not it is possible to distribute video and audio from the network camera by the determined port number. be able to.
  • the user uses the domain name instead of the global IP address. Can be connected to a camera.
  • the user has completed the setting of the port forward function of the router and the setting of the subdomain name by the DDNS server.
  • the DDNS server By connecting to each network camera using a domain name, it is possible to recognize that video and audio can be viewed.
  • the network camera of the eighth invention even when a plurality of network cameras are used, port number assignment and router port forwarding function settings are automatically performed. Users can distribute all network camera power video and audio simply by connecting to the router.
  • FIG. 1 is a diagram showing a configuration of a video distribution system according to an embodiment of the present invention.
  • FIG. 2 is a flowchart showing the operation of the network camera according to one embodiment of the present invention.
  • FIG. 3 is a flowchart showing an operation related to port number determination of the management server according to the embodiment of the present invention.
  • FIG. 4 is a diagram showing the operation of the video distribution system according to one embodiment of the present invention.
  • FIG. 1 is a diagram showing a configuration of a video distribution system according to one embodiment of the present invention.
  • a modem 4 for connecting to the Internet 6 and performing communication using ADSL (Asymmetric Digital Subscriber Line), FTTH (Fiber To The Home), etc. and a plurality of network devices are provided.
  • Network routers 1A and 1B for distributing video and audio, and a management server 7A and a DDNS server 7B connected to the Internet 6.
  • the router 3 is also connected to a network device such as the computer device 2.
  • the network cameras 1A and 1B, the computer device 2, the router 3 and the modem 4 constitute a LAN (Local Area Network) 5.
  • the mobile phone 8 in the figure is shown as an example of a terminal that is connected to the Internet 6 and uses this video distribution system to view video and audio captured by the network camera 1.
  • network cameras 1A and 1B force indicating two network cameras 1A and 1B.
  • One network camera may be used, or three or more network cameras may be used. Absent.
  • network cameras are collectively referred to as network cameras 1.
  • the network camera 1 has a function of distributing captured video and audio as a Web server.
  • the user uses a terminal such as a mobile phone 8 to connect to the network camera 1 via the Internet 6 and uses a web browser or the like for video and audio captured and distributed by the network camera 1. Can be viewed.
  • the network camera 1 communicates with the management server 7A to determine a port number to be used for video distribution, and assigns a subdomain name to the DDNS server 7B. Performs various operations to realize the requested function and the function to perform connection authentication for terminals such as mobile phones 8.
  • the network camera 1 has a UPnP (Universal Plug & Play) function, and can simply execute each of the above functions at a predetermined timing just by connecting to the network. Details of these functions and operations will be described later.
  • UPnP Universal Plug & Play
  • the computer apparatus 2 is an example of a general network apparatus that is connected to the Internet 6 in the same manner as the network camera 1. Since the network camera 1 can be connected to the LAN using a private IP address via the router 3, the computer device 2 can view video and audio captured by the network camera 1, and can also connect to the network camera. It can also be used to make various settings for 1.
  • the router 3 is a device that performs routing for using one global IP address assigned on the Internet 6 by a plurality of network devices 1 and 2 connected to the LAN 5. Have the ability. Specifically, the Dynamic Host Configuration Protocol (DHCP) function that assigns private IP addresses to multiple network devices 1 and 2 connected to LAN 5, and these network devices 1 and 2 communicate using the Internet 6. When performing communication, it has a function to mutually convert the IP address related to the data to be transmitted / received into a private IP address in LAN5 and to a global IP address on Internet6.
  • DHCP Dynamic Host Configuration Protocol
  • the modem 4 is a device necessary for performing data communication via the Internet 6 using a global IP address assigned to the network device power such as the network camera 1 and the computer device 2, and includes ADSL and It has a function to perform data communication by various methods such as FTTH.
  • the mobile phone 8 is connected to the network camera 1 via the Internet 6 and is used for viewing video and audio captured by the network camera 1. At this time, connection authentication may be performed on the mobile phone 8 in order to realize security for connection to the network capability 1.
  • the mobile phone 8 is an example, and a terminal used for viewing video and audio may be another terminal such as a computer device, a PDA (Personal Digital Assistants), or a mobile game terminal. What! /
  • the router 3 also receives a connection request from a network device on the Internet 6 to the network camera 1 that operates as a Web server for the purpose of viewing captured video and audio. It has a port forward function that enables data transmission and reception between the device and network camera 1. Specifically, a specific port is released from the router 3 to the Internet 6 side, and data is transmitted / received through the port.
  • Network camera 1 can operate as a web server.
  • a terminal such as a mobile phone 8 connected to the network camera 1 from the outside via the Internet 6 can view images and sounds captured by the network camera 1 using a Web browser or the like. It becomes possible.
  • port numbers 20 and 21 are to be assigned to the private IP address of network camera 1, FTP (File Transfer) can be used between network camera 1 and a terminal to which external power is also connected via the Internet 6. It is also possible to implement operations such as (Protocol) transfer.
  • the global IP address used by the network camera 1 is assigned when the modem 4 is connected to the Internet 6. However, when the connection is terminated and reconnected, a new global IP address is assigned. It is done. Alternatively, the global IP address assigned every predetermined time may change. In other words, the global IP address assigned to network camera 1 is not fixed but changes dynamically.
  • the management server 7A has a function of managing a port number used by the network camera 1 for video and audio distribution.
  • the internal storage device (not shown) manages information such as network camera identification information, global IP addresses, and port numbers used for video and audio distribution as a database.
  • it In response to a request from the network camera 1, it has a function of searching for data in the database and determining a port number used by the network camera 1 according to the search result. Details of these functions and operations will be described later.
  • the DDNS server 7B has a function of assigning a subdomain name to a global IP address used by the network camera 1. As a result, when connecting to the network camera 1 from the outside, it is possible to use an address including a subdomain name rather than an IP address that is a list of numerical values.
  • the management server 7A and the DDNS server 7B are shown separately.
  • the present invention is not limited to this.
  • One server realizes the operations and functions of the management server 7A and the DDNS server 7B. It may be a mode that operates so as to.
  • FIG. 2 is a flowchart showing the operation of the network camera 1.
  • FIG. 3 is a flowchart showing a method for determining a port number performed by the management server 7A.
  • Figure 4 shows the overall flow of the video distribution system, including the corresponding actions shown in Figures 2 and 3. The operation of the video distribution system with reference to these figures explain.
  • the router 3 is connected to the Internet 6 via the modem 4. Router 3 is assigned a global IP address and can communicate over the Internet 6.
  • a private IP address is assigned to the network camera 1A by the DHCP function of the router 3.
  • the network camera 1A recognizes the global IP address assigned to the router 3, the network camera 1A transmits data including its serial number, global IP address, and requested port number as parameters to the management server 7A (see FIG. 2 steps Sl).
  • the requested port number means the port number for which allocation is requested for use in the distribution of video and audio of the network camera 1A, and the initial value for the manufacturing stage.
  • serial number given at the manufacturing stage
  • the present invention is not limited to this, and any information that is unique to each network camera 1 can be identified.
  • information other than the serial number such as a MAC address, may be used.
  • the management server 7A determines a port number used for distributing video and audio from the network camera 1A.
  • the management server 7A when receiving the data transmitted from the network camera 1A, the management server 7A extracts the serial number and global IP address of the network camera 1A as reception parameters (step Sl in FIG. 3).
  • the management server 7A starts searching for the database stored in the internal storage device based on the extracted parameters (step S12).
  • the database is configured with data power in which the global IP address, serial number, and port number to be used of each network camera 1 are associated.
  • each network camera 1 identified by the serial number is assigned to which group. It belongs to the global IP address, and you can check which port number is used to distribute video / audio.
  • the same port number is duplicated in the network camera 1 having the same global IP address by the method of determining the port number and the method of registering the data in the database, which will be described later. It is managed not to be assigned. In other words, if the port number used by the network camera 1 is determined so that it matches the data in the database, even if multiple network cameras 1 are connected under the router 3 in the LAN 5 at home, Video and audio can be distributed via the Internet 6 from each network camera 1 where port number collisions do not occur.
  • the management server 7A also searches the database power for data having an IP address that matches the global IP address of the network camera 1A (step S13).
  • step S14 If there is data having the corresponding IP address as a result of the search, data matching the serial number of the network camera 1A is further searched from among the data (step S14).
  • step S15 data in which only the network camera 1A matches the serial number is searched from the database (step S15).
  • step S14 When there is data that matches the global IP address, but there is no data that matches the serial number (in the second case: step S14) No), data with the same global IP address does not exist and data with the same serial number does not exist (in the third case: No in step S15), and data with a matching global IP address Does not exist! ⁇ is divided into four cases where the data with the same serial number exists (fourth case: Yes in step S15).
  • data including the global IP address and serial number of network camera 1A is already stored in the database in management server 7A.
  • this corresponds to a case where the network camera 1A has already been registered in the database of the management server 7A, and a port number assignment request has been made.
  • the management Sano 7A acquires the port number associated with the data matching the global IP address and serial number received from the network camera 1A from the database, and the port number (hereinafter referred to as the acquired port number). Is sent to the network camera 1A (step S17).
  • the management server 7A searches for the data with the largest port number assigned among the data having the same IP address (step 16), and sets the maximum value of the searched port numbers to 1. The number with is added to network camera 1 A (step S18).
  • management server 7A registers the global IP address, serial number, and assigned port number of network camera 1A as new data in the database (step S21).
  • the newly added network camera 1A has a port number used by the existing network camera 1. A port number with 1 added to the maximum value is assigned. Because of this, duplicate port numbers may not be assigned!
  • the management server 7A transmits the request port number received from the network camera 1A in step S11 to the network camera 1A as it can be used as it is (step S19).
  • the management server 7A registers the global IP address, serial number, and requested port number of the network camera 1A as new data in the database (step S21).
  • the global IP address, serial number, and port number related to network camera 1A are registered in the database as a new management target in the database.
  • a port number assignment request is received from network camera 1A. If there is, the port number is assigned according to the procedure described above in the first case.
  • the network camera 1A transmits a predetermined request port number set as an initial value to the management server 7A, and the management server 7A transmits this to the network camera 1A.
  • the management server 7A transmits this to the network camera 1A.
  • the predetermined port number that the management server 7A has as an initial value is used. It does not matter if it is transmitted.
  • the management Sano 7A transmits the port number associated with the data with the matching serial number to the network camera 1A (step S20).
  • the management server 7A then updates the database by rewriting the global IP address associated with the serial number of the network camera 1A registered in the database with the global IP address received from the network camera 1A. (Step S 22)
  • the management server 7A shows the cases shown in the first to fourth cases. By supporting, network camera 1A will not be assigned a port number that is duplicated with other network camera 1B.
  • the port number received by the network camera 1A is duplicated with the port number assigned to the other network camera 1. Therefore, the port forward setting can be completed with certainty. Therefore, for example, simply change the port number and repeat the port forward function setting, and complete the port forward function setting in a shorter time than when the port forward setting is completed when the port number does not overlap. be able to.
  • the network camera 1A that has received the port number determined in the above procedure (step S2 in Fig. 2) automatically uses the UPnP function to start setting the port forward function of the router 3. (Step S3).
  • the access to the port number received from the management server 7A is forwarded to the private HP address assigned to the network camera 1A.
  • Set the port forward function For the router 3 using the global IP address, the access to the port number received from the management server 7A is forwarded to the private HP address assigned to the network camera 1A.
  • the network camera 1A can operate on the Internet 6 as a Web server using the assigned port number and global IP address.
  • the port number assigned by the management server 7A to the network camera 1A is already used by another network device such as the computer device 2 connected to the LAN5.
  • a network camera different from the present invention is used, and the port number being used by the network camera is assigned to the network camera 1A. Since the management server 7A manages only the port number of the network camera 1, if another network device such as the computer device 2 is used, these network devices There is a possibility that the port number already assigned to the network device and the port number to be assigned to network camera 1 on the management server 7A overlap.
  • the port forward function cannot be set normally because an attempt is made to use the duplicate port number already set in the network camera 1A power router 3. Therefore, the router 3 does not return a response indicating that the port forward function has been set normally to the network camera 1A, and there is no response or an error has occurred. A response indicating is returned.
  • the network camera 1A tries to set the port forward function for the router 3 according to the port number determined by the management server 7A. If there is no response from the router 3 indicating that the port forward function has been successfully set within the specified time, it is assumed that an error has occurred and the operation returns to step S1 again (step S1). S4 No).
  • the parameter sent from the network camera 1A to the management server 7A indicates that an error has occurred in the router 3 in addition to its own serial number and global IP address. Send error information.
  • the management server 7A that has received this operates differently from the first to fourth cases described above with reference to FIG.
  • the management server 7A when the signal received from the network camera 1A contains error information indicating that an error has occurred in the settings of the router 3, (in step S22) Yes), data having the same global IP address as that of network camera 1A is searched from the database, and data having the maximum value of the port number is further searched (step S23). Then, the port number obtained by adding 1 to the maximum value of the searched port number is transmitted to the network camera 1A (step S24), and the data is rewritten using the port number as the port number of the network camera 1A to update the database. (Step S25). [0120] Then, the network camera 1 A operates again with steps S3 and S4 as described above. That is, the operation force of steps S1 to S4 is repeated until the setting of the port forward function of router 3 is completed normally.
  • the management server 7A that has received the error information searches for data having the same global IP address and the maximum port number, and adds 1 to the port number.
  • a mode of determining a new port number has been shown, the present invention is not limited to this. If it is different from the port number assigned to the data with the same global IP address in the database of Management Server 7A, and if it determines a port number different from the assigned port number when an error occurs, the port number In addition to a mode in which a predetermined numerical value is added to the maximum value, a mode in which a port number is determined by performing a predetermined calculation may be used.
  • the network camera 1A has a port number other than the port number assigned to the network camera 1.
  • Set the port forward function with the port number Therefore, when changing the port number and setting the port forward function repeatedly Compared to, the setting of the port forward function can be completed in a shorter time.
  • the network camera 1 A which has determined the port number and has successfully completed the setting of the port forward function for the router 3, sends a signal requesting the management server 7A to check the external connection. Is transmitted (step S5 in FIG. 2).
  • the management server 7A that has received this refers to the data in the database managed for the requested network camera 1A, specifies the global IP address and port number registered in the data, and specifies the network camera. Attempt to connect to 1A.
  • the video and audio captured by the network camera 1A can be distributed from the outside of the LAN 5 to the terminal that requests connection by specifying the global IP address and port number via the Internet 6. Test for power.
  • the port forward function of the router 3 Assuming that the settings and data in the database in the management server 7A are not in a normal state, the network camera 1A returns to step S1 and operates (No in step S6). Then, the operations of steps S1 to S5 are performed again.
  • the network camera 1A receives the signal from the management server 7A and confirms that all the settings related to the global IP address and port number have been normally completed, the network camera 1A A signal that responds to is sent to the management server 7A (step S7).
  • the management server 7A manages, in addition to the global IP address, serial number, and port number, information indicating that the external connection confirmation test has been performed normally as data in the database.
  • the network camera 1A simply uses the port number determined not to be duplicated and only sets the port forward function of the router 3 for the port number. With this port number, it is possible to confirm whether it is possible to distribute video and audio via the Internet 6.
  • the network camera 1 starts a connection to the DDNS server 7B via the Internet 6 so that a domain name can be assigned to the global IP address.
  • the global IP address and serial number are sent to the DDNS server 7B via the Internet 6 to request assignment of a subdomain name (step S8).
  • the DDNS server 7B When the DDNS server 7B receives the serial number and the global IP address from the network camera 1A, the DDNS server 7B assigns the subdomain name determined according to the serial number to the global IP address. More specifically, for example, when the DDNS server 7B has a domain name! If the number is mcsOOOl, the subdomain name mcsOOOl is assigned, and the address “mcs 0001.00 Oxo.jp J!” Is associated with the global IP address of network camera 1 and managed.
  • the DDNS server 7 associates and manages the serial number, the global IP address, and the subdomain name of the network camera 1A in order to respond to a request to change the subdomain name later.
  • the DDNS server 7B When the setting of the subdomain name is completed on the DDNS server 7B, the DDNS server 7B notifies the network camera 1A of the set subdomain name. And network Camera 1A manages its serial number, private IP address, global IP address, port number, and subdomain name.
  • the subdomain name is determined by the DDNS server 7B.
  • the present invention is not limited to this.
  • the network camera 1A power is determined based on the serial number, etc.
  • the IP address and serial number may be sent to the DDNS server 7B, and the DDNS server 7B may simply manage the settings so that the received subdomain name is assigned to the global IP address.
  • the DDNS server 7B and the management server 7A exist separately and the information related to the subdomain and the like is managed in the DDNS server 7B, the present invention is not limited to this, and the management server 7A and the management server 7A
  • the DDNS server 7B may be realized by the function of the server device, and the information related to the subdomain name may be managed together with the information related to the port number managed by the management server 7A described above. .
  • the network camera 1A performs this on its display device. The user is notified by displaying on the screen or lighting of a lamp such as an LED (not shown).
  • the user can recognize that all the settings have been completed and the connection to the network camera 1A using the subdomain name has become possible.
  • the global IP address assigned to router 3 via modem 4 is as described above. May change dynamically.
  • the network camera 1 has changed its IP address assigned to the power router 3 that sends information such as the Gloren IP address to the management server 7A and the DDNS server 7B every predetermined time.
  • the contents of the global IP address managed internally are changed, and the serial number and the changed global IP address are transmitted to the management server 7A and the DDNS server 7B.
  • DDNS server 7B changes the global IP address corresponding to the corresponding serial number. Also in the management server 7A, the database is updated by rewriting the global IP address of the corresponding serial number registered in the database. The operations of the management server 7A and the DDNS server 7B related to the change of the global IP address are performed independently of the operations of steps S1 to S9 described above.

Abstract

It is possible to provide a technique for distributing video and audio captured by a plurality of network cameras (1A, 1B) via the Internet only by connecting the network cameras to a router (3). A network camera (1A) connected to the router (3) requests a management server (7A) having data on port numbers as a database to allocate a port number. Thus, a port number different from the network camera (1B) is allocated for the network camera (1A). For the port number, a port forward function of the router (3) is set and a connection confirmation test from outside is performed. If an error occurs at the stage of setting, resetting is automatically performed.

Description

明 細 書  Specification
ネットワークカメラ、管理サーバおよび映像配信システム  Network camera, management server and video distribution system
技術分野  Technical field
[0001] 本発明は、ルータ配下に接続されたネットワークカメラで撮像した映像を配信するた めの技術に関する。  TECHNICAL FIELD [0001] The present invention relates to a technique for distributing video captured by a network camera connected to a router.
背景技術  Background art
[0002] ブロードバンドによるインターネットが一般的になった近年、ネットワークカメラ等の ネットワーク装置の利用が盛んに行われている。  In recent years, broadband Internet has become common, and network devices such as network cameras have been actively used.
[0003] ネットワークカメラをインターネットに接続して利用すれば、自宅等に設置したネット ワークカメラで撮像された映像を遠隔地から閲覧することができる。ネットワークカメラ は撮像した映像や音声をインターネットを介して配信する機能を有しており、他のコン ピュータ装置等の Webブラウザ上でインターネットに接続されたネットワークカメラの I Pアドレスを指定することで、撮像中の映像を閲覧することができる。例えば、長期旅 行の際に、ネットワークカメラで撮像した自宅の映像を旅行先で見ることで、自宅に異 常事態が発生していないかどうかを確認する監視カメラ的な利用方法等、その用途 は様々である。  [0003] If a network camera is connected to the Internet and used, an image captured by the network camera installed at home or the like can be viewed from a remote location. The network camera has a function to distribute the captured video and audio via the Internet. By specifying the IP address of the network camera connected to the Internet on a web browser such as another computer device, the network camera captures the image. You can view the video inside. For example, when using a surveillance camera to check whether an abnormal situation has occurred at home by looking at home images captured by a network camera during a long trip, Are various.
[0004] インターネットによる通信では、一般に DNS (Domain Name System)と呼ばれる方 式が利用される。この DNSの最も基本的な目的は、ドメイン名と IPアドレスとの相互 変棚能を提供することにある。 DNSによって、 32bitsの数字の羅列である IPァドレ スが人間が分力りやすく且つ覚えやすいドメイン名に変換し関連付けられるため、利 用者は IPアドレスを意識することなぐ容易に目的の IPアドレスにアクセスすることが できる。  [0004] In communication over the Internet, a method called DNS (Domain Name System) is generally used. The most basic purpose of this DNS is to provide the ability to convert between domain names and IP addresses. DNS allows the IP address, which is a list of 32bits numbers, to be converted into a domain name that is easy for humans to divide and memorize, so that the user can easily change the IP address to the target IP address without being aware of the IP address. Can be accessed.
[0005] このような DNSを利用することで、ネットワークカメラで撮像された映像を遠隔地か ら閲覧することが可能になる。  [0005] By using such a DNS, it becomes possible to view images captured by a network camera from a remote location.
[0006] なお、本発明に関する技術として、ポート番号を割り当てる技術が特許文献 1に開 示されている。 [0006] Note that Patent Document 1 discloses a technique for assigning a port number as a technique related to the present invention.
[0007] 特許文献 1:特開 2004— 266320号公報 発明の開示 発明が解決しょうとする課題 [0007] Patent Document 1: JP 2004-266320 A Disclosure of the Invention Problems to be Solved by the Invention
[0008] ところで、遠隔地に居ながらにして、自宅のネットワークカメラで撮像された映像を受 信する場合、受信先から自宅のネットワークカメラに映像の送信要求を行う必要があ る。  [0008] By the way, when receiving an image captured by a home network camera while being in a remote place, it is necessary to make a transmission request of the image from the receiving destination to the home network camera.
[0009] 個人でネットワークカメラをインターネットに接続して利用する場合、一般には、その ネットワークカメラのグローバル IPアドレスは固定されておらず、インターネットに接続 したとき等の所定のタイミングで、 ISP (Internet Service Provider)サーバによって割り 振られる動的な IPアドレスを利用することとなる。  [0009] When using a network camera connected to the Internet by an individual, the global IP address of the network camera is generally not fixed, and at a predetermined timing such as when connecting to the Internet, an ISP (Internet Service Provider) will use the dynamic IP address assigned by the server.
[0010] そのため、最近では、名前解決サービスとして、ネットワーク上に接続された企業サ 一バーの提供する簡易的な DDNS (Dynamic Domain Name System)のサービスを利 用して、ネットワークカメラで撮像した映像を配信することが多い。 DDNSとは、動的 に変更されるグローバル IPアドレスと、サブドメイン名と、をインターネット上で対応付 けするように解決してくれるものである。  [0010] For this reason, recently, as a name resolution service, video captured by a network camera using a simple DDNS (Dynamic Domain Name System) service provided by a corporate server connected to the network. Is often delivered. DDNS solves this problem by associating dynamically changing global IP addresses and subdomain names on the Internet.
[0011] 例えば、「〇〇〇. co. jp」というドメイン名の DDNSサーバーがある場合に、「xxx [0011] For example, if there is a DDNS server with the domain name “00.
.〇〇〇. co. jp」というサブドメイン名が個人のネットワークカメラに割り当てられてい る場合を考える。この場合、外部カゝらネットワークカメラにアクセスする場合は、ァドレ ス入カ欄に「xxx.〇〇〇. co. jp」という FQDN (Fully Qualified Domain Name (以下 、アドレスと記す))を入力すれば、「〇〇〇. co. jp」というドメイン名の DDNSサーバ 力 Γχχχ.〇〇〇. co. jp」というサブドメイン名に対応付けて登録してあるグローバ ル IPアドレスに変換することにより、当該グローバル IPアドレスのネットワークカメラに 接続することが可能となる。 Consider the case where the subdomain name “.00” is assigned to a personal network camera. In this case, when accessing a network camera such as an external camera, enter the FQDN (Fully Qualified Domain Name (hereinafter referred to as “address”)) “xxx.xxx.co.jp” in the address input field. For example, the DDNS server power of domain name “00.co.jp” is converted to the global IP address registered in association with the subdomain name “Γχχχ.〇〇〇.co.jp”. It is possible to connect to the network camera with the global IP address.
[0012] ネットワークカメラは、自身に割り当てられたグローバル IPアドレスが変更されるたび に、動的に DDNSサーバに対してサブドメイン名に対応付けられたグローバル IPァ ドレスを登録し直すことで、グローバル IPアドレスの代わりにドメイン名を利用できるの である。 [0012] Each time the global IP address assigned to the network camera changes, the network camera dynamically registers the global IP address associated with the subdomain name to the DDNS server, thereby renewing the global IP address. Domain names can be used instead of IP addresses.
[0013] 近年、企業等だけではなく個人の自宅内においても、複数台のネットワークカメラが 利用されることが多くなつている。また、コンピュータ装置の他、ネットワークカメラ以外 にも、ネットワークに対応したノヽードディスクレコーダ一等の家庭電ィ匕製品も登場して いる。そのため、ネットワークカメラを含む複数のネットワーク装置をルータに接続し、 家庭内で一つのネットワーク環境を構築することも多い。 In recent years, a plurality of network cameras are often used not only in companies and the like but also in individual homes. In addition to computer devices, other than network cameras In addition, home appliances such as a node disk recorder compatible with the network have also appeared. For this reason, it is often the case that a plurality of network devices including a network camera are connected to a router to construct one network environment at home.
[0014] このような場合、ネットワークカメラで撮像された映像をインターネットを介して配信 するためには、 DDNSサーバを利用するだけでは足らず、ルータのポートフォワード 機能を利用する必要がある。ポートフォワード機能とは、インターネット側からの特定 のポート番号に対するアクセスを、自宅内の特定のプライベート IPアドレスを有するネ ットワーク装置に割り当てて転送する機能である。この機能を利用することで、ネットヮ ークカメラをインターネット上で Webサーバとして利用することも可能となる。  [0014] In such a case, in order to distribute the video captured by the network camera via the Internet, it is necessary not only to use the DDNS server but also to use the port forward function of the router. The port forwarding function is a function that assigns and transfers access to a specific port number from the Internet side to a network device in the home having a specific private IP address. By using this function, the network camera can be used as a Web server on the Internet.
[0015] しかし、ポートフォワード機能を利用するためには、ルータの設定を行わなければな らない。そして、そのためにはネットワークに関する知識や理解が必要となったり、設 定操作に手間が力かるという問題があった。  [0015] However, in order to use the port forward function, the router must be set up. For this purpose, there are problems that knowledge and understanding of the network are required, and time and effort is required for the setting operation.
[0016] これを解決するために、近年のネットワークカメラでは、ルータのポートフォワード機 能に係る設定操作を自動的に行うものがある。これにより、ルータ配下に一台のネット ワークカメラのみが接続されるような環境下では、ネットワークカメラにより自動的にル ータのポートフォワード機能の設定がなされるため、ネットワークカメラをルータに接続 するだけで、インターネットを介して映像を配信することが可能である。  In order to solve this, some network cameras in recent years automatically perform a setting operation related to a port forward function of a router. As a result, in an environment where only one network camera is connected to the router, the router's port forward function is automatically set by the network camera, so connect the network camera to the router. It is only possible to distribute video over the Internet.
[0017] しかし、ネットワークカメラは、固定されたポート番号についてポートフォワード機能 を設定するのみであるため、複数台のネットワークカメラを利用しょうとする場合、全て のネットワークカメラが同じポート番号を利用するようルータの設定を行おうとする。ま た、一台のネットワークカメラを利用する場合であっても、ネットワークカメラの利用しよ うとするポート番号力 ルータ配下のコンピュータ装置等、他のネットワーク装置に既 に割り当てられている場合もある。このような場合、正常にルータのポートフォワード 機能の設定を行うことができな 、。  [0017] However, since network cameras only set the port forward function for a fixed port number, when trying to use multiple network cameras, make sure that all network cameras use the same port number. Try to configure the router. Even if one network camera is used, it may already be assigned to another network device such as a computer device under the port number router that the network camera intends to use. In such a case, the port forwarding function of the router cannot be set normally.
[0018] そのため、ルータの設定操作が自動的に行われても、ネットワークカメラ力もインタ 一ネットを介して正常に映像配信を行うことができず、結局、利用者が IPアドレスゃポ ートフォワード機能にっ 、て理解した上で設定操作を行わなければならな 、と 、う問 題があった。 [0019] また、最近のコンピュータ装置やネットワークカメラ等のネットワーク装置の普及に伴 い、ネットワークに関する知識や理解が十分ではない利用者も増えている。このような 利用者が、複数のネットワークカメラを利用するような場合、上述したルータの設定操 作を行うことは困難であるため、専門の作業員にルータの設定を依頼し、その作業費 用を負担しなければならな 、と 、つた問題もあった。 [0018] For this reason, even if the router setting operation is automatically performed, the network camera power cannot normally deliver video via the Internet, and eventually the user can change the IP address to the port forward function. Therefore, there was a problem that the setting operation had to be performed after understanding. [0019] With the recent spread of network devices such as computer devices and network cameras, the number of users who have insufficient knowledge and understanding of networks is increasing. When such a user uses multiple network cameras, it is difficult to perform the router setting operation described above. Therefore, a specialized worker is requested to set the router, and the work cost is increased. There was also a problem that we had to pay.
[0020] さらに、利用するネットワークカメラが多数である場合、全てのネットワークカメラにつ いてポートフォワード機能の設定を行うことは非常に手間が力かるという問題があった  [0020] Furthermore, when there are a large number of network cameras to be used, there is a problem that setting the port forward function for all network cameras is very laborious.
[0021] そこで、この発明の課題は、複数台のネットワークカメラをルータに接続して利用す るような場合、あるいはルータ配下にネットワークカメラ以外のネットワーク装置が接続 されているような場合であっても、ネットワークカメラをルータに接続するだけで、当該 ネットワークカメラで撮像した映像や音声をインターネットを介して配信することができ る技術を提供することにある。 Therefore, an object of the present invention is when a plurality of network cameras are connected to a router for use, or when a network device other than a network camera is connected under the router. Another object is to provide a technology that allows video and audio captured by a network camera to be distributed via the Internet simply by connecting the network camera to a router.
課題を解決するための手段  Means for solving the problem
[0022] 上記課題を解決すベぐ第 1の発明は、撮像した映像をネットワークを介して配信す る映像配信システムであって、前記ネットワークに接続されたルータと、前記ルータに 接続され、 自己の識別情報および前記ルータのグローバル IPアドレスを送信するネ ットワークカメラと、前記識別情報および前記グローバル IPアドレスとポート番号とを 関連づけて管理するデータベースを有し、前記ネットワークカメラ力 受信した前記グ ローバル IPアドレスと、前記ネットワークカメラから受信した前記識別情報とは異なる 前記識別情報と、に関連付けられた前記ポート番号が記憶されている場合には、当 該ポート番号とは異なる前記ポート番号を前記ネットワークカメラに割り当てて、割り 当てた前記ポート番号を前記ネットワークカメラに送信する管理サーバとを備えること を特徴とする。 [0022] A first invention that solves the above problem is a video distribution system that distributes captured video via a network, the router connected to the network, and connected to the router, A network camera that transmits the identification information of the router and the global IP address of the router, and a database that associates and manages the identification information, the global IP address and the port number, and the network camera power received the global camera When the port number associated with the IP address and the identification information different from the identification information received from the network camera is stored, the port number different from the port number is assigned to the network. Assign to the camera and assign the assigned port number to the network camera. And a management server for transmission.
[0023] また、第 2の発明は、第 1の発明に係る映像配信システムであって、前記ネットヮー クカメラは、前記管理サーバから前記ポート番号を受信すると、当該ポート番号を自 身に割り当てるよう前記ルータのポートフォワード機能を設定することを特徴とする。  [0023] Further, the second invention is the video distribution system according to the first invention, wherein the network camera receives the port number from the management server and assigns the port number to itself. It is characterized by setting the port forward function of the router.
[0024] また、第 3の発明は、第 1または第 2の発明に係る映像配信システムであって、前記 ネットワークカメラは、所定時間内に、前記ルータのポートフォワード機能の設定が行 われな力つたときは、前記識別情報、前記グローバル IPアドレスおよびエラー情報を 前記管理サーバに送信し、前記管理サーバは、前記エラー情報を受信すると、前記 ネットワークカメラ力 受信した前記グローバル IPアドレスに基づいて前記データべ ースを検索し、当該グローバル IPアドレスに関連付けて記憶される前記ポート番号と は異なる前記ポート番号を、前記ネットワークカメラに割り当て直し、割り当て直した前 記ポート番号を前記ネットワークカメラに送信することを特徴とする。 [0024] The third invention is the video distribution system according to the first or second invention, wherein The network camera transmits the identification information, the global IP address, and error information to the management server when the port forward function of the router is not set within a predetermined time, and the management server When the error information is received, the network camera power is searched based on the received global IP address, and the port number different from the port number stored in association with the global IP address is determined. Reassigning to the network camera and transmitting the reassigned port number to the network camera.
[0025] また、第 4の発明は、第 1ないし第 3のいずれかの発明に係る映像配信システムで あって、前記ネットワークカメラは、前記ルータのポートフォワード機能の設定が完了 すると、前記管理サーバに前記ルータを介した接続確認を行うことを要求し、前記管 理サーバは、前記ネットワークカメラからの要求に応じ、前記ネットワークカメラに送信 した前記ポート番号により前記ネットワークカメラへの接続を試みることを特徴とする。  [0025] Further, the fourth invention is the video distribution system according to any one of the first to third inventions, and the network camera, when the setting of the port forward function of the router is completed, the management server The management server requests connection to the network camera by the port number transmitted to the network camera in response to a request from the network camera. Features.
[0026] また、第 5の発明は、第 1ないし第 4のいずれかの発明に係る映像配信システムで あって、さらに、前記グローバル IPアドレスに対して前記識別情報に応じたサブドメィ ン名を割り当てて管理する DDNSサーバ、を備え、前記ネットワークカメラは、前記管 理サーノ から前記ポート番号による接続がされたことを認識すると、前記 DDNSサー バに前記識別情報および前記グローバル IPアドレスを送信して前記サブドメイン名 の割り当てを要求することを特徴とする。  [0026] Further, the fifth invention is a video distribution system according to any one of the first to fourth inventions, and further assigns a subdomain name corresponding to the identification information to the global IP address. DDNS server that manages the network, and when the network camera recognizes that the connection by the port number has been established from the management server, the network camera transmits the identification information and the global IP address to the DDNS server. It is required to assign a subdomain name.
[0027] また、第 6の発明は、第 1ないし第 4のいずれかの発明に係る映像配信システムで あって、さらに、前記識別情報および前記グローバル IPアドレスにサブドメイン名を割 り当てて管理する DDNSサ一ノ^を備え、前記ネットワークカメラは、前記管理サー ノ から前記ポート番号による接続がされたことを認識すると、前記識別情報に応じた サブドメイン名を生成すると共に、前記識別情報、前記グローバル IPアドレスおよび 前記サブドメイン名を前記 DDNSサーバに送信して前記サブドメイン名の割り当てを 要求することを特徴とする。  [0027] The sixth invention is the video distribution system according to any one of the first to fourth inventions, and further manages by assigning a subdomain name to the identification information and the global IP address. When the network camera recognizes that the connection by the port number has been established from the management server, it generates a subdomain name corresponding to the identification information, and the identification information, The global IP address and the subdomain name are transmitted to the DDNS server to request assignment of the subdomain name.
[0028] また、第 7の発明は、第 1ないし第 6のいずれかの発明に係る映像配信システムで あって、前記 DDNSサーバは、前記ネットワークカメラからの要求に応じて前記サブ ドメイン名の割り当てが完了したことを前記ネットワークカメラに通知し、前記ネットヮ ークカメラは、前記通知を受信すると、設定完了を報知することを特徴とする。 [0028] Further, a seventh invention is the video distribution system according to any one of the first to sixth inventions, wherein the DDNS server assigns the sub domain name in response to a request from the network camera. Is notified to the network camera, and the network When receiving the notification, the work camera notifies the completion of the setting.
[0029] また、第 8の発明は、撮像した映像をネットワークを介して配信するネットワークカメ ラであって、ルータを介して前記ネットワークに接続され、自己の識別情報および前 記ルータのグロ一ノ レ IPアドレスを、前記ネットワークに接続された管理サーバに送 信してポート番号の割り当てを要求し、前記管理サーバで割り当てられた前記ポート 番号を受信すると、当該ポート番号を自身に割り当てるよう前記ルータのポートフォヮ ード機能を設定することを特徴とする。  [0029] Further, the eighth invention is a network camera that distributes captured images via a network, and is connected to the network via a router, and includes its own identification information and the router's global information. The router sends the IP address to the management server connected to the network, requests the port number assignment, receives the port number assigned by the management server, and assigns the port number to itself. It is characterized by setting the port forward function.
[0030] また、第 9の発明は、第 8の発明に係るネットワークカメラであって、所定時間内に前 記ルータのポートフォワード機能の設定が行われな力つたときは、前記グローバル IP アドレスおよびエラー情報を前記管理サーバに送信して前記ポート番号の変更を要 求し、前記管理サーバで変更された前記ポート番号を受信すると、当該ポート番号を 自身に割り当てるよう、前記ルータのポートフォワード機能を再設定することを特徴と する。  [0030] Also, the ninth invention is the network camera according to the eighth invention, wherein if the port forward function of the router is not set within a predetermined time, the global IP address and When the port number changed by the management server is transmitted by sending error information to the management server and the port number changed by the management server is received, the port forward function of the router is assigned so that the port number is assigned to itself. It is characterized by resetting.
[0031] また、第 10の発明は、第 8または第 9の発明に係るネットワークカメラであって、前記 ルータのポートフォワード機能の設定が完了すると、前記管理サーバに前記ルータを 介した接続確認を行うことを要求することを特徴とする。  [0031] Further, the tenth invention is the network camera according to the eighth or ninth invention, wherein when the setting of the port forward function of the router is completed, the management server is checked for connection via the router. It is characterized by requiring to do.
[0032] また、第 11の発明は、第 8ないし第 10のいずれかの発明に係るネットワークカメラで あって、前記管理サーノから前記ポート番号による接続がされたことを認識すると、 D DNSサーバに前記識別情報および前記グローバル IPアドレスを送信して前記サブ ドメイン名の割り当てを要求することを特徴とする。  [0032] Further, the eleventh invention is the network camera according to any of the eighth to tenth inventions, and when the management sano recognizes that the connection by the port number has been established, the DDNS server The identification information and the global IP address are transmitted to request assignment of the subdomain name.
[0033] また、第 12の発明は、第 8ないし第 10のいずれかの発明に係るネットワークカメラで あって、前記管理サーノから前記ポート番号による接続がされたことを認識すると、 前記識別情報に応じたサブドメイン名を生成すると共に、前記識別情報、前記グロ一 バル IPアドレスおよび前記サブドメイン名を DDNSサーバに送信して前記サブドメィ ン名の割り当てを要求することを特徴とする。  [0033] Also, the twelfth invention is the network camera according to any of the eighth to tenth inventions, and when the management sano recognizes that the connection by the port number has been established, A corresponding subdomain name is generated, and the identification information, the global IP address, and the subdomain name are transmitted to a DDNS server to request assignment of the subdomain name.
[0034] また、第 13の発明は、第 8ないし第 12のいずれかの発明に係るネットワークカメラで あって、前記サブドメイン名の割り当てが完了したことを通知する信号を受信すると、 設定完了を報知することを特徴とする。 [0035] また、第 14の発明は、識別情報およびグローバル IPアドレスとポート番号とを関連 づけて管理するデータベース、を備え、前記識別情報および前記グローバル IPアド レスを受信すると、受信した前記グローバル IPアドレスと、受信した前記識別情報と は異なる前記識別情報と、に関連付けられた前記ポート番号が記憶されて 、る場合 には、当該ポート番号とは異なる前記ポート番号を決定し、当該ポート番号を、前記 識別情報および前記グローバル IPアドレスの送信元に送信することを特徴とする。 [0034] Further, the thirteenth invention is the network camera according to any of the eighth to twelfth inventions, and when the signal notifying that the assignment of the subdomain name is completed, the setting is completed. It is characterized by notifying. [0035] Further, the fourteenth invention comprises a database that manages the identification information and the global IP address in association with the port number, and receives the global IP address when the identification information and the global IP address are received. If the port number associated with the address and the identification information different from the received identification information is stored, the port number different from the port number is determined, and the port number is determined. And transmitting to the sender of the identification information and the global IP address.
[0036] また、第 15の発明は、第 14の発明に係る管理サーバであって、前記識別情報、前 記グローバル IPアドレスおよびエラー情報を含むデータを受信すると、受信した前記 グローバル IPアドレスに基づ 、て前記データベースを検索し、当該グローバル IPアド レスに関連付けて記憶される前記ポート番号とは異なる前記ポート番号を、前記送信 元に割り当て直し、割り当て直した前記ポート番号を、前記エラー情報の送信元に送 信することを特徴とする。  [0036] Further, the fifteenth aspect of the invention is the management server according to the fourteenth aspect of the invention, wherein when data including the identification information, the global IP address and the error information is received, the management server is based on the received global IP address. Then, the database is searched, the port number different from the port number stored in association with the global IP address is reassigned to the transmission source, and the reassigned port number is assigned to the error information. It is characterized by being sent to the sender.
発明の効果  The invention's effect
[0037] 第 1の発明に係る映像配信システムまたは第 14の発明に係る管理サーバによれば 、ルータ配下に複数台のネットワークカメラを接続した場合でも、各ネットワークカメラ のポート番号が重複することがないよう自動的に割り当てられるため、利用者は、各 ネットワークカメラにっ 、てポート番号を検討し決定する必要がな!、。  [0037] According to the video distribution system according to the first invention or the management server according to the fourteenth invention, even when a plurality of network cameras are connected under the router, the port numbers of the network cameras may overlap. It is automatically assigned so that the user does not have to consider and determine the port number for each network camera!
[0038] 第 2の発明に係る映像配信システムによれば、ルータのポートフォワード機能の設 定がネットワークカメラによって自動的に行われるため、利用者は、複数台のネットヮ ークカメラを利用する場合でも、各ネットワークカメラについてルータのポートフォヮー ド機能の設定を行う必要がな ヽ。  [0038] According to the video delivery system of the second invention, since the port forward function of the router is automatically set by the network camera, even when the user uses a plurality of network cameras, It is not necessary to set the router's port forward function for each network camera.
[0039] 第 3の発明に係る映像配信システム、第 9の発明に係るネットワークカメラおよび第 1 5の発明に係る管理サーバのいずれかによれば、ルータ配下にネットワークカメラ以 外のネットワーク装置が接続され、ネットワークカメラに割り当てられたポート番号が既 に他のネットワーク装置に割り当て済みである場合でも、ネットワークカメラに割り当て られたポート番号が自動的に変更されるため、利用者は、ルータ配下のネットワーク 装置が利用するポート番号を調べたり、ネットワークカメラのポート番号を検討し決定 する必要がない。 [0040] 第 4の発明に係る映像配信システムまたは第 10の発明に係るネットワークカメラによ れば、決定されたポート番号により、ネットワークカメラから映像や音声が配信可能で ある力否かを確認することができる。 [0039] According to any one of the video distribution system according to the third invention, the network camera according to the ninth invention, and the management server according to the fifteenth invention, a network device other than the network camera is connected to the router. Even if the port number assigned to the network camera has already been assigned to another network device, the port number assigned to the network camera is automatically changed. There is no need to check the port number used by the device or to determine the port number of the network camera. [0040] According to the video distribution system according to the fourth invention or the network camera according to the tenth invention, it is confirmed whether or not it is possible to distribute video and audio from the network camera by the determined port number. be able to.
[0041] 第 5、第 6の発明に係る映像配信システムおよび第 11、第 12の発明に係るネットヮ ークカメラのいずれかによれば、利用者は、グローバル IPアドレスではなくドメイン名 を利用してネットワークカメラへ接続することができる。 [0041] According to any of the video distribution system according to the fifth and sixth inventions and the network camera according to the eleventh and twelfth inventions, the user uses the domain name instead of the global IP address. Can be connected to a camera.
[0042] 第 7の発明に係る映像配信システムまたは第 13の発明に係るネットワークカメラによ れば、利用者は、ルータのポートフォワード機能の設定や、 DDNSサーバによるサブ ドメイン名の設定が完了し、各ネットワークカメラにドメイン名を利用して接続し、映像 や音声を視聴できるようになつたことを認識することができる。 [0042] According to the video distribution system according to the seventh invention or the network camera according to the thirteenth invention, the user has completed the setting of the port forward function of the router and the setting of the subdomain name by the DDNS server. By connecting to each network camera using a domain name, it is possible to recognize that video and audio can be viewed.
[0043] 第 8の発明に係るネットワークカメラによれば、複数台のネットワークカメラを利用す る場合であっても、ポート番号の割り当てやルータのポートフォワード機能の設定が 自動的に行われるため、利用者は、ルータに接続するだけで全てのネットワークカメ ラ力 映像や音声を配信することができる。 [0043] According to the network camera of the eighth invention, even when a plurality of network cameras are used, port number assignment and router port forwarding function settings are automatically performed. Users can distribute all network camera power video and audio simply by connecting to the router.
[0044] この発明の目的、特徴、局面、および利点は、以下の詳細な説明と添付図面とによ つて、より明白となる。 The objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description and the accompanying drawings.
図面の簡単な説明  Brief Description of Drawings
[0045] [図 1]この発明の一の実施の形態に係る映像配信システムの構成をを示す図である。  FIG. 1 is a diagram showing a configuration of a video distribution system according to an embodiment of the present invention.
[図 2]この発明の一の実施の形態に係るネットワークカメラの動作を示すフローチヤ一 トである。  FIG. 2 is a flowchart showing the operation of the network camera according to one embodiment of the present invention.
[図 3]この発明の一の実施の形態に係る管理サーバのポート番号決定に係る動作を 示すフローチャートである。  FIG. 3 is a flowchart showing an operation related to port number determination of the management server according to the embodiment of the present invention.
[図 4]この発明の一の実施の形態に係る映像配信システムの動作を示す図である。 発明を実施するための最良の形態  FIG. 4 is a diagram showing the operation of the video distribution system according to one embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION
[0046] 図 1は、この発明の一の実施形態に係る映像配信システムの構成を示す図である。 FIG. 1 is a diagram showing a configuration of a video distribution system according to one embodiment of the present invention.
映像配信システムは、その基本構成として、インターネット 6に接続して ADSL(Asym metric Digital Subscriber Line)や FTTH (Fiber To The Home)等を利用した通信を 行うためのモデム 4と、複数のネットワーク装置をインターネット 6に接続して利用する ためのルータ 3と、映像や音声を配信するネットワークカメラ 1A, 1Bと、インターネット 6に接続された管理サーバ 7Aおよび DDNSサーバ 7Bと、を有する。ルータ 3には、 ネットワークカメラ 1A, 1Bの他に、コンピュータ装置 2等のネットワーク装置も接続さ れる。そして、ネットワークカメラ 1A, 1B、コンピュータ装置 2、ルータ 3およびモデム 4 によって、 LAN (Local Area Network) 5を構成する。図中の携帯電話 8は、インター ネット 6に接続して本映像配信システムを利用し、ネットワークカメラ 1で撮像した映像 や音声を視聴するための端末の一例として示したものである。 As a basic configuration of the video distribution system, a modem 4 for connecting to the Internet 6 and performing communication using ADSL (Asymmetric Digital Subscriber Line), FTTH (Fiber To The Home), etc. and a plurality of network devices are provided. Connect to Internet 6 Network routers 1A and 1B for distributing video and audio, and a management server 7A and a DDNS server 7B connected to the Internet 6. In addition to the network cameras 1A and 1B, the router 3 is also connected to a network device such as the computer device 2. The network cameras 1A and 1B, the computer device 2, the router 3 and the modem 4 constitute a LAN (Local Area Network) 5. The mobile phone 8 in the figure is shown as an example of a terminal that is connected to the Internet 6 and uses this video distribution system to view video and audio captured by the network camera 1.
[0047] 尚、図 1では、 2台のネットワークカメラ 1A, 1Bを示している力 これは一例であって 利用するネットワークカメラは 1台であってもよいし、 3台以上であっても構わない。以 下、ネットワークカメラを総称するときはネットワークカメラ 1と記す。  [0047] Note that, in FIG. 1, force indicating two network cameras 1A and 1B. This is an example. One network camera may be used, or three or more network cameras may be used. Absent. Hereinafter, network cameras are collectively referred to as network cameras 1.
[0048] ネットワークカメラ 1は、撮像した映像および音声を Webサーバとして配信する機能 を有する。これにより、利用者は、携帯電話 8等の端末を利用し、インターネット 6を介 してネットワークカメラ 1に接続し、ネットワークカメラ 1で撮像し配信される映像および 音声を、 Webブラウザ等を利用して視聴することが可能となる。  [0048] The network camera 1 has a function of distributing captured video and audio as a Web server. As a result, the user uses a terminal such as a mobile phone 8 to connect to the network camera 1 via the Internet 6 and uses a web browser or the like for video and audio captured and distributed by the network camera 1. Can be viewed.
[0049] また、ネットワークカメラ 1は、この他にも、管理サーバ 7Aとの間で通信を行って映 像配信に利用するポート番号を決定する機能や、 DDNSサーバ 7Bにサブドメイン名 の割り当てを要求する機能、携帯電話 8等の端末に対する接続認証を行う機能等を 実現するための各種動作を行う。  In addition to this, the network camera 1 communicates with the management server 7A to determine a port number to be used for video distribution, and assigns a subdomain name to the DDNS server 7B. Performs various operations to realize the requested function and the function to perform connection authentication for terminals such as mobile phones 8.
[0050] さらに、ネットワークカメラ 1は、 UPnP (Universal Plug & Play)機能を有しており、ネ ットワークに接続するだけで、上記の各機能を所定のタイミングで自動的に実行する ことができる。これらの機能および動作の詳細については後述する。  [0050] Furthermore, the network camera 1 has a UPnP (Universal Plug & Play) function, and can simply execute each of the above functions at a predetermined timing just by connecting to the network. Details of these functions and operations will be described later.
[0051] コンピュータ装置 2は、ネットワークカメラ 1と同様にインターネット 6に接続する一般 的なネットワーク装置の一例として挙げたものである。ネットワークカメラ 1にはルータ 3 を介してプライベート IPアドレスを利用して LAN接続することが可能であるため、コン ピュータ装置 2では、ネットワークカメラ 1で撮像した映像や音声を視聴する他、ネット ワークカメラ 1の各種設定をするためにも利用することができる。  The computer apparatus 2 is an example of a general network apparatus that is connected to the Internet 6 in the same manner as the network camera 1. Since the network camera 1 can be connected to the LAN using a private IP address via the router 3, the computer device 2 can view video and audio captured by the network camera 1, and can also connect to the network camera. It can also be used to make various settings for 1.
[0052] ルータ 3は、 LAN5に接続された複数のネットワーク装置 1, 2で、インターネット 6上 で割り当てられた一のグローバル IPアドレスを利用するためのルーティングを行う機 能を有する。具体的には、 LAN5に接続された複数のネットワーク装置 1, 2にプライ ベート IPアドレスを付与する DHCP (Dynamic Host Configuration Protocol)機能と、 これらのネットワーク装置 1, 2がインターネット 6を利用して通信を行うときに、送受信 するデータに係る IPアドレスを、 LAN5内ではプライベート IPアドレスに、インターネ ット 6上ではグロ一ノ レ IPアドレスに、相互に変換する機能を有する。 [0052] The router 3 is a device that performs routing for using one global IP address assigned on the Internet 6 by a plurality of network devices 1 and 2 connected to the LAN 5. Have the ability. Specifically, the Dynamic Host Configuration Protocol (DHCP) function that assigns private IP addresses to multiple network devices 1 and 2 connected to LAN 5, and these network devices 1 and 2 communicate using the Internet 6. When performing communication, it has a function to mutually convert the IP address related to the data to be transmitted / received into a private IP address in LAN5 and to a global IP address on Internet6.
[0053] モデム 4は、ネットワークカメラ 1やコンピュータ装置 2等のネットワーク装置力 割り 当てられたグローバル IPアドレスを利用して、インターネット 6を介したデータ通信を 行うために必要な装置であり、 ADSLや FTTHなど各種の方式でデータ通信を行う 機能を有している。 [0053] The modem 4 is a device necessary for performing data communication via the Internet 6 using a global IP address assigned to the network device power such as the network camera 1 and the computer device 2, and includes ADSL and It has a function to perform data communication by various methods such as FTTH.
[0054] 携帯電話 8は、インターネット 6を介してネットワークカメラ 1に接続し、当該ネットヮー クカメラ 1で撮像した映像や音声を視聴するために利用する。このとき、ネットワーク力 メラ 1への接続に対するセキュリティを実現するため、携帯電話 8に対して接続認証が 行われる場合もある。  The mobile phone 8 is connected to the network camera 1 via the Internet 6 and is used for viewing video and audio captured by the network camera 1. At this time, connection authentication may be performed on the mobile phone 8 in order to realize security for connection to the network capability 1.
[0055] ただし、携帯電話 8は一例であって、映像や音声を視聴するために利用する端末 は、コンピュータ装置、 PDA (Personal Digital Assistants)、携帯ゲーム端末等の他 の端末であっても構わな!/、。  [0055] However, the mobile phone 8 is an example, and a terminal used for viewing video and audio may be another terminal such as a computer device, a PDA (Personal Digital Assistants), or a mobile game terminal. What! /
[0056] ルータ 3は、また、インターネット 6上のネットワーク装置から、 Webサーバとして動作 するネットワークカメラ 1に対して、撮像した映像や音声の視聴を目的とした接続要求 があったときに、当該ネットワーク装置とネットワークカメラ 1との間でデータの送受信 を実現するポートフォワード機能を有する。具体的には、ルータ 3からインターネット 6 側へ特定のポートを解放し、当該ポートを介したデータの送受信を行う。  [0056] The router 3 also receives a connection request from a network device on the Internet 6 to the network camera 1 that operates as a Web server for the purpose of viewing captured video and audio. It has a port forward function that enables data transmission and reception between the device and network camera 1. Specifically, a specific port is released from the router 3 to the Internet 6 side, and data is transmitted / received through the port.
[0057] 例えばポート番号 80をネットワークカメラ 1のプライベート IPアドレスに割り当ててお くことで、グローバル IPアドレスを指定したインターネット 6側からの接続要求に対して 、 LAN5に接続されプライベート IPアドレスを割り当てられたネットワークカメラ 1が We bサーバとして動作することができる。  [0057] For example, by assigning port number 80 to the private IP address of network camera 1, in response to a connection request from the Internet 6 side that specifies the global IP address, the private IP address connected to LAN5 can be assigned. Network camera 1 can operate as a web server.
[0058] 当該機能によって、外部からインターネット 6を介してネットワークカメラ 1に接続した 携帯電話 8等の端末は、 Webブラウザ等を利用してネットワークカメラ 1で撮像した映 像や音声を視聴することが可能となる。 [0059] 同様に、ポート番号 20および 21をネットワークカメラ 1のプライベート IPアドレスへの 割り当て対象とすれば、ネットワークカメラ 1と、インターネット 6を介して外部力も接続 する端末との間で FTP (File Transfer Protocol)転送等の動作を実現することも可能 である。 [0058] With this function, a terminal such as a mobile phone 8 connected to the network camera 1 from the outside via the Internet 6 can view images and sounds captured by the network camera 1 using a Web browser or the like. It becomes possible. [0059] Similarly, if port numbers 20 and 21 are to be assigned to the private IP address of network camera 1, FTP (File Transfer) can be used between network camera 1 and a terminal to which external power is also connected via the Internet 6. It is also possible to implement operations such as (Protocol) transfer.
[0060] ここで、ネットワークカメラ 1の利用するグローバル IPアドレスは、モデム 4がインター ネット 6へ接続するときに割り当てられるが、ー且接続を終了して再接続するときには 新たなグローバル IPアドレスが割り当てられる。あるいは、所定時間毎に割り当てられ るグローバル IPアドレスが変化する場合もある。即ち、ネットワークカメラ 1に割り当て られるグローバル IPアドレスは固定ではなく動的に変化する。  [0060] Here, the global IP address used by the network camera 1 is assigned when the modem 4 is connected to the Internet 6. However, when the connection is terminated and reconnected, a new global IP address is assigned. It is done. Alternatively, the global IP address assigned every predetermined time may change. In other words, the global IP address assigned to network camera 1 is not fixed but changes dynamically.
[0061] 管理サーバ 7Aは、ネットワークカメラ 1が映像や音声の配信に利用するポート番号 を、管理する機能を有する。また、内部の記憶装置(図示せず)には、ネットワークカメ ラの識別情報、グローバル IPアドレス、映像や音声の配信に利用するポート番号等 の情報をデータベースとして管理している。そして、ネットワークカメラ 1からの要求に 応じて、当該データベース内のデータ検索を行ったり、検索結果に応じてネットヮー クカメラ 1の利用するポート番号を決定する機能を有する。これらの機能および動作 の詳細については後述する。  [0061] The management server 7A has a function of managing a port number used by the network camera 1 for video and audio distribution. The internal storage device (not shown) manages information such as network camera identification information, global IP addresses, and port numbers used for video and audio distribution as a database. In response to a request from the network camera 1, it has a function of searching for data in the database and determining a port number used by the network camera 1 according to the search result. Details of these functions and operations will be described later.
[0062] DDNSサーバ 7Bは、ネットワークカメラ 1の利用するグローバル IPアドレスにサブド メイン名を割り当てる機能を有する。これにより、外部からネットワークカメラ 1へ接続 するのに、数値の羅列である IPアドレスではなぐサブドメイン名を含むアドレスを利 用することが可能となる。  [0062] The DDNS server 7B has a function of assigning a subdomain name to a global IP address used by the network camera 1. As a result, when connecting to the network camera 1 from the outside, it is possible to use an address including a subdomain name rather than an IP address that is a list of numerical values.
[0063] 尚、図中では管理サーバ 7Aおよび DDNSサーバ 7Bを別個に示している力 本発 明はこれに限らず、一のサーバが管理サーバ 7Aおよび DDNSサーバ 7Bの各々の 動作および機能を実現するよう動作する態様であっても構わない。  [0063] In the figure, the management server 7A and the DDNS server 7B are shown separately. The present invention is not limited to this. One server realizes the operations and functions of the management server 7A and the DDNS server 7B. It may be a mode that operates so as to.
[0064] 次に、図 1に示す映像配信システムの動作について説明する。  Next, the operation of the video distribution system shown in FIG. 1 will be described.
[0065] 図 2は、ネットワークカメラ 1の動作を示すフローチャートである。また、図 3は、管理 サーバ 7Aの行うポート番号の決定方法を示すフローチャートである。そして、図 4で は、図 2および図 3に示した動作の対応を含め、映像配信システム全体の動作の流 れを示している。以下、これらの図を参照しながら映像配信システムの動作について 説明する。 FIG. 2 is a flowchart showing the operation of the network camera 1. FIG. 3 is a flowchart showing a method for determining a port number performed by the management server 7A. Figure 4 shows the overall flow of the video distribution system, including the corresponding actions shown in Figures 2 and 3. The operation of the video distribution system with reference to these figures explain.
[0066] ルータ 3は、モデム 4を介してインターネット 6に接続される。ルータ 3にはグローバ ル IPアドレスが割り当てられて、インターネット 6上での通信が可能な状態にある。  The router 3 is connected to the Internet 6 via the modem 4. Router 3 is assigned a global IP address and can communicate over the Internet 6.
[0067] まず、ネットワークカメラ 1Aをルータ 3に接続して電源を投入すると、ルータ 3の有す る DHCP機能によって、ネットワークカメラ 1Aにはプライベート IPアドレスが割り当て られる。そして、ネットワークカメラ 1Aは、ルータ 3に割り当てられているグローバル IP アドレスを認識すると、パラメータとして、自身のシリアル番号、グローバル IPアドレス 、および要求ポート番号を含むデータを、管理サーバ 7Aに送信する(図 2のステップ Sl)。  [0067] First, when the network camera 1A is connected to the router 3 and turned on, a private IP address is assigned to the network camera 1A by the DHCP function of the router 3. When the network camera 1A recognizes the global IP address assigned to the router 3, the network camera 1A transmits data including its serial number, global IP address, and requested port number as parameters to the management server 7A (see FIG. 2 steps Sl).
[0068] ここで、要求ポート番号とは、ネットワークカメラ 1 A力 映像および音声の配信を行 うのに利用するために割り当てを要求するポート番号を 、 、、製造段階にぉ 、て初 期値として記憶された所定のポート番号を示す。  [0068] Here, the requested port number means the port number for which allocation is requested for use in the distribution of video and audio of the network camera 1A, and the initial value for the manufacturing stage. A predetermined port number stored as.
[0069] また、ネットワークカメラの識別情報として、製造段階で付されるシリアル番号を用い て説明を行うが、本発明はこれに限らず、各ネットワークカメラ 1が識別可能な固有の 情報であれば、例えば MACアドレス等、シリアル番号以外の情報であっても構わな い。  [0069] Further, the description will be made by using the serial number given at the manufacturing stage as the identification information of the network camera. However, the present invention is not limited to this, and any information that is unique to each network camera 1 can be identified. For example, information other than the serial number, such as a MAC address, may be used.
[0070] 管理サーバ 7Aは、ネットワークカメラ 1Aから受信したデータに基づいて、ネットヮー クカメラ 1Aから映像や音声を配信するために利用するポート番号を決定する。  [0070] Based on the data received from the network camera 1A, the management server 7A determines a port number used for distributing video and audio from the network camera 1A.
[0071] まず、管理サーバ 7Aは、ネットワークカメラ 1Aから送信されたデータを受信すると、 受信パラメータとして、ネットワークカメラ 1Aのシリアル番号およびグローバル IPアド レスを抽出する(図 3のステップ Sl l)。 First, when receiving the data transmitted from the network camera 1A, the management server 7A extracts the serial number and global IP address of the network camera 1A as reception parameters (step Sl in FIG. 3).
[0072] このとき、パラメータの中に、エラー情報が含まれている場合 (ステップ S22の Yes) の動作にっ ヽては後述する。 [0072] At this time, the operation when error information is included in the parameters (Yes in step S22) will be described later.
[0073] 次に、管理サーバ 7Aは、抽出したパラメータに基づいて内部の記憶装置に格納さ れたデータベースの検索を開始する(ステップ S 12)。 [0073] Next, the management server 7A starts searching for the database stored in the internal storage device based on the extracted parameters (step S12).
[0074] データベースは、各ネットワークカメラ 1のグローバル IPアドレス、シリアル番号およ び利用するポート番号が関連付けられたデータ力 構成されている。即ちデータべ ースを参照することにより、シリアル番号で識別された各ネットワークカメラ 1が、どのグ ローバル IPアドレスに属し、どのポート番号を利用して映像や音声の配信を行って!/ヽ るのかを確認することができる。 [0074] The database is configured with data power in which the global IP address, serial number, and port number to be used of each network camera 1 are associated. In other words, by referring to the database, each network camera 1 identified by the serial number is assigned to which group. It belongs to the global IP address, and you can check which port number is used to distribute video / audio.
[0075] また、データベースに格納されたデータにおいては、後述するポート番号の決定方 法およびデータベースへのデータの登録方法により、同一のグローバル IPアドレスを 有するネットワークカメラ 1に同一のポート番号が重複して割り当てられることがないよ う管理されている。即ち、データベース内のデータと一致するよう、ネットワークカメラ 1 の利用するポート番号を決定すれば、自宅内の LAN5において、ルータ 3配下に複 数台のネットワークカメラ 1を接続して利用する場合でも、ポート番号の衝突が起こる ことがなぐ各々のネットワークカメラ 1から、インターネット 6を介して映像および音声 を配信することができるようになって 、る。  [0075] In the data stored in the database, the same port number is duplicated in the network camera 1 having the same global IP address by the method of determining the port number and the method of registering the data in the database, which will be described later. It is managed not to be assigned. In other words, if the port number used by the network camera 1 is determined so that it matches the data in the database, even if multiple network cameras 1 are connected under the router 3 in the LAN 5 at home, Video and audio can be distributed via the Internet 6 from each network camera 1 where port number collisions do not occur.
[0076] 管理サーバ 7Aは、まず、ネットワークカメラ 1Aのグローバル IPアドレスと一致する I Pアドレスを有するデータをデータベース力も検索する(ステップ S 13)。  [0076] First, the management server 7A also searches the database power for data having an IP address that matches the global IP address of the network camera 1A (step S13).
[0077] 検索の結果、該当する IPアドレスを有するデータが存在した場合は、さらに、その 中から、ネットワークカメラ 1Aのシリアル番号と一致するデータを検索する (ステップ S 14)。  If there is data having the corresponding IP address as a result of the search, data matching the serial number of the network camera 1A is further searched from among the data (step S14).
[0078] 検索の結果、該当するデータが存在しない場合は、次に、ネットワークカメラ 1Aとシ リアル番号のみが一致するデータをデータベースから検索する(ステップ S 15)。  If the corresponding data does not exist as a result of the search, next, data in which only the network camera 1A matches the serial number is searched from the database (step S15).
[0079] 即ち、ステップ S13〜S15の動作によって、ネットワークカメラ 1Aのグローバル IPァ ドレスおよびシリアル番号とデータベース内のデータを比較して、グローバル IPァドレ スが一致し且つシリアル番号が一致するデータが存在する場合 (第 1の場合:ステツ プ S 14の Yes)、グローバル IPアドレスが一致するデータは存在するがその中にシリ アル番号が一致するデータは存在しない場合 (第 2の場合:ステップ S 14の No)、グ ローバル IPアドレスが一致するデータが存在せず且つシリアル番号が一致するデー タも存在しない場合(第 3の場合:ステップ S 15の No)、およびグローバル IPアドレス がー致するデータは存在しな!ヽがシリアル番号が一致するデータは存在する場合 ( 第 4の場合:ステップ S 15の Yes)の 4つの場合に分けられる。  [0079] That is, by the operations of steps S13 to S15, the global IP address and serial number of network camera 1A are compared with the data in the database, and there is data that has the same global IP address and the same serial number. (In the first case: Yes in step S14) When there is data that matches the global IP address, but there is no data that matches the serial number (in the second case: step S14) No), data with the same global IP address does not exist and data with the same serial number does not exist (in the third case: No in step S15), and data with a matching global IP address Does not exist!ヽ is divided into four cases where the data with the same serial number exists (fourth case: Yes in step S15).
[0080] 以下、上記第 1〜第 4の場合における、ネットワークカメラ 1Aで利用するポート番号 の決定方法およびデータベースへのデータの登録方法について説明する。 [0081] まず、第 1の場合について説明する。 [0080] Hereinafter, a method for determining a port number used in the network camera 1A and a method for registering data in the database in the first to fourth cases will be described. [0081] First, the first case will be described.
[0082] この場合、既に管理サーバ 7A内のデータベース上に、ネットワークカメラ 1Aのグロ 一バル IPアドレス、シリアル番号力 成るデータが格納された状態にある。即ち、既 に、管理サーバ 7Aのデータベースに情報を登録されたネットワークカメラ 1A力 再 度、ポート番号の割り当て要求を行ったような場合に相当する。  In this case, data including the global IP address and serial number of network camera 1A is already stored in the database in management server 7A. In other words, this corresponds to a case where the network camera 1A has already been registered in the database of the management server 7A, and a port number assignment request has been made.
[0083] よって、管理サーノ 7Aは、ネットワークカメラ 1Aから受信したグローバル IPアドレス およびシリアル番号と一致したデータに関連付けられたポート番号をデータベースか ら取得して、当該ポート番号 (以下、取得ポート番号と記す)をネットワークカメラ 1Aに 送信する (ステップ S 17)。  [0083] Therefore, the management Sano 7A acquires the port number associated with the data matching the global IP address and serial number received from the network camera 1A from the database, and the port number (hereinafter referred to as the acquired port number). Is sent to the network camera 1A (step S17).
[0084] 上述したように、データベース上では、同一のグローバル IPアドレスに重複するポ ート番号が割り当てられることのないよう、同一のグローバル IPアドレスで異なるシリア ル番号である場合には、異なるポート番号が割れ当てられたデータが管理されてい る。よって、各ネットワークカメラ 1A, 1Bに、同様の手順でポート番号が割り当てられ れば、重複したポート番号を利用することがな 、。  [0084] As described above, in the database, when the same global IP address is a different serial number, different ports are used so that the same global IP address is not assigned a duplicate port number. Data with numbers assigned to it is managed. Therefore, if port numbers are assigned to each network camera 1A, 1B in the same procedure, duplicate port numbers cannot be used.
[0085] 次に、第 2の場合について説明する。  Next, the second case will be described.
[0086] この場合、同一のグローバル IPアドレスを有するものとしてデータベースに管理され て!、るネットワークカメラ 1のシリアル番号の中に、対応するネットワークカメラ 1Aのシ リアル番号が存在しない状態にある。即ち、 LAN5に接続して利用中のネットワーク カメラ 1に、新規にネットワークカメラ 1Aを追加したような場合に相当する。  [0086] In this case, it is managed in the database as having the same global IP address !, and there is no serial number of the corresponding network camera 1A among the serial numbers of the network camera 1. In other words, this corresponds to a case where a network camera 1A is newly added to the network camera 1 being connected to the LAN 5 and being used.
[0087] よって、管理サーバ 7Aは、同一 IPアドレスを有するデータの中で、最も大き 、ポー ト番号を割り当てられているデータを検索し (ステップ 16)、検索したポート番号の最 大値に 1を付加した番号を、ネットワークカメラ 1 Aに送信する (ステップ S18)。  [0087] Therefore, the management server 7A searches for the data with the largest port number assigned among the data having the same IP address (step 16), and sets the maximum value of the searched port numbers to 1. The number with is added to network camera 1 A (step S18).
[0088] そして、管理サーバ 7Aは、ネットワークカメラ 1Aのグローバル IPアドレス、シリアル 番号、および割り当てたポート番号を、新規データとしてデータベースに登録する (ス テツプ S21)。  Then, management server 7A registers the global IP address, serial number, and assigned port number of network camera 1A as new data in the database (step S21).
[0089] これにより、同一のグローバル IPアドレスを有する複数台のネットワークカメラ 1が利 用されている環境に、新たに追加されたネットワークカメラ 1Aには、既存のネットヮー クカメラ 1の利用するポート番号の最大値に 1だけ付加されたポート番号が割り当てら れるため、重複したポート番号が割り当てられることがな!、。 [0089] As a result, in an environment where a plurality of network cameras 1 having the same global IP address are used, the newly added network camera 1A has a port number used by the existing network camera 1. A port number with 1 added to the maximum value is assigned. Because of this, duplicate port numbers may not be assigned!
[0090] また、ネットワークカメラ 1Aに係る情報は、管理サーバ 7Aのデータベースに新規に 登録されるため、次に、ネットワークカメラ 1Aからポート番号の割り当て要求があった 場合には、第 1の場合で上述した手順でポート番号の割り当てがなされる。  [0090] Further, since the information related to the network camera 1A is newly registered in the database of the management server 7A, when the port number assignment request is next issued from the network camera 1A, it is the first case. Port numbers are assigned according to the procedure described above.
[0091] 次に、第 3の場合について説明する。  [0091] Next, the third case will be described.
[0092] この場合、管理サーノ 7Aの管理するデータベース内に、ネットワークカメラ 1Aに係 るグローバル IPアドレスの情報も、シリアル番号に係る情報も存在しな 、状態にある。 即ち、新たにネットワークカメラ 1Aを購入した利用者が初めて、当該ネットワークカメ ラ 1 Aをルータ 3に接続したような場合に相当する。  In this case, neither the global IP address information relating to the network camera 1A nor the information relating to the serial number exists in the database managed by the management Sano 7A. That is, this corresponds to a case where a user who newly purchases the network camera 1A connects the network camera 1A to the router 3 for the first time.
[0093] よって、管理サーバ 7Aは、ステップ S11でネットワークカメラ 1Aから受信した要求 ポート番号を、そのまま利用可能であるとして、ネットワークカメラ 1Aに送信する (ステ ップ S19)。  Therefore, the management server 7A transmits the request port number received from the network camera 1A in step S11 to the network camera 1A as it can be used as it is (step S19).
[0094] そして、管理サーバ 7Aは、ネットワークカメラ 1Aのグローバル IPアドレス、シリアル 番号、および要求ポート番号を、新規データとしてデータベースに登録する (ステップ S21)。  Then, the management server 7A registers the global IP address, serial number, and requested port number of the network camera 1A as new data in the database (step S21).
[0095] これにより、データベースには新たな管理対象として、ネットワークカメラ 1Aに係る グローバル IPアドレス、シリアル番号およびポート番号がデータベースに登録される ため、次に、ネットワークカメラ 1Aからポート番号の割り当て要求があった場合には、 第 1の場合で上述した手順でポート番号の割り当てがなされる。  [0095] As a result, the global IP address, serial number, and port number related to network camera 1A are registered in the database as a new management target in the database. Next, a port number assignment request is received from network camera 1A. If there is, the port number is assigned according to the procedure described above in the first case.
[0096] また、ネットワークカメラ 1Aの利用者力 新たに別のネットワークカメラ 1Bを追加した ような場合には、第 2の場合で上述した手順でポート番号が割り当てられると共に、そ のデータがデータベースに新規に登録されることになる。  [0096] In addition, when another network camera 1B is newly added to the user of the network camera 1A, the port number is assigned in the procedure described above in the second case, and the data is stored in the database. It will be newly registered.
[0097] 尚、ここではネットワークカメラ 1Aが初期値として設定された所定の要求ポート番号 を管理サーバ 7Aに送信し、管理サーバ 7Aがこれをネットワークカメラ 1Aに送信する 態様を示した力 本発明はこれに限らず、例えば、ネットワークカメラ 1Aからはシリア ル番号およびグローバル IPアドレスのみを送信し、上述した第 3の場合に相当する場 合には管理サーバ 7Aが初期値として有する所定のポート番号を送信する態様であ つても構わない。 [0098] 次に、第 4の場合について説明する。 [0097] Note that here, the network camera 1A transmits a predetermined request port number set as an initial value to the management server 7A, and the management server 7A transmits this to the network camera 1A. For example, only the serial number and the global IP address are transmitted from the network camera 1A, and in the case corresponding to the third case described above, the predetermined port number that the management server 7A has as an initial value is used. It does not matter if it is transmitted. [0098] Next, the fourth case will be described.
[0099] この場合、管理サーバ 7Aのデータベース内に、ネットワークカメラ 1Aのシリアル番 号を有するデータが存在するが、その IPアドレスが一致しない状態にある。即ち、ネ ットワークカメラ 1Aを利用する LAN5に割り当てられたグローバル IPアドレスが変更さ れたような場合に相当する。  [0099] In this case, data having the serial number of the network camera 1A exists in the database of the management server 7A, but the IP addresses do not match. In other words, this corresponds to a case where the global IP address assigned to the LAN 5 that uses the network camera 1A is changed.
[0100] よって、管理サーノ 7Aは、シリアル番号が一致したデータに関連付けられたポート 番号をネットワークカメラ 1Aに送信する (ステップ S20)。  [0100] Therefore, the management Sano 7A transmits the port number associated with the data with the matching serial number to the network camera 1A (step S20).
[0101] そして、管理サーバ 7Aは、データベース内に登録されているネットワークカメラ 1A のシリアル番号に対応付けられたグローバル IPアドレスを、ネットワークカメラ 1 Aから 受信したグローバル IPアドレスに書き換えてデータベースを更新する (ステップ S 22)  [0101] The management server 7A then updates the database by rewriting the global IP address associated with the serial number of the network camera 1A registered in the database with the global IP address received from the network camera 1A. (Step S 22)
[0102] これにより、ネットワークカメラ 1Aには、グローバル IPアドレスが変更される前と同一 のポート番号が割り当てられる力 上述したように、データベース上では、同一のグロ 一バル IPアドレスで、異なるシリアル番号である場合には、異なるポート番号を有す るよう関連付けられたデータが管理されているため、ネットワークカメラ 1Aに、他のネ ットワークカメラ 1Bと重複したポート番号が割り当てられることはない。 [0102] This allows network camera 1A to be assigned the same port number as before the global IP address was changed. As described above, on the database, the same global IP address and a different serial number are assigned. In the case of, since the data associated with having different port numbers is managed, the network camera 1A is not assigned a port number that overlaps with the other network camera 1B.
[0103] また、ネットワークカメラ 1Aに係る情報は、管理サーバ 7Aのデータベースにおいて 更新登録されるため、次に、ネットワークカメラ 1Aからポート番号の割り当て要求があ つた場合には、第 1の場合で上述した手順でポート番号の割り当てがなされる。  [0103] Further, since the information related to the network camera 1A is updated and registered in the database of the management server 7A, next, when there is a port number assignment request from the network camera 1A, the above case is described in the first case. The port number is assigned according to the procedure described above.
[0104] 複数台のネットワークカメラ 1を利用する場合、全てのネットワークカメラ 1について、 上述の第 1〜第 4の場合に示した手順でポート番号が割り当てられる。  [0104] When using a plurality of network cameras 1, port numbers are assigned to all network cameras 1 according to the procedure shown in the above first to fourth cases.
[0105] このように、グローバル IPアドレスおよびシリアル番号を含むパラメータを送信して ポート番号の割り当て要求を行うネットワークカメラ 1Aに対して、管理サーバ 7Aが、 第 1〜第 4の場合で示したように対応することで、ネットワークカメラ 1 Aに、他のネット ワークカメラ 1Bと重複するポート番号が割り当てられることはな 、。  [0105] In this way, for the network camera 1A that sends a parameter including a global IP address and serial number and makes a port number assignment request, the management server 7A shows the cases shown in the first to fourth cases. By supporting, network camera 1A will not be assigned a port number that is duplicated with other network camera 1B.
[0106] よって、従来のように、重複するポート番号を利用しょうとしたために、後述するルー タ 3のポートフォワード機能の設定を正常に行うことができないといった問題を回避す ることがでさる。 [0107] また、上述したポート番号の割り当てに係る動作は、インターネット 6に接続された ルータ 3にネットワークカメラ 1Aを接続するだけで自動的に行われるため、利用者は 、ネットワークカメラ 1 Aに対し複雑な操作を行う必要はなぐネットワーク等に関する 知識を要求されることもな 、。 Therefore, it is possible to avoid the problem that the port forward function of router 3 described later cannot be normally set because an attempt was made to use a duplicate port number as in the conventional case. [0107] Further, since the operation related to the port number assignment described above is automatically performed by simply connecting the network camera 1A to the router 3 connected to the Internet 6, the user can connect the network camera 1A to the network camera 1A. Knowledge about networks that do not require complicated operations is required.
[0108] また、ルータ 3にネットワークカメラ 1だけが接続されている場合であれば、ネットヮー クカメラ 1Aが受信したポート番号は、他のネットワークカメラ 1に割り当てられたポート 番号と重複して 、な 、ので、確実にポートフォワードの設定を完了することができる。 よって、例えば単純にポート番号を変更してポートフォワード機能の設定を繰り返し、 重複しないポート番号のときにポートフォワードの設定が完了する場合と比較して、短 時間でポートフォワード機能の設定を完了することができる。  [0108] If only the network camera 1 is connected to the router 3, the port number received by the network camera 1A is duplicated with the port number assigned to the other network camera 1. Therefore, the port forward setting can be completed with certainty. Therefore, for example, simply change the port number and repeat the port forward function setting, and complete the port forward function setting in a shorter time than when the port forward setting is completed when the port number does not overlap. be able to.
[0109] 次に、上述した手順で決定されたポート番号を受信したネットワークカメラ 1Aは(図 2のステップ S2)、 UPnP機能を利用して、自動的にルータ 3のポートフォワード機能 の設定を開始する (ステップ S3)。  [0109] Next, the network camera 1A that has received the port number determined in the above procedure (step S2 in Fig. 2) automatically uses the UPnP function to start setting the port forward function of the router 3. (Step S3).
[0110] 具体的には、グローバル IPアドレスを利用したルータ 3に対して、管理サーバ 7Aか ら受信したポート番号へのアクセスを、ネットワークカメラ 1Aに割り当てられたプライ ベー HPアドレスに転送するようにポートフォワード機能の設定を行う。  [0110] Specifically, for the router 3 using the global IP address, the access to the port number received from the management server 7A is forwarded to the private HP address assigned to the network camera 1A. Set the port forward function.
[0111] これにより、ネットワークカメラ 1Aは、割り当てられたポート番号およびグローバル IP アドレスを利用して、 Webサーバとしてインターネット 6上で動作することが可能となる  [0111] Thereby, the network camera 1A can operate on the Internet 6 as a Web server using the assigned port number and global IP address.
[0112] ただし、ネットワークカメラ 1Aがルータ 3に対してポートフォワード機能の設定を行お うとしたポート番号力 既にルータ 3上で他のネットワーク装置に割り当て済みであつ た場合には問題が発生する。 [0112] However, if the network camera 1A tries to set the port forward function for the router 3 and the port number power has already been assigned to another network device on the router 3, a problem occurs.
[0113] 具体的には、例えば、ネットワークカメラ 1 Aに対して管理サーバ 7Aで割り当てられ たポート番号が、 LAN5に接続されたコンピュータ装置 2等の、他のネットワーク装置 で既に使用されている場合や、本発明とは異なるネットワークカメラが使用され、当該 ネットワークカメラで利用中のポート番号がネットワークカメラ 1Aに割り当てられた場 合等である。管理サーバ 7Aはネットワークカメラ 1のポート番号のみを管理するため、 コンピュータ装置 2等の他のネットワーク装置が利用されている場合は、これらのネッ トワーク装置に割り当て済みのポート番号と、管理サーバ 7Aでネットワークカメラ 1に 割り当てようとするポート番号が重複する可能性がある。 Specifically, for example, when the port number assigned by the management server 7A to the network camera 1A is already used by another network device such as the computer device 2 connected to the LAN5. Or, a network camera different from the present invention is used, and the port number being used by the network camera is assigned to the network camera 1A. Since the management server 7A manages only the port number of the network camera 1, if another network device such as the computer device 2 is used, these network devices There is a possibility that the port number already assigned to the network device and the port number to be assigned to network camera 1 on the management server 7A overlap.
[0114] また、その他、上述した管理サーバ 7Aの動作やデータベースに障害が発生し、他 のネットワークカメラ 1Bと重複したポート番号がネットワークカメラ 1Aに割り当てられて しまう可能性もある。 [0114] In addition, there is a possibility that a failure occurs in the operation or database of the management server 7A described above, and a port number duplicated with the other network camera 1B is assigned to the network camera 1A.
[0115] このような場合、ネットワークカメラ 1A力 ルータ 3で設定済みの重複したポート番号 を利用しょうとするため、正常にポートフォワード機能の設定をすることができない。そ のため、ルータ 3から、ネットワークカメラ 1Aに対し、正常にポートフォワード機能の設 定がなされたことを示す応答が返されず、何の応答もなカゝつたり、あるいはエラーが 発生したことを示す応答が返される。  [0115] In such a case, the port forward function cannot be set normally because an attempt is made to use the duplicate port number already set in the network camera 1A power router 3. Therefore, the router 3 does not return a response indicating that the port forward function has been set normally to the network camera 1A, and there is no response or an error has occurred. A response indicating is returned.
[0116] このような場合に対応するため、ネットワークカメラ 1Aは、ルータ 3に対して、管理サ ーバ 7Aで決定されたポート番号にっ 、てポートフォワード機能の設定を試みて、予 め設定された所定時間内に、ルータ 3から正常にポートフォワード機能の設定がなさ れたことを示す応答がない場合には、エラーが発生したものとして、再度、ステップ S 1に戻って動作する(ステップ S4の No)。  [0116] In order to cope with such a case, the network camera 1A tries to set the port forward function for the router 3 according to the port number determined by the management server 7A. If there is no response from the router 3 indicating that the port forward function has been successfully set within the specified time, it is assumed that an error has occurred and the operation returns to step S1 again (step S1). S4 No).
[0117] ただし、この場合には、ネットワークカメラ 1 Aから管理サーバ 7Aに送信するパラメ ータには、自身のシリアル番号、グローバル IPアドレスの他に、ルータ 3でエラーが発 生したことを示すエラー情報を含めて送信する。  [0117] However, in this case, the parameter sent from the network camera 1A to the management server 7A indicates that an error has occurred in the router 3 in addition to its own serial number and global IP address. Send error information.
[0118] そして、これを受信した管理サーバ 7Aでは、図 3を参照して上述した第 1〜第 4の 場合と異なる動作をする。  [0118] Then, the management server 7A that has received this operates differently from the first to fourth cases described above with reference to FIG.
[0119] 具体的には、管理サーバ 7Aは、ネットワークカメラ 1Aから受信した信号にルータ 3 の設定にぉ 、てエラーが発生したことを示すエラー情報が含まれて 、た場合 (ステツ プ S22の Yes)、データベースから、ネットワークカメラ 1Aと同一のグローバル IPアド レスを有するデータを検索し、さらにその中でポート番号の最大値を有するデータを 検索する (ステップ S23)。そして、検索したポート番号の最大値に 1を付加したポート 番号をネットワークカメラ 1Aに送信する (ステップ S24)と共に、当該ポート番号をネッ トワークカメラ 1Aのポート番号としてデータを書き換えて、データベースを更新する( ステップ S25)。 [0120] そして、ネットワークカメラ 1 Aは、再度、上述したようにステップ S3, S4と動作する。 即ち、ステップ S1〜S4の動作力 ルータ 3のポートフォワード機能の設定が正常に 終了するまで繰り返し行われる。 [0119] Specifically, the management server 7A, when the signal received from the network camera 1A contains error information indicating that an error has occurred in the settings of the router 3, (in step S22) Yes), data having the same global IP address as that of network camera 1A is searched from the database, and data having the maximum value of the port number is further searched (step S23). Then, the port number obtained by adding 1 to the maximum value of the searched port number is transmitted to the network camera 1A (step S24), and the data is rewritten using the port number as the port number of the network camera 1A to update the database. (Step S25). [0120] Then, the network camera 1 A operates again with steps S3 and S4 as described above. That is, the operation force of steps S1 to S4 is repeated until the setting of the port forward function of router 3 is completed normally.
[0121] ルータ 3のポートフォワード機能の設定動作にエラーが発生すると、 LAN5に接続 されたネットワークカメラ 1に割り当てられたポート番号の最大値にさらに 1付加された ポート番号が、ネットワークカメラ 1 Aのポート番号として決定される。その後、ネットヮ ークカメラ 1 Aのポート番号として決定される値は、ルータ 3でエラーが発生する間、 1 ずつ加算される。そして、これがネットワークカメラ 1 Aに割り当てられたポート番号力 他のネットワークカメラ 1やコンピュータ装置 2等のポート番号と重複せず、ルータのポ ートフォワード機能の設定が正常に終了できるようになるまで続けられる。  [0121] If an error occurs in the setting operation of the port forward function of router 3, 1 is added to the maximum port number assigned to network camera 1 connected to LAN5. Determined as the port number. Thereafter, the value determined as the port number of the network camera 1 A is incremented by 1 while an error occurs in the router 3. This is the same as the port number assigned to network camera 1A, and does not overlap with the port numbers of other network cameras 1, computer devices 2, etc., and continues until the port forward function setting of the router can be completed normally .
[0122] 尚、本実施の形態では、エラー情報を受信した管理サーバ 7A力 同一のグローバ ル IPアドレスを有し且つ最大のポート番号を有するデータを検索して、そのポート番 号に 1を付加して新たなポート番号を決定する態様を示したが、本発明はこれに限る ものではない。管理サーバ 7Aのデータベースにおいて同一のグローバル IPアドレス を有するデータに割り当て済みのポート番号と異なり、且つエラーが発生したときに 割り当てていたポート番号と異なるポート番号を決定するものであれば、ポート番号 の最大値に所定の数値を付加する態様の他、所定の演算を行うことによりポート番号 を決定する態様であっても構わな ヽ。  [0122] In the present embodiment, the management server 7A that has received the error information searches for data having the same global IP address and the maximum port number, and adds 1 to the port number. Thus, although a mode of determining a new port number has been shown, the present invention is not limited to this. If it is different from the port number assigned to the data with the same global IP address in the database of Management Server 7A, and if it determines a port number different from the assigned port number when an error occurs, the port number In addition to a mode in which a predetermined numerical value is added to the maximum value, a mode in which a port number is determined by performing a predetermined calculation may be used.
[0123] これにより、重複したポート番号を指定したためにルータ 3のポートフォワード機能の 設定動作においてエラーが発生した場合にも、ポート番号を変更し、ポートフォヮー ド機能の設定を正常に終了することができる。  [0123] As a result, even if an error occurs in the port forward function setting operation of Router 3 because a duplicate port number is specified, the port number may be changed and the port forward function setting terminated normally. it can.
[0124] また、上述したポート番号の変更に係る動作は、ネットワークカメラ 1Aおよび管理サ ーバ 7Aにより、全て自動的に行われるため、利用者は、ネットワークカメラ 1Aに対し 操作を行う必要はなぐネットワーク等に関する知識を要求されることもない。  [0124] In addition, since the operations related to the change of the port number described above are all automatically performed by the network camera 1A and the management server 7A, the user does not need to operate the network camera 1A. Knowledge about the network etc. is not required.
[0125] また、このように本発明のネットワークカメラ 1やその他のネットワーク装置が混在し てルータ 3に接続されている場合は、ネットワークカメラ 1Aは、ネットワークカメラ 1に 割り当てられているポート番号以外のポート番号でポートフォワード機能の設定を行う 。よって単純にポート番号を変更して繰り返しポートフォワード機能の設定を行う場合 に比べて、より短時間でポートフォワード機能の設定を完了することができる。 [0125] When the network camera 1 of the present invention and other network devices are mixed and connected to the router 3 in this way, the network camera 1A has a port number other than the port number assigned to the network camera 1. Set the port forward function with the port number. Therefore, when changing the port number and setting the port forward function repeatedly Compared to, the setting of the port forward function can be completed in a shorter time.
[0126] 次に、ポート番号が決定され、ルータ 3に対するポートフォワード機能の設定も正常 に終えることができたネットワークカメラ 1 Aは、管理サーバ 7Aに対し、外部接続の確 認テストを要求する信号を送信する(図 2のステップ S5)。  [0126] Next, the network camera 1 A, which has determined the port number and has successfully completed the setting of the port forward function for the router 3, sends a signal requesting the management server 7A to check the external connection. Is transmitted (step S5 in FIG. 2).
[0127] これを受信した管理サーバ 7Aは、要求してきたネットワークカメラ 1 Aについて管理 しているデータベース内のデータを参照し、データに登録されたグローバル IPァドレ スおよびポート番号を指定してネットワークカメラ 1Aへの接続を試みる。即ち、インタ 一ネット 6を介して、 LAN5の外部から、グローバル IPアドレスおよびポート番号を指 定して接続を要求する端末に対し、ネットワークカメラ 1Aが撮像した映像や音声を配 信できる状態にある力否かをテストするのである。  [0127] The management server 7A that has received this refers to the data in the database managed for the requested network camera 1A, specifies the global IP address and port number registered in the data, and specifies the network camera. Attempt to connect to 1A. In other words, the video and audio captured by the network camera 1A can be distributed from the outside of the LAN 5 to the terminal that requests connection by specifying the global IP address and port number via the Internet 6. Test for power.
[0128] 管理サーバ 7Aから、グロ一ノ レ IPアドレスおよびポート番号を指定して送信された 信号が、ルータ 3を介してネットワークカメラ 1Aで受信できた場合には、グローバル IP アドレスおよびポート番号の割り当て、ルータのポートフォワード機能の設定が正常に 行われたことを意味する。  [0128] If the signal sent from the management server 7A specifying the global IP address and port number can be received by the network camera 1A via the router 3, the global IP address and port number This means that the assignment and setting of the port forwarding function of the router has been performed normally.
[0129] 管理サーバ 7Aへ外部接続確認を要求する信号を送信したにも拘わらず、所定時 間内に、管理サーバ 7Aからの信号を受信できなかった場合には、ルータ 3のポート フォワード機能の設定や管理サーバ 7A内のデータベースのデータ等が正常な状態 にないものとして、ネットワークカメラ 1Aは、ステップ S1に戻って動作する(ステップ S 6の No)。そして、ステップ S1〜S5の動作を、再度、行うこととなる。  [0129] If the signal from the management server 7A is not received within a predetermined time despite the transmission of a signal requesting external connection confirmation to the management server 7A, the port forward function of the router 3 Assuming that the settings and data in the database in the management server 7A are not in a normal state, the network camera 1A returns to step S1 and operates (No in step S6). Then, the operations of steps S1 to S5 are performed again.
[0130] そして、ネットワークカメラ 1 Aで管理サーバ 7Aからの信号を受信し、グローバル IP アドレスおよびポート番号に係る設定が全て正常に終了したことが確認された場合に は、ネットワークカメラ 1Aは、これに応答する信号を管理サーバ 7Aに送信する (ステ ップ S7)。  [0130] Then, when the network camera 1A receives the signal from the management server 7A and confirms that all the settings related to the global IP address and port number have been normally completed, the network camera 1A A signal that responds to is sent to the management server 7A (step S7).
[0131] 管理サーバ 7Aでは、ネットワークカメラ 1Aに関し、グローバル IPアドレス、シリアル 番号およびポート番号に加え、外部接続確認テストが正常に行われたことを示す情 報をデータベース内のデータとして管理する。  [0131] In relation to the network camera 1A, the management server 7A manages, in addition to the global IP address, serial number, and port number, information indicating that the external connection confirmation test has been performed normally as data in the database.
[0132] これにより、ネットワークカメラ 1Aは、重複しないよう決定されたポート番号を利用し 、当該ポート番号についてルータ 3のポートフォワード機能の設定をするだけでなぐ 当該ポート番号によりインターネット 6を介して映像および音声を配信可能である力否 かを確認することができる。 [0132] As a result, the network camera 1A simply uses the port number determined not to be duplicated and only sets the port forward function of the router 3 for the port number. With this port number, it is possible to confirm whether it is possible to distribute video and audio via the Internet 6.
[0133] また、ルータ 3に対して設定したポート番号によるネットワークカメラ 1Aへの外部か らの接続ができなかった場合には、正常に外部接続ができるよう、再度、自動的に設 定動作をやり直す。 [0133] If the network camera 1A cannot be connected to the network camera 1A from the port number set for the router 3, the setting operation is automatically performed again so that the external connection can be made normally. Try again.
[0134] そして、これらの動作は、ネットワークカメラ 1Aおよび管理サーバ 7Aによって、自動 的に行われるため、利用者は、ネットワークカメラ 1Aに対し操作を行う必要はなぐネ ットワーク等に関する知識を要求されることもな 、。  [0134] Since these operations are automatically performed by the network camera 1A and the management server 7A, the user is required to have knowledge about the network and the like that do not need to operate the network camera 1A. That's also true.
[0135] しかし、この状態では、携帯電話 8等の端末力 ネットワークカメラ 1 Aに接続して撮 像した映像や音声を視聴するためには、数字の羅列であるグローバル IPアドレスを 指定する必要がある。  [0135] However, in this state, it is necessary to specify a global IP address that is an enumeration of numbers in order to view the video and audio captured by connecting to the terminal power network camera 1 A such as the mobile phone 8. is there.
[0136] そのため、このグローバル IPアドレスにドメイン名を割り当てて利用することができる よう、ネットワークカメラ 1は、インターネット 6を介して DDNSサーバ 7Bへの接続を開 始する。具体的には、グローバル IPアドレスおよびシリアル番号を、インターネット 6を 介して DDNSサーバ 7Bに送信し、サブドメイン名の割り当てを要求する(ステップ S8 [0136] Therefore, the network camera 1 starts a connection to the DDNS server 7B via the Internet 6 so that a domain name can be assigned to the global IP address. Specifically, the global IP address and serial number are sent to the DDNS server 7B via the Internet 6 to request assignment of a subdomain name (step S8
) o ) o
[0137] DDNSサーバ 7Bは、ネットワークカメラ 1Aから、シリアル番号およびグローバル IP アドレスを受信すると、このグローバル IPアドレスにシリアル番号に応じて決定したサ ブドメイン名を割り当てる。具体的には、例えば、 DDNSサーバ 7Bが「〇〇〇.co.jp」 t ヽぅドメイン名を有して!/ヽるときに、サブドメイン名の設定を要求してきたネットワーク カメラ 1のシリアル番号が mcsOOOlであれば、サブドメイン名 mcsOOOlを割り当て、「mcs 0001.00 Oxo.jp Jと!、うアドレスをネットワークカメラ 1のグローバル IPアドレスと対応 させて管理する。  [0137] When the DDNS server 7B receives the serial number and the global IP address from the network camera 1A, the DDNS server 7B assigns the subdomain name determined according to the serial number to the global IP address. More specifically, for example, when the DDNS server 7B has a domain name! If the number is mcsOOOl, the subdomain name mcsOOOl is assigned, and the address “mcs 0001.00 Oxo.jp J!” Is associated with the global IP address of network camera 1 and managed.
[0138] このとき、 DDNSサーバ 7は、後にサブドメイン名の変更要求等があつたときに対応 するため、ネットワークカメラ 1Aのシリアル番号、グローバル IPアドレス、およびサブド メイン名を関連づけて管理する。  At this time, the DDNS server 7 associates and manages the serial number, the global IP address, and the subdomain name of the network camera 1A in order to respond to a request to change the subdomain name later.
[0139] また、 DDNSサーバ 7B上でサブドメイン名の設定を完了すると、 DDNSサーバ 7B は、設定したサブドメイン名を、ネットワークカメラ 1Aに通知する。そして、ネットワーク カメラ 1Aは、自身のシリアル番号、プライベート IPアドレス、グローバル IPアドレス、ポ ート番号およびサブドメイン名を管理する。 [0139] When the setting of the subdomain name is completed on the DDNS server 7B, the DDNS server 7B notifies the network camera 1A of the set subdomain name. And network Camera 1A manages its serial number, private IP address, global IP address, port number, and subdomain name.
[0140] 尚、サブドメイン名は DDNSサーバ 7Bによって決定される態様を示した力 本発明 はこれに限らず、ネットワークカメラ 1A力 シリアル番号等を元にサブドメイン名を決 定し、これをグローバル IPアドレスおよびシリアル番号と共に DDNSサーバ 7Bに送 信し、 DDNSサーバ 7Bはネットワークカメラ 1 A力 受信したサブドメイン名をグロ一 バル IPアドレスに割り当てるよう設定定管理するのみであっても構わない。  [0140] Note that the subdomain name is determined by the DDNS server 7B. The present invention is not limited to this. The network camera 1A power is determined based on the serial number, etc. The IP address and serial number may be sent to the DDNS server 7B, and the DDNS server 7B may simply manage the settings so that the received subdomain name is assigned to the global IP address.
[0141] また、 DDNSサーバ 7Bと管理サーバ 7Aが別々に存在し、 DDNSサーバ 7B内で サブドメイン等に係る情報を管理する態様を示したが、本発明はこれに限らず、管理 サーバ 7Aおよび DDNSサーバ 7Bがーのサーバ装置の機能によって実現され、サ ブドメイン名に係る情報は、上述した管理サーバ 7Aの管理するポート番号等に係る 情報と合わせて管理される態様であっても構わな 、。  [0141] In addition, although the DDNS server 7B and the management server 7A exist separately and the information related to the subdomain and the like is managed in the DDNS server 7B, the present invention is not limited to this, and the management server 7A and the management server 7A The DDNS server 7B may be realized by the function of the server device, and the information related to the subdomain name may be managed together with the information related to the port number managed by the management server 7A described above. .
[0142] サブドメイン名の設定が終了すると、携帯電話 8の Webブラウザを利用して、そのァ ドレスに、数値の羅列であるグローバル IPアドレスではなぐ「http:〃 mcs0001.〇〇〇 .co.jp」という文字列等を利用した分力りやすいアドレスを指定することで、ネットワーク カメラ 1に接続することができるようになる。このとき、予めドメイン名は固定されている ため、利用者は、ネットワークカメラ 1のシリアル番号をサブドメイン名として入力するこ とで、ネットワークカメラ 1に接続することができる。  [0142] When the setting of the subdomain name is completed, using the Web browser of the mobile phone 8, the global IP address that is a list of numerical values is not included in the address "http: 〃 mcs0001.000.co. By specifying an easy-to-use address using the character string “jp”, the network camera 1 can be connected. At this time, since the domain name is fixed in advance, the user can connect to the network camera 1 by inputting the serial number of the network camera 1 as the subdomain name.
[0143] このように、ドメイン名の設定も自動的に行われるため、利用者は、ネットワークカメ ラ 1Aに対し操作を行う必要はなぐネットワーク等に関する知識を要求されることもな い。  [0143] As described above, since the domain name is automatically set, the user is not required to have knowledge about the network and the like that do not need to operate the network camera 1A.
[0144] ネットワークカメラ 1Aは、ポート番号の決定、ルータのポートフォワード機能の設定、 外部からの接続確認、サブドメイン名の設定、等の全ての動作が完了すると、これを 自身の備える表示装置上への表示、または LED等のランプ(図示せず)の点灯、等 によって利用者に報知する。  [0144] When all operations such as determination of the port number, setting of the port forward function of the router, confirmation of connection from the outside, setting of the subdomain name, etc. are completed, the network camera 1A performs this on its display device. The user is notified by displaying on the screen or lighting of a lamp such as an LED (not shown).
[0145] これにより、利用者は、全ての設定が完了し、サブドメイン名を利用したネットワーク カメラ 1Aへの接続が可能になったことを認識することができる。  Thus, the user can recognize that all the settings have been completed and the connection to the network camera 1A using the subdomain name has become possible.
[0146] モデム 4を介してルータ 3に割り当てられるグローバル IPアドレスは、上述したように 動的に変更されることがある。ネットワークカメラ 1は、所定の時間毎にグロ一ノ レ IP アドレス等の情報を管理サーバ 7Aおよび DDNSサーバ 7Bに送信している力 ルー タ 3に割り当てられたグロ一ノ レ IPアドレスが変更されたことを認識すると、内部で管 理しているグローバル IPアドレスの内容を変更すると共に、シリアル番号および変更 されたグローバル IPアドレスを管理サーバ 7Aおよび DDNSサーバ 7Bへ送信する。 [0146] The global IP address assigned to router 3 via modem 4 is as described above. May change dynamically. The network camera 1 has changed its IP address assigned to the power router 3 that sends information such as the Gloren IP address to the management server 7A and the DDNS server 7B every predetermined time. When it is recognized, the contents of the global IP address managed internally are changed, and the serial number and the changed global IP address are transmitted to the management server 7A and the DDNS server 7B.
[0147] これを受けて、 DDNSサーバ 7Bでは、該当するシリアル番号に対応するグローバ ル IPアドレスを変更する。また、管理サーバ 7A内でも、データベースに登録された該 当するシリアル番号のグローバル IPアドレスを書き換えてデータベースを更新する。 このグローバル IPアドレスの変更に係る管理サーバ 7Aおよび DDNSサーバ 7Bの動 作は、上述したステップ S1〜S9の動作とは独立して行われる。  [0147] In response, DDNS server 7B changes the global IP address corresponding to the corresponding serial number. Also in the management server 7A, the database is updated by rewriting the global IP address of the corresponding serial number registered in the database. The operations of the management server 7A and the DDNS server 7B related to the change of the global IP address are performed independently of the operations of steps S1 to S9 described above.
[0148] これにより、グローバル IPアドレスが変更されたときにも利用者が何ら操作を行うこと なぐその変更が自動的に管理サーバ 7Aおよび DDNSサーバ 7Bの設定に反映さ れる。そのため、グロ一ノ レ IPアドレスが動的に変更されるような環境下においても、 利用者は、ドメイン名力もなるアドレスを利用して、ネットワークカメラ 1に容易に接続 することができる。  [0148] Thus, even when the global IP address is changed, the change without any operation by the user is automatically reflected in the settings of the management server 7A and the DDNS server 7B. For this reason, even in an environment where the global IP address is dynamically changed, the user can easily connect to the network camera 1 using an address having domain power.
[0149] また、ルータ 3等によって、 自身に割り当てられたプライベート IPアドレスが変更され たときには、これを認識したネットワークカメラ 1は、内部で管理する情報を更新すると 共に、ルータ 3のポートフォワード機能の設定を変更し、インターネット 6上力もの接続 要求力 ネットワークカメラ 1に対するものとして正しく処理されるようにする。  [0149] When the private IP address assigned to itself is changed by the router 3 or the like, the network camera 1 that has recognized this updates the information managed internally, and Change the settings so that Internet 6 is the best connection requirement.
[0150] これにより、プライベート IPアドレスが変更されたときにも利用者が何ら操作を行うこ となぐその変更が自動的にルータ 3の設定に反映される。そのため、利用者は、ドメ イン名力もなるアドレスを利用して、ネットワークカメラ 1に容易に接続することができる  [0150] As a result, even when the private IP address is changed, the change that the user does not perform any operation is automatically reflected in the router 3 settings. For this reason, the user can easily connect to the network camera 1 by using an address having a domain name.
[0151] 以上のように、ネットワークカメラ 1を、インターネット 6に接続されたルータ 3に接続 するだけで、他のネットワークカメラ 1等のネットワーク装置 1, 2と重複しないよう利用 するポート番号を決定し、当該ポート番号についてルータ 3のポートフォーワード機能 の設定を行い、さらに当該ポート番号による外部接続が正常に行われるか否かの確 認テストまでが全て自動的に行われる。 [0152] そのため、利用者は、複数台のネットワークカメラ 1を利用する場合や、既に導入済 みの他のネットワーク装置に加えて新たにネットワークカメラ 1を導入する場合におい ても、容易にネットワークカメラ 1を利用することができ、ネットワーク等に係る知識を要 求されることもない。 [0151] As described above, just connect the network camera 1 to the router 3 connected to the Internet 6, and determine the port number to be used so that it does not overlap with other network devices 1, 2 such as other network cameras 1. Then, the port forward function of router 3 is set for the port number, and all the processes up to the confirmation of whether or not the external connection by the port number is normally performed are automatically performed. [0152] Therefore, even when a user uses a plurality of network cameras 1 or introduces a new network camera 1 in addition to other network devices that have already been installed, the network camera can be easily used. 1 can be used and knowledge about the network etc. is not required.
[0153] また、サブドメイン名の設定だけでなぐプライベート IPアドレスやグローバル IPアド レスが変更されたときにも、その変更が自動的に DDNSサーバ 7Bやルータ 3の設定 に反映されるため、利用者は、 IPアドレスが変更される度に設定を変更する操作を行 うことなぐ継続してドメイン名力 なるアドレスを利用できるため、容易にネットワーク カメラ 1を禾 IJ用することができる。  [0153] In addition, when a private IP address or global IP address is changed by simply setting the subdomain name, the change is automatically reflected in the settings of DDNS server 7B and router 3. The network camera 1 can be easily used for IJ because the user can continue to use the domain name address without changing the setting every time the IP address is changed.
[0154] この発明は詳細に説明されたが、上記した説明は、すべての局面において、例示 であって、この発明がそれに限定されるものではない。例示されていない無数の変形 例力 この発明の範囲力 外れることなく想定され得るものと解される。  [0154] Although the present invention has been described in detail, the above description is illustrative in all aspects, and the present invention is not limited thereto. Innumerable variations not illustrated The power of the scope of the present invention It is understood that the power can be assumed without departing.

Claims

請求の範囲 The scope of the claims
[1] 撮像した映像をネットワーク(6)を介して配信する映像配信システムであって、 前記ネットワークに接続されたルータ (4)と、  [1] A video distribution system for distributing captured images via a network (6), comprising: a router (4) connected to the network;
前記ルータに接続され、自己の識別情報および前記ルータのグローバル IPァドレ スを送信するネットワークカメラ(1 ; 1A, IB)と、  A network camera (1; 1A, IB) connected to the router and transmitting its own identification information and the global IP address of the router;
前記識別情報および前記グローバル IPアドレスとポート番号とを関連づけて管理す るデータベースを有し、前記ネットワークカメラ力 受信した前記グローバル IPァドレ スと、前記ネットワークカメラから受信した前記識別情報とは異なる前記識別情報と、 に関連付けられた前記ポート番号が記憶されている場合には、当該ポート番号とは 異なる前記ポート番号を前記ネットワークカメラに割り当てて、割り当てた前記ポート 番号を前記ネットワークカメラに送信する管理サーバ(7A)と、  A database for managing the identification information and the global IP address and the port number in association with each other, and the network camera power received the global IP address and the identification information received from the network camera are different from each other. When the port number associated with the information is stored, the management server which assigns the port number different from the port number to the network camera and transmits the assigned port number to the network camera. (7A)
を備えることを特徴とする映像配信システム。  A video distribution system comprising:
[2] 請求項 1に記載の映像配信システムであって、 [2] The video distribution system according to claim 1,
前記ネットワークカメラは、前記管理サーバから前記ポート番号を受信すると、当該 ポート番号を自身に割り当てるよう前記ルータのポートフォワード機能を設定すること を特徴とする映像配信システム。  When the network camera receives the port number from the management server, the network camera sets a port forward function of the router so as to assign the port number to itself.
[3] 請求項 2に記載の映像配信システムであって、 [3] The video distribution system according to claim 2,
前記ネットワークカメラは、所定時間内に、前記ルータのポートフォワード機能の設 定が行われな力つたときは、前記識別情報、前記グローバル IPアドレスおよびエラー 情報を前記管理サーバに送信し、  When the network camera does not have the router's port forwarding function set within a predetermined time, the network camera sends the identification information, the global IP address, and error information to the management server.
前記管理サーバは、前記エラー情報を受信すると、前記ネットワークカメラ力 受信 した前記グローバル IPアドレスに基づ 、て前記データベースを検索し、当該グローバ ル IPアドレスに関連付けて記憶される前記ポート番号とは異なる前記ポート番号を、 前記ネットワークカメラに割り当て直し、割り当て直した前記ポート番号を前記ネットヮ ークカメラに送信することを特徴とする映像配信システム。  Upon receiving the error information, the management server searches the database based on the received global IP address and differs from the port number stored in association with the global IP address. The video distribution system, wherein the port number is reassigned to the network camera, and the reassigned port number is transmitted to the network camera.
[4] 請求項 2または請求項 3に記載の映像配信システムであって、 [4] The video distribution system according to claim 2 or claim 3,
前記ネットワークカメラは、前記ルータのポートフォワード機能の設定が完了すると、 前記管理サーバに前記ルータを介した接続確認を行うことを要求し、 前記管理サーバは、前記ネットワークカメラ力もの要求に応じ、前記ネットワークカメ ラに送信した前記ポート番号により前記ネットワークカメラへの接続を試みることを特 徴とする映像配信システム。 When the setting of the port forward function of the router is completed, the network camera requests the management server to check connection via the router, The video distribution system, wherein the management server attempts to connect to the network camera using the port number transmitted to the network camera in response to a request for the network camera.
[5] 請求項 4に記載の映像配信システムであって、さらに、 [5] The video distribution system according to claim 4, further comprising:
前記グローバル IPアドレスに対して前記識別情報に応じたサブドメイン名を割り当 てて管理する DDNSサーバ(7B)、  A DDNS server (7B) that assigns and manages a subdomain name corresponding to the identification information to the global IP address;
を備え、  With
前記ネットワークカメラは、前記管理サーノ から前記ポート番号による接続がされた ことを認識すると、前記 DDNSサーバに前記識別情報および前記グローバル IPアド レスを送信して前記サブドメイン名の割り当てを要求することを特徴とする映像配信シ ステム。  When the network camera recognizes that the connection by the port number has been established from the management server, the network camera sends the identification information and the global IP address to the DDNS server to request the assignment of the subdomain name. A featured video distribution system.
[6] 請求項 4に記載の映像配信システムであって、さらに、  [6] The video distribution system according to claim 4, further comprising:
前記識別情報および前記グローバル IPアドレスにサブドメイン名を割り当てて管理 する DDNSサーバ(7B)、  DDNS server (7B) that assigns and manages a subdomain name to the identification information and the global IP address,
を備え、  With
前記ネットワークカメラは、前記管理サーノ から前記ポート番号による接続がされた ことを認識すると、前記識別情報に応じたサブドメイン名を生成すると共に、前記識 別情報、前記グローバル IPアドレスおよび前記サブドメイン名を前記 DDNSサーバ に送信して前記サブドメイン名の割り当てを要求することを特徴とする映像配信シス テム。  When the network camera recognizes that the connection by the port number has been established from the management server, it generates a subdomain name according to the identification information, and also identifies the identification information, the global IP address, and the subdomain name. Is sent to the DDNS server to request assignment of the subdomain name.
[7] 請求項 5に記載の映像配信システムであって、  [7] The video distribution system according to claim 5,
前記 DDNSサーバは、前記ネットワークカメラからの要求に応じて前記サブドメイン 名の割り当てが完了したことを前記ネットワークカメラに通知し、  The DDNS server notifies the network camera that assignment of the subdomain name is completed in response to a request from the network camera,
前記ネットワークカメラは、前記通知を受信すると、設定完了を報知することを特徴 とする映像配信システム。  When the network camera receives the notification, the network camera notifies the completion of setting.
[8] 請求項 6に記載の映像配信システムであって、 [8] The video distribution system according to claim 6,
前記 DDNSサーバは、前記ネットワークカメラからの要求に応じて前記サブドメイン 名の割り当てが完了したことを前記ネットワークカメラに通知し、 前記ネットワークカメラは、前記通知を受信すると、設定完了を報知することを特徴 とする映像配信システム。 The DDNS server notifies the network camera that assignment of the subdomain name is completed in response to a request from the network camera, When the network camera receives the notification, the network camera notifies the completion of setting.
[9] 撮像した映像をネットワーク(6)を介して配信するネットワークカメラ(1; 1A, 1B)で あって、  [9] A network camera (1; 1A, 1B) that distributes captured images via the network (6),
ルータ (4)を介して前記ネットワークに接続され、自己の識別情報および前記ルー タのグロ一ノ レ IPアドレスを、前記ネットワークに接続された管理サーノ (7A)に送信 してポート番号の割り当てを要求し、  The router is connected to the network via the router (4), and its own identification information and the router's global IP address are sent to the management server (7A) connected to the network to assign the port number. Request,
前記管理サーバで割り当てられた前記ポート番号を受信すると、当該ポート番号を 自身に割り当てるよう前記ルータのポートフォワード機能を設定することを特徴とする ネットワークカメラ。  When the port number assigned by the management server is received, a port forward function of the router is set so that the port number is assigned to itself.
[10] 請求項 9に記載のネットワークカメラであって、 [10] The network camera according to claim 9,
所定時間内に前記ルータのポートフォワード機能の設定が行われな力つたときは、 前記グローバル IPアドレスおよびエラー情報を前記管理サーバに送信して前記ポー ト番号の変更を要求し、  When the setting of the port forward function of the router is not performed within a predetermined time, the global IP address and error information are transmitted to the management server to request the port number change,
前記管理サーバで変更された前記ポート番号を受信すると、当該ポート番号を自 身に割り当てるよう、前記ルータのポートフォワード機能を再設定することを特徴とす る才、ットワークカメラ。  When the port number changed by the management server is received, the network camera is configured to reset the port forward function of the router so as to assign the port number to itself.
[11] 請求項 9または請求項 10に記載のネットワークカメラであって、  [11] The network camera according to claim 9 or claim 10,
前記ルータのポートフォワード機能の設定が完了すると、前記管理サーバに前記 ルータを介した接続確認を行うことを要求することを特徴とするネットワークカメラ。  When the setting of the port forward function of the router is completed, the network camera is configured to request the management server to check connection through the router.
[12] 請求項 11に記載のネットワークカメラであって、 [12] The network camera according to claim 11,
前記管理サーノ から前記ポート番号による接続がされたことを認識すると、 DDNS サーバ(7B)に前記識別情報および前記グローバル IPアドレスを送信してサブドメイ ン名の割り当てを要求することを特徴とするネットワークカメラ。  When the management server recognizes that the connection by the port number has been established, it sends the identification information and the global IP address to the DDNS server (7B) to request assignment of a subdomain name. .
[13] 請求項 11に記載のネットワークカメラであって、 [13] The network camera according to claim 11,
前記管理サーノ から前記ポート番号による接続がされたことを認識すると、前記識 別情報に応じたサブドメイン名を生成すると共に、前記識別情報、前記グローバル IP アドレスおよび前記サブドメイン名を DDNSサーバ(7B)に送信して前記サブドメイン 名の割り当てを要求することを特徴とするネットワークカメラ。 When the management server recognizes that the connection by the port number has been established, it generates a subdomain name corresponding to the identification information, and also transmits the identification information, the global IP address, and the subdomain name to the DDNS server (7B ) To send the subdomain A network camera characterized by requesting a name assignment.
[14] 請求項 12に記載のネットワークカメラであって、  [14] The network camera according to claim 12,
前記サブドメイン名の割り当てが完了したことを通知する信号を受信すると、設定完 了を報知することを特徴とするネットワークカメラ。  A network camera characterized in that, upon receiving a signal notifying that the assignment of the subdomain name is completed, the completion of setting is notified.
[15] 請求項 13に記載のネットワークカメラであって、 [15] The network camera according to claim 13,
前記サブドメイン名の割り当てが完了したことを通知する信号を受信すると、設定完 了を報知することを特徴とするネットワークカメラ。  A network camera characterized in that, upon receiving a signal notifying that the assignment of the subdomain name is completed, the completion of setting is notified.
[16] 識別情報およびグローバル IPアドレスとポート番号とを関連づけて管理するデータ ベース、 [16] Database that manages identification information and global IP addresses and port numbers in association with each other,
を備え、  With
前記識別情報および前記グローバル IPアドレスを受信すると、受信した前記グロ一 バル IPアドレスと、受信した前記識別情報とは異なる前記識別情報と、に関連付けら れた前記ポート番号が記憶されて!、る場合には、当該ポート番号とは異なる前記ポ ート番号を決定し、当該ポート番号を、前記識別情報および前記グローバル IPァドレ スの送信元に送信することを特徴とする管理サーバ。  When the identification information and the global IP address are received, the received port number associated with the received global IP address and the identification information different from the received identification information is stored! In this case, the management server determines the port number different from the port number, and transmits the port number to the transmission source of the identification information and the global IP address.
[17] 請求項 16に記載の管理サーバであって、  [17] The management server according to claim 16,
前記識別情報、前記グローバル IPアドレスおよびエラー情報を含むデータを受信 すると、  When data including the identification information, the global IP address and error information is received,
受信した前記グローバル IPアドレスに基づ!/、て前記データベースを検索し、当該グ ローバル IPアドレスに関連付けて記憶される前記ポート番号とは異なる前記ポート番 号を、前記エラー情報の送信元に送信することを特徴とする管理サーバ。  Based on the received global IP address, the database is searched and the port number different from the port number stored in association with the global IP address is transmitted to the source of the error information. A management server characterized by:
PCT/JP2006/314257 2005-08-24 2006-07-19 Network camera, management server, and video distribution system WO2007023626A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006522832A JP4576637B2 (en) 2005-08-24 2006-07-19 Network camera, management server and video distribution system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005-242640 2005-08-24
JP2005242640 2005-08-24

Publications (1)

Publication Number Publication Date
WO2007023626A1 true WO2007023626A1 (en) 2007-03-01

Family

ID=37771377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/314257 WO2007023626A1 (en) 2005-08-24 2006-07-19 Network camera, management server, and video distribution system

Country Status (2)

Country Link
JP (1) JP4576637B2 (en)
WO (1) WO2007023626A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008301011A (en) * 2007-05-30 2008-12-11 D & M Holdings Inc Network communication device
JP2009290524A (en) * 2008-05-29 2009-12-10 Nec Infrontia Corp Communication failure avoiding method, information processing apparatus, and program
JP2011077804A (en) * 2009-09-30 2011-04-14 Oki Networks Co Ltd Communication device and communication method of the same
JP2013042558A (en) * 2012-11-27 2013-02-28 Panasonic Corp Ip terminal device, and video monitoring method of ip terminal device
JP2013059109A (en) * 2012-11-27 2013-03-28 Panasonic Corp Ip terminal device and video monitor method therefor
JP2014502076A (en) * 2010-11-09 2014-01-23 トゥエンティーフォーセブン ホールディング アクチボラグ Remote video production
JP2014158304A (en) * 2014-05-21 2014-08-28 Panasonic Corp Ip terminal device, and video monitoring method of ip terminal device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136718A (en) * 2003-10-30 2005-05-26 Canon Inc Network access managing method, network access managing device, network service providing method, network service providing system, its program, and storage medium
JP2005198145A (en) * 2004-01-09 2005-07-21 Matsushita Electric Ind Co Ltd Server, access destination data base server and network system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005136718A (en) * 2003-10-30 2005-05-26 Canon Inc Network access managing method, network access managing device, network service providing method, network service providing system, its program, and storage medium
JP2005198145A (en) * 2004-01-09 2005-07-21 Matsushita Electric Ind Co Ltd Server, access destination data base server and network system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SCHMITZ M. ET AL.: "WANIPConnection: 1 Service Template Version 1.01, UPnP Forum Standard", 2.2.20. PORTMAPPINGDESCRIPTION, 12 November 2001 (2001-11-12), pages 1 - 74, XP002286810 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008301011A (en) * 2007-05-30 2008-12-11 D & M Holdings Inc Network communication device
JP2009290524A (en) * 2008-05-29 2009-12-10 Nec Infrontia Corp Communication failure avoiding method, information processing apparatus, and program
JP2011077804A (en) * 2009-09-30 2011-04-14 Oki Networks Co Ltd Communication device and communication method of the same
JP2014502076A (en) * 2010-11-09 2014-01-23 トゥエンティーフォーセブン ホールディング アクチボラグ Remote video production
US9253417B2 (en) 2010-11-09 2016-02-02 Twentyfourseven Holding Ab Remote video production
JP2016171590A (en) * 2010-11-09 2016-09-23 トゥエンティーフォーセブン ホールディング アクチボラグTwentyfourseven Holding Ab Remote video production system
JP2013042558A (en) * 2012-11-27 2013-02-28 Panasonic Corp Ip terminal device, and video monitoring method of ip terminal device
JP2013059109A (en) * 2012-11-27 2013-03-28 Panasonic Corp Ip terminal device and video monitor method therefor
JP2014158304A (en) * 2014-05-21 2014-08-28 Panasonic Corp Ip terminal device, and video monitoring method of ip terminal device

Also Published As

Publication number Publication date
JPWO2007023626A1 (en) 2009-02-26
JP4576637B2 (en) 2010-11-10

Similar Documents

Publication Publication Date Title
US7266090B2 (en) Address autoconfiguration method for home network
KR100796865B1 (en) Mobile Terminal, System and Method for connecting Network by using the same
KR100461593B1 (en) Apparatus and system providing remote control and management service via communication network, and method thereof
CN100407625C (en) Method for providing business according to its type
US8050192B2 (en) Port forwarding configuration system and method for wire and wireless networks
KR100512959B1 (en) Multi home service system
JP4576637B2 (en) Network camera, management server and video distribution system
US11190452B2 (en) Virtual customer premises equipment, policy management server and service providing method
KR20040005658A (en) Communication device, communication system and communication method
JP4726190B2 (en) Network camera, DDNS server, and video distribution system
WO2006040881A1 (en) Video delivery system, and network camera
US7512138B2 (en) Device. system, and method for automatically determining an appropriate LAN IP address range in a multi-router network environment
US9774916B2 (en) Information concentrating center capable of making P2P connections with remote client devices
WO2006038391A1 (en) Network apparatus and network system
US7940760B2 (en) Method and apparatus for discovering component in at least one sub-network
JP2005347801A (en) Ip communication system and ip address allocation method
JP3876737B2 (en) DDNS server, DDNS client terminal, and DDNS system
US20090141705A1 (en) Device and method for address-mapping
JP2008047968A (en) Communication system and method for sharing network equipment
EP1465390A2 (en) Method of automatically determining device's nickname, and method of avoiding redundant nicknames for devices in network and network system thereof
KR100457823B1 (en) Virtual IP Supporting Method for Apparatus Having Network Server Program
US11552928B2 (en) Remote controller source address verification and retention for access devices
KR100846536B1 (en) Virtual Private Network Using DHCP and Method of Security on the Same
US8638803B2 (en) Communication apparatus and communication method for preventing a communication apparatus from receiving an unintended packet
JP4617203B2 (en) Server apparatus and communication connection method

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 2006522832

Country of ref document: JP

121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06768283

Country of ref document: EP

Kind code of ref document: A1