Hash processing based vocabulary management method and device
A management method and vocabulary technology, applied in the network field, to achieve the effect of reducing resource occupation, improving processing performance, and avoiding wrong conclusions
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0025] Aiming at the problems existing in the prior art, Embodiment 1 of the present application provides a vocabulary management method based on hash processing, such as figure 1 As shown, the method may specifically include the following steps:
[0026] Step 101, the server maintains a first hash vocabulary and a second hash vocabulary; wherein, the first hash vocabulary is used to record correspondence between hash values and non-conflicting vocabulary, and the second hash vocabulary is used for Record the correspondence between hash values and multiple conflicting words.
[0027] For example, the hash value corresponding to word 1 is hash value 1, the hash value corresponding to word 2 is hash value 1, the hash value corresponding to word 3 is hash value 1, the hash value corresponding to word 4 is hash value 2, and the hash value corresponding to word 5 is The hash value is hash value 3, and the hash value corresponding to word 6 is hash value 4. In this case, there...
Embodiment approach
[0045] Method 1: The server uses the hash value to query the first hash vocabulary; if the hash value is recorded in the first hash vocabulary, the server judges whether there is a word to be processed under the hash value; if so, the server determines the first hash vocabulary Record the vocabulary to be processed under the hash value; if not, the server determines that the hash value is recorded in the first hash vocabulary, but the vocabulary to be processed is not recorded under the hash value; if the hash value is not recorded in the first hash vocabulary, The server uses the hash value to query the second hash vocabulary; if the hash value is recorded in the second hash vocabulary, the server judges whether the word to be processed is recorded under the hash value; if so, the server determines whether the hash value of the second hash vocabulary is under the hash value Record the vocabulary to be processed; if not, the server determines that the hash value is recorded in ...
Embodiment 2
[0068] Based on the same application concept as the method provided in the first embodiment above, a server is also provided in the embodiment of the present application, such as figure 2 As shown, the server specifically includes:
[0069] The maintenance module 11 is used to maintain the first hash vocabulary and the second hash vocabulary; wherein, the first hash vocabulary is used to record the correspondence between hash values and non-conflicting vocabulary, and the second hash The vocabulary is used to record the correspondence between the hash value and multiple conflicting vocabulary;
[0070] The query module 12 is used for performing hash processing on the vocabulary to be processed to obtain a corresponding hash value, and to query the first hash vocabulary and the second hash vocabulary by using the hash value;
[0071] A determining module 13, configured to determine the vocabulary to be processed when the hash value is recorded in the first hash vocabulary o...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com
