If I design a single word library for "youdao Dictionary ",

Source: Internet
Author: User


I used the Kingsoft Dictionary (version 2010) and started to look up words. It was not only slow but often failed to query words.

With the help of youdao dictionary, it is faster to search for words and take words as basic functions of the electronic dictionary.

One thing happened today, which made me speechless about its word synchronization function.

Word synchronization is a good thing. It can be used everywhere in an account.

The synchronization of youdao (version 3.2) is very slow. It is so slow that I want to kill this function. The disabled function cannot be found in the setting options.

 

This is the case.

Import a backup of Kingsoft's vocabulary today. Just import it (incorrect phonetic alphabet ).

Youdao dictionary is in the Automatic Login status before it starts the automatic server synchronization function.

During synchronization, the single-word library is basically unusable.

After 10 minutes, the synchronization has not been completed. If you forget it, you will be able to do other things first.

After dozens of minutes, I looked at it and the synchronization failed.

Try again three times and the next attempt fails.

Find the option and disable the automatic synchronization function.

I want to log out and the automatic synchronization will fail.

Deregister (after synchronization fails, the word can be used) -- the word book is all gone.

+ _ + The word book is probably bound to an account.

Log On again-the single-word book appears and is automatically synchronized. The single-word book cannot be used: synchronization cannot be interrupted, synchronization cannot be canceled, and words cannot be browsed ......

 

After turning over the network, find the solution:

Baidu space, cannot find the author name.

"The specific path is:
C:/Documents and Settings/Administrator/Local Settings/Application Data/yodao/mongodict/wbdata
(The Administrator is a Windows logon user. Different computers may vary depending on the actual situation .)

Each account corresponds to a folder. If you want to delete the word book (all categories), you can directly Delete the words file in the account folder.

If you want to clear and enable the wordbookloginhistory. dat file, you only need to clear the wordbookloginhistory. dat file. The specific path is:
C:/Documents and Settings/Administrator/Local Settings/Application Data/yodao/mongodict/wbdata
(The Administrator is a Windows logon user. Different computers may vary depending on the actual situation .)"

 

 

My solution is as follows:

1. Clear the wordbookloginhistory. dat file (log out)

2. Copy

C:/Documents and Settings/ln/Local Settings/Application Data/yodao/mongodict/wbdata

Enter the words file under the user name file to the nobody folder.

In this way, you can use the previous statement without logging on, and get rid of the bad word synchronization function.

 

If you want to design the word synchronization function:

1. Word synchronization is optional and controllable. It can be automatically synchronized, regularly, and regularly.

2. synchronization mode: Compare the timestamp of the single-byte file, and overwrite the uploaded and downloaded files.

Youdao seems to compare the similarities and differences between local words on the server one by one. Why? If one-by-one comparison is required, download from the server and then perform local comparison,

What is the size of a single-term file? Usually dozens of K, the size of a small image. If the network load is still too large, you can check the network conditions first (the maximum number of users to be updated is XX at the same time ).

Long-term use of the word base file may increase (in MB), solution: the number of words (such as 300) is limited by the word base classification ), when importing files larger than this limit, they are automatically divided into XXX1, xxx2 ......, A single word category corresponds to a file, so that each file will not be too large, and the above synchronization method will cause a small load.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.