updateRecordWsMessage(id, message) {
    if (id < 0) return;
    try {
      this.getCacheFile(WS_MESSAGE_FILE_PRFIX + id, (err, recordWsMessageFile) => {
        if (err) return;
        fs.appendFile(recordWsMessageFile, wsMessageStingify(message) + ',', () => {});
      });
    } catch (e) {
      console.error(e);
      logUtil.error(e.message + e.stack);
    }

    this.emitUpdateLatestWsMessage(id, {
      id: id,
      message: message
    });
  }
This method shall be called at each time there are new message