Instruction of Onvif Simulation Tool OnvifFast

Latest reply: Jun 26, 2019 10:25:51 150 1 0 0

Instruction of Onvif Simulation Tool OnvifFast



1.Instructions for using OnvifFast:

=============

OnvifFast can simulate multiple cameras and access using the ONVIF protocol;



2.Prepare the environment:

=============

The server running OnvifFast, and the platform server on one switch, one network segment;

Only one OnvifFast process can be run on one server. The number of analog cameras in a single OnvifFast process should not exceed 128. If you need to simulate more cameras, please add a server.


3.Basic configuration instructions:

=============

1. Upload OnvifFast to any location on the server and extract it using the tar zxvf OnvifFast_suse11_Vxxx.tar.gz command.

2. Modify the OnvifFast configuration file conf/onvif_lib.conf

 2.1 NVR, modified to platform IP

 2.2 NET_CARD, the name of the network card currently used by the server

 2.3 For DEV_COUNT and IP, please refer to the chapter "Network Configuration Description". The network configuration is the most complicated place for the simulation tool configuration. There are often network failures, which can prevent the device from going online.

 2.5 ID_HEADER, the prefix of the camera code (the prefix length cannot exceed 5 digits)

 2.6 MEDIA_FILE_URL, modify the video source of the front end, all video source files are in the video directory, including video files with different resolutions and different bitrates.

 2.7 Other parameters can be modified by default, or you can refer to the instructions in the configuration to modify

3. Execute the bin/startup.sh script, which will start the OnvifFast process, configure network parameters, and generate csv files for batch importing devices.

4. Transfer conf/BatchImport.csv to the PC and import the device from CU in batches.

5. If you need to start and stop the simulation tool during the test, you can directly execute server_start.sh and server_stop.sh (do not use startup.sh and shutdown.sh, because the two scripts contain the network configuration part)

5. After the test is complete, execute the bin/shutdown.sh script to stop the OnvifFast process and delete the network configuration.


4.Network configuration instructions:

=============

Each analog camera requires an IP address. If OnvifFast wants to simulate multiple cameras, it must add multiple IPs to the server. The IP address of the analog camera is controlled by DEV_COUNT and IP in the conf/onvif_lib.conf configuration file.

1. The DEV_COUNT parameter can take 0, or an integer greater than 0.

 1.1 If DEV_COUNT is an integer greater than 0, such as DEV_COUNT=1, the IP parameters will not take effect. The network configuration script will use the ping command to get the DEV_COUNT available IP as the IP of the analog camera (the available IP is the IP of the same network segment and is not used);

 1.2 If DEV_COUNT=0, the IP parameters take effect at this time, IP specifies one or more network segments, and how many IPs can be simulated in the network segment. For example: IP=192.1.1.2-192.1.1.10, 192.1.2.2-192.1.2.10, the comma is the network segment separator, and the dash represents the continuous IP in the network segment.

2. The IP network segment can be customized, but for the convenience of configuration and management, it is recommended that:

 2.1 The first 8 digits of the camera IP address are the same as the IP of the IVS platform server (our current environment is basically 192);

 2.2 Cannot conflict with existing IP

3. The route needs to be added to the IVS platform server. Otherwise, the IP generated by the ping fails.

 3.1 ssh Log in to the IVS platform server and add the route of the IP network segment of the camera. Take the IP network segment as an example. You need to add two routes:

  Route add -net 192.1.1.0 netmask 255.255.255.0 dev eth0

  Route add -net 192.1.2.0 netmask 255.255.255.0 dev eth0


  • x
  • convention:

Hey,girl Moderator Created Jun 26, 2019 10:25:51 Helpful(0) Helpful(0)

Where can I download it?
  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top