A string information processing method, system, device and storage medium

CN122885259APending Publication Date: 2026-10-09SHENZHEN XINGUODU TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510364709.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-26
Publication Date
2026-10-09

AI Technical Summary

Technical Problem

[0003]然而,实际应用中,运营商信息可能存在特殊字符,或者运营商信息未遵循标准编码规范而产生非法字符,导致了移动终端无法正确解析运营商信息,影响了移动终端接入网络鉴权的效率

Benefits of technology

[0038]在获取待校验的字符串后,先计算字符串中每个单一字符的码点,当码点处于第一预设区间内时,表示该单一字符为常用字符,则将该单一字符直接添加至可变的字符序列中;当码点处于第二预设区间内时,表示该单一字符不是常用字符,则进一步根据单一字符的码点或单一字符本身判断是否为合法字符,若是,才将该单一字符添加至可变的字符序列中。这样,本申请方案通过维护一个动态的可变的字符序列,向该列表中添加常用和合法的字符,从而过滤掉非法字符。提高了字符串识别的准确度,同时提高了移动终端网络鉴权的效率。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122885259A_ABST
    Figure CN122885259A_ABST
Patent Text Reader

Abstract

The application discloses a string information processing method, system and device and a storage medium, and improves the accuracy of string recognition. The method part comprises the following steps: obtaining a to-be-verified string; calculating the code point of each single character in the to-be-verified string; when the code point of a single character is in a first preset interval, adding the single character to a variable character sequence; when the code point of a single character is in a second preset interval, judging whether the single character is a legal character according to the single character or the code point of the single character, and if yes, adding the single character to the variable character sequence; and outputting a target string according to the variable character sequence.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of character processing, and in particular to a method, system, apparatus and storage medium for processing string information. Background Technology

[0002] With the widespread adoption of mobile payment and IoT technologies, the reliability of mobile terminal network connections and the accuracy of data processing directly impact transaction success rates and user experience. During operation, mobile terminals need to obtain operator information (such as operator name and network code) in real time through the operator network to complete critical operations such as network authentication, service binding, and fault location.

[0003] However, in practical applications, operator information may contain special characters, or operator information may not follow standard encoding specifications and produce illegal characters, which makes it impossible for mobile terminals to correctly parse operator information and affects the efficiency of mobile terminal access network authentication. Summary of the Invention

[0004] To address the aforementioned problems, this application provides a method, system, apparatus, and storage medium for processing string information, thereby improving the accuracy of string recognition.

[0005] The first aspect of this application provides a method for processing string information, including:

[0006] Get the string to be verified;

[0007] Calculate the code point of each individual character in the string to be verified;

[0008] When the code point of a single character is within the first preset interval, the single character is added to the variable character sequence;

[0009] When the code point of a single character is within the second preset range, determine whether the single character is a legal character based on the single character or the code point of the single character. If so, add the single character to the variable character sequence.

[0010] Output the target string based on the variable character sequence.

[0011] Optionally, determining whether a single character is a valid character based on its code point includes:

[0012] The validity of the high and low surrogate pairs of the code points of the single character is checked. If the surrogate pairs are valid, the character is determined to be legal; if they are invalid, the character is determined to be illegal.

[0013] Optionally, determining whether a single character is a valid character based on the single character includes:

[0014] The single character is matched against a preset character table. If the match is successful, it is determined to be a legal character; if the match fails, it is determined to be an illegal character.

[0015] Optionally, calculating the code point of each individual character in the string to be verified includes:

[0016] Calculate the code point of each individual character in the string to be verified, and set the sequential number of each individual character;

[0017] Adding the single character to a variable character sequence includes:

[0018] The single character and its corresponding sequence number are added to the variable character sequence.

[0019] Optionally, after determining whether a single character is a valid character based on the single character or its code point, the processing method further includes:

[0020] If not, then add the corresponding null value to the variable character sequence.

[0021] Optionally, the step of outputting the target string based on the variable character sequence includes:

[0022] The content of all empty values ​​is determined and filled according to the contextual meaning of the characters in the variable character sequence;

[0023] Output the target string based on the variable character sequence after filling in the null values.

[0024] Optionally, the step of outputting the target string based on the variable character sequence includes:

[0025] When the number of characters in the variable character sequence reaches a preset value, it is determined whether the characters in the variable character sequence match the records in the name list. If so, the target string is output based on the successfully matched records in the name list.

[0026] A second aspect of this application provides a system for processing string information, comprising:

[0027] The retrieval unit is used to retrieve the string to be verified.

[0028] A calculation unit is used to calculate the code point of each individual character in the string to be verified;

[0029] An adding unit is used to add the single character to a variable character sequence when the code point of a single character is within a first preset interval;

[0030] The adding unit is further configured to, when the code point of a single character is within the second preset range, determine whether the single character is a legal character based on the single character or the code point of the single character; if so, add the single character to the variable character sequence.

[0031] The output unit is used to output the target string according to the variable character sequence.

[0032] A third aspect of this application provides a string information processing apparatus, comprising:

[0033] Processor, memory, input / output units, and bus;

[0034] The processor is connected to the memory, the input / output unit, and the bus;

[0035] The memory stores a program, which the processor calls to execute the first aspect and any optional string information processing method in the first aspect.

[0036] The fourth aspect of this application provides a computer-readable storage medium storing a program, which, when executed on a computer, performs the first aspect and any optional string information processing method of the first aspect.

[0037] As can be seen from the above technical solutions, this application has the following advantages:

[0038] After obtaining the string to be verified, the code point of each individual character in the string is first calculated. When the code point is within a first preset interval, it indicates that the individual character is a common character, and the individual character is directly added to the variable character sequence. When the code point is within a second preset interval, it indicates that the individual character is not a common character, and further determination is made based on the code point of the individual character or the individual character itself to determine whether it is a valid character. If it is, then the individual character is added to the variable character sequence. In this way, the proposed solution maintains a dynamic, variable character sequence and adds common and valid characters to this list, thereby filtering out illegal characters. This improves the accuracy of string recognition and the efficiency of mobile terminal network authentication. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1An embodiment of the string information processing method provided in this application;

[0041] Figure 2 An embodiment of the string information processing method provided in this application for determining whether a single character is a legal character;

[0042] Figure 3 Another embodiment of the string information processing method provided in this application for determining whether a single character is a legal character and adding a variable character sequence;

[0043] Figure 4 An embodiment of the string information processing method provided in this application for calculating code points and outputting the target string;

[0044] Figure 5 An embodiment of the string information processing system provided in this application;

[0045] Figure 6 An embodiment of the string information processing apparatus provided in this application. Detailed Implementation

[0046] This application provides a method, system, apparatus, and storage medium for processing string information, which improves the accuracy of string recognition.

[0047] It should be noted that the processing method provided in this application can be applied to terminals, systems, and servers. For example, a terminal can be a smartphone, computer, tablet, smart TV, smartwatch, portable computer terminal, or a desktop computer, etc. For ease of explanation, this application uses a terminal as the executing entity for illustrative purposes.

[0048] Please see Figure 1 , Figure 1 An embodiment of the string information processing method provided in this application includes:

[0049] S101. Obtain the string to be verified;

[0050] To enable terminals to recognize and process various types of information, encoding mechanisms are employed. Encoding involves using pre-defined methods to convert text, numbers, or other objects into numerical codes, or to convert information and data into specified electrical pulse signals. To ensure the correctness of the encoding, it must be standardized and regulated, meaning it requires a standard encoding format. Common encoding formats include ASCII, ANSI, GBK, GB2312, UTF-8, GB18030, and UNICODE. Therefore, terminals generally possess the ability to parse and recognize multiple encoding formats.

[0051] There are many application scenarios where terminals need to validate string information. For example, when different entities transmit string information, the receiving party may not be able to directly recognize the received string. If the receiving party does not validate and repair the string, it may result in "garbled characters." For some important string information, such as when a terminal accesses a carrier's base station network, it needs to obtain the carrier's string information so that it can access the network according to the corresponding internet access rules (such as carrier name, port, and data plan). If the string of carrier information received by the terminal from the base station contains unrecognizable characters, such as "garbled characters," then when the terminal executes that string information, it will not only be unable to access the network, but it may also cause the terminal to crash or restart.

[0052] It should be noted that the processing method provided in this application embodiment can handle the processing of string information in various scenarios. For ease of explanation, this application embodiment will take operator information as an example to illustrate the process.

[0053] S102. Calculate the code point of each single character in the string to be verified;

[0054] After receiving the string information to be verified, the terminal analyzes each character in the string and calculates its corresponding Unicode code point. A Unicode code point is a unique identifier for a character in the Unicode standard, used to represent the character's encoded value.

[0055] The specific method for calculating the code point of each individual character is to retrieve its corresponding code point value from a standard encoding table based on the defined encoding format. For example, using the UTF-8 encoding format, the code point of each individual character in the string is determined according to the UTF-8 encoding table.

[0056] S103. When the code point of a single character is within the first preset interval, add the single character to the variable character sequence.

[0057] The terminal checks whether the code point of each character falls within a first preset interval. The first preset interval typically contains common, legal characters that do not require additional verification (such as letters, numbers, common symbols, etc.). If the character's code point is within this interval, the terminal will directly add the character to the variable character sequence.

[0058] Different encoding formats may use different number systems to represent characters. For example, UTF-8 encoding uses hexadecimal, while ASCII encoding uses decimal. For widely used encoding formats, whether hexadecimal or decimal, the code point values ​​they represent for the most basic character set are the same.

[0059] For example, taking the code point value of 0x80 in UTF-8 encoding as an example, this code point value is a hexadecimal number, and its corresponding decimal value is 128. In character encoding and UTF-8 encoding, 0x80 is an important dividing point (the code point range for ASCII characters is 0x00 to 0x7F (i.e., decimal 0 to 127)), because it marks the end of ASCII characters and the beginning of non-ASCII characters (ASCII characters: the most basic character set in computers, including printable characters (letters, numbers, punctuation marks, etc.) and control characters (used for device control, such as newline, carriage return, etc.). That is to say, commonly used characters, such as "china mobile, 46011, 46000," belong to the ASCII character set. Therefore, the Unicode code points of UTF-8 encoding: U+0000-U+007F correspond to the ASCII code points 0x00-0x7F in ASCII encoding. Unicode code points within this range are completely consistent with the code points of ASCII characters; they can be directly mapped to ASCII characters, with a one-to-one correspondence.

[0060] Therefore, when calculating code points using UTF-8 encoding, the first preset interval can be set to less than 0x80, and the second preset interval can be set to greater than or equal to 0x80.

[0061] S104. When the code point of a single character is within the second preset interval, determine whether the single character is a legal character based on the single character or the code point of the single character.

[0062] S105. When a character is determined to be valid, add the single character to the variable character sequence.

[0063] If a character's code point is not within the first preset interval, the terminal will further check whether it falls within the second preset interval. The second preset interval typically contains characters that require additional verification (such as special symbols, non-ASCII characters, etc.). For these characters, the terminal will determine their validity based on the character itself or its code point. If the character is determined to be valid, it is added to the variable character sequence; otherwise, the terminal may ignore or discard the character.

[0064] S106. Output the target string based on the variable character sequence.

[0065] Finally, the terminal generates a target string based on the variable character sequence. This target string is the result of verification and filtering to ensure that it contains only valid characters.

[0066] In this embodiment, after obtaining the string to be verified, the terminal first calculates the code point of each individual character in the string. When the code point is within a first preset interval, it indicates that the individual character is a common character, and the individual character is directly added to the variable character sequence. When the code point is within a second preset interval, it indicates that the individual character is not a common character, and it is further determined whether it is a legal character based on the code point or the individual character itself. If it is, the individual character is added to the variable character sequence. In this way, the solution of this application maintains a dynamic and variable character sequence, adding common and legal characters to the list, thereby filtering out illegal characters. This improves the accuracy of string recognition and the efficiency of mobile terminal network authentication.

[0067] Combination Figure 1 For examples, see Figure 2 As shown, Figure 2 An embodiment of the string information processing method provided in this application for determining whether a single character is a legal character includes:

[0068] S201. When judging by code points, perform validity checks on high and low surrogate pairs for the code points of a single character.

[0069] S202. If valid, then it is determined to be a legal character;

[0070] S203. If invalid, it is determined to be an illegal character.

[0071] When a single character is not a commonly used character, its code point will fall within the second preset range. In this embodiment, its legality will be further determined. Specifically, the validity of the detection method can be checked by high and low proxies to determine whether it is a legal character.

[0072] In UTF-8 encoding, high and low surrogate pairs refer to the set of characters with Unicode code points greater than 0x80. High surrogate pairs range from U+D800 to U+DBFF, corresponding to hexadecimal values ​​of 0xD800 to 0xDBFF. They are used to represent the high-order part of supplementary characters.

[0073] Low surrogate pair: The range is U+DC00 to U+DFFF, corresponding to hexadecimal values: 0xDC00 to 0xDFFF, used to represent the low-order part of the supplementary character.

[0074] A high surrogate pair (0xD800-0xDBFF) and a low surrogate pair (0xDC00-0xDFFF) together represent a supplementary character, ranging from U+10000 to U+10FFFF. Therefore, they must appear in pairs to match; otherwise, they are considered garbled characters. Supplementary characters (such as emoticons): Unicode characters outside the Basic Multilingual Plane (BMP), ranging from U+10000 to U+10FFFF.

[0075] The specific testing procedure can be as follows:

[0076] 1. Check if the character code point falls within the surrogate pair range: High Surrogate: U+D800 to U+DBFF. Low Surrogate: U+DC00 to U+DFFF.

[0077] 2. If the code point of the character falls within the high or low surrogate zone, proceed to the next step of detection; otherwise, it is directly determined as an invalid character.

[0078] 3. If the character is a high surrogate character (code point between U+D800 and U+DBFF), then check if the next character is a low surrogate character (code point between U+DC00 and U+DFFF).

[0079] 4. If the character is a low surrogate character (code point between U+DC00 and U+DFFF), then check if the previous character is a high surrogate character.

[0080] 5. If the high and low surrogate characters are successfully matched, they are determined to be valid characters; otherwise, they are determined to be invalid characters.

[0081] Combination Figure 1 or Figure 2 For examples, see Figure 3 As shown, Figure 3 Another embodiment of the string information processing method provided in this application for determining whether a single character is a valid character and adding a variable character sequence includes:

[0082] S301. When judging by a single character, match the single character with the preset character table;

[0083] S302. If a match is successful, the character is determined to be valid.

[0084] S303. If the match fails, it is determined to be an illegal character.

[0085] In some application scenarios, most of the string information to be verified acquired by the terminal belongs to common characters, and rarely contains special characters. When a special character occurs, it is not necessary to detect high and low surrogate pairs for its code point. Instead, a preset character table is maintained, and the special character is directly matched with the preset character table. If the matching succeeds, it is determined as a legal character; if the matching fails, it is determined as an illegal character.

[0086] For example: the character is $. The preset character table includes: &, *, @, -, $, 中, 电, 信, 移, 动, 联, 通, 国, 网, 络. The character $ is found in the preset character table, and it is determined as a legal character.

[0087] S304, when the character is determined as an illegal character, adding a corresponding null value to the mutable character sequence;

[0088] Optionally, for an illegal character, the terminal may add a null value (such as null or a placeholder) to the mutable character sequence to retain the position information of the character.

[0089] S305, determining and filling the content of all null values according to the contextual meaning of characters in the mutable character sequence;

[0090] The terminal may determine and fill the content of all null values according to the contextual meaning of characters in the mutable character sequence. For example, the possible content of a missing character can be inferred according to the semantics of preceding and following characters, or a default value (such as a space or a specific symbol) is used for filling.

[0091] For example:

[0092] The string is: "5G#network"; the preset character table is: &, *, @, -, $, 中, 电, 信, 移, 动, 联, 通, 国, 网, 络.

[0093] Processing process:

[0094] The code points of characters "5" and "G" belong to a first preset interval, and are directly added to the mutable character sequence. The character "#" fails to match, is determined as an illegal character, and a null value is added to the mutable character sequence. The code points of characters "网" and "络" belong to a second preset interval, but match successfully with the preset character table, are determined as legal characters, and are added to the mutable character sequence.

[0095] Filling the null value according to the context: the position of # may be a connector, which is inferred as "-" according to the context. Therefore, the output target string is: "5G-网络".

[0096] S306, outputting a target string according to the mutable character sequence after filling the null values.

[0097] Finally, the terminal generates the target string based on the variable character sequence after padding with null values. This target string is the result of validation, filtering, and repair to ensure its integrity and validity.

[0098] It should be noted that in this embodiment, the method of maintaining a preset character table to match special characters can also be applied to some newly created characters. When the code point of a newly created character is not determined in the encoding format, the legality of the character can be determined by adding the character to the preset character table.

[0099] This application embodiment improves the efficiency of legality detection for special characters by maintaining a preset character table to determine the legality of special characters.

[0100] Combination Figure 1-3 For examples, see Figure 4 As shown, Figure 4 An embodiment of the string information processing method provided in this application, which calculates code points and outputs the target string, includes:

[0101] S401. Calculate the code point of each individual character in the string to be verified, and set the sequential number of each individual character;

[0102] When analyzing each character in the string to be verified, the terminal not only calculates its corresponding Unicode code point, but also assigns a sequential number to each character to indicate its position in the string (starting from 1).

[0103] S402. Add a single character and its corresponding sequence number to a variable character sequence;

[0104] According to the foregoing Figures 1 to 3 In this embodiment, the validity detection result of a single character is used to add the valid character and its corresponding number to the variable character sequence. If it is an empty value, a number is also added to it.

[0105] In this way, by adding numbers, the terminal can perform multi-threaded synchronous detection. Since the variable character sequence is also numbered, the numbers can be sorted before output.

[0106] S403. When the number of characters in the variable character sequence reaches a preset value, determine whether the characters in the variable character sequence match the records in the name list.

[0107] S404. When a match is successful, the target string is output based on the record that matches successfully in the name list.

[0108] In some application scenarios, the string information to be verified is mostly fixed, with only a few differences. To improve the efficiency of verification, in this embodiment, after obtaining a certain number of valid characters, it is matched against records in a pre-maintained name list. If the match is successful, the target string can be directly output based on the records in the name list.

[0109] It should be noted that this match refers to a unique match with the name list. If there are multiple records that match successfully, new valid characters need to be added until only a unique match is found.

[0110] When the string refers to network operator information, after the above... Figures 1 to 4 The processing method described in this embodiment involves the terminal decoding the target string after verifying its validity. Based on the numericPlmn (which can be understood as MCC and MNC, e.g., China Mobile: (MCC-MNC: 46000), China Unicom: (MCC-MNC: 46001), China Telecom: (MCC-MNC: 46003, 46011)) corresponding to the PLMN (Public Land Mobile Network) transmitted by the base station and the original operator name (oldName, which can be understood as China Telecom, China Mobile, etc.), the terminal decodes and converts it into a localized operator name (which can be understood as machine-recognizable language information). The main steps are: loading a string array resource named unisoc_local_config_operator from system resources; traversing this array to find entries matching numericPlmn and returning the corresponding localized operator name; and then passing the decoded information to subsequent processing.

[0111] In a specific scenario, if the string consists entirely of garbled characters (illegal characters), the terminal will receive an empty string after verification. In this case, the terminal will reassign the previously stored valid carrier string information, without affecting subsequent decoding operations. In other words, an empty string has no impact on the terminal itself.

[0112] See Figure 5 As shown, Figure 5 An embodiment of the string information processing system provided in this application includes:

[0113] Unit 501 is used to retrieve the string to be verified;

[0114] The calculation unit 502 is used to calculate the code point of each single character in the string to be verified;

[0115] Adding unit 503 is used to add the single character to a variable character sequence when the code point of a single character is within a first preset interval;

[0116] The adding unit 503 is further configured to, when the code point of a single character is within the second preset range, determine whether the single character is a legal character based on the single character or the code point of the single character; if so, add the single character to the variable character sequence.

[0117] Output unit 504 is used to output a target string according to the variable character sequence.

[0118] Optionally, unit 503 is also used for:

[0119] The validity of the high and low surrogate pairs of the code points of the single character is checked. If the surrogate pairs are valid, the character is determined to be legal; if they are invalid, the character is determined to be illegal.

[0120] Optionally, unit 503 is also used for:

[0121] The single character is matched against a preset character table. If the match is successful, it is determined to be a legal character; if the match fails, it is determined to be an illegal character.

[0122] Optionally, the computing unit 502 is specifically used for:

[0123] Calculate the code point of each individual character in the string to be verified, and set the sequential number of each individual character;

[0124] The addition of unit 503 is also specifically used for:

[0125] The single character and its corresponding sequence number are added to the variable character sequence.

[0126] Optionally, the adding unit 503 is further configured to, after determining whether the single character is a legal character based on the single character or the code point of the single character, add a corresponding null value to the variable character sequence if not.

[0127] Optionally, output unit 504 is specifically used for:

[0128] The content of all empty values ​​is determined and filled according to the contextual meaning of the characters in the variable character sequence;

[0129] Output the target string based on the variable character sequence after filling in the null values.

[0130] Optionally, output unit 504 is also specifically used for:

[0131] When the number of characters in the variable character sequence reaches a preset value, it is determined whether the characters in the variable character sequence match the records in the name list. If so, the target string is output based on the successfully matched records in the name list.

[0132] In this embodiment, the functions of each unit are the same as those described above. Figures 1 to 4 The steps in the method embodiments shown correspond to those in the examples, and will not be repeated here.

[0133] See Figure 6 As shown, Figure 6 An embodiment of the string information processing apparatus provided in this application includes:

[0134] Processor 601, memory 602, input / output unit 603, bus 604;

[0135] The processor 601 is connected to the memory 602, the input / output unit 603, and the bus 604;

[0136] The memory 602 stores a program, and the processor 601 calls the program to execute the processing method for any of the string information mentioned above.

[0137] This application also relates to a computer-readable storage medium storing a program, characterized in that, when the program is run on a computer, it causes the computer to perform a processing method for any of the string information described above.

[0138] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0139] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between apparatuses or units, and may be electrical, mechanical, or other forms.

[0140] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0141] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0142] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. A method for processing string information, characterized in that, The processing method includes: Get the string to be verified; Calculate the code point of each individual character in the string to be verified; When the code point of a single character is within the first preset interval, the single character is added to the variable character sequence; When the code point of a single character is within the second preset range, determine whether the single character is a legal character based on the single character or the code point of the single character. If so, add the single character to the variable character sequence. Output the target string based on the variable character sequence.

2. The processing method according to claim 1, characterized in that, The step of determining whether a single character is a valid character based on its code point includes: The validity of the high and low surrogate pairs of the code points of the single character is checked. If the surrogate pairs are valid, the character is determined to be legal; if they are invalid, the character is determined to be illegal.

3. The processing method according to claim 1, characterized in that, The step of determining whether a single character is a valid character based on the single character includes: The single character is matched against a preset character table. If the match is successful, it is determined to be a legal character; if the match fails, it is determined to be an illegal character.

4. The processing method according to claim 1, characterized in that, The calculation of the code point of each individual character in the string to be verified includes: Calculate the code point of each individual character in the string to be verified, and set the sequential number of each individual character; Adding the single character to a variable character sequence includes: The single character and its corresponding sequence number are added to the variable character sequence.

5. The processing method according to claim 1, characterized in that, After determining whether a single character is a valid character based on the single character or the code point of the single character, the processing method further includes: If not, then add the corresponding null value to the variable character sequence.

6. The processing method according to claim 5, characterized in that, The step of outputting the target string based on the variable character sequence includes: The content of all empty values ​​is determined and filled according to the contextual meaning of the characters in the variable character sequence; Output the target string based on the variable character sequence after filling in the null values.

7. The processing method according to any one of claims 1 to 6, characterized in that, The step of outputting the target string based on the variable character sequence includes: When the number of characters in the variable character sequence reaches a preset value, it is determined whether the characters in the variable character sequence match the records in the name list. If so, the target string is output based on the successfully matched records in the name list.

8. A string information processing system, characterized in that, The processing system includes: The retrieval unit is used to retrieve the string to be verified. A calculation unit is used to calculate the code point of each individual character in the string to be verified; An adding unit is used to add the single character to a variable character sequence when the code point of a single character is within a first preset interval; The adding unit is further configured to, when the code point of a single character is within the second preset range, determine whether the single character is a legal character based on the single character or the code point of the single character; if so, add the single character to the variable character sequence. The output unit is used to output the target string according to the variable character sequence.

9. A device for processing string information, characterized in that, The processing device includes: Processor, memory, input / output units, and bus; The processor is connected to the memory, the input / output unit, and the bus; The memory stores a program, which the processor invokes to perform the method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium contains a program that, when executed on a computer, performs the method as described in any one of claims 1 to 7.