...

Dynamsoft service что за программа

Installing Dynamsoft Service

The Dynamsoft Service is a component which is required to handle the communication between the hardware (scanner, webcam, etc.) and the browser. It represents the core piece of the Dynamic Web TWAIN SDK when it is launched in the service mode.

For more information about the Dynamic Web TWAIN SDK and its Dynamsoft Service component, refer to the manufacturer’s official web-site: Dynamic Web TWAIN.

In CStoreOffice® , you will need to install the Dynamsoft Service to scan documents using scanner or camera. You will need to install the Dynamsoft Service only once and then continue scanning documents without any additional steps.

Your camera and scanner must support the TWAIN component as it is required for proper scanning or taking snapshots operations with the Dynamsoft Service. To learn how to check if your device supports TWAIN, refer to the Hardware article on the manufacturer’s web-site.

To install the Dynamsoft Service:

  1. From the CStoreOffice® main page, go to Docs and Files >Docs Scanner.
  2. To the right of the calendar, click New Document.
    Result: The Document Information form opens.
  3. At the top left of the Document Information form, click Custom Scan.
    Result: The service setup window opens.
  4. In the service setup window, click the Download button, to download the Dynamsoft Service installation file. Result: The Save As form opens.
  5. In the Save As form:
  6. Select the desired folder in which to save the DynamsoftServiceSetup.msi file.
  7. Click Save. If you could not download and save the Dynamsoft Installation file as described above, you can use this direct link.
  8. Launch the DynamsoftServiceSetup.msi file and install the Dynamsoft Service component.

During installation, the antivirus software or security system installed on the computer may warn you about unknown software. Please allow installation anyway.

Result: After installation is complete, the application will run automatically every time you use Docs Scanner.

Although the installation process may be a little different depending on the operating system, browser and security settings, in general, you can try to refer to the following instructions if you are not sure how to install the application.

At the TWAIN SAIN web-site, click the corresponding icon to download and install the following components:

  • SANE backends binary version for the corresponding version of the MacOS: Mountain Lion (10.8.x) or Mavericks (10.9.x).
  • libusb binary version for the corresponding version of the MacOS: Mountain Lion (10.8.x) or Mavericks (10.9.x).

After downloading and installing these components, start using Docs Scanner the same way as for the Microsoft Windows OS.

Dynamsoft Service

This article is meant exclusively for the Service mode of Dynamic Web TWAIN.

What is Dynamsoft Service

Dynamsoft Service is the core piece of Dynamic Web TWAIN when running in Service mode. It handles the communication between hardware (scanner, webcam, etc.) and browser, manages the image buffer, and coordinates data between different modules.

IP and ports

The Dynamsoft Service uses localhost and 18622 18625 ports for HTTP connection and 18623 18626 ports for HTTPS connection.
These ports can be configured in the DSConfiguration.ini file located in: C:\Windows\SysWOW64\Dynamsoft\DynamsoftService(DynamsoftServicex64)\DSConfiguration.ini (Windows)

  • On Windows, the service runs under the Local System account
  • On macOS, the service runs under the current user account
  • On Linux, the service runs under the root account

Three processes

By default, there are three Dynamsoft Service processes running which use the same file DynamsoftService.exe but initiated with different arguments:

    The main process starts without any argument as follows:

C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\DynamsoftService.exe 
C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\DynamsoftService.exe -asmonitor Global\Dynamsoft_1.5.0_352325843_stop_service_event Global\Dynamsoft_1.5.0_352325828_certcheck_event 
"-scan" "\\.\pipe\dynamsoftscan_15.0_70056_60" "0" "Global\ss352604281_61_70056" "0" "C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64\dwt_trial_15.0.0.0625.dll" 

Note: you may find another process named ‘Dynamsoft Scanning New Module’, which is a scan module. This process will start when you access an application integrated with Dynamic Web TWAIN, and will automatically stop when you close the application.

Installation of Dynamsoft Service

On a desktop, when a new user accesses a web page using Dynamic Web TWAIN SDK for the first time, he will be prompted to install the Dynamsoft Service. This is a built-in behaviour of the library. The prompt will display the download link. Once the installer is downloaded, the installation process will take just a few seconds.

The prompt comes up when you try to create a WebTwain instance in Service mode.

Initialization

On Windows and macOS, double click the downloaded installer to install the service.

On Linux, instead of double clicking, the downloaded installer needs to be run using one of the following commands:

sudo dpkg -i DynamsoftServiceSetup.deb 
sudo rpm -ivh DynamsoftServiceSetup.rpm 

Once the installation is done, the users can click ‘Reconnect to the service’ or refresh the page to start using Dynamic Web TWAIN.

Msg: Dynamsoft service is not installed / Dynamic Web TWAIN is not installed

If Dynamsoft Service is not installed, users might receive the error ‘The Dynamic Web TWAIN module is not installed’ when accessing an application that uses Dynamic Web TWAIN.

If you see repeat prompt on installing the service, please check out Why is the browser prompting me to install Dynamsoft Service repeatedly?

Files and folders in the service directory

There are multiple files and folders in the service directory. Taking Windows service (located at C:\Windows\SysWOW64\Dynamsoft\DynamsoftServicex64_16 ) as an example, the content is as follows:

For the Service

  • \cache\ : Data cached on the disk. Check out Disk Caching.
  • \cert\ : The certificates used for SSL connection. Check out How to change the certificates.
  • \dump\ : Dump files in case the service crashes.
  • \log\ : Log files for debugging purposes.
  • \upload\ : Temporary location for image data to be uploaded by the file uploader.
  • DSConfiguration.ini : Service configuration file. Check out How to configure the service.
  • DWASManager_16000428.dll : The service manager. The name of the file may vary among different versions.
  • DynamsoftService.exe : The service.
  • DynamicSocket.dll : For socket connections.
  • service.ini : Define service name.
  • user_config.ini : User configuration file.
  • welcome.htm : The home page for the service (present when you visit http://127.0.0.1:18625)

Components

These files are named with their version number. The following uses v16.1.1 as an example.

  • Core scanning module
    • dwt_16.1.0.0728.dll
    • DSSCN2.exe
    • DSSCN2x64.exe
    • TWAINDSM.dll
    • TWAINDSMx64.dll
    • \x64\
    • \x86\
    • dbr_7.4.0.0428.dll
    • dbrx64_7.4.0.0428.dll
    • DynamicPdfCore_11.0.0.0428.dll
    • DynamicPdfCorex64_11.0.0.0428.dll
    • DynamicPdfR_11.0.0.0428.dll (for the PDF Rasterizer)
    • DynamicPdfRx64_11.0.0.0428.dll (for the PDF Rasterizer)
    • DynamicWebcam_15.0.0.0625.dll
    • DynamicWebcamx64_15.0.0.0625.dll
    • \DynamicOCR\
    • DynamicOCR_10.0.0.0618.dll
    • DynamicOCRx64_10.0.0.0618.dll
    • \OCRProResource\
    • DynamicOCRPro_1.2.0.0806.dll
    • DynamicOCRProx64_1.2.0.0806.dll
    • ocrp.lic
    • OCRPro.lic
    • UploadModule_1.6.0.0428.dll
    • DynamicImage.dll
    • DynamicImagex64.dll

    Supporting files

    • favicon.ico : The favicon.
    • legal.txt : Legal notice.
    • libcurl.dll : The file transfer library.
    • For OpenSSL
      • libeay32.dll
      • ssleay32.dll

      Related Resources:

      • How to uninstall Dynamsoft Service?
      • What does Dynamsoft Service do?
      • I have installed the Dynamsoft Service on an end-user machine but still got asked to install it repeatedly. Why?
      • Can I install Dynamsoft Service silently?

      Dynamsoft Service

      This article is meant exclusively for the Desktop Service Edition of Dynamic Web TWAIN.

      What is Dynamsoft Service

      Dynamsoft Service is the core piece of Dynamic Web TWAIN when running in Service mode. It handles the communication between hardware (scanner, webcam, etc.) and browser, manages the image buffer, and coordinates data between different modules.

      IP and ports

      The Dynamsoft Service uses localhost and 18622 18625 ports for HTTP connection and 18623 18626 ports for HTTPS connection.
      These ports can be configured in the DSConfiguration.ini file located in: C:\Windows\SysWOW64\Dynamsoft\DynamsoftService(DynamsoftServicex64)\DSConfiguration.ini (Windows)

      Installation of Dynamsoft Service

      On a desktop, when a new user accesses a web page using Dynamic Web TWAIN SDK for the first time, he will be prompted to install the Dynamsoft Service. This is a built-in behaviour of the library. The prompt will display the download link. Once the installer is downloaded, the installation process will take just a few seconds.

      The prompt comes up when you try to create a WebTwain instance in Service mode.

      Initialization

      On Windows and macOS, double click the downloaded installer to install the service.

      On Linux, instead of double clicking, the downloaded installer needs to be run using one of the following commands:

      sudo dpkg -i DynamsoftServiceSetup.deb 
      sudo rpm -ivh DynamsoftServiceSetup.rpm 

      Once the installation is done, the users can click ‘Reconnect to the service’ or refresh the page to start using Dynamic Web TWAIN.

      Msg: Dynamsoft service is not installed / Dynamic Web TWAIN is not installed

      If Dynamsoft Service is not installed, users may receive the error ‘The Dynamic Web TWAIN module is not installed’ when accessing an application that uses Dynamic Web TWAIN.

      Related Resources:

      • What does Dynamsoft Service do?
      • I have installed the Dynamsoft Service on an end-user machine but still got asked to install it repeatedly. Why?
      • How to uninstall Dynamsoft Service?
      • Can I install Dynamsoft Service silently?

      При подготовке материала использовались источники:
      https://help.petrosoftinc.com/Content/Documents_and_Files/Docs_scanner/installing_dynamsoft_service_component.htm
      https://jenny-jiani.github.io/indepth/deployment/service.html
      https://www.dynamsoft.com/web-twain/docs/indepth/deployment/service.html

Оцените статью