public function onStart($serv, $worker_id = 0)
 {
     parent::onStart($serv, $worker_id);
     //启动时加载字典数据
     $file = array('bin' => realpath(__DIR__ . '/dict_all.dat'), 'source' => realpath(__DIR__ . '/dict_all.dat'));
     $this->trie = new F\Trie($file);
     $this->trie->nodes = $this->trie->getBinaryDict($file['bin']);
 }