Method and device for identifying coding mode of Chinese characters
A technology of Chinese characters and coding methods, which is applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of large memory usage, complex implementation, and low recognition efficiency, so as to improve recognition efficiency and accuracy, avoid The effect of memory occupation and simplification of the recognition process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] see figure 1 , is a flow chart of a method for identifying a Chinese character encoding method provided in Embodiment 1 of the present invention. The method of the embodiment of the present invention is applicable to the recognition system of the coding mode of Chinese characters, and the system includes: a distribution device and a data restoration device, wherein the distribution device is used to obtain the sequence of Chinese characters to be recognized in the network; The splitting device acquires the Chinese character sequence to be recognized, and identifies the encoding method of the Chinese character sequence to be recognized. The method in the embodiment of the present invention can be executed by a recognition device configured with a Chinese character encoding method realized by hardware and / or software, and the realization device is typically configured in a data restoration device.
[0023] The method includes:
[0024] Step 110, obtaining character sequ...
Embodiment 2
[0041] see figure 2 , is a flow chart of a method for recognizing a Chinese character encoding method provided in Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment provides an optimal solution for determining the encoding method of the Chinese character sequence to be recognized based on the characteristics of the character sequence and based on the set Chinese encoding recognition strategy.
[0042] This preferred method includes:
[0043] Step 210, if the length of the Chinese character sequence to be recognized cannot be divisible by 2, then determine that the encoding method of the Chinese character sequence to be recognized is UTF-8 encoding;
[0044] In this step, since GB2312 encoding and GBK encoding both adopt double-byte encoding, and UTF-8 encoding adopts three-byte encoding, if the length of the Chinese character sequence to be recognized cannot be divisible by 2, then the corresponding encoding method must no...
Embodiment 3
[0070] see image 3, is a flow chart of a method for recognizing a Chinese character encoding method provided in Embodiment 3 of the present invention. On the basis of the above-mentioned embodiments, this embodiment provides a specific implementation plan for determining the encoding method of the Chinese character sequence to be recognized based on the characteristics of the character sequence and based on the set Chinese encoding recognition strategy.
[0071] Step 310, judging whether the length of the Chinese character sequence to be recognized can be divisible by 2, if not, then perform step 320; if so, then perform step 330;
[0072] Step 320, determine that the encoding method of the Chinese character sequence to be recognized is UTF-8 encoding, and the process ends.
[0073] In this step, since GB2312 encoding and GBK encoding both adopt double-byte encoding, and UTF-8 encoding adopts three-byte encoding, if the length of the Chinese character sequence to be recogniz...
PUM

Abstract
Description
Claims
Application Information

- 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