You are on page 1of 57

CMSServer CMS Server Installation Manual

CMSServer Central Management Server Installation

Manual

Ver: 7.16.0.2

File Project Name CMSServer Date 2019-05-05


Status created

Document Name CMSServer Operation Privilege Normal


Manual Level
[ ]Draft

[√]Release Version 7.16.0.2

[ ]Revision Pages

Notes

The contents described in this manual may be different from the version you are currently
using. If you are unable to resolve a problem using the manual please contact the
company's technical support department or supplier. The contents of this manual will be
updated from time to time, the Company reserves the right not to give notification of any
changes.

The Company does not assume any responsibility or any liability, loss or risk, direct or indirect
outcome from the use or application of any of the contents of this document arising from any
inaccuracies or omissions in this document. This manual may contain screen shots used in
day-to-day operations, the reporting, person and company names may be fictitious. Any
similarity in the name and address of the company or an individual in reality is purely
coincidental.

QCT 2019

1
Directory
Contents
1. Product Introduction..........................................................................................................................................3
1.1. Product Functions.................................................................................................................................. 3
1.2. Features Introduction............................................................................................................................ 3
1.3. System Architecture.............................................................................................................................. 4
2. CMSServer Deployment.................................................................................................................................. 6
2.1. CMSServer Minimum Requirements.................................................................................................. 6
2.2. Media Streaming Server....................................................................................................................... 6
2.3. Examples of System Deployment....................................................................................................... 7
2.3.1. 200 Vehicles/Devices.................................................................................................................7
2.3.2. 5000 Vehicles/Devices.............................................................................................................. 7
2.3.3. 50000 Vehicles/Devices............................................................................................................ 8
2.4. CMSServer Operating Processes....................................................................................................... 8
2.5. Login to System..................................................................................................................................... 9
3. Server Installation............................................................................................................................................. 9
4. Server Configuration.......................................................................................................................................17
4.1. CMSServer Server Port Description................................................................................................. 17
4.2. CMSServer System Configuration.................................................................................................... 17
4.2.1. Database view and configure................................................................................................. 17
4.2.2. DIY: logo and title customization............................................................................................19
4.2.3. CMSServer server modify network IP address....................................................................20
4.2.4. Modified CMSServer server web access port......................................................................21
4.2.5. SMS configuration.................................................................................................................... 22
4.2.6. Email configuration...................................................................................................................23
4.2.7. Storage configuration...............................................................................................................24
4.2.8. WIFI configuration.................................................................................................................... 25
4.3. CMSServer Introduction..................................................................................................................... 26
4.3.1. Login Server.............................................................................................................................. 26
4.3.2. Gateway Server........................................................................................................................ 27
4.3.3. Media Server................................................................................................................ 28
4.3.4. User Server............................................................................................................................... 29
4.3.5. WIFI Download Server.............................................................................................................30
4.3.6. Storage Server.......................................................................................................................... 31
5. Server Registration......................................................................................................................................... 32
5.1. Server registered version (free)................................................................................................... 33
5.2. Server registered version................................................................................................................... 33
6. How to upgrade the CMSserver................................................................................................................... 33
6.1. Web port................................................................................................................................................33
6.2. Backup database file........................................................................................................................... 34
6.3. Cover-Install the new CMSserver..................................................................................................... 35
7. Backup and restore data................................................................................................................................ 36
7.1. Storage location of Backup data....................................................................................................... 36
7.2. Backup data manually.........................................................................................................................37
7.2.1. Backup....................................................................................................................................... 37
7.2.2. Restore.......................................................................................................................................38
7.3. Backup data automatically................................................................................................................. 39
7.3.1. Backup....................................................................................................................................... 39
7.3.2. Restore.......................................................................................................................................40
7.4. Upload file to CMS/FTP...................................................................................................................... 41
7.5. Check the Port of FTP....................................................................................................................... 41
7.6. Set the alarm storage space.............................................................................................................. 42
7.7. Set the storage..................................................................................................................................... 42
7.8. Check the file........................................................................................................................................ 43
8. Set WIFI Auto-download function................................................................................................................. 44
8.1. Set AP linkage in CMS Server...........................................................................................................44
8.2. Set the Rule.......................................................................................................................................... 46
8.3. Check the status.................................................................................................................................. 48
9. Add multi wifi download services on same server..................................................................................... 49
9.1. Description............................................................................................................................................ 49
9.2. Add multi download services for wifi download...............................................................................49

2
9.3. Restart CMS server to run the new service.....................................................................................51
9.4. Set the new added service................................................................................................................. 51
9.5. Forward ports for new added services............................................................................................. 54
10. Https function.................................................................................................................................................54
11. WIFI Download server cascade..................................................................................................................56

1. Product Introduction

1.1. Product Functions


CMSServer Central Management Server is a Wireless Network for centralized management
and monitoring of all types of mobile assets. It is a high-quality, high-efficiency centralized
and distributed network management architecture that provides network transmission of
video, audio, data and other multimedia information for users to perform real-time remote
video monitoring, GPS maps positioning, video storage, vehicle scheduling, recorded vehicle
data playback and tracking, voice intercom and alarm warning security work. Other features
include remote data download and storage, alarm triggering and remote alerts, remote
vehicle management, etc.

1.2. Features Introduction


• The CMS Server Network can support up to 100,000 vehicles monitoring

• Vehicle information management system

• Quickly locate and track vehicles quickly via GPS information, displays real-time
vehicle status display online and statistical interpretation of data collected

• Alarms and Alerts information statistical functions

• Send SMS Alerts

• Real-time remote audio and video surveillance

• Real-time vehicle front end image capture function

• Two-way voice intercom, vehicles broadcast function

• Pan Tilt Zoom (PTZ) remote control function

• Vehicle’s historical tracking playback function

• Remote video search, download and playback capabilities

• Depending on the configuration program, the storage server automatically snap


pictures, automatic recording, occur after alarm linkage, automatic SMS and mail to
notify the user Alarm Linkage (Emergency button alarm, Video signal alarm,
Unauthorized unlock alarm, Hard disk-error alarm, Over speed

3
alarm, Motion detection alarm, Long idling time alarm, Temperature alarm, GPS
signal lost alarm, IO alarm (custom ), Electronic map lock alarm.

• Assets Report Description

• iPhone and ANDROID mobile smart phone Client Support

1.3. System Architecture

PIC.1.1 CMS Server Architecture

The CMS consists of 8 Functional Servers, namely the :

1. Login Server

2. Gateway Server

3. Media Streaming Server

4. User Management Server

5. Storage Server

6. WIFI Auto Download Server

7. Web server

8. Remote Client Monitoring Server

4
Users have the option of deploying 1 or 2 of the 7 Functional Servers stated above such as, Login
Servers, Multiple Gateways Servers, Media Streaming Servers, Multiple Users Management
Servers to provide Mobile DVR and Remote Client Services and features as GPS Location, Video
and Alarms.

Description of Functional Servers

Database Server: Used mainly as Storage Server, Configuration information and Alarm
events.

The database server application used is MySQL-5.5.12 - Win32.

Login Server: For registration of various servers and to coordinate and manage
registered servers, Assign User Clients, Configure End Management Server, Allocation of
Gateway Server for MDVR devices, User Management, Gateway Servers, Server Load
Balancing.

Gateway Server: Provide vehicle access. Vehicle Gateway Server is used to establish a
communication link between the MDVR device and the server, sending vehicle location
and status information via this link.

Streaming Media Server: Provides media data forwarding function. Including Audio and
Video, Intercom, Remote Monitoring, Remote Capture, Configuration parameters, Search
and forwarding Download data.

User Management Server: Provides Remote Client Access.

Storage Server: For storing pictures, video capture and reduce costs.

WIFI Auto Download Server: When within the assigned access point range, the WIFI
enabled MDVR will automatically upload the video files onto the server.

Web Server: Provides GIS electronic map information, and provide links to the CMS
Backroom Control center, Front End management system login.

Remote Client Application: Provides real-time video preview, GPS positioning, electronic
map display, vehicle status monitoring, image capture, video search, video download and
playback, vehicle tracking playback, real-time alarm information monitoring, alarm statistics,
vehicle configuration parameters and other functions. The Remote Client is available as Web
Client, PC Windows Client, IOS and Android Version Clients, allowing users different ways to
login and manage their vehicle.

5
2. CMSServer Deployment

2.1. CMSServer Minimum Requirements


OS Microsoft Windows Server 2008 ,2012, 2016

CPU Intel quad-core Xeon, Frequency of not less than 2.33GHz

Network 2 Gigabit Ethernet

RAM 4G or more

Hard Disk 1TB or more

CD Player DVR-ROM

Support VGA Display

Others Supports normal keyboard, recommended to use USB Keyboard

LED Indicator lights for Computer, HDD and other Activities Status

2.2. Media Streaming Server


Performance Specifications

Each Streaming Server, distributed, can support up to 256


concurrent Incoming Channels with a bandwidth of 128Mbps.

Each Video Channel supports up to 6 Clients viewing. Each


Channel maximum data rate output is 512Mbps.

Gigabit Ethernet ports, 20Mbps output stream rate average


forwarding delay is less than 5 ms

Gigabit Ethernet ports, 100Mbps output stream rate average


forwarding delay is less than 40ms.

Gigabit Ethernet ports, 512Mbps output stream rate average


forwarding delay is less than 200ms.

Video Bandwidth

Using CIF video format per Channel video data rate is


320Kbit/second, 256 video channels therefore requires 320 X
256 = 81,920 Kbit bandwidth.

6
NOTE: As the MDVR device in a 3G network environment has
network bandwidth limitations. The maximum upload is using CIF
resolution video format.

2.3. Examples of System Deployment


This examples are for reference only, using user's hardware, network and CMS, MDVR
installation environment.

2.3.1. 200 Vehicles/Devices

2.3.2. 5000 Vehicles/Devices

7
2.3.3. 50000 Vehicles/Devices

2.4. CMSServer Operating Processes

Steps:

1) Install CMSServer CMS

2) Create Users in BackOffice

3) Create Devices/Vehicles ID in BackOffice

4) Assign User/Company Groups

5) User Login Using FrontEnd Management System to Manage Vehicles/Devices

Specific operation as shown in the following:

8
2.5. Login to System

Login to the management system (address: http://localhost IP), Local host CMSServer is
where the server resides, PC's IP address. CMSServer BackOffice management system
default login name and password are: admin /admin

3. Server Installation

Requirements:

Existing CMSServer installation can directly install the new version of the
CMSServer.

9
1. Double Click to run CMSServer installation.

2. After double-click, enter installation dialogue box:

Pic 3.1 Installation Dialogue Box

3. Click “Next”,enter into the Installation Dialogue Box, as shown below.

Pic 3.2 Select Installation Path

10
4. Specify the target installation path, click "Next" to continue.

Pic 3.3 Select the Program location

5. Select additional tasks (whether to create a desktop shortcut), and then click "Next" to
continue

11
Pic 3.4 Choose whether to create a desktop shortcut

6. Click on “Install” to complete the Installation.

12
Pic 3.5 Installation Process

7.Click the "Finish" button, Data Configuration begins after this.

13
Pic 3.6 Database Configuration Parameters

8.Click on “Next” to begin Network Address Configuration.


Input a static WAN address in the Intranat address for actual using. If it’s for test only, you
can input the LAN of your server PC’s address.

Pic 3.7 Web Server Parameter Configuration

14
9. Click on “Next”to start Web Server Configuration Parameters

80/88/8080/8088, choose one of them.

Pic 3.8 Web Server Port Configuration

15
9. Click on “Finish” to activate CMSServer Server Control.

Pic 3.9 Read me file

16
4. Server Configuration

4.1. CMSServer Server Port Description


CMSServer Server default port are as follows for Mobile DVR and Client services. If the
Server is behind a firewall, please ensure the following ports are opened in order for the
appropriate services are made available for the Mobile DVR and Client Users.

Server Name Server Port Description Remarks

6606 Device Service Port 6606 - UDP


Login Server 6605, 6606
6605 Client Service Port 6605 - TCP and UDP

6608 Device Service Port 6608 - UDP


Gateway Server 6607, 6608
6607 Client Service Port 6607 – TCP and UDP

Media Streaming 6602 Device Service Port 6602 - TCP


6602, 6604
Server 6604 Client Service Port 6604–TCP and UDP

User Management
6603 6603 Client Service Port
Server 6603 –TCP and UDP

WIFI Download
6610 Device Service Port 6610 - TCP
Server 6609 6610
6609 Client Service Port 6609–TCP and UDP

Storage Server 6612 Device Service Port 6612 - TCP


6611 6612
6611 Client Service Port 6611–TCP and UDP

WEB Server 80/88/8080/8088 80 Client Service Port 80/88/8080/8088 - TCP

FTP Server 2121 2122-2124 Device Service Port 2121 - TCP

WEB VIDEO 6617-6622 Client Service Port 6617-6622 - TCP

4.2. CMSServer System Configuration

4.2.1. Database view and configure

17
Note: The database configuration, installation package has already been configured for this

version of CMSServer.

Pic 4.2.1 Database Configuration Information

For more detail about how to backup and restore the database, please refer to Sector 6 in
following text.

18
4.2.2. DIY: logo and title customization

Pic 4.2.2 DIY configure

Customization: You can make a 70*62 transparent PNG picture, and set as your Logo.

Web: Change the web browser’s setting.

Client: Not available for VSS client.

Upload the PNG picture first by Select, input the title and other information if you need, then click
the Modify. It’s better to reset the Web server.

19
4.2.3. CMSServer server modify network IP address

The CMSserver will detect the all available IP address automatically. If it’s wrong, you can input
by manual , and click OK to modify it. Then select the LAN or WAN IP according to your test
environment.

Pic 4.2.3 modify network ip address

If you test in the LAN mode, choose the LAN IP.


If you need test in the WAN mode (device has linked by 3G/WIFI, and have forwarded the ports
on the router or Firewall), choose the WAN IP mode.

20
4.2.4. Modified CMSServer server web access port

Here you can modify the web service port configuration 80 port has been occupied, as
shown below: 80, 88, 8080, 8088.
Four ports for selection, if you change it , make sure forward the new ports on the
router or firewall.

PIC 4.2.4 Web port and FTP


FTP: The CMSserver supports FTP function .
Default port is 2121, status port is 2122-2124.
User: admin ; Password: cmsserverv6

New CMS system support Https function also, we will explain in sector 8 Https function.

21
4.2.5. SMS configuration

SMS function need customers local SMS module supplier support and install on the server’s
PC. Besides , we also need to debug our firmware.

Pic 4.2.5 SMS configuration

For SMS function out of china area, you need pay Amazon cloud for this service.

22
4.2.6. Email configuration

You should apply an Email account by yourself in local country, such as Gmail. Some E-
mail supplier don’t support the third party login function. Then input the mail account and
password, check the SMTP port.

Notice: If it sends too much E-mails everyday, it maybe blocked the email account by the mail
supplier, please ask supplier for help.

Pic 4.2.6 Email configuration

Attention ;

1. We suggest you apply Gmail, some email suppliers don’t support this function.

2. If this Email account sending too many mails, the email suppliers may block it.

3. Input the correct mail address and password, SMTP port and type.

23
4.2.7. Storage configuration

Pic 4.2.7 storage configuration

Storage server is used for saving the files from the device’s live streaming if the vehicle break the rule
(need set the rule first), or upload the alarm files in the device(also need set the alarm file and setting
on the device first) at real-time.

Choose the available disks for storing.

Reserve space: When the new file cover the old file , set a reverse space for HDD.
Warn Space: Set a space for warning .
Save days, Day(N): Normal file; Day(A): Alarm files.
Store Real time video: Yes or No.
Split time: Video’s saving time range.
File format: Grec or Mp4 for option.
Task Count:128 is maximum.

Attention :
1. If there is no WIFI AP, such as the vehicle is running outside, these videos will be upload by SIM
card directly if you have set them.It will cost lots of data of SIM card.
2. For the rule setting, if there is no SIM card signal, the video will not be uploaded.

24
4.2.8. WIFI configuration

Pic 4.2.9 WIFI download configuration

WIFI download is used for uploading the recorded files in the SD/HDD, when the vehicle arrived
in the WIFI coverage area.
Reserve space: When the new file cover the old file, set a reverse space for HDD
Warn Space: Set a space for warning.
Save days, Day(N): Normal file; Day(A): Alarm files;

Download parameters:
Days: Decide how many days’ file to be downloaded.1 day means today.
File/Device: Simultaneously download files(videos)for one Device.
Mode : Max device mode or Max file mode.
Max device : The maximum device number for uploading.
Max file :The maximum file numbers for uploading.

The WIFI download speed is about 1-2MB/s for one device, the total speed is dependent on the
Router’s configuration (For 1300M router, the total speed is about 12MB/s). We suggest download
alarms’ file only!

25
4.3. CMSServer Introduction

4.3.1. Login Server

From the main CMSServer Server window, select "Login Server", "Service Configuration" button
and then click on the top of the interface, log on to the server can be configured in the form of
pop-up network parameters, as shown below:

Pic 4.3.1 Login Server Parameter Configuration

Client Access Port : Registered Client Users connect to the server through this port.
Default is 6605, it is recommended not to modify.

Device Access Port:Registered devices/vehicles connects to the gateway server


through this port. Defaults to 6606, it is recommended not to modify.

One or 2 servers can be deployed on the CMSServer system and log on to the server,
one of them as the primary server, another as Login (Backup) server. When the Login
server fails, the Login server by switching to a virtual IP, will not affect the normal use of
the device and the client.

26
4.3.2. Gateway Server
1.From the main CMSServer Server window, select "Gateway Server", Click "Service
Configuration" button which on the top of the interface, then you can configure your gateway
server parameter , as shown below:

Pic 4.3.2 Gateway Server Configuration Parameters


Login Server Address: Login Server uses the PC's Server IP address. If the Gateway
server and Login Server are on the same PC, you can enter 127.0.0.1, where the
Gateway and Login Server resides on the same LAN, the IP configuration should be the
LAN IP Address. If the enter log on to the server where the LAN IP address, and vice
versa ,enter log on to the server where the PC's public IP address, and enter the
Windows service to modify the properties on the gateway server login tab); 127.0.0.1
advice address is not valid in a particular case must input CMSServer server where PC's
IP;

Server port: Client Access the Login Server service port, default 6605, does not propose
to modify.

27
Server ID:Each Gateway Server has a unique number. The system can deploy one or
more Gateway Servers, Login Server uses the unique number to distinguish between
different gateway server, the unique number must be the same as the ID of the gateway
server, and server management information defined in CMSServer BackOffice
Management System.

Client Access Port: Through this port to provide service for the Client and Media, default
is 6607 ,does not propose to modify.

Device Access Port: Through this port to provide instruction registration service for car
DVR. Default setting is 6608, does not propose to modify.

4.3.3. Media Server

1. From the main CMSServer Server window, select "Login Server", "Service
Configuration" button and then click on the top of the interface, media server can be
configured in the form of pop-up network parameters, as shown below:

Pic 4.3.3 Media Server Configuration Par

28
Login Server Address: Login Server uses the PC's Server IP address. If the Media server
and Login Server are on the same PC, you can enter 127.0.0.1, where the Media and Login
Server resides on the same LAN, the IP configuration should be the LAN IP Address. If the
enter log on to the server where the LAN IP address, and vice versa, enter log on to the
server where the PC's public IP address, and enter the Windows service to modify the
properties on the media server login tab); 127.0.0.1 address is not valid in a particular case
must input CMSServer server where PC's IP.

Server port: Client Access the Login Server service port, default 6605, not advised to
change.

Server ID : Each Media Server has a unique number. The system can deploy one or more
Media Servers, Login Server uses the unique number to distinguish between different Media
server, the unique number must be the same as the ID of the Media Server, and server
management information defined in CMSServer BackOffice Management System;

Client Access Port: Through this port to provide Media forwarding service,default is 6604 ,
does not propose to modify.

4.3.4. User Server

1. From the main CMSServer Server window, select "Login Server", "Service
Configuration" button and then click on the top of the interface, user server can be
configured in the form of pop-up network parameters, as shown below:

Login Server Address: Login Server uses the PC's Server IP address. If the User
server and Login Server are on the same PC, you can enter 127.0.0.1, where the User
and Login Server resides on the same LAN, the IP configuration should be the LAN IP
Address. If the enter log on to the server where the LAN IP address, and vice versa enter
log on to the server where the PC's public IP address, and enter the Windows service to
modify the properties on the User Server login tab); 127.0.0.1 address is not valid in a
particular case must input CMSServer server where PC's IP.

Server port: Client Access the Login Server service port, default is 6605, do not advise
to change.

29
Pic 4.3.4 User Server Configuration Parameters

Server ID:Each User Server has a unique number. The system can deploy one or more
User Servers, Login Server uses the unique number to distinguish between different User
server, the unique number must be the same as the ID of the User server, and server
management information defined in CMSServer BackOffice Management System.

Client Access Port: Through this port to provide registration and update data service,
default is 6603 ,do not propose to modify.

4.3.5. WIFI Download Server

30
Pic 4.3.5 WIFI download Server Configuration Parameters

Login Server Address: Login Server uses the PC's Server IP address. If the WIFI Download
Server and Login Server are on the same PC, you can enter 127.0.0.1, where the WIFI
Download Server and Login Server resides on the same LAN, the IP configuration should be
the LAN IP Address. If the enter log on to the server where the LAN IP address, and vice
versa enter log on to the server where the PC's public IP address, and enter the Windows
service to modifDownload Server login tab); 127.0.0.1 address is not valid in a particular case
must input CMSServer server where PC's IP.

Server port: Client Access the Login Server service port, default 6605, not advised to
change.

Server ID:Each WIFI Download Server has a unique number. The system can deploy one or
more WIFI Download Servers, Login Server uses the unique number to distinguish between
different WIFI Download Server, the unique number must be the same as the ID of the WIFI
Download Server, and server management information defined in CMSServer BackOffice
Management System.

4.3.6. Storage Server

31
Pic 4.3.6 Storage Server Configuration Parameters

Login Server Address: Login Server uses the PC's Server IP address. If the Storage Server and
Login Server are on the same PC, you can enter 127.0.0.1, where the Storage Server and Login
Server resides on the same LAN, the IP configuration should be the LAN IP Address. If the enter
log on to the server where the LAN IP address,and vice versa enter log on to the server
where the PC's public IP address, and enter the Windows service to modify the
properties on the WIFI Download Server login tab); 127.0.0.1 address is not valid in a
particular case must input CMSServer server where PC's IP.

Server port: Client Access the Login Server service port, default 6605, not advised to
change.

Server ID:Each Storage Server has a unique number. The system can deploy one or
more Storage Servers, Login Server uses the unique number to distinguish between
different Storage Server, the unique number must be the same as the ID of the Storage
Server, and server management information defined in CMSServer BackOffice
Management System.

5. Server Registration
Free server version and the registered version only difference is to manage the number
of vehicles. The free version can manage 10 vehicles.The registered version can manage
the number of vehicles to be determined based on the serial number to developers.

32
5.1. Server registered version (free)

The free version of the CMSServer server without the server registration operation, data
can be configured to use.

5.2. Server registered version


1. Click on the "Software Registration" menu item in the the CMSServer server control
window.

The free license is 10.

2.The software registration interface at this time you can see the signature of this server,
as shown above the red box shown

3. When mouse click "Copy to clipboard" signature copied to the clipboard, and fill our
form (include the Signature, WAN IP address, vehicle numbers) and send to us.
4. When we received your requirement ,will register for you in 2 workdays.
5. Refresh it, you will see the new license numbers.

6. How to upgrade the CMSserver


6.1. Web port
Check the web port, and mark it down!!!

33
6.2. Backup database file

Base data: Vehicle , device, user and company information ;


Big data :GPS data ,alarm data ,log record and so on;
Number of days: You can choose 30 days or other.
The Big data will take a long time, and number of days will also affect the backup progress.
Pls attention!!! If you don’t need big data, select the Base Data only.

34
It will display success ,and path for the backup file.
Check the files in GPSDBBackup\REPAIR .

If the backup file is OK, you can exit the CMSserver now. Must wait until the program close by
itself!

6.3. Cover-Install the new CMSserver


Download the new software, Just do as the prompts, do every step one by one. Please attention :
1. In this step, path must be same with old one. Normally the CMSserver will remember the
previous installation path, if it’s wrong, modify it.

2. The web-port should be same with before setting.

35
Click the rest steps until it’s finished.

7. Backup and restore data


7.1. Storage location of Backup data
We have two methods to backup data: Manually backup, Automatically backup.
The folder for backup data contains two type of data: Manually Backup data and Automatically
Backup data.

How to find the path of backup folder?


1. Go to CMS Server installation folder.
2. Find Database.in file, It will show the storage path.

36
7.2. Backup data manually

7.2.1. Backup

1.Open the CMS server Control.


2.Click Database→Advanced →Backup Data, select the data type first and the days.
Base data: Vehicle, device, user and company information.
Big data :GPS data, alarm data, log record and so on.
3.Click OK, it will begin to backup the files, that will take some minutes.

We suggest backup the Base data only, the big data will cost a very long time. After finished, it will
show “Backup success”.

37
5. Check the files in GPSDBBackup\REPAIR.

Notice:All the manually backup files will be saved in the REPAIR folder.
If user wants to transfer and save the backup files, backup the database manually first , and then
copy the REPAIR folder to other USB flash driver/sd card/HDD.

7.2.2. Restore

1. Open the CMS server Control.

38
2.Click Database→Advanced→Restore Data, select the type(Base or Big Data), choose the days,
specify the storage path.
Number of days : System default range is 0-180days. If you want to restore one year before (more
than 180 days ) .For example : Now you need to restore last year’s data, 2017/01/01-2017/06/30, but
it’s more than 180 days from now . You can change the CMS Server ‘s PC date to 2017/07/01 at a
free time. After restoring, remember to change it back .

3.Click OK, it will begin to restore the data. That will take some minutes.

4.After that, you can login the CMS server with client software or web to check the data.

7.3. Backup data automatically

7.3.1. Backup

Besides the manually backup file, the other method is automatically backup file in History Backup.
As long as the Server is running, it will backup the files automatically at the setting time.

39
1.Open the CMS server Control.
2.Click History Backup ,set the time ,and choose the period.
3.Click OK, it will backup the files at the setting time automatically.
The files will be saved in the GPSDBBackup folder .

7.3.2. Restore

When restore the backup data , the system will chose the files in REPAIR folder first, which means
the manually backup data is in priority. It will restore the automatically backup data only when
there is no REPAIR folder.

40
If the real-time database was damaged and the manually backup data are very old, you had to use
the automatically backup data .

1. At this time, please change the REPAIR folder name to avoid the confusion ( in case of the system
restore the old manually backup data first ).

2. The other operation please refer to 2.2 How To Restore The Files, it’s the same .

7.4. Upload file to CMS/FTP


7.5. Check the Port of FTP

Forward these ports on the router.

41
7.6. Set the alarm storage space.

Set a bigger size for saving the alarm videos and snapshot picture. It dependents the requirement.
You can set as 4GB, 5GB or other size according to your requirement.
Then click FORMAT icon, the SD/HDD will format the disk, and get a partition.

7.7. Set the storage

1. Set the Alarm previous and delay time.

2. Alarm file to server: FTP or CMS


CMS: Storage server of CMSserver.
FTP : FTP server of CMSserver, should set in the center IP first.

42
For FTP of CMSserver
IP is CMSserver’s IP address. Port: 2121
User: admin Password: cmsserverv6
For FTP server of your own built, input the info you had created.

3. Protect Switch : OPEN (must be open!!!)

4. Alarm file protection days : set some days for it.


5. Trigger an alarm by Alarm menu.

7.8. Check the file


If there are alarms files has been recorded, it will upload to the FTP or CMS storage.

For FTP, check the files in GPS_FTP, files will be named by device ID.

The video format is asf file, and picture is JPG format.

For CMS storage server, it will be shown in the gStorage folder, file will be named by device ID.

43
In the gStorage folder, the video format is Grec, and picture is JPG format.

8. Set WIFI Auto-download function


Check the WIFI download server configuration.

8.1. Set AP linkage in CMS Server

Login server web page.

Go to Server – Download Site, click EDIT to change the SSID to the SSID of AP.

44
SSID: It’s your device connect WIFI’s name, must be same. This WIFI could be the bus stop or
garage’s WIFI signal.

When the vehicle enter the WFI coverage area, the device will connect it. Then the server will detect
this connection status. And execute the WIFI download .

The download server Number must be same WiFi Download server’s config in Server ID.

45
8.2. Set the Rule
Login server web page .
Go to Rules - Rule Maintenance – WI-FI Download, and add a rule.
Click Assignment and link the rule to device , and save the settings.
You can choose “Assigned” to see the device linkage.

Time Range : It’s the recorded files’ time . For example, if you select 12:00-14:00, it will down this
range’s recorded files in the HDD/SD.
Alarm Type: We suggest upload the alarm’s file only. At present, the MDVR supports I/O, G-
sensor, Motion detection.

46
47
8.3. Check the status
Restart the system first.

Click the WIFI Config to check the download status. If the setting is correct & device is online, and
some videos in the device’s SD/HDD, it will begin to download after some minutes.

Download speed is about 1-3MB/s for one device.


For more than 3 device, the speed is confined to the Router’s configuration, also decided by read and
write speed on the server PC’s disk . Normally speed is 3-6MB/s, average speed is 4MB/s. If the
WIFI signal is very well , it can reach up to 9MB/s(1300M router we have tested) in all.
So we suggest upload alarm’s file only.

48
9. Add multi wifi download services on same server
9.1. Description

Sometimes we will need to link multiple SSID with download server on same server PC, but
CMS Server supports to link one download service Download Server with only one SSID
Download Site in default. We can follow the steps in the manual to link multiple SSID with
the same server PC.

9.2. Add multi download services for wifi download

1.Go to server software installation folder and find file [GPSDaemon.ini].


2.Open the file, add below descriptions to add more WIFI download services, and save the
change:
[COUNT]
GPSDownSvr=2

The number 2 means to run 2 WIFI download services on current server. You can change it to
another number if you need to run more WIFI download services. Usually one WIFI download
service will link with one SSID.

49
******************************************************

Ignore the info here if you only need to add wifi download services.

If you need to add other services and wifi download services at same time, you can add the
description like below:
[COUNT]

GPSDownSvr=2

GPSStorageSvr=3

This means to run 2 wifi download services and 3 storage services on current server.

Services description:

GPSGatewaySvr: gateway service

GPSDownSvr: wifi download service

GPSMediaSvr: video streaming service

GPSUserSvr: user service

GPSStorageSvr: server storage service

**************************************************************************

50
9.3. Restart CMS server to run the new service

Click Exit System to exit CMS server, and double click on CMSServer Control to run it again.
Then you will see the service we added.

9.4. Set the new added service

51
1. Go to CMS Server control panel, select the new added service, choose Service
Config to set it.
2.Set a new ServerID in Register Parameters for the service, and set new ports in
Network Parameters for the service.
Please make sure the new ports are not occupied by other programs on server PC.
Every new added service will need new Server ID and new ports.

2. Login server management page,go to Server -- Download Server to add a new download
server for the new added download service. Save the changes.
Tips :If we add more download services, we will need to add more download server.
IDNO:Please set a new ID for the new server.
Download Site:Choose a SSID to link it with the new download server.
LAN Address:Please set LAN IP of server.
Wi-Fi Address(Device):Please set WAN address of the server. Please use LAN IP if the
server is not used on Internet.
WAN Address(Device)2:Please set WAN address of the server. Please use LAN IP if
the server is not used on Internet.
WAN Port(Device):Please use same port we have set for the new service in CMS Server
control panel.
WAN Address(Client)1:Please set WAN address of the server. Please use LAN IP if the
server is not used on Internet.
WAN Address(Client)2:Please set WAN address of the server. Please use LAN IP if the
server is not used on Internet.
WAN Port(Client):Please use same port we have set for the new service in CMS Server
control panel.

52
2. The server will be online automatically and service in CMS server control panel will be
running.

53
9.5. Forward ports for new added services

Please open ports we added for new services with TCP&UDP in firewall/router to make sure
the server can be accessed from Internet.

10. Https function


The new CMS server system supports Https function, it should be worked with domain.

Configure method like follow show:


1. Buy domain and binding server.
2. Buy SSL certification and binding domain name. Need download certification.
Attention :CMSserver only support PFX format, method of transit please contact with certification
provider.

Here shows the sample of the certification.

Put the certification to the follow folder, disk C/program files(x86)--CMSServerV6--tomcat--cart.

54
3.Open Web&FTP configure, tick enable Https, choose port and enter certification password, click OK.

4.After web service run success, you can use web link access it.
Https://domain name:port

55
11. WIFI Download server cascade
Sometimes, we need local download server to save the files except for a main server. For example,
you have a main server in the cloud, and also want to save the files directly in local server which is
closed to vehicles.

1. Install the sub-server on the site, change the WIFI download parameters.
Attention: sub-server also need static WAN and LAN IP(If it’s deployed in the router) address.

A.Just keep WIFI download server, watchdog running , Stop other programs.
B.Login server IP, should be the Main-server’s WAN IP.
C.Server ID: Must be same with the main server.
D.Forward the ports 6605, 6609, 6610 on the router.
Tips: If you just need to test this function in the same router, should change the WIFI download ports
with other ,such as 7709, 7710.

2. Add the sub-server on the main server’s management interface directly.

Attention:
1. If the sub-server is a independence WAN IP, input the sub-server’s WAN IP in all blanks.
2. If the sub-server has a fixed LAN IP, please input the LAN IP in the LAN Address, and input WAN
IP in other blanks.

56
3. Restart the WIFI Download server in the sub-server .
4. Check the download status in WIFI Download Configuration.

57

You might also like