Escalator video analysis equipment IP distribution method and device, equipment and storage medium

By automatically allocating and setting the IP address of the escalator video analysis equipment by the server, the problem of manual setting in large subway stations is solved, and efficient and automated IP management is achieved.

CN119561931APending Publication Date: 2025-03-04HITACHI BUILDING TECH GUANGZHOU CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411759362.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

In large subway stations, manually setting up the IP address of the escalator video analysis equipment takes a long time, has a lot of work, and has low automation.

Method used

Through the server statistics of the number of intelligent analysis devices and cameras, automatically allocate the initial IP address, and through the broadcast frame command, intelligent analysis devices and cameras to modify their IP addresses to achieve automated IP settings.

Benefits of technology

It greatly reduces the workload and time of IP settings, improves the degree of automation, reduces manual intervention, and is suitable for the management of escalator video analysis equipment in large subway stations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561931A_ABST
    Figure CN119561931A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of escalators, and discloses an escalator video analysis equipment IP distribution method, device and equipment and a storage medium, based on an escalator communication system, the escalator video analysis equipment comprises a monitoring computer, a server, intelligent analysis equipment and a camera which are accessed to the same local area network; the method comprises the steps that a server counts the number of intelligent analysis devices and the number of cameras so as to allocate initial IP addresses; the server sends an intelligent analysis equipment setting broadcast frame and a camera setting broadcast frame which comprise an IP setting command, and the IP setting command comprises an IP address needing to be set; and the intelligent analysis device and the camera respectively receive the setting broadcast frame, and when it is determined that the device data in the setting broadcast frame is the same as the corresponding original device data, the initial IP address is modified into the IP address in the corresponding setting broadcast frame. According to the method, the IP address of the equipment is automatically distributed, the workload is reduced, meanwhile, the intelligent analysis equipment automatically adds the camera corresponding to the escalator, and the field setting time is shortened.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of escalators, and in particular to an IP allocation method, device, equipment and storage medium for escalator video analysis equipment. Background Art

[0002] In order to monitor the abnormal behavior of passengers on escalators, escalator video analysis equipment is usually installed to analyze the behavior of passengers in real time. This set of equipment includes monitoring computers, servers, escalators, intelligent analysis terminals, cameras, etc. These devices mainly communicate with each other through networks and buses, and the IP settings of the devices mainly rely on manual processing: use the factory default IP address, log in to the network parameter setting page of each device respectively, and set the IP information and the camera corresponding to each escalator as required. Let the escalator associate its own camera to facilitate managers to view the abnormal behavior of passengers on each escalator and deal with the abnormal situation of each escalator in a targeted manner. If there is only one escalator and the number of devices is not large, this method still takes less time to process. If it is a subway station with more than ten escalators and dozens of devices, there are disadvantages of large workload and long time consumption. Summary of the invention

[0003] The present invention provides an escalator video analysis device IP allocation method, device, equipment and storage medium, which automatically allocate the IP address of the device and set it one by one, reducing the workload. At the same time, the intelligent analysis device automatically adds the camera corresponding to the escalator, shortening the time of on-site setting.

[0004] The present invention provides an IP allocation method for escalator video analysis equipment, based on an escalator communication system, wherein the escalator communication system includes a monitoring computer, a server, an intelligent analysis device and a camera connected to the same local area network, one intelligent analysis device corresponds to one escalator, and one escalator corresponds to one or more cameras; the method specifically includes:

[0005] The server counts the number of the intelligent analysis devices and the number of the cameras according to the identification codes of the intelligent analysis devices and the cameras, respectively, so as to allocate initial IP addresses according to the number of the intelligent analysis devices and the cameras;

[0006] The server sends a smart analysis device setting broadcast frame and a camera setting broadcast frame through the network, wherein the smart analysis device setting broadcast frame contains an IP setting command of the smart analysis device, and the camera setting broadcast frame contains an IP setting command of the camera; wherein both the IP setting command of the smart analysis device and the IP setting command of the camera contain an IP address to be set;

[0007] The intelligent analysis device and the camera receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame respectively. When it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame.

[0008] Furthermore, before the step of the server counting the number of the intelligent analysis devices and the number of the cameras respectively according to the identification code of the intelligent analysis device and the identification code of the camera to allocate IP addresses according to the number of the intelligent analysis devices and the number of the cameras, the step further includes:

[0009] The server sends the query broadcast frame of the intelligent analysis device and the camera through the network;

[0010] After receiving the query broadcast frame, the intelligent analysis device replies with an intelligent analysis device response frame; the intelligent analysis device response frame includes the escalator number, the intelligent analysis device identification code, and the intelligent analysis device unique number;

[0011] After receiving the query broadcast frame, the camera replies with a camera response frame; the camera response frame includes the escalator number, camera identification code, camera unique number, upper and lower escalator head positions, middle camera unique number, and login information.

[0012] Further, the server sends a smart analysis device setting broadcast frame and a camera setting broadcast frame through a network, wherein the smart analysis device setting broadcast frame contains an IP setting command of the smart analysis device, and the camera setting broadcast frame contains an IP setting command of the camera, including:

[0013] The server sends a broadcast frame for setting the intelligent analysis device through the network; wherein the broadcast frame for the intelligent analysis device includes the escalator number, the intelligent analysis device identification code, the unique number of the intelligent analysis device, and the IP address to be set;

[0014] Determining the number of cameras on each escalator according to the response frames of the cameras;

[0015] The server sends a camera setting broadcast frame through the network; wherein the camera broadcast frame includes the escalator number, the camera identification code, the camera unique number, and the IP address to be set.

[0016] Further, the smart analysis device and the camera receive the smart analysis device setting broadcast frame and the camera setting broadcast frame respectively, and when it is determined that the device data in the smart analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the step of modifying the initial IP address to the IP address in the corresponding setting broadcast frame includes:

[0017] The intelligent analysis device and the camera respectively determine the corresponding original device data; wherein the original device data includes the escalator number, the identification code, and the unique number;

[0018] The intelligent analysis device receives the intelligent analysis device setting broadcast frame, and when it is determined that the escalator number, the intelligent analysis device identification code, and the intelligent analysis device unique number are the same as the original device data of the intelligent analysis device, the initial IP address of the intelligent analysis device is modified to the IP address in the intelligent analysis device setting broadcast frame;

[0019] The camera receives the camera setting broadcast frame, and when it is determined that the escalator number, camera identification code, and camera unique number are the same as the original device data of the camera, the initial IP address of the camera is modified to the IP address in the camera setting broadcast frame.

[0020] Furthermore, all cameras are installed on the center line of the escalator, each of the cameras is affixed with a QR code, and each escalator has at least two cameras, namely a top camera and a bottom camera. When the length of the escalator exceeds a set length, a middle camera is set, and the bottom camera recognizes the QR code of the middle camera, and the middle camera recognizes the QR code of the top camera;

[0021] The step of determining the number of cameras on each escalator according to the response frames of the cameras comprises:

[0022] Determine the top camera and the bottom camera on the escalator according to the response frame of the camera;

[0023] Determine the first middle camera according to the QR code photographed by the bottom camera, determine the second middle camera according to the QR code photographed by the first middle camera, and so on, until the QR code of the top camera is photographed, and obtain the number of middle cameras;

[0024] The number of the cameras is equal to the sum of the number of the middle cameras and the number of the top cameras and the bottom cameras.

[0025] Furthermore, the intelligent analysis device and the camera receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame respectively, and when it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, after the step of modifying the initial IP address to the IP address in the corresponding setting broadcast frame, the step further includes:

[0026] The server communicates with the intelligent analysis device on each escalator and provides the camera IP and login information that each intelligent analysis device needs to connect to;

[0027] The intelligent analysis device is connected to all cameras of the corresponding escalator to obtain video signals for analyzing abnormal passenger behavior, and transmits the analysis results to the server; wherein the analysis results include the escalator number, the intelligent analysis device IP, the camera IP, and the abnormal passenger behavior;

[0028] After receiving the analysis results from the intelligent analysis device, the server displays the analysis results on the escalator corresponding to the intelligent analysis device, and at the same time performs classification storage and query according to the analysis results.

[0029] Furthermore, the monitoring computer of the escalator communication system is connected to the server via a switch, the server is connected to multiple intelligent analysis devices and multiple cameras via the switch, and each intelligent analysis device is connected to the escalator mainboard via a bus.

[0030] Furthermore, the escalator is paired with the intelligent analysis device and the camera as follows:

[0031] The escalator main board communicates with the intelligent analysis device through the bus, so that the intelligent analysis device obtains the escalator number; wherein the escalator number is set in the escalator main board;

[0032] The escalator main board sends camera pairing request signals through the infrared sensors at the upper and lower escalator heads;

[0033] After receiving the pairing request signal, the infrared sensor of the camera replies with response data. When multiple cameras reply with response data, the escalator main board selects the camera with the strongest signal strength to reply through the infrared sensor; wherein the data replied by the escalator main board includes the escalator number and the upper and lower escalator head positions;

[0034] After the camera receives the reply data from the escalator main board, it sets the camera name according to the escalator number and the upper and lower ladder head positions.

[0035] Further,

[0036] The server is installed in a weak current machine room, has a network interface, and is equipped with a B / S version of monitoring software;

[0037] The monitoring computer is installed in the monitoring room and has a network interface, and accesses the monitoring software of the server through a browser;

[0038] The camera is installed above the escalator, has a network port and an infrared communication interface, and uses the infrared circuit of the camera to modulate the wireless communication signal;

[0039] The intelligent analysis device is installed inside the escalator and has a network port and a bus interface.

[0040] Furthermore, the monitoring computer logs into the monitoring software of the server through a browser and inputs configurable IP start and end addresses, and the IP start and end addresses are used to determine the IP address that needs to be set in the broadcast frame sent by the server.

[0041] The present invention also provides an IP allocation device for escalator video analysis equipment, based on an escalator communication system, wherein the escalator communication system includes a monitoring computer, a server, an intelligent analysis device and a camera connected to the same local area network, one intelligent analysis device corresponds to one escalator, and one escalator corresponds to one or more cameras; the device specifically includes:

[0042] A statistics module, used for the server to count the number of the intelligent analysis devices and cameras according to the identification code of the intelligent analysis device and the identification code of the camera, so as to allocate initial IP addresses according to the number of the intelligent analysis devices and the cameras;

[0043] A sending module, used for the server to send a broadcast frame for setting an intelligent analysis device and a broadcast frame for setting a camera through a network, wherein the broadcast frame for setting an intelligent analysis device contains an IP setting command for the intelligent analysis device, and the broadcast frame for setting a camera contains an IP setting command for the camera; wherein both the IP setting command for the intelligent analysis device and the IP setting command for the camera contain an IP address to be set;

[0044] The modification module is used for the intelligent analysis device and the camera to receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame respectively. When it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame.

[0045] The present invention also provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.

[0046] The present invention also provides a computer-readable storage medium on which a computer program is stored, and the computer program implements the steps of the above method when executed by a processor.

[0047] The beneficial effects of the present invention are:

[0048] In the present invention, the server counts the number of the intelligent analysis devices and cameras to allocate the initial IP address; the server sends the intelligent analysis device setting broadcast frame and the camera setting broadcast frame through the network, wherein the broadcast frame contains an IP setting command, and the IP setting command contains the IP address to be set; the intelligent analysis device and the camera receive the setting broadcast frame respectively, and when it is determined that the device data in the setting broadcast frame is the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame, so that the IP address of the product is automatically allocated, and the IP address is set one by one, which reduces the workload; at the same time, the intelligent analysis device automatically adds the camera corresponding to the escalator, which shortens the time of on-site setting. The present invention uses the functions of the product itself for expansion, such as infrared lights, buses, two-dimensional codes, etc., without new equipment, and has low cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Figure 1 The figure is a flow chart of the IP allocation method of the escalator video analysis device of the present invention.

[0050] Figure 2 The figure is a schematic diagram of the structure of an escalator communication system according to an embodiment of the present invention.

[0051] Figure 3 The figure is a schematic diagram of the camera installation position and shooting direction according to an embodiment of the present invention.

[0052] Figure 4 The figure is a schematic diagram of the center line of an escalator according to an embodiment of the present invention.

[0053] Figure 5 FIG. 1 is a schematic diagram of a device structure according to an embodiment of the present invention.

[0054] Figure 6 The figure is a schematic diagram of the internal structure of a computer device according to an embodiment of the present invention.

[0055] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0056] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0057] The specific way to implement the video analysis equipment of escalators is to install a certain number of cameras above each escalator to shoot the passengers on the escalator. The images are then transmitted to the intelligent analysis equipment, which analyzes the abnormal behavior of the passengers. Finally, the analysis results are transmitted to the server management and the escalator alarm is triggered.

[0058] like Figure 2As shown, the escalator video analysis device IP allocation method provided by the present invention is based on the escalator communication system, and the escalator communication system includes a monitoring computer, a server, an intelligent analysis device and a camera connected to the same local area network. One intelligent analysis device corresponds to one escalator, and one escalator corresponds to one or more cameras.

[0059] The monitoring computer of the escalator communication system is connected to the server via a switch, the server is connected to multiple intelligent analysis devices and multiple cameras via the switch, each intelligent analysis device is connected to the escalator mainboard via a bus, and each escalator mainboard is connected to its corresponding infrared sensor via a bus.

[0060] The intelligent analysis device is installed inside the escalator and has a network port and a bus interface, and the bus interface includes a CAN or RS485 bus interface. The intelligent analysis device uses a CAN or RS485 bus interface to communicate with the escalator. One bus interface of the intelligent analysis device communicates with one escalator.

[0061] The camera is installed above the escalator and has an Internet port and an infrared communication interface. It uses the infrared circuit of the camera to modulate the wireless communication signal. A QR code is attached to the back of each camera, which includes the unique serial number of the camera.

[0062] The escalator mainboard has an infrared communication interface and a bus interface, and uses the infrared light and camera of the escalator entrance and exit reverse detection device for infrared communication. For easy distinction, the infrared communication content of the upper and lower parts of the escalator is different, and each escalator is equipped with an escalator mainboard.

[0063] The server is installed in the weak current machine room, has a network interface, and is equipped with B / S version of monitoring software.

[0064] The monitoring computer is installed in the monitoring room, has a network interface, and accesses the server's monitoring software through a browser.

[0065] In one embodiment, when installing the camera, Figure 3 As shown, the bottom camera 1 can capture the middle camera 2, and the middle camera 2 can capture the middle camera 3. Since the camera's shooting range is limited, the number of cameras installed on each escalator is determined according to the length of the escalator. The purpose is to make the camera's shooting range cover the entire visible range of the escalator. Usually, each escalator is equipped with at least two cameras, one to capture the upper end of the escalator and the other to capture the lower end of the escalator, namely the top camera and the bottom camera. If the length of the escalator exceeds the set length (which can be adjusted as needed and is not limited here), the middle camera is installed, and the bottom camera recognizes the QR code of the middle camera, and the middle camera recognizes the QR code of the top camera. As shown Figure 3The escalator is equipped with two center cameras: Camera 2 and Camera 3, and all cameras are installed on the center line of the escalator, as shown in 4. When installing the camera, the camera will be activated and the login information (user name and password) will be set.

[0066] like Figure 1 As shown, the escalator video analysis device IP allocation method provided by the present invention specifically includes:

[0067] S1. The server counts the number of the intelligent analysis devices and the number of the cameras according to the identification codes of the intelligent analysis devices and the cameras, respectively, so as to allocate initial IP addresses according to the number of the intelligent analysis devices and the cameras;

[0068] For example, if there are 20 smart analysis devices and 80 cameras, IP addresses are allocated according to the number of the two devices: 192.168.0.5 to 192.168.0.24 are allocated to smart analysis devices; 192.168.0.25 to 192.168.0.104 are allocated to cameras.

[0069] In one embodiment, before step S1, the method further includes:

[0070] S01. The server sends a query broadcast frame of the intelligent analysis device and the camera through the network;

[0071] S02, after receiving the query broadcast frame, the intelligent analysis device replies with an intelligent analysis device response frame; the intelligent analysis device response frame includes the escalator number communicated with the bus, the intelligent analysis device identification code, and the unique number of the intelligent analysis device;

[0072] S03. After receiving the query broadcast frame, the camera replies with a camera response frame; the camera response frame includes the escalator number (if any), camera identification code, camera unique number, upper and lower escalator head positions (if any), middle camera unique number (if any), and login information.

[0073] S2. The server sends a smart analysis device setting broadcast frame and a camera setting broadcast frame through the network, wherein the smart analysis device setting broadcast frame contains an IP setting command of the smart analysis device, and the camera setting broadcast frame contains an IP setting command of the camera; wherein both the IP setting command of the smart analysis device and the IP setting command of the camera contain an IP address to be set;

[0074] In one embodiment, the IP addresses of the monitoring computer and the server are set so that the monitoring computer can access the monitoring software of the server. For example, the IP address of the monitoring computer is 192.168.0.2 and the IP address of the server is 192.168.0.3. In the monitoring computer, log in to the monitoring software of the server through a browser and enter the configurable IP start and end addresses, such as the start IP address: 192.168.0.5, the end IP address: 192.168.0.150; the IP start and end addresses are used to determine the IP address that needs to be set in the broadcast frame sent by the server.

[0075] In one embodiment, step S2 specifically includes:

[0076] S201. The server sends a broadcast frame for setting a smart analysis device through the network; wherein the broadcast frame for the smart analysis device includes the escalator number (such as 01), the smart analysis device identification code, the unique number of the smart analysis device, and the IP address to be set (such as 192.168.0.5), and these data are added to the broadcast frame for setting a smart analysis device.

[0077] S202, determining the number of cameras on each escalator according to the response frames of the cameras;

[0078] During installation, the camera 1 at the lower end of the escalator can capture the camera 2 in the middle of the escalator, so the QR code behind the middle camera 2 can be identified to obtain the unique number of the camera. The middle camera 2 can capture the QR code of the middle camera 3 to obtain the unique number of the camera.

[0079] In one embodiment, step S202 specifically includes:

[0080] 1) determining the top camera and the bottom camera on the escalator according to the response frame of the camera;

[0081] 2) Determine the first middle camera according to the QR code photographed by the bottom camera, determine the second middle camera according to the QR code photographed by the first middle camera, and so on, until the QR code of the top camera is photographed, and obtain the number of middle cameras;

[0082] 3) The number of the cameras is equal to the sum of the number of the middle cameras and the number of the top cameras and the bottom cameras.

[0083] For example, identify the cameras on each escalator, such as escalator 01 has camera 1 (bottom camera) at the lower end and camera 4 (top camera) at the upper end. According to the QR code captured by camera 1, it is determined that escalator 01 also has camera 2 in the middle. According to the QR code captured by camera 2 in the middle, it is determined that escalator 01 also has camera 3. In this way, it is determined that escalator 01 has camera 1 at the lower end, camera 2 in the middle, camera 3 in the middle, and camera 4 at the upper end.

[0084] S203. The server sends a camera setting broadcast frame through the network; wherein the camera broadcast frame includes the escalator number, the camera identification code, the camera unique number (such as qwer0987), and the IP address to be set (such as 192.168.0.25), and these data are added to the intelligent analysis device setting broadcast frame.

[0085] S3, the intelligent analysis device and the camera receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame respectively. When it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame.

[0086] In one embodiment, step S3 specifically includes:

[0087] S301, the intelligent analysis device and the camera respectively determine their corresponding original device data; wherein the original device data includes the escalator number, identification code, and unique number;

[0088] S302, the intelligent analysis device receives the intelligent analysis device setting broadcast frame, and when it is determined that the escalator number (such as 01), the intelligent analysis device identification code, and the intelligent analysis device unique number are the same as the original device data of the intelligent analysis device, the initial IP address of the intelligent analysis device is modified to the IP address in the intelligent analysis device setting broadcast frame (such as 192.168.0.5), and the IP addresses of all intelligent analysis devices are modified in this way.

[0089] S303, the camera receives the camera setting broadcast frame. When it is determined that the escalator number, camera identification code, and camera unique number (such as qwer0987) are the same as the original device data of the camera, the initial IP address of the camera is modified to the IP address in the camera setting broadcast frame (such as 192.168.0.25). The IP addresses of all cameras are modified in this way.

[0090] S4. According to the intelligent analysis device and camera on each escalator, the server communicates with the intelligent analysis device on each escalator respectively, and provides the camera IP and login information that each intelligent analysis device needs to connect to;

[0091] S5. The intelligent analysis device is connected to all cameras of the corresponding escalator (i.e., the intelligent analysis device of escalator 01 only provides the IP address of the camera on escalator 01, and the intelligent analysis device of escalator 01 only obtains the video signal of the camera on escalator 01) to obtain the video signal for analyzing the abnormal behavior of passengers, and transmits the analysis results to the server; wherein, the analysis results include the escalator number (such as 01), the IP of the intelligent analysis device (such as 192.168.0.5), the IP of the camera (such as 192.168.0.25), the abnormal behavior of passengers (such as taking a stroller on the escalator), etc.

[0092] S6. After receiving the analysis result of the intelligent analysis device, the server displays the analysis result on the escalator corresponding to the intelligent analysis device (such as escalator 01), and classifies, stores and queries according to the analysis result.

[0093] In one embodiment, the escalator is paired with the intelligent analysis device and the camera as follows:

[0094] 1> The escalator main board communicates with the intelligent analysis device through the bus, so that the intelligent analysis device obtains the escalator number; wherein, the escalator number is set in the escalator main board; a unique digital number is attached to the outside of each escalator, and this number is set to the escalator main board as the escalator number through a program or an escalator main board DIP switch, such as digital codes 01 to 20.

[0095] 2> The escalator main board sends the camera pairing request signal through the infrared sensors (infrared lights) at the upper and lower escalator heads;

[0096] 3> After receiving the pairing request signal, the infrared sensor (infrared light) of the camera replies with response data. When multiple cameras reply with response data, the escalator mainboard selects the camera with the strongest signal strength to reply through the infrared sensor; the data replied by the escalator mainboard includes the escalator number and the upper and lower escalator head positions;

[0097] 4> After the camera receives the reply data from the escalator main board, it sets the camera name according to the escalator number and the up and down escalator head positions, such as 01 escalator up, 01 escalator down.

[0098] In this embodiment, the server counts the number of the intelligent analysis devices and cameras to allocate the initial IP address; the server sends the intelligent analysis device setting broadcast frame and the camera setting broadcast frame through the network, which contain the IP setting command, and the IP setting command contains the IP address to be set; the intelligent analysis device and the camera receive the setting broadcast frame respectively, and when it is determined that the device data in the setting broadcast frame is the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame, so that the IP address of the product is automatically allocated, and the IP address is set one by one, which reduces the workload; at the same time, the intelligent analysis device automatically adds the camera corresponding to the escalator, shortening the time of on-site setting. The present invention uses the functions of the product itself for expansion, such as infrared lights, buses, QR codes, etc., without new equipment, and has low cost.

[0099] like Figure 5 As shown, the present invention also provides an IP allocation device for escalator video analysis equipment, based on an escalator communication system, wherein the escalator communication system includes a monitoring computer, a server, an intelligent analysis device and a camera connected to the same local area network, one intelligent analysis device corresponds to one escalator, and one escalator corresponds to one or more cameras; the device specifically includes:

[0100] A statistics module 1 is used for the server to count the number of the intelligent analysis devices and cameras according to the identification code of the intelligent analysis device and the identification code of the camera, so as to allocate an initial IP address according to the number of the intelligent analysis devices and the cameras;

[0101] The sending module 2 is used for the server to send a broadcast frame for setting an intelligent analysis device and a broadcast frame for setting a camera through a network, wherein the broadcast frame for setting an intelligent analysis device contains an IP setting command for the intelligent analysis device, and the broadcast frame for setting a camera contains an IP setting command for the camera; wherein both the IP setting command for the intelligent analysis device and the IP setting command for the camera contain an IP address to be set;

[0102] Modification module 3 is used for the intelligent analysis device and the camera to respectively receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame. When it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame.

[0103] In one embodiment, it further includes:

[0104] A query sending module, used for the server to send query broadcast frames of the intelligent analysis device and the camera through the network;

[0105] A reply module, used for the intelligent analysis device to reply with an intelligent analysis device response frame after receiving the query broadcast frame; the intelligent analysis device response frame includes the escalator number, the intelligent analysis device identification code, and the intelligent analysis device unique number;

[0106] The receiving module is used for the camera to reply with a camera response frame after receiving the query broadcast frame; the camera response frame includes the escalator number, camera identification code, camera unique number, upper and lower escalator head positions, middle camera unique number, and login information.

[0107] In one embodiment, the sending module 2 includes:

[0108] A first setting broadcast frame sending unit is used for the server to send a smart analysis device setting broadcast frame through the network; wherein the smart analysis device broadcast frame includes the escalator number, the smart analysis device identification code, the smart analysis device unique number, and the IP address to be set;

[0109] A quantity determination unit, used to determine the number of cameras on each escalator according to the response frames of the cameras;

[0110] The second setting broadcast frame sending unit is used for the server to send a camera setting broadcast frame through the network; wherein, the camera broadcast frame includes the escalator number, the camera identification code, the camera unique number, and the IP address to be set.

[0111] In one embodiment, the modification module 3 includes:

[0112] The device data determination unit is used to intelligently analyze the device and the camera to determine the corresponding original device data respectively; wherein the original device data includes the escalator number, identification code, and unique number;

[0113] A first modification unit is used for the intelligent analysis device to receive the intelligent analysis device setting broadcast frame, and when it is determined that the escalator number, the intelligent analysis device identification code, and the intelligent analysis device unique number are the same as the original device data of the intelligent analysis device, the initial IP address of the intelligent analysis device is modified to the IP address in the intelligent analysis device setting broadcast frame;

[0114] The second modification unit is used for the camera to receive the camera setting broadcast frame. When it is determined that the escalator number, camera identification code, and camera unique number are the same as the original device data of the camera, the initial IP address of the camera is modified to the IP address in the camera setting broadcast frame.

[0115] In one embodiment, all cameras are installed on the center line of the escalator, each of the cameras is affixed with a QR code, and each escalator has at least two cameras, namely a top camera and a bottom camera. When the length of the escalator exceeds a set length, a middle camera is set, and the bottom camera recognizes the QR code of the middle camera, and the middle camera recognizes the QR code of the top camera;

[0116] The quantity determination unit includes:

[0117] A determination subunit, used to determine a top camera and a bottom camera on the escalator according to a response frame of the camera;

[0118] A shooting subunit is used to determine the first middle camera according to the QR code shot by the bottom camera, determine the second middle camera according to the QR code shot by the first middle camera, and so on, until the QR code of the top camera is shot, and the number of the middle cameras is obtained;

[0119] The calculation subunit, the number of the cameras is equal to the sum of the number of the middle cameras and the number of the top cameras and the bottom cameras.

[0120] In one embodiment, it further includes:

[0121] The communication module is used for the server to communicate with the intelligent analysis device on each escalator, and provide the camera IP and login information that each intelligent analysis device needs to connect to;

[0122] An analysis module is used for the intelligent analysis device to connect to all cameras of the corresponding escalator to obtain video signals for analyzing abnormal passenger behavior, and transmit the analysis results to the server; wherein the analysis results include the escalator number, the intelligent analysis device IP, the camera IP, and the abnormal passenger behavior;

[0123] The display module is used for displaying the analysis results on the escalator corresponding to the intelligent analysis device after the server receives the analysis results of the intelligent analysis device, and at the same time classifies, stores and queries according to the analysis results.

[0124] In one embodiment, the monitoring computer of the escalator communication system is connected to the server via a switch, the server is connected to multiple intelligent analysis devices and multiple cameras via the switch, and each intelligent analysis device is connected to the escalator mainboard via a bus.

[0125] In one embodiment, the escalator is paired with the intelligent analysis device and the camera in the following manner:

[0126] The escalator main board communicates with the intelligent analysis device through the bus, so that the intelligent analysis device obtains the escalator number; wherein the escalator number is set in the escalator main board;

[0127] The escalator main board sends camera pairing request signals through the infrared sensors at the upper and lower escalator heads;

[0128] After receiving the pairing request signal, the infrared sensor of the camera replies with response data. When multiple cameras reply with response data, the escalator main board selects the camera with the strongest signal strength to reply through the infrared sensor; wherein the data replied by the escalator main board includes the escalator number and the upper and lower escalator head positions;

[0129] After the camera receives the reply data from the escalator main board, it sets the camera name according to the escalator number and the upper and lower ladder head positions.

[0130] In one embodiment,

[0131] The server is installed in a weak current machine room, has a network interface, and is equipped with a B / S version of monitoring software;

[0132] The monitoring computer is installed in the monitoring room and has a network interface, and accesses the monitoring software of the server through a browser;

[0133] The camera is installed above the escalator, has a network port and an infrared communication interface, and uses the infrared circuit of the camera to modulate the wireless communication signal;

[0134] The intelligent analysis device is installed inside the escalator and has a network port and a bus interface.

[0135] In one embodiment, the monitoring computer logs into the monitoring software of the server through a browser and inputs configurable IP start and end addresses, wherein the IP start and end addresses are used to determine the IP address that needs to be set in the broadcast frame sent by the server.

[0136] The above modules, units and sub-units are used to execute the corresponding steps in the above escalator video analysis device IP allocation method. The specific implementation method is described in the above method embodiment and will not be repeated here.

[0137] like Figure 6 As shown, the present invention also provides a computer device, which can be a server, and its internal structure can be as shown in Figure 6As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor designed by the computer is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store all data required for the process of the escalator video analysis device IP allocation method. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the escalator video analysis device IP allocation method is implemented.

[0138] Those skilled in the art will understand that Figure 6 The structure shown in is merely a block diagram of a portion of the structure related to the present application solution and does not constitute a limitation on the computer device to which the present application solution is applied.

[0139] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, any of the above-mentioned IP allocation methods for escalator video analysis devices is implemented.

[0140] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing related hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0141] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.

[0142] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A method for allocating IP addresses of escalator video analysis equipment, characterized in that: Based on an escalator communication system, the escalator communication system includes a monitoring computer, a server, an intelligent analysis device and a camera connected to the same local area network, one intelligent analysis device corresponds to one escalator, and one escalator corresponds to one or more cameras; the method specifically includes: The server counts the number of the intelligent analysis devices and the number of the cameras according to the identification codes of the intelligent analysis devices and the cameras, respectively, so as to allocate initial IP addresses according to the number of the intelligent analysis devices and the cameras; The server sends a smart analysis device setting broadcast frame and a camera setting broadcast frame through the network, wherein the smart analysis device setting broadcast frame contains an IP setting command of the smart analysis device, and the camera setting broadcast frame contains an IP setting command of the camera; wherein both the IP setting command of the smart analysis device and the IP setting command of the camera contain an IP address to be set; The intelligent analysis device and the camera receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame respectively. When it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame.

2. The escalator video analysis device IP allocation method according to claim 1, characterized in that: Before the step of the server counting the number of the intelligent analysis devices and the number of the cameras according to the identification codes of the intelligent analysis devices and the cameras respectively to allocate IP addresses according to the number of the intelligent analysis devices and the cameras, the step further includes: The server sends the query broadcast frame of the intelligent analysis device and the camera through the network; After receiving the query broadcast frame, the intelligent analysis device replies with an intelligent analysis device response frame; the intelligent analysis device response frame includes the escalator number, the intelligent analysis device identification code, and the intelligent analysis device unique number; After receiving the query broadcast frame, the camera replies with a camera response frame; the camera response frame includes the escalator number, camera identification code, camera unique number, upper and lower escalator head positions, middle camera unique number, and login information.

3. The escalator video analysis device IP allocation method according to claim 2, characterized in that: The server sends a smart analysis device setting broadcast frame and a camera setting broadcast frame through a network, wherein the smart analysis device setting broadcast frame contains an IP setting command for the smart analysis device, and the camera setting broadcast frame contains an IP setting command for the camera, including: The server sends a broadcast frame for setting the intelligent analysis device through the network; wherein the broadcast frame for the intelligent analysis device includes the escalator number, the intelligent analysis device identification code, the unique number of the intelligent analysis device, and the IP address to be set; Determining the number of cameras on each escalator according to the response frames of the cameras; The server sends a camera setting broadcast frame through the network; wherein the camera broadcast frame includes the escalator number, the camera identification code, the camera unique number, and the IP address to be set.

4. The escalator video analysis device IP allocation method according to claim 3, characterized in that: The smart analysis device and the camera receive the smart analysis device setting broadcast frame and the camera setting broadcast frame respectively, and when it is determined that the device data in the smart analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the step of modifying the initial IP address to the IP address in the corresponding setting broadcast frame includes: The intelligent analysis device and the camera respectively determine the corresponding original device data; wherein the original device data includes the escalator number, the identification code, and the unique number; The intelligent analysis device receives the intelligent analysis device setting broadcast frame, and when it is determined that the escalator number, the intelligent analysis device identification code, and the intelligent analysis device unique number are the same as the original device data of the intelligent analysis device, the initial IP address of the intelligent analysis device is modified to the IP address in the intelligent analysis device setting broadcast frame; The camera receives the camera setting broadcast frame, and when it is determined that the escalator number, camera identification code, and camera unique number are the same as the original device data of the camera, the initial IP address of the camera is modified to the IP address in the camera setting broadcast frame.

5. The escalator video analysis device IP allocation method according to claim 3, characterized in that: All cameras are installed on the center line of the escalator. Each camera is affixed with a QR code. Each escalator has at least two cameras, namely a top camera and a bottom camera. When the length of the escalator exceeds the set length, a middle camera is set. The bottom camera recognizes the QR code of the middle camera, and the middle camera recognizes the QR code of the top camera. The step of determining the number of cameras on each escalator according to the response frames of the cameras comprises: Determine the top camera and the bottom camera on the escalator according to the response frame of the camera; Determine the first middle camera according to the QR code photographed by the bottom camera, determine the second middle camera according to the QR code photographed by the first middle camera, and so on, until the QR code of the top camera is photographed, and obtain the number of middle cameras; The number of the cameras is equal to the sum of the number of the middle cameras and the number of the top cameras and the bottom cameras.

6. The escalator video analysis device IP allocation method according to claim 4, characterized in that: The smart analysis device and the camera receive the smart analysis device setting broadcast frame and the camera setting broadcast frame respectively, and when it is determined that the device data in the smart analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, after the step of modifying the initial IP address to the IP address in the corresponding setting broadcast frame, the step further includes: The server communicates with the intelligent analysis device on each escalator and provides the camera IP and login information that each intelligent analysis device needs to connect to; The intelligent analysis device is connected to all cameras of the corresponding escalator to obtain video signals for analyzing abnormal passenger behavior, and transmits the analysis results to the server; wherein the analysis results include the escalator number, the intelligent analysis device IP, the camera IP, and the abnormal passenger behavior; After receiving the analysis results from the intelligent analysis device, the server displays the analysis results on the escalator corresponding to the intelligent analysis device, and at the same time performs classification storage and query according to the analysis results.

7. The escalator video analysis device IP allocation method according to claim 1, characterized in that: The monitoring computer of the escalator communication system is connected to the server via a switch, the server is connected to a plurality of intelligent analysis devices and a plurality of cameras via a switch, and each intelligent analysis device is connected to the escalator mainboard via a bus.

8. The escalator video analysis device IP allocation method according to claim 7, characterized in that: The pairing method of escalator with intelligent analysis equipment and camera is as follows: The escalator main board communicates with the intelligent analysis device through the bus, so that the intelligent analysis device obtains the escalator number; wherein the escalator number is set in the escalator main board; The escalator main board sends camera pairing request signals through the infrared sensors at the upper and lower escalator heads; After receiving the pairing request signal, the infrared sensor of the camera replies with response data. When multiple cameras reply with response data, the escalator main board selects the camera with the strongest signal strength to reply through the infrared sensor; wherein the data replied by the escalator main board includes the escalator number and the upper and lower escalator head positions; After the camera receives the reply data from the escalator main board, it sets the camera name according to the escalator number and the upper and lower ladder head positions.

9. The escalator video analysis device IP allocation method according to claim 7, characterized in that: The server is installed in a weak current machine room, has a network interface, and is equipped with a B / S version of monitoring software; The monitoring computer is installed in the monitoring room and has a network interface, and accesses the monitoring software of the server through a browser; The camera is installed above the escalator, has a network port and an infrared communication interface, and uses the infrared circuit of the camera to modulate the wireless communication signal; The intelligent analysis device is installed inside the escalator and has a network port and a bus interface.

10. The escalator video analysis device IP allocation method according to claim 9, characterized in that: The monitoring computer logs into the monitoring software of the server through a browser and inputs the configurable IP start and end addresses, which are used to determine the IP address that needs to be set in the broadcast frame sent by the server.

11. An IP distribution device for escalator video analysis equipment, characterized in that: Based on the escalator communication system, the escalator communication system includes a monitoring computer, a server, an intelligent analysis device and a camera connected to the same local area network, one intelligent analysis device corresponds to one escalator, and one escalator corresponds to one or more cameras; the device specifically includes: A statistics module, used for the server to count the number of the intelligent analysis devices and cameras according to the identification code of the intelligent analysis device and the identification code of the camera, so as to allocate initial IP addresses according to the number of the intelligent analysis devices and the cameras; A sending module, used for the server to send a broadcast frame for setting an intelligent analysis device and a broadcast frame for setting a camera through a network, wherein the broadcast frame for setting an intelligent analysis device contains an IP setting command for the intelligent analysis device, and the broadcast frame for setting a camera contains an IP setting command for the camera; wherein both the IP setting command for the intelligent analysis device and the IP setting command for the camera contain an IP address to be set; The modification module is used for the intelligent analysis device and the camera to receive the intelligent analysis device setting broadcast frame and the camera setting broadcast frame respectively. When it is determined that the device data in the intelligent analysis device setting broadcast frame and the camera setting broadcast frame are the same as the corresponding original device data, the initial IP address is modified to the IP address in the corresponding setting broadcast frame.

12. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 10 are implemented.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 10 are implemented.