5. ESL Server Application
The ESL server application controls the whole ESL system by detecting all external triggers and
processing the given data. Its main tasks are:
Detecting incoming CSV files from the back office
•
Detecting new/changed ESL-product links from barcode terminal
•
Processing new/changed ESL images and configuration files from the middleware application
•
Calling of the middleware application to process all input files to create the images and
•
configuration files needed to update the ESLs.
Configuring of ESLs and base stations
•
Sending image data to the ESLs (via the base stations)
•
Showing the current status and settings of all ESLs and base stations
•
Logging all events, errors and executed tasks
•
Handling of software updates for base stations and ESLs
•
In the following sections, these ESL server application tasks will be described.
5.1 Handling of incoming CSV files from the Back Office
The placing and processing of incoming CSV files is done as follows:
The file is moved/copied to a configurable local folder, called the Input folder.
•
When moving/copying the file from the Back office to the folder a temporary name is used, i.e.
•
productdata_1.tmp, productdata_2.tmp, etc.
After a check that the complete file has been moved/copied, the file will be renamed to its final
•
name, i.e. productdata_1.csv, productdata_2.csv, etc.
The server application will pick up the CSV file as soon as it detects this rename file event.
•
The numbers in the filenames should be sequential, and the interval is 1. The ESL server
•
application currently does not check the number of these files.
The file will be processed instantly, as the records contain no start/end date.
•
Once a file is processed, it will be moved to the configurable Processed folder and the back
•
office is able to put another file in the folder.
When errors occur, they will be reported in an error log in the Log folder. The data file will not
•
be moved in case of errors.
The ESL server application will call the middleware applications to parse the incoming CSV
•
file into a combined database file and generates the required configuration and image files
that are used to update the ESLs.
16
ESL User Manual