CN111046631A - Name storage method and device based on character conversion and computer equipment - Google Patents

Name storage method and device based on character conversion and computer equipment Download PDF

Info

Publication number
CN111046631A
CN111046631A CN201910983727.9A CN201910983727A CN111046631A CN 111046631 A CN111046631 A CN 111046631A CN 201910983727 A CN201910983727 A CN 201910983727A CN 111046631 A CN111046631 A CN 111046631A
Authority
CN
China
Prior art keywords
character
name
replacement
replaced
characters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910983727.9A
Other languages
Chinese (zh)
Inventor
甘丽婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201910983727.9A priority Critical patent/CN111046631A/en
Priority to PCT/CN2019/118235 priority patent/WO2021072872A1/en
Publication of CN111046631A publication Critical patent/CN111046631A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/51Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/583Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/5846Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using extracted text

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention discloses a name storage method and device based on character conversion and computer equipment. The method comprises the following steps: and checking the newly added name according to the character checking model to obtain a checking result, if the checking result does not pass, judging whether the character mapping information corresponding to the character to be replaced is contained in the replacement character mapping set, if so, converting the character to be replaced into the replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name, and if not, obtaining the replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name. Based on the image processing technology, the method can obtain the replacing characters close to the uncommon word to replace the uncommon word in the name to obtain the first replacing name or the second replacing name, can conveniently store the name containing the uncommon word, and ensures that the stored name has good compatibility.

Description

Name storage method and device based on character conversion and computer equipment
Technical Field
The invention relates to the technical field of computers, in particular to a name storage method and device based on character conversion and computer equipment.
Background
When information is described, in order to facilitate the described information to be transferred between terminals or systems, it is necessary to describe the information in an encoding scheme supported by all terminals. For example, the utf-8 encoding scheme is highly compatible and widely applicable, and thus information recorded by the utf-8 encoding scheme can be applied to all terminals. However, when the input name containing the uncommon Chinese character is recorded, the recorded uncommon Chinese character is processed by some terminals due to compatibility problems of the encoding method, and the recorded uncommon Chinese character is reported by errors due to processing abnormality, so that some terminals or some systems cannot process the uncommon Chinese character. The rarely-used words in the user name written in Chinese are difficult to enumerate, so that a database covering all rarely-used words cannot be established, the rarely-used words are recorded in all terminals in a coding mode suitable for the rarely-used words, the information processing speed can be greatly reduced, the rarely-used words are difficult to realize, new rarely-used words can be continuously received in the practical application process, and the difficulty in recording and storing the name containing the rarely-used words is further increased. Therefore, the existing information storage method has the problem that names containing uncommon words cannot be stored.
Disclosure of Invention
The embodiment of the invention provides a name storage method and device based on character conversion, computer equipment and a storage medium, and aims to solve the problem that names containing uncommon words cannot be stored in an information storage method in the prior art.
In a first aspect, an embodiment of the present invention provides a name storage method based on character conversion, including:
if receiving a new name input by a user, verifying the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not;
if the verification result is that the character is not passed, acquiring the character which is not passed through the verification in the newly added name as a character to be replaced, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced or not;
if the character mapping set comprises character mapping information corresponding to the character to be replaced, converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name;
if the character mapping set does not contain the character mapping information corresponding to the character to be replaced, acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name.
In a second aspect, an embodiment of the present invention provides a name storage apparatus based on character conversion, including:
the name verification unit is used for verifying the newly added name according to a preset character verification model to obtain a verification result of whether the newly added name passes or not if the newly added name input by the user is received;
the judging unit is used for acquiring the character which is not checked in the newly added name as the character to be replaced if the checking result is not passed, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced or not;
a first replacement name obtaining unit, configured to, if the replacement character mapping set includes character mapping information corresponding to the character to be replaced, convert the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name, and store the first replacement name;
and the second replacement name acquisition unit is used for acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model if the character mapping information corresponding to the character to be replaced is not contained in the replacement character mapping set, so as to obtain a second replacement name and store the second replacement name.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor, when executing the computer program, implements the name storage method based on character conversion according to the first aspect.
In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the name storage method based on character conversion according to the first aspect.
The embodiment of the invention provides a name storage method and device based on character conversion, computer equipment and a storage medium. And checking the newly added name according to the character checking model to obtain a checking result, if the checking result does not pass, judging whether the character mapping information corresponding to the character to be replaced is contained in the replacement character mapping set, if so, converting the character to be replaced into the replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name, and if not, obtaining the replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name. By the method, the replacing characters close to the uncommon word can be obtained to replace the uncommon word in the name to obtain the first replacing name or the second replacing name, the name containing the uncommon word can be conveniently stored, and the stored name has good compatibility.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a name storage method based on character conversion according to an embodiment of the present invention;
fig. 2 is a schematic sub-flow chart of a name storage method based on character conversion according to an embodiment of the present invention;
FIG. 3 is a schematic view of another sub-flow of a name storage method based on character conversion according to an embodiment of the present invention;
FIG. 4 is a schematic view of another sub-flow of a name storage method based on character conversion according to an embodiment of the present invention;
fig. 5 is another schematic flowchart of a name storage method based on character conversion according to an embodiment of the present invention;
FIG. 6 is a schematic view of another sub-flow of a name storage method based on character conversion according to an embodiment of the present invention;
FIG. 7 is a schematic view of another sub-flow chart of a name storage method based on character conversion according to an embodiment of the present invention;
FIG. 8 is a schematic block diagram of a name storage device based on character conversion provided by an embodiment of the present invention;
FIG. 9 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a flowchart illustrating a name storage method based on character conversion according to an embodiment of the present invention. The name storage method based on character conversion is applied to a user terminal, and is executed through application software installed in the user terminal, and the user terminal is terminal equipment, such as a desktop computer, a notebook computer, a tablet computer or a mobile phone, for executing the name storage method based on character conversion to finish name storage.
As shown in fig. 1, the method includes steps S110 to S140.
S110, if a new name input by a user is received, checking the new name according to a preset character checking model to obtain a checking result of whether the new name passes or not.
And if receiving a new name input by a user, verifying the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not. The character checking model comprises a code conversion rule and a regular expression. Because the Chinese characters are different from English, numeric and other character forms, when the Chinese characters are stored in the terminal equipment, the Chinese characters are converted into corresponding character codes, the character codes are stored in a binary mode, the corresponding Chinese characters are read from the terminal equipment, the stored character codes need to be obtained, and the character codes are analyzed through the corresponding relation between the character codes and the Chinese characters to obtain the Chinese characters. The code conversion rule can convert the characters contained in the newly added name to obtain the character code corresponding to each character, the regular expression can be used for verifying the character code obtained by conversion, and when a certain character is not verified, the obtained verification result is that the certain character is not verified; and when all the characters pass the verification, the obtained verification result is pass.
In one embodiment, as shown in FIG. 2, step S110 includes sub-steps S111 and S112.
And S111, converting each character in the newly added name into a corresponding character code according to the code conversion rule.
And converting each character in the newly added name into a corresponding character code according to the code conversion rule. Specifically, the code conversion rule includes a rule for converting each Chinese character and symbol, that is, each character corresponds to one character code, the code conversion rule is a rule for converting characters by using Unicode character set codes, and includes various conversion rules such as an UTF-8 coding mode, an UTF-16 coding mode and the like, the UTF-8 coding mode corresponds to character codes of common Chinese characters, UTF-8 facilitates the use of networks for transmitting characters of different languages and codes among different computers, the UTF-16 coding mode corresponds to character codes of other non-common Chinese characters except for UTF-8, the code conversion rule also includes character codes corresponding to symbols, and the character codes are represented by hexadecimal numbers.
For example, the new name includes a character "courage", and the character is converted by the transcoding rule to obtain a corresponding character code of "\ u52c 7".
S112, verifying the character codes corresponding to the new names according to the regular expressions to obtain a verification result of whether the new names pass or not.
And checking the character code corresponding to the new name according to the regular expression to obtain a check result whether the new name passes or not. The regular expression can be used for verifying the obtained character codes, and whether the newly added name conforms to the encoding mode of the conventional Chinese name or not can be verified through the obtained character codes.
Specifically, whether each character code corresponding to the new name belongs to the set of "\\ u3400- \ u4dbf + \ u00B 7" can be judged, wherein "\ u3400- \ u4 dbf" is a code range corresponding to the utf-8 coding mode, and "\\ u00B 7" is a character code corresponding to a symbol of "·" (a part of the Chinese name includes the symbol of "·", for example, buyouti-ai-force). If each character code corresponding to the newly added name belongs to the set, the newly added name passes verification; if the character code of the newly added name does not belong to the character codes of the characters in the set, the newly added name is not verified. If the new name passes the verification, the new name is indicated to conform to the encoding mode of the conventional Chinese name, and the new name can be directly stored.
And S120, if the verification result is that the character is not passed, acquiring the character which is not passed in the verification in the newly added name as a character to be replaced, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced.
If the verification result is that the character is not passed, acquiring the character which is not passed in the verification in the newly added name as a character to be replaced, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced. If the newly added name is not verified, namely the character code which is not verified exists in the character code corresponding to the newly added name, the newly added name is not in accordance with the encoding mode of the conventional Chinese name, namely the newly added name contains rare words which cannot be compatible in all terminal equipment, and the characters which are not in the set and in the character code of the newly added name are rare words. Specifically, the replacement character mapping set comprises a plurality of character mapping information, rarely-used words encountered in the actual application process are difficult to enumerate, the replacement character mapping set only comprises partial rarely-used words, characters which fail to pass the verification in the newly-added names are used as characters to be replaced, and whether the character mapping set comprises the character mapping information corresponding to the characters to be replaced is judged.
S130, if the character mapping information corresponding to the character to be replaced is contained in the replacing character mapping set, converting the character to be replaced into a replacing character according to the replacing character mapping set so as to obtain a first replacing name and storing the first replacing name.
If the character mapping set comprises character mapping information corresponding to the character to be replaced, converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name. If the character mapping set to be replaced contains the character mapping information corresponding to the character to be replaced, in order to avoid that the uncommon word in the newly added name is reported to be wrong due to abnormal processing when being processed in other terminal equipment, the uncommon word contained in the newly added name can be replaced through the character set to be replaced, namely, the character to be replaced is replaced to convert the newly added name into a name which accords with the encoding mode of the conventional Chinese name.
In an embodiment, as shown in fig. 3, step S130 includes sub-steps S131, S132, and S133.
S131, retrieving character mapping information contained in the replacement character mapping set according to the character code corresponding to the character to be replaced to obtain target character mapping information.
And retrieving the character mapping information contained in the replacement character mapping set according to the character code corresponding to the character to be replaced so as to obtain target character mapping information. The character mapping set is replaced by a character mapping set, the character mapping set comprises a plurality of character mapping information, one character mapping information is a mapping relation between the coding information corresponding to the uncommon word and the coding information corresponding to one mapping character, the uncommon word, namely the character to be replaced, contained in the new name is obtained, the character mapping information is retrieved based on the coding information of the uncommon word, and the target character mapping information corresponding to the uncommon word can be obtained. The rarely-used word has high similarity with the mapping character, the influence of replacing the rarely-used word by the mapping character on the newly-added name is small, and the rarely-used word can be compatibly processed by all terminal devices.
For example, some of the character mapping information in the replacement character mapping set is shown in table 1.
Figure BDA0002236031940000061
TABLE 1
S132, mapping the character to be replaced according to the target character mapping information to obtain a corresponding mapping character.
And mapping the character to be replaced according to the target character mapping information to obtain a corresponding mapping character. And the verification result is that the character codes which do not pass correspond to the uncommon words in the new name, and the mapping characters corresponding to the uncommon words can be obtained according to the mapping information of the target characters.
S133, replacing the characters corresponding to the mapping characters in the new name with the mapping characters to obtain a first replaced name.
And replacing the characters corresponding to the mapping characters in the new name with the mapping characters to obtain a first replaced name. Replacing the rarely-used word corresponding to the mapping character in the newly-added name with the mapping character to obtain a first replaced name, converting the first replaced name according to a code conversion rule to obtain a corresponding character code, and storing the obtained character code in a binary mode, namely storing the first replaced name.
For example, the obtained first alternative name is "royal xi", the character code obtained by converting the first alternative name by the code conversion rule is "\ u738b \ u 7199", and the hexadecimal character code is stored in a binary mode.
S140, if the character mapping information corresponding to the character to be replaced is not contained in the character mapping set, obtaining a replacing character corresponding to the character to be replaced according to a preset character replacing model to obtain a second replacing name and storing the second replacing name.
If the character mapping set does not contain the character mapping information corresponding to the character to be replaced, acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name. The character picture analysis model is a model used for analyzing the generated character picture to obtain a corresponding replacement character, and the character replacement model comprises a character picture generation model and a character picture analysis model. If the character mapping set does not contain the character mapping information corresponding to the character to be replaced, the rarely-used character which is not contained in the character mapping set exists in the newly-added name, and the character replacement model can be used for acquiring the replacement character corresponding to the character to be replaced so as to obtain a second replacement name corresponding to the newly-added name. The new names, the character codes and the like belong to text information, in order to identify and replace the rarely-used words which are not contained in the replacement character mapping set, a character picture corresponding to the rarely-used words needs to be generated, and the character picture generation model is a model for generating the character pictures corresponding to the rarely-used words.
In an embodiment, as shown in fig. 4, step S140 includes sub-steps S141, S142 and S143.
And S141, generating a character picture corresponding to the character to be replaced according to the character picture generation model.
And generating a character picture corresponding to the character to be replaced according to the character picture generation model. Specifically, a div element of a black-and-white character is created through a character picture generation model, the div element is an element for providing a structure and a background for the content of a large block (block-level) in an HTML (application under a standard universal markup language) document, text information (such as a "host") corresponding to a character to be replaced is added to the div element, a character picture corresponding to the character to be replaced can be generated through a Canvas plug-in, and the Canvas plug-in is a plug-in for generating an image in real time according to the content of a webpage in the HTML document.
And S142, analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced.
And analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced. Specifically, the character picture analysis model includes a feature vector extraction formula and a matching degree threshold, and the character picture analysis model also includes a feature vector corresponding to each standard character in the encoding range of "\ u3400- \ u4 dbf", that is, a picture feature vector corresponding to a character picture of each standard character.
In one embodiment, as shown in fig. 7, step S142 includes sub-steps S1421, S1422, S1423, S1424, and S1425.
S1421, calculating the character picture of the character to be replaced according to the feature vector extraction formula to obtain a feature vector of the character to be replaced; s1422, calculating the matching degree between the feature vector of the character to be replaced and the feature vector corresponding to each standard character; s1423, judging whether the number of standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero; s1424, if the number of the standard characters with the matching degree greater than the threshold value of the matching degree is greater than zero, acquiring the standard character with the highest matching degree as a replacement character corresponding to the character to be replaced; s1425, if the number of the standard characters with the matching degree greater than the threshold value of the matching degree is not greater than zero, taking the empty character as the replacement character corresponding to the character to be replaced.
For example, the resolution of the character picture corresponding to the character to be replaced is 100 × 100, and according to the calculation formula of the first convolution kernel in the feature vector extraction formula, convolution operation is performed with the resolution 20 × 20 as a window and the step length of 1 to obtain a vector matrix with the size of 81 × 81, that is, the shallow feature of the picture; according to a pooling calculation formula, performing down-sampling by taking the resolution ratio of 9 multiplied by 9 as a window and the step length of 9 to obtain a vector matrix with the size of 9 multiplied by 9, namely the deep level characteristics of the picture; according to a calculation formula in the 5 second convolution kernels, convolution operation is performed with a resolution of 3 × 3 as a window and a step size of 2 to obtain 5 vector matrices with a size of 4 × 4. Calculating the obtained 5 4 × 4 vector matrixes by using a first full-connection calculation formula, wherein the first full-connection calculation formula totally comprises five nodes, each node is associated with 14 × 4 vector matrix, namely, the values of the five nodes associated with 5 4 × 4 vector matrixes are calculated by using five calculation formulas respectively, and the first calculation formula can be represented as C1=w1×X1+b1Wherein, C1Is calculated for the first node, X1Is the value in the first vector matrix corresponding to the picture, w1And b1For the parameter values preset in the first calculation formula of the first node and the first vector matrix, five calculation formulas can be used for calculating five parameters associated with the corresponding vector matrix directionThe value of each node; calculating the values of the five nodes through a second full-connection calculation formula to obtain the final feature vector of the character picture, wherein the calculation formula is F1=a1×C1+a2×C2+a3×C3+a4×C4+a5×C5(ii) a Wherein C is1、C2、C3、C4、C5For the values of the five nodes associated with the vector matrix of the picture, a1、a2、a3、a4、a5The preset parameter values from five nodes to the final output node, because the 4 × 4 vector matrix contains 16 numerical values, the feature vector of the character picture finally obtained is a 1 × 16-dimensional vector matrix, and F can be adoptedx=(f1,f2……f16) To indicate. The feature vector of the standard character is also a 1 × 16-dimensional vector matrix calculated by the above method, and the matching degree between the feature vector of the character to be replaced and the corresponding feature vector of each standard character can be calculated by a calculation formula. Specifically, the degree of matching can be determined by P ═ 1- ((f)1-g1)2+(f2-g2)2+…+(f16-g16)2)/(g1 2+g2 2+…+g16 2) Wherein, the feature vector of the character picture is Fx=(f1,f2……f16) The feature vector of the standard character is G ═ G1,g2……g16)。
And S143, if the replacing characters are not empty characters, replacing the newly added name according to the replacing characters to obtain a second replacing name.
And if the replacing characters are not empty characters, replacing the newly-added name according to the replacing characters to obtain a second replacing name. If the replacing characters are not empty characters, each character to be replaced corresponds to a replacing character which is not empty, the corresponding character to be replaced in the newly added name is replaced according to the replacing characters, a second replacing name can be obtained, the second replacing name is converted according to the code conversion rule to obtain a corresponding character code, and the obtained character code is stored in a binary mode. If the replacing characters contain null characters, it indicates that one or more replacing characters corresponding to the characters to be replaced are null, and prompt information for processing abnormity can be fed back to the user at the moment.
In an embodiment, as shown in fig. 5, step S150 is further included after step S140.
S150, generating new character mapping information corresponding to the replacing characters contained in the second replacing name and adding the new character mapping information to the replacing character mapping set.
And generating new character mapping information corresponding to the replacing characters contained in the second replacing name and adding the new character mapping information to the replacing character mapping set. Because the rarely-used word which is not contained in the replacing character mapping set exists in the newly-added name, in order to avoid that the replacing character mapping set cannot acquire the corresponding target character mapping information when encountering the same rarely-used word again, the corresponding newly-added character mapping information can be acquired according to the acquired replacing character, and the newly-added character mapping information is added into the replacing character mapping set, so that when encountering the rarely-used word which corresponds to the replacing character again, the mapping character which corresponds to the rarely-used word can be acquired through the updated replacing character mapping set.
In one embodiment, as shown in fig. 6, step S150 includes sub-steps S151, S152, and S153.
And S151, acquiring a character code corresponding to the character to be replaced in the newly added name as first code information according to the code conversion rule.
And acquiring a character code corresponding to the character to be replaced in the newly added name as first code information according to the code conversion rule. Acquiring first coding information corresponding to the replacement character in the new name, namely acquiring a character code of the uncommon word corresponding to the replacement character in the new name as the first coding information, wherein the specific mode of acquiring the first coding information is the same as the mode of acquiring the character code, and the details are not repeated herein.
S152, acquiring a character code corresponding to the replacing character according to the code conversion rule to serve as second code information.
Acquiring the character code corresponding to the replaced character as second encoding information according to the code conversion rule, that is, acquiring the character code corresponding to the replaced character corresponding to the uncommon word in the new name as second encoding information, wherein the specific manner of acquiring the second encoding information is the same as that of acquiring the character code, and is not repeated herein.
S153, generating new adding character mapping information corresponding to the replacing character according to the corresponding relation between the first coding information and the second coding information.
And generating newly added character mapping information corresponding to the replaced character according to the corresponding relation between the first coding information and the second coding information. Specifically, the generated new character mapping information is the same as the character mapping information in table 1.
In the name storage method based on character conversion provided by the embodiment of the invention, a new name is checked according to a character check model to obtain a check result, if the check result does not pass, whether character mapping information corresponding to a character to be replaced is contained in a replacement character mapping set or not is judged, if the character mapping information contains the character mapping information corresponding to the character to be replaced, the character to be replaced is converted into a replacement character according to the replacement character mapping set to obtain a first replacement name, and the first replacement name is stored, and if the character mapping information does not contain the character mapping information corresponding to the character to be replaced, the replacement character corresponding to the character to be replaced is obtained according to a preset character replacement model. By the method, the replacing characters close to the uncommon word can be obtained to replace the uncommon word in the name to obtain the first replacing name or the second replacing name, the name containing the uncommon word can be conveniently stored, and the stored name has good compatibility.
The embodiment of the invention also provides a name storage device based on character conversion, which is used for executing any embodiment of the name storage method based on character conversion. Specifically, referring to fig. 8, fig. 8 is a schematic block diagram of a name storage device based on character conversion according to an embodiment of the present invention. The character conversion-based name storage device may be configured in a user terminal.
As shown in fig. 8, the character conversion-based name storage apparatus 100 includes a name verification unit 110, a judgment unit 120, a first alternative name acquisition unit 130, and a second alternative name acquisition unit 140.
And a name verification unit 110, configured to, if a new name input by a user is received, verify the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not.
In one embodiment, the name verification unit 110 includes: a character code acquisition unit 111 and a character code verification unit 112.
And the character code acquiring unit 111 is used for converting each character in the newly added name into a corresponding character code according to the code conversion rule. And the character code checking unit 112 is configured to check the character code corresponding to the new name according to the regular expression to obtain a check result of whether the new name passes through.
And the judging unit 120 is configured to, if the verification result is that the character is not passed, acquire the character that is not passed through in the new name as a character to be replaced, and judge whether a preset replacement character mapping set includes character mapping information corresponding to the character to be replaced.
A first replacement name obtaining unit 130, configured to, if the replacement character mapping set includes character mapping information corresponding to the character to be replaced, convert the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name, and store the first replacement name.
In one embodiment, the first alternative name obtaining unit 130 includes: a target character mapping information acquisition unit 131, a mapping character acquisition unit 132, and a mapping character replacement unit 133.
A target character mapping information obtaining unit 131, configured to retrieve the character mapping information included in the replacement character mapping set according to the character code corresponding to the character to be replaced, so as to obtain target character mapping information. A mapping character obtaining unit 132, configured to map the character to be replaced according to the target character mapping information, so as to obtain a corresponding mapping character. A mapping character replacing unit 133, configured to replace a character corresponding to the mapping character in the new name with the mapping character to obtain a first replaced name.
A second replacement name obtaining unit 140, configured to, if the character mapping set does not include the character mapping information corresponding to the character to be replaced, obtain a replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name, and store the second replacement name.
In one embodiment, the second alternative name obtaining unit 140 includes: a character picture acquisition unit 141, a character picture parsing unit 142, and a character replacement unit 143.
And a character picture obtaining unit 141, configured to generate a character picture corresponding to the character to be replaced according to the character picture generation model. And a character picture analyzing unit 142, configured to analyze the character picture according to the character picture analyzing model, so as to obtain a replacement character corresponding to the character to be replaced.
In an embodiment, the character picture parsing unit 142 includes: a feature vector obtaining unit 1421, a matching degree calculating unit 1422, a standard character number judging unit 1423, a first replacement character obtaining unit 1424, and a second replacement character obtaining unit 1425.
A feature vector obtaining unit 1421, configured to calculate the character picture of the character to be replaced according to the feature vector extraction formula, so as to obtain the feature vector of the character to be replaced. A matching degree calculating unit 1422, configured to calculate a matching degree between the feature vector of the character to be replaced and the feature vector corresponding to each standard character. A standard character number determining unit 1423, configured to determine whether the number of standard characters with the matching degree greater than the matching degree threshold is greater than zero. A first replacement character obtaining unit 1424, configured to, if the number of the standard characters whose matching degree with the character to be replaced is greater than the matching degree threshold is greater than zero, obtain a standard character with the highest matching degree as a replacement character corresponding to the character to be replaced. A second replacement character obtaining unit 1425, configured to, if the number of the standard characters whose matching degree with the character to be replaced is greater than the threshold matching degree is not greater than zero, take the null character as a replacement character corresponding to the character to be replaced.
And the character replacing unit 143 is configured to replace the newly added name according to the replacement character to obtain a second replacement name if the replacement character is not a null character.
In one embodiment, the character conversion-based name storage apparatus 100 further includes: a character mapping information adding unit 150.
A character mapping information adding unit 150, configured to generate new character mapping information corresponding to the replacement character included in the second replacement name, and add the new character mapping information to the replacement character mapping set.
In one embodiment, the character mapping information adding unit 150 includes a first encoding information obtaining unit 151, a second encoding information obtaining unit 152, and a added character mapping information generating unit 153.
A first encoding information obtaining unit 151, configured to obtain, as first encoding information, a character encoding corresponding to a character to be replaced in the newly added name according to the transcoding rule. A second encoding information obtaining unit 152, configured to obtain, as second encoding information, a character encoding corresponding to the replacement character according to the transcoding rule. A newly added character mapping information generating unit 153, configured to generate newly added character mapping information corresponding to the replaced character according to the correspondence between the first encoding information and the second encoding information.
The name storage device based on character conversion provided by the embodiment of the invention is used for executing the name storage method based on character conversion, the newly added name is checked according to the character check model to obtain the check result, if the check result does not pass, whether the character mapping information corresponding to the character to be replaced is contained in the replacement character mapping set or not is judged, if the character mapping information contains the character mapping information corresponding to the character to be replaced, the character to be replaced is converted into the replacement character according to the replacement character mapping set to obtain the first replacement name and stored, and if the character mapping information does not contain the replacement character corresponding to the character to be replaced according to the preset character replacement model, the second replacement name is obtained and stored. By the method, the replacing characters close to the uncommon word can be obtained to replace the uncommon word in the name to obtain the first replacing name or the second replacing name, the name containing the uncommon word can be conveniently stored, and the stored name has good compatibility.
The above-described name storage means based on character conversion may be implemented in the form of a computer program that can be run on a computer device as shown in fig. 9.
Referring to fig. 9, fig. 9 is a schematic block diagram of a computer device according to an embodiment of the present invention.
Referring to fig. 9, the computer device 500 includes a processor 502, memory, and a network interface 505 connected by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a name storage method based on character conversion.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the execution of the computer program 5032 in the nonvolatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be caused to execute a name storage method based on character conversion.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following functions: if receiving a new name input by a user, verifying the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not; if the verification result is that the character is not passed, acquiring the character which is not passed through the verification in the newly added name as a character to be replaced, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced or not; if the character mapping set comprises character mapping information corresponding to the character to be replaced, converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name; if the character mapping set does not contain the character mapping information corresponding to the character to be replaced, acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name.
In an embodiment, when the processor 502 performs the step of verifying the new name according to a preset character verification model to obtain a verification result that whether the new name passes or not when receiving the new name input by the user, the following operations are performed: converting each character in the newly added name into a corresponding character code according to the code conversion rule; and checking the character code corresponding to the new name according to the regular expression to obtain a check result whether the new name passes or not.
In an embodiment, when the processor 502 performs the steps of, if the character mapping information corresponding to the character to be replaced is included in the replacement character mapping set, converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name, performing the following operations: retrieving character mapping information contained in the replacement character mapping set according to the character code corresponding to the character to be replaced to obtain target character mapping information; mapping the character to be replaced according to the target character mapping information to obtain a corresponding mapping character; and replacing the characters corresponding to the mapping characters in the new name with the mapping characters to obtain a first replaced name.
In an embodiment, when performing the step of obtaining a replacement character corresponding to the character to be replaced according to a preset character replacement model if the character mapping information corresponding to the character to be replaced is not included in the replacement character mapping set, so as to obtain a second replacement name and store the second replacement name, the processor 502 performs the following operations: generating a character picture corresponding to the character to be replaced according to the character picture generation model; analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced; and if the replacing characters are not empty characters, replacing the newly-added name according to the replacing characters to obtain a second replacing name.
In an embodiment, after the processor 502 performs the step of obtaining the replacement character corresponding to the character to be replaced according to a preset character replacement model if the character mapping set does not include the character mapping information corresponding to the character to be replaced, so as to obtain a second replacement name and store the second replacement name, the following operations are further performed: and generating new character mapping information corresponding to the replacing characters contained in the second replacing name and adding the new character mapping information to the replacing character mapping set.
In an embodiment, the processor 502 performs the following operations when performing the step of generating and adding new character mapping information corresponding to the replacement character included in the second replacement name to the replacement character mapping set: acquiring a character code corresponding to a character to be replaced in the newly added name as first code information according to the code conversion rule; acquiring a character code corresponding to the replacement character according to the code conversion rule as second coding information; and generating newly added character mapping information corresponding to the replaced character according to the corresponding relation between the first coding information and the second coding information.
In an embodiment, when the processor 502 performs the step of parsing the character picture according to the character picture parsing model to obtain a replacement character corresponding to the character to be replaced, the following operations are performed: calculating the character picture of the character to be replaced according to the feature vector extraction formula to obtain the feature vector of the character to be replaced; calculating the matching degree between the feature vector of the character to be replaced and the feature vector corresponding to each standard character; judging whether the number of standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero or not; if the number of the standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero, acquiring the standard character with the highest matching degree as a replacement character corresponding to the characters to be replaced; and if the number of the standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is not larger than zero, taking the empty characters as the replacing characters corresponding to the characters to be replaced.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 9 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 9, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable gate arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer readable storage medium may be a non-volatile computer readable storage medium. The computer-readable storage medium stores a computer program, wherein the computer program when executed by a processor implements the steps of: if receiving a new name input by a user, verifying the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not; if the verification result is that the character is not passed, acquiring the character which is not passed through the verification in the newly added name as a character to be replaced, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced or not; if the character mapping set comprises character mapping information corresponding to the character to be replaced, converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name; if the character mapping set does not contain the character mapping information corresponding to the character to be replaced, acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name.
In an embodiment, the step of verifying, if a new name input by a user is received, the new name according to a preset character verification model to obtain a verification result that whether the new name passes or not includes: converting each character in the newly added name into a corresponding character code according to the code conversion rule; and checking the character code corresponding to the new name according to the regular expression to obtain a check result whether the new name passes or not.
In an embodiment, if the replacement character mapping set includes character mapping information corresponding to the character to be replaced, the step of converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name includes: retrieving character mapping information contained in the replacement character mapping set according to the character code corresponding to the character to be replaced to obtain target character mapping information; mapping the character to be replaced according to the target character mapping information to obtain a corresponding mapping character; and replacing the characters corresponding to the mapping characters in the new name with the mapping characters to obtain a first replaced name.
In an embodiment, if the character mapping set does not include the character mapping information corresponding to the character to be replaced, the step of obtaining the replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name includes: generating a character picture corresponding to the character to be replaced according to the character picture generation model; analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced; and if the replacing characters are not empty characters, replacing the newly-added name according to the replacing characters to obtain a second replacing name.
In an embodiment, after the step of obtaining the replacement character corresponding to the character to be replaced according to a preset character replacement model if the character mapping information corresponding to the character to be replaced is not included in the replacement character mapping set, so as to obtain a second replacement name and store the second replacement name, the method further includes: and generating new character mapping information corresponding to the replacing characters contained in the second replacing name and adding the new character mapping information to the replacing character mapping set.
In an embodiment, the step of generating and adding new character mapping information corresponding to the replacement character included in the second replacement name to the replacement character mapping set includes: acquiring a character code corresponding to a character to be replaced in the newly added name as first code information according to the code conversion rule; acquiring a character code corresponding to the replacement character according to the code conversion rule as second coding information; and generating newly added character mapping information corresponding to the replaced character according to the corresponding relation between the first coding information and the second coding information.
In an embodiment, the step of analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced includes: calculating the character picture of the character to be replaced according to the feature vector extraction formula to obtain the feature vector of the character to be replaced; calculating the matching degree between the feature vector of the character to be replaced and the feature vector corresponding to each standard character; judging whether the number of standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero or not; if the number of the standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero, acquiring the standard character with the highest matching degree as a replacement character corresponding to the characters to be replaced; and if the number of the standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is not larger than zero, taking the empty characters as the replacing characters corresponding to the characters to be replaced.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a computer-readable storage medium, which includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned computer-readable storage media comprise: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-only memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A name storage method based on character conversion is applied to a user terminal and is characterized by comprising the following steps:
if receiving a new name input by a user, verifying the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not;
if the verification result is that the character is not passed, acquiring the character which is not passed through the verification in the newly added name as a character to be replaced, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced or not;
if the character mapping set comprises character mapping information corresponding to the character to be replaced, converting the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name;
if the character mapping set does not contain the character mapping information corresponding to the character to be replaced, acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name.
2. The name storage method based on character conversion according to claim 1, wherein the character verification model includes a code conversion rule and a regular expression, and the verifying the new name according to a preset character verification model to obtain a verification result of whether the new name passes or not includes:
converting each character in the newly added name into a corresponding character code according to the code conversion rule;
and checking the character code corresponding to the new name according to the regular expression to obtain a check result whether the new name passes or not.
3. The method for storing names based on character conversion according to claim 1, wherein converting the characters to be replaced into replacement characters according to the replacement character mapping set to obtain a first replacement name and storing the first replacement name comprises:
retrieving character mapping information contained in the replacement character mapping set according to the character code corresponding to the character to be replaced to obtain target character mapping information;
mapping the character to be replaced according to the target character mapping information to obtain a corresponding mapping character;
and replacing the characters corresponding to the mapping characters in the new name with the mapping characters to obtain a first replaced name.
4. The name storage method based on character conversion according to claim 1, wherein the character replacement model includes a character image generation model and a character image analysis model, and the obtaining of the replacement character corresponding to the character to be replaced according to a preset character replacement model to obtain a second replacement name and storing the second replacement name includes:
generating a character picture corresponding to the character to be replaced according to the character picture generation model;
analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced;
and if the replacing characters are not empty characters, replacing the newly-added name according to the replacing characters to obtain a second replacing name.
5. The character-conversion-based name storage method according to claim 4, further comprising:
and generating new character mapping information corresponding to the replacing characters contained in the second replacing name and adding the new character mapping information to the replacing character mapping set.
6. The method for storing names based on character conversion according to claim 5, wherein the generating and adding new character mapping information corresponding to the replacement characters included in the second replacement name to the replacement character mapping set comprises:
acquiring a character code corresponding to a character to be replaced in the newly added name as first code information according to the code conversion rule;
acquiring a character code corresponding to the replacement character according to the code conversion rule as second coding information;
and generating newly added character mapping information corresponding to the replaced character according to the corresponding relation between the first coding information and the second coding information.
7. The method for storing names based on character conversion according to claim 4, wherein the character picture analysis model includes a feature vector extraction formula, a matching degree threshold and a feature vector corresponding to each standard character, and the analyzing the character picture according to the character picture analysis model to obtain a replacement character corresponding to the character to be replaced includes:
calculating the character picture of the character to be replaced according to the feature vector extraction formula to obtain the feature vector of the character to be replaced;
calculating the matching degree between the feature vector of the character to be replaced and the feature vector corresponding to each standard character;
judging whether the number of standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero or not;
if the number of the standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is larger than zero, acquiring the standard character with the highest matching degree as a replacement character corresponding to the characters to be replaced;
and if the number of the standard characters with the matching degree larger than the threshold value of the matching degree between the standard characters and the characters to be replaced is not larger than zero, taking the empty characters as the replacing characters corresponding to the characters to be replaced.
8. A name storage apparatus based on character conversion, comprising:
the name verification unit is used for verifying the newly added name according to a preset character verification model to obtain a verification result of whether the newly added name passes or not if the newly added name input by the user is received;
the judging unit is used for acquiring the character which is not checked in the newly added name as the character to be replaced if the checking result is not passed, and judging whether a preset replacement character mapping set contains character mapping information corresponding to the character to be replaced or not;
a first replacement name obtaining unit, configured to, if the replacement character mapping set includes character mapping information corresponding to the character to be replaced, convert the character to be replaced into a replacement character according to the replacement character mapping set to obtain a first replacement name, and store the first replacement name;
and the second replacement name acquisition unit is used for acquiring a replacement character corresponding to the character to be replaced according to a preset character replacement model if the character mapping information corresponding to the character to be replaced is not contained in the replacement character mapping set, so as to obtain a second replacement name and store the second replacement name.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the character conversion-based name storage method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to execute the character conversion-based name storing method according to any one of claims 1 to 7.
CN201910983727.9A 2019-10-16 2019-10-16 Name storage method and device based on character conversion and computer equipment Pending CN111046631A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910983727.9A CN111046631A (en) 2019-10-16 2019-10-16 Name storage method and device based on character conversion and computer equipment
PCT/CN2019/118235 WO2021072872A1 (en) 2019-10-16 2019-11-14 Name storage method and apparatus based on character conversion, and computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910983727.9A CN111046631A (en) 2019-10-16 2019-10-16 Name storage method and device based on character conversion and computer equipment

Publications (1)

Publication Number Publication Date
CN111046631A true CN111046631A (en) 2020-04-21

Family

ID=70232308

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910983727.9A Pending CN111046631A (en) 2019-10-16 2019-10-16 Name storage method and device based on character conversion and computer equipment

Country Status (2)

Country Link
CN (1) CN111046631A (en)
WO (1) WO2021072872A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444680A (en) * 2020-04-25 2020-07-24 中信银行股份有限公司 Rarely-used word encoding expansion method and device, storage medium and electronic equipment
WO2022001408A1 (en) * 2020-06-28 2022-01-06 荣耀终端有限公司 Character display method, character display apparatus, and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608064A (en) * 2015-11-24 2016-05-25 小米科技有限责任公司 Character replacement method and apparatus
CN108287811A (en) * 2017-01-10 2018-07-17 阿里巴巴集团控股有限公司 A kind of character check method and device
CN110135530A (en) * 2019-05-16 2019-08-16 京东方科技集团股份有限公司 Convert method and system, computer equipment and the medium of Chinese character style in image

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831232B (en) * 2012-08-30 2015-12-16 山石网科通信技术有限公司 The matching process of character string and device
CN108629046B (en) * 2018-05-14 2023-08-18 平安科技(深圳)有限公司 Field matching method and terminal equipment
CN109800339A (en) * 2018-12-13 2019-05-24 平安普惠企业管理有限公司 Regular expression generation method, device, computer equipment and storage medium
CN110222617A (en) * 2019-05-29 2019-09-10 四川译讯信息科技有限公司 A kind of pdf document restorative procedure and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105608064A (en) * 2015-11-24 2016-05-25 小米科技有限责任公司 Character replacement method and apparatus
CN108287811A (en) * 2017-01-10 2018-07-17 阿里巴巴集团控股有限公司 A kind of character check method and device
CN110135530A (en) * 2019-05-16 2019-08-16 京东方科技集团股份有限公司 Convert method and system, computer equipment and the medium of Chinese character style in image

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111444680A (en) * 2020-04-25 2020-07-24 中信银行股份有限公司 Rarely-used word encoding expansion method and device, storage medium and electronic equipment
CN111444680B (en) * 2020-04-25 2023-05-16 中信银行股份有限公司 Encoding expansion method and device for rarely used words, storage medium and electronic equipment
WO2022001408A1 (en) * 2020-06-28 2022-01-06 荣耀终端有限公司 Character display method, character display apparatus, and terminal device

Also Published As

Publication number Publication date
WO2021072872A1 (en) 2021-04-22

Similar Documents

Publication Publication Date Title
CN115203380B (en) Text processing system and method based on multi-mode data fusion
CN114676704B (en) Sentence emotion analysis method, device and equipment and storage medium
CN111382271B (en) Training method and device of text classification model, text classification method and device
CN111126045A (en) Text error correction method and device
CN114676695B (en) Text statement processing method, device and equipment based on emotion analysis
CN112434131A (en) Text error detection method and device based on artificial intelligence, and computer equipment
CN111046631A (en) Name storage method and device based on character conversion and computer equipment
CN110990276A (en) Automatic testing method and device for interface field and storage medium
CN111694572A (en) Code format conversion method, device, computer equipment and storage medium
CN112328876A (en) Electronic card generation and pushing method and device based on knowledge graph
WO2023039942A1 (en) Element information extraction method and apparatus based on text recognition, device, and medium
CN113051894A (en) Text error correction method and device
CN109582775B (en) Information input method, device, computer equipment and storage medium
CN113434672B (en) Text type intelligent recognition method, device, equipment and medium
CN113239668B (en) Keyword intelligent extraction method and device, computer equipment and storage medium
CN113761845A (en) Text generation method and device, storage medium and electronic equipment
CN112800217A (en) Vector relevance matrix-based intelligent assessment method for government affair transaction processing report
CN116703659A (en) Data processing method and device applied to engineering consultation and electronic equipment
CN111581987A (en) Disease classification code recognition method, device and storage medium
CN116168403A (en) Medical data classification model training method, classification method, device and related medium
CN112417020B (en) Service expansion realization method, device, computer equipment and storage medium
CN114462381A (en) Data processing method, device, equipment and storage medium
CN114065777A (en) Bilingual corpus detection method, equipment and computer readable medium
US20190258946A1 (en) Question inference device
CN112256953A (en) Query rewriting method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination