1. Technical Field
Embodiments of the present disclosure generally relate to monitor technologies, and more particularly to an access point device and a monitor system using the access point device.
2. Description of Related Art
Network cameras are commonly used in a monitor system. When multiple network cameras are used in the monitor system, each of the network cameras may be assigned an Internet protocol (IP) address for distinguishing them apart. As shown in
What is needed, therefore, is an improved monitor system to overcome the limitations described.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
When an IP request is received from any of the network cameras 2, the CPU 12 captures the corresponding MAC address or addresses, for example, the CPU 12 reads a barcode label stored in the requesting network camera 2, searches an associated IP pool for the requesting network camera 2 in the information table according to the captured MAC address or the area monitored by the network cameras 2, and randomly assigns an IP address from the corresponding IP pool to the requesting network camera 2. For example, if two network cameras 2a and 2b are located in a monitored area “A,” and the IP pool of the area “A” is previously assigned as “192.168.1.1˜192.168.1.255,” the CPU 12 randomly assigns an IP address from the IP pool “192.168.1.1˜192.168.1.255” to the network cameras 2a and 2b, and manages the images captured by the two network cameras according to the IP addresses.
In one embodiment, the switch 24 includes a first port 240a, a second port 240b, and a third port 240c. The first port 240a is connected with the processor 23, and for receiving the processed images. The second port 240b is an extension port of the network camera 2 for connecting to an external device such as another network camera 1, which allows the connection of many network cameras 1 or other devices in series. The third port 240c is connected to a monitor device 3, and transmits the processed images to a monitor device 3 (as shown in
In one embodiment, the first port 240a can be a medium independent interface port or a reduced medium independent interface (MII/RMII) port. The switch 24 can be an ethernet switch. The switch 24 and the processor 23 are connected in series by the MII/RMII port. As illustrated in
In
In step S400, the AP device 1 receives an IP request from one of the network cameras 2. In step S402, the CPU 12 captures the MAC address of the network camera 2, for example, reads a barcode label stored in the network camera 2. In one example with respect to
In step S404, the CPU 12 searches an associated IP pool in the information table according to the captured MAC address or the area monitored by the network camera 2.
In step S406, the CPU 12 randomly assigns an IP address from the IP pool to the network camera 2. For example, if network cameras “2a,” “2b,” “2c,” and “2d” distributed in an area “A” are connected to the port 10a of the AP device 2, and the IP pool of the area “A” is “192.168.1.1˜192.168.1.255” that is recorded in the information table, the CPU 12 searches the IP pool “192.168.1.1˜192.168.1.255” in the information table after receiving an IP request from each of the network cameras 2a-2d, and randomly assigns an IP address to each of the network cameras 2a-2d from the IP pool “192.168.1.1˜192.168.1.255”.
In step S408, the CPU 12 communicates with the network camera 2 according to the IP address, captures the serial number of the network camera 2 (for example, reads a barcode label stored in the network camera 2), and detects whether the IP address assigned to the network camera 2 is correct by comparing the captured serial number and the captured MAC address of the network camera 2 with that recorded in the information table.
If the captured serial number of the network camera 2 is the same as the serial number recorded in the information table, and the captured MAC address of the network camera 2 is the same as MAC address recorded in the information table, the CPU 12 determines that the IP address assigned to the network camera 2 is correct, and the flow enters S412.
If the captured serial number of the network camera 2 is different from the serial number recorded in the information table, or the captured MAC address of the network camera 2 is different from the MAC address recorded in the information table, the CPU 12 determines that the IP address assigned to the network camera 2 is incorrect, and the flow enters S414.
In step S412, the CPU 12 saves the IP address assigned to the network camera 2 in the information table.
In step S414, the CPU 12 updates the IP address assigned to the network camera 2 to the information table, and the flow returns to the step S402.
Although certain embodiments of the present disclosure have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the present disclosure without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
99107727 | Mar 2010 | TW | national |