Certificate content error correction method, device and system
By replacing the administrative division code and fuzzy search technology of the registration management agency, the problem of identification errors of the unified social credit code has been solved, the identification accuracy and tolerance have been improved, and the accuracy of the information on the license content has been ensured.
Patent Information
- Application Number
- CN202011190891.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-30
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-10-30
AI Technical Summary
When the existing system identifies the content of business licenses, the recognition error rate of the unified social credit code is high, resulting in incorrect characters before and after the recognized code, making it impossible to accurately query the industrial and commercial database, resulting in incorrect information on the license content.
By using the administrative division code of the registration management organ to replace the administrative division code of the registration management organ in the original unified social credit code, verification and search are carried out, combined with the fuzzy search engine to improve the tolerance of identification errors, and the similarity of the license content information is calculated to select the correct content. .
It improves the accuracy and tolerance of unified social credit code identification, ensures the accuracy of certificate content information, and reduces system errors caused by identification errors.
Smart Images

Figure CN112364630B
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device and system for correcting errors in certificate content. Background Art
[0002] In financial business, such as when an enterprise applies for a loan from a financial institution, it is necessary to enter the business license content provided by the enterprise into the system for subsequent risk management processes. Using machine automation to identify the business license content instead of manual entry can greatly reduce the entry cost and improve the entry efficiency.
[0003] The existing system first detects the text content of the business license and then identifies the detected content. After the identification is completed, the unified social credit code and company name are extracted using the spatial location and text content information. The unified social credit code and company name are then used as unique identifiers to query the license content information in the industrial and commercial database. The license content information includes not only the unified social credit code and company name, but also the date of establishment, business term, registered capital, business scope, domicile, company type and legal representative. If the query is successful, the license content information in the industrial and commercial database is obtained.
[0004] The recognition error rate of content increases exponentially with the length. For the 18-digit unified social credit code, even if the accuracy of a single character is 99%, the overall accuracy is only 0.99. 18 =0.835, the overall accuracy of the recognized unified social credit code is low; in addition, when recognizing the unified social credit code, due to recognition errors, wrong characters will be added before or after the recognized unified social credit code, causing the recognized unified social credit code to be greater than 18 digits. The above two situations will make it impossible to query the license content information from the industrial and commercial database based on the unified social credit code, and only the initial recognition content of the business license can be stored in the system, which ultimately causes the license content information in the system to be wrong. Summary of the invention
[0005] The present application provides a method, device and system for correcting errors in certificate content, which can correct errors in the identified unified social credit code and improve the tolerance for errors in the identification of the unified social credit code.
[0006] This application provides the following solutions:
[0007] A first aspect provides a method for correcting errors in certificate content, the method comprising:
[0008] Obtain the corresponding target registration and management authority administrative division code based on the address in the certificate content identification information, use the target registration and management authority administrative division code to replace the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information, and verify the modified original unified social credit code;
[0009] If the verification fails, searching the industrial and commercial database according to the modified original unified social credit code to obtain the corresponding target license content information, the target license content information includes the unified social credit code, address, enterprise name and basic enterprise information;
[0010] If the verification is passed, a search is performed in the industrial and commercial database based on the modified original unified social credit code and the company name in the certificate content identification information to obtain the corresponding target certificate content information.
[0011] Further,
[0012] Before obtaining the corresponding administrative division code of the target registration management authority according to the residence in the certificate content identification information, the method further includes:
[0013] Sequentially select a preset number of characters from the first digit of the original unified social credit code in the certificate content identification information as the target unified social credit code for verification;
[0014] If the verification fails, a preset number of digits of characters are selected sequentially from the second digit of the original unified social credit code as the target unified social credit code for verification. If the verification fails, the process is repeated until the selected preset number of digits of characters pass the verification or the last preset number of digits of characters in the original unified social credit code are verified.
[0015] Further,
[0016] The step of obtaining the corresponding target registration and management authority administrative division code according to the residence in the certificate content identification information, replacing the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information with the target registration and management authority administrative division code, and verifying the modified original unified social credit code includes:
[0017] If the verification fails when verifying the last preset digits of characters in the original unified social credit code, the characters of the preset digits are sequentially selected from the first digit of the original unified social credit code as the target unified social credit code, and the corresponding target registration and management authority administrative division code is obtained according to the residence in the certificate content identification information, and the registration and management authority administrative division code in the target unified social credit code is replaced with the target registration and management authority administrative division code, and the first two digits of the target unified social credit code are modified to preset values, and the modified target unified social credit code is verified;
[0018] If the verification fails, a preset number of digits of characters are selected in sequence starting from the second digit of the original unified social credit code as the target unified social credit code, and the administrative division code of the registration management authority in the target unified social credit code is replaced by the administrative division code of the target registration management authority. At the same time, the first two digits of the target unified social credit code are modified to preset values, and the modified target unified social credit code is verified. If the verification fails, the process is repeated until the modified target unified social credit code passes the verification or the modified target unified social credit code consisting of the last preset number of digits of characters in the original unified social credit code is verified.
[0019] Further,
[0020] If the verification fails, searching the industrial and commercial database according to the modified unified social credit code to obtain the corresponding target license content information includes:
[0021] If the modified target unified social credit code composed of the last preset digits of characters in the original unified social credit code fails verification, the last preset digits of characters in the original unified social credit code are used as the target unified social credit code, and the administrative division code of the registration management authority in the target unified social credit code is replaced with the administrative division code of the target registration management authority. According to the modified target unified social credit code, an accurate search is performed in the industrial and commercial database to obtain the corresponding target license content information;
[0022] If the target certificate content information is not found, a fuzzy search engine is used to search in the industrial and commercial database according to a preset edit distance to obtain the corresponding target certificate content information.
[0023] Furthermore, the method further comprises:
[0024] Calculating the similarity between the certificate content identification information and the corresponding contents in the target certificate content information respectively;
[0025] If the similarity is greater than a preset threshold, the content in the target certificate content information is selected for use; if the similarity is less than the preset threshold, the content in the certificate content identification information is selected for use.
[0026] Further, the respectively calculating the similarity between the certificate content identification information and the corresponding contents in the target certificate content information comprises:
[0027] The similarity between the establishment date, business term, registered capital, business scope, address, company name, company type and legal representative corresponding to the license content identification information and the target license content information is calculated respectively.
[0028] Furthermore, the calculating of the similarity of the establishment date, business term, registered capital, business scope, address, enterprise name, enterprise type and legal representative corresponding to the certificate content identification information and the target certificate content information comprises:
[0029] Calculate the similarity of the corresponding establishment date, business term and registered capital in the license content identification information and the target license content information respectively by using the edit distance algorithm;
[0030] Using the Jaccard distance algorithm, respectively, calculate the similarity between the business scope and residence corresponding to the license content identification information and the target license content information;
[0031] After removing the fixed characters in the corresponding enterprise name and enterprise type in the certificate content identification information and the target certificate content information, the similarity between the corresponding enterprise name and enterprise type in the certificate content identification information and the target certificate content information is calculated using the Jaccard distance algorithm;
[0032] The similarity between the certificate content identification information and the corresponding legal representative in the target certificate content information is calculated using a preset glyph similarity algorithm.
[0033] Furthermore, different thresholds are preset for the similarity between the corresponding establishment date, business term, registered capital, business scope, domicile, company name, company type and legal representative in the certificate content identification information and the target certificate content information.
[0034] A second aspect of the present application provides a certificate content error correction device, the device comprising:
[0035] A verification unit, used to obtain the corresponding target registration and management authority administrative division code according to the residence in the certificate content identification information, replace the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information with the target registration and management authority administrative division code, and verify the modified original unified social credit code;
[0036] A first acquisition unit is used to search in the industrial and commercial database according to the modified original unified social credit code to acquire the corresponding target license content information if the verification fails, and the target license content information includes the unified social credit code, address, enterprise name and basic enterprise information;
[0037] The second acquisition unit is used to search in the industrial and commercial database according to the modified original unified social credit code and the enterprise name in the certificate content identification information to obtain the corresponding target certificate content information if the verification is passed.
[0038] A third aspect of the present application provides a computer system, the system comprising:
[0039] one or more processors; and
[0040] A memory associated with the one or more processors, the memory is used to store program instructions, and when the program instructions are read and executed by the one or more processors, the method as described above is executed.
[0041] According to the specific embodiments provided by the present application, the present application discloses the following technical effects: the 9th to 17th digits of the unified social credit code are the subject identification code (organization code), wherein the 17th digit is used to verify the subject identification code, and the 18th digit of the unified social credit code is the check code, which is used to verify the unified social credit code. Therefore, the last two digits of the unified social credit code can be directly used to verify the unified social credit code, and the corresponding target registration and management authority administrative division code is obtained according to the residence, and the target registration and management authority administrative division code is used to replace the registration and management authority administrative division code in the original unified social credit code, and the modified original unified social credit code is verified; avoid the failure of the identified unified social credit code to pass the verification due to the error of the registration and management authority administrative division code in the identified unified social credit code; if the original unified social credit code still fails to pass the verification after modification, the modified original unified social credit code is searched in the industrial and commercial database to obtain the corresponding target certificate content information. Since the registration and management authority administrative division code is correct, the search accuracy can be improved by searching again, and the tolerance for the unified social credit code recognition error is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0043] Figure 1 A flow chart of the method for correcting errors in certificate content provided in Example 1 of the present application is shown;
[0044] Figure 2 The structure diagram of the certificate content error correction device provided in Example 2 of the present application is shown;
[0045] Figure 3 A computer system structure diagram provided in Example 3 of the present application is shown. DETAILED DESCRIPTION
[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0047] As described in the background art, for an 18-digit unified social credit code, even if the accuracy of a single character is 99%, the overall accuracy is only 0.99. 18 =0.835, the overall accuracy of the recognized unified social credit code is low; in addition, when recognizing the unified social credit code, due to recognition errors, wrong characters will be added before or after the recognized unified social credit code, causing the recognized unified social credit code to be greater than 18 digits. The above two situations will make it impossible to query the license content information from the industrial and commercial database based on the unified social credit code, and only the initial recognition content of the business license can be stored in the system, which ultimately causes the license content information in the system to be wrong.
[0048] To this end, the present application proposes a method for correcting errors in certificate content, wherein the 9th to 17th digits of the unified social credit code are the subject identification code (organization code), wherein the 17th digit is used to verify the subject identification code, and the 18th digit of the unified social credit code is the check code, which is used to verify the unified social credit code, so the last two digits of the unified social credit code can be directly used to verify the unified social credit code; the corresponding target registration and management authority administrative division code is obtained according to the residence, and the registration and management authority administrative division code in the unified social credit code is replaced with the target registration and management authority administrative division code, and the modified unified social credit code is verified; to avoid the failure of the identified unified social credit code to pass the verification due to an error in the registration and management authority administrative division code in the identified unified social credit code; if the unified social credit code still fails to pass the verification after modification, a search is performed in the industrial and commercial database according to the modified unified social credit code to obtain the corresponding target certificate content information, and since the registration and management authority administrative division code is correct, the search accuracy can be improved by searching again, and the tolerance for unified social credit code recognition errors is improved.
[0049] Example 1
[0050] An embodiment of the present application provides a certificate content correction method, which is illustrated by applying the method to a certificate content correction device. The device can be configured in any computer device so that the computer device can execute the certificate content correction method.
[0051] like Figure 1 As shown, the above method includes:
[0052] S11. Obtain the corresponding target registration and management authority administrative division code according to the residence in the certificate content identification information, use the target registration and management authority administrative division code to replace the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information, and verify the modified original unified social credit code;
[0053] The certificate content identification information is obtained by identifying the text content of the business license. Therefore, the certificate content identification information is not always accurate. The unified social credit code, address and company name included in it may be wrong. In particular, when the unified social credit code and company name are needed as unique identifiers to query the certificate content information in the industrial and commercial database, the correctness of the unified social credit code needs to be ensured. For example, assuming that the original unified social credit code identified is 91333300MA0K75990X, the corresponding target registration management authority administrative division code is obtained according to the residence, the residence is Taiyuan City, Shanxi Province, the city to which the residence belongs is Taiyuan City, and the Taiyuan administrative division code is 140100. 140100 is used to replace the registration management authority administrative division code 333300 in the identified original unified social credit code. The modified original unified social credit code is 91140100MA0K75990X. The modified original unified social credit code is verified. The 9th to 17th digits of the unified social credit code are the subject identification code (organization code), of which the 17th digit is used to verify the subject identification code. The 18th digit of the unified social credit code is the check code, which is used to verify the unified social credit code. Therefore, the last two digits of the unified social credit code can be directly used to verify the unified social credit code to determine the correctness of the unified social credit code.
[0054] S12. If the verification fails, searching the industrial and commercial database according to the modified original unified social credit code to obtain the corresponding target license content information, wherein the target license content information includes the unified social credit code, address, enterprise name and basic enterprise information;
[0055] If the modified original unified social credit code still fails to pass the verification, a search will be conducted in the industrial and commercial database based on the modified original unified social credit code to obtain the corresponding target license content information. The target license content information includes the unified social credit code, address, company name and basic company information. The basic company information includes establishment date, business term, registered capital, business scope, company type and legal representative.
[0056] S13. If the verification is passed, search the industrial and commercial database according to the modified original unified social credit code and the enterprise name in the certificate content identification information to obtain the corresponding target certificate content information.
[0057] If the verification is passed, it means that the modified original unified social credit code is correct. According to the modified original unified social credit code and the company name in the certificate content identification information, a search is performed in the industrial and commercial database to obtain the corresponding target certificate content information. The search in the industrial and commercial database is first performed with a precise search. Under normal circumstances, it can be searched, but there is still a very small probability that the unified social credit code that has passed the verification is wrong. Therefore, if a precise search is not possible, a fuzzy search engine is used to search in the industrial and commercial database according to the preset editing distance to obtain the corresponding target certificate content information.
[0058] Before obtaining the corresponding administrative division code of the target registration management authority according to the residence in the certificate content identification information, the method further includes:
[0059] Sequentially select a preset number of characters from the first digit of the original unified social credit code in the certificate content identification information as the target unified social credit code for verification;
[0060] If the verification fails, a preset number of digits of characters are selected sequentially from the second digit of the original unified social credit code as the target unified social credit code for verification. If the verification fails, the process is repeated until the selected preset number of digits of characters pass the verification or the last preset number of digits of characters in the original unified social credit code are verified.
[0061] When identifying the unified social credit code, due to recognition errors, erroneous characters may be added before or after the original unified social credit code, causing the original unified social credit code to be greater than 18 digits. Therefore, it is necessary to select a preset number of characters from the first digit of the original unified social credit code as the target unified social credit code for verification. Since the current unified social credit code has 18 digits, the preset number of characters is 18 characters. If the verification fails, 18 characters are selected from the second digit of the original unified social credit code for verification. If the verification still fails, 18 characters are selected in sequence for verification until the selected 18 characters pass the verification, or the last 18 characters of the original unified social credit code are selected and verified.
[0062] The step of obtaining the corresponding target registration and management authority administrative division code according to the residence in the certificate content identification information, replacing the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information with the target registration and management authority administrative division code, and verifying the modified original unified social credit code includes:
[0063] If the verification fails when verifying the last preset digits of characters in the original unified social credit code, the characters of the preset digits are sequentially selected from the first digit of the original unified social credit code as the target unified social credit code, and the corresponding target registration and management authority administrative division code is obtained according to the residence in the certificate content identification information, and the registration and management authority administrative division code in the target unified social credit code is replaced with the target registration and management authority administrative division code, and the first two digits of the target unified social credit code are modified to preset values, and the modified target unified social credit code is verified;
[0064] If the verification fails, a preset number of digits of characters are selected in sequence starting from the second digit of the original unified social credit code as the target unified social credit code, and the administrative division code of the registration management authority in the target unified social credit code is replaced by the administrative division code of the target registration management authority. At the same time, the first two digits of the target unified social credit code are modified to preset values, and the modified target unified social credit code is verified. If the verification fails, the process is repeated until the modified target unified social credit code passes the verification or the modified target unified social credit code consisting of the last preset number of digits of characters in the original unified social credit code is verified.
[0065] If the verification fails when the last 18 characters of the original unified social credit code are verified, 18 characters are sequentially selected from the first digit of the original unified social credit code as the target unified social credit code, and the corresponding target registration management authority administrative division code is obtained according to the residence, and the registration management authority administrative division code in the target unified social credit code is replaced with the target registration management authority administrative division code. For example, assuming that the correct unified social credit code is 91140100MA0K75990X, but the identified unified social credit code is 0091333300MA0K75990X, select 18 digits 0091333300MA0K7599 from the first digit, and replace 913333 with 140100. The first two digits of the target unified social credit code are modified to preset values. Since the first two digits of the unified social credit code can only be 91, 92, 93 and 99, they are modified to 91, 92, 93 and 99, that is, the target unified social credit code is modified to 9114010000MA0K7599. If the verification fails, it is modified to 9214010000MA0K7599. If the verification fails, it is modified to 9314010000MA0K7599. If the verification fails, it is modified to 9914010000MA0K7599. Here, it is not limited to modifying the first two digits of the target unified social credit code to 91 first. One of them can also be randomly selected each time the modification is made until the modified target unified social credit code passes the verification or all four are selected;
[0066] The modified target unified social credit code fails verification. Starting from the second digit of the original unified social credit code, 18 digits are selected in sequence as the target unified social credit code 091333300MA0K75990. Similarly, 140100 is used to replace 913333. At the same time, the first two digits of the target unified social credit code are modified to 91, 92, 93 and 99. The modified target unified social credit code is verified respectively. If the verification fails, the 18 digits are selected in sequence from the third digit of the original unified social credit code. Take 18 digits as the target unified social credit code 91333300MA0K75990X. When 913333 is replaced by 140100 and the first two digits of the target unified social credit code are changed to 91, the target unified social credit code 91140100MA0K75990X passes the verification. If the modified target unified social credit code still fails the verification, since 91140100MA0K75990X is the last 18 digits of the unified social credit code, the verification ends here.
[0067] If the verification fails, searching the industrial and commercial database according to the modified unified social credit code to obtain the corresponding target license content information includes:
[0068] If the modified target unified social credit code composed of the last preset digits of characters in the original unified social credit code fails verification, the last preset digits of characters in the original unified social credit code are used as the target unified social credit code, and the administrative division code of the registration management authority in the target unified social credit code is replaced with the administrative division code of the target registration management authority. According to the modified target unified social credit code, an accurate search is performed in the industrial and commercial database to obtain the corresponding target license content information;
[0069] If the target certificate content information is not found, a fuzzy search engine is used to search in the industrial and commercial database according to a preset edit distance to obtain the corresponding target certificate content information.
[0070] If the verification has not passed the modified target unified social credit code composed of the last 18 digits of the original unified social credit code, a precise search will be performed in the industrial and commercial database based on the modified target unified social credit code composed of the last 18 digits of the original unified social credit code. If no result is found, a fuzzy search engine will be used to search in the industrial and commercial database according to a preset edit distance. The fuzzy search engine used in this application is ElasticSearch, but is not limited to this fuzzy search engine. The preset edit distance is set to 5, which can cover 76.47% of recognition errors, thereby accurately obtaining the corresponding target certificate content information; if the target certificate content information is still not found, a word segmentation search will be performed in the industrial and commercial database according to the company name to obtain the corresponding target certificate content information.
[0071] The method further comprises:
[0072] S14, respectively calculating the similarity of the corresponding contents in the certificate content identification information and the target certificate content information;
[0073] S15. If the similarity is greater than a preset threshold, select the content in the target certificate content information for use; if the similarity is less than the preset threshold, select the content in the certificate content identification information for use.
[0074] Since the certificate content information in the industrial and commercial database is not updated in a timely manner, after the information on the business license is changed, the corresponding certificate content information stored in the industrial and commercial database has not changed, which results in the certificate content identification information being accurate, while the certificate content information in the industrial and commercial database is inaccurate. For this reason, the similarities between the certificate content identification information and the corresponding contents in the target certificate content information are calculated respectively. If the similarity is greater than the preset threshold, that is, the similarity is very high, it is considered that the recognition is inaccurate. For example, the number recognized is three, while the number in the certificate content information is king, and the similarity is very high, it is considered that the recognition is wrong, and the king in the certificate content information is selected as the correct content.
[0075] The respectively calculating the similarity of each corresponding content in the certificate content identification information and the target certificate content information comprises:
[0076] The similarity between the establishment date, business term, registered capital, business scope, address, company name, company type and legal representative corresponding to the license content identification information and the target license content information is calculated respectively.
[0077] The similarity of calculating the establishment date, business term, registered capital, business scope, address, company name, company type and legal representative corresponding to the license content identification information and the target license content information includes:
[0078] Use the edit distance algorithm to calculate the similarity of the corresponding establishment date, business term, and registered capital in the license content recognition information and the target license content information respectively;
[0079] Use the Jaccard distance algorithm to calculate the similarity of the corresponding business scope and domicile in the license content recognition information and the target license content information respectively;
[0080] After removing the fixed characters in the corresponding enterprise name and enterprise type in the license content recognition information and the target license content information, use the Jaccard distance algorithm to calculate the similarity of the corresponding enterprise name and enterprise type in the license content recognition information and the target license content information respectively;
[0081] Use a preset glyph similarity algorithm to calculate the similarity of the corresponding legal representative in the license content recognition information and the target license content information.
[0082] For the characteristics of the nine fields, such as length, character composition, and whether there is a fixed part, apply four similarity calculation methods. The unified social credit code, establishment date, business term, and registered capital are long digital or alphabetic strings, and the edit distance algorithm is used to calculate the similarity. The business scope and domicile are long Chinese character strings, and the Jaccard distance algorithm is used to calculate the similarity. The enterprise name and enterprise type basically contain fixed characters such as "Limited Company" and "Limited Liability Company", so after removing the fixed characters, the Jaccard distance algorithm is used to calculate the similarity. The legal representative is a short Chinese character string, so a preset glyph similarity algorithm is used to calculate the similarity.
[0083] The similarities of the corresponding establishment date, business term, registered capital, business scope, domicile, enterprise name, enterprise type, and legal representative in the license content recognition information and the target license content information respectively correspond to different preset thresholds.
[0084] Embodiment 2
[0085] Corresponding to the above method, an embodiment of the present application provides a license content error correction device, as Figure 2 shown, the device includes:
[0086] A verification unit 21, configured to obtain a corresponding target registration and management authority administrative division code according to the domicile in the license content recognition information, use the target registration and management authority administrative division code to replace the registration and management authority administrative division code in the original unified social credit code in the license content recognition information, and verify the modified original unified social credit code;
[0087] The certificate content identification information is obtained by identifying the text content of the business license, so the certificate content identification information is not always accurate, and the unified social credit code, address and enterprise name included therein may be wrong, especially when the unified social credit code and enterprise name are used as unique identifiers to query the certificate content information in the industrial and commercial database, the correctness of the unified social credit code needs to be guaranteed. For example, assuming that the identified unified social credit code is 91333300MA0K75990X, the verification unit 21 obtains the corresponding target registration and management authority administrative division code according to the address, the address is Taiyuan City, Shanxi Province, the city to which the address belongs is Taiyuan City, and the administrative division code of Taiyuan is 140100. 140100 is used to replace the registration and management authority administrative division code 333300 in the identified unified social credit code, and the modified unified social credit code is 91140100MA0K75990X, and the modified unified social credit code is verified.
[0088] The first acquisition unit 22 is used to search in the industrial and commercial database according to the modified original unified social credit code to obtain the corresponding target certificate content information if the verification fails, and the target certificate content information includes the unified social credit code, address, enterprise name and basic enterprise information;
[0089] If the modified original unified social credit code still fails to pass the verification, the first acquisition unit 22 searches the industrial and commercial database according to the modified original unified social credit code to obtain the corresponding target certificate content information, which includes the unified social credit code, address, company name and basic company information. The basic company information includes the date of establishment, business term, registered capital, business scope, company type and legal representative.
[0090] The second acquisition unit 23 is used to search in the industrial and commercial database according to the modified original unified social credit code and the enterprise name in the certificate content identification information to obtain the corresponding target certificate content information if the verification is passed.
[0091] If the verification is passed, it means that the modified unified social credit code is correct. The second acquisition unit 23 searches the industrial and commercial database according to the modified original unified social credit code and the enterprise name in the certificate content identification information to obtain the corresponding target certificate content information.
[0092] The embodiment of the present application provides a certificate content correction device, which belongs to the same application concept as the certificate content correction method provided in the embodiment of the present application, can execute the certificate content correction method provided in the embodiment of the present application, and has the corresponding functional modules and beneficial effects of executing the certificate content correction method. For technical details not fully described in this embodiment, please refer to the certificate content correction method provided in the embodiment of the present application, and will not be repeated here.
[0093] Example 3
[0094] Corresponding to the above method and apparatus, Embodiment 3 of the present application provides a computer system, including:
[0095] one or more processors; and
[0096] A memory associated with the one or more processors, the memory being used to store program instructions, wherein when the program instructions are read and executed by the one or more processors, the method steps of the first embodiment are executed, such as performing the following operations:
[0097] Obtain the corresponding target registration and management authority administrative division code based on the address in the certificate content identification information, use the target registration and management authority administrative division code to replace the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information, and verify the modified original unified social credit code;
[0098] If the verification fails, searching the industrial and commercial database according to the modified original unified social credit code to obtain the corresponding target license content information, the target license content information includes the unified social credit code, address, enterprise name and basic enterprise information;
[0099] If the verification is passed, a search is performed in the industrial and commercial database based on the modified original unified social credit code and the company name in the certificate content identification information to obtain the corresponding target certificate content information.
[0100] in, Figure 3 The computer system architecture is shown as an example, which may include a processor 1510, a video display adapter 1511, a disk drive 1512, an input / output interface 1513, a network interface 1514, and a memory 1520. The processor 1510, the video display adapter 1511, the disk drive 1512, the input / output interface 1513, the network interface 1514, and the memory 1520 may be communicatively connected via a communication bus 1530.
[0101] Among them, the processor 1510 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solution provided in this application.
[0102] The memory 1520 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1520 can store an operating system 1521 for controlling the operation of the computer system 1500, and a basic input and output system (BIOS) 1522 for controlling the low-level operations of the computer system 1500. In addition, a web browser 1523, a data storage manager 1524, and an icon font processing system 1525, etc. can also be stored. The above-mentioned icon font processing system 1525 can be an application program that specifically implements the operations of the aforementioned steps in the embodiment of the present application. In short, when the technical solution provided in the present application is implemented by software or firmware, the relevant program code is stored in the memory 1520 and is called and executed by the processor 1510.
[0103] The input / output interface 1513 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0104] The network interface 1514 is used to connect to a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0105] The bus 1530 comprises a pathway for transmitting information between the various components of the device (eg, the processor 1510, the video display adapter 1511, the disk drive 1512, the input / output interface 1513, the network interface 1514, and the memory 1520).
[0106] In addition, the computer system 1500 can also obtain information on specific collection conditions from the virtual resource object collection condition information database 1541 for use in condition judgment, etc.
[0107] It should be noted that, although the above device only shows a processor 1510, a video display adapter 1511, a disk drive 1512, an input / output interface 1513, a network interface 1514, a memory 1520, a bus 1530, etc., in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include components necessary for implementing the solution of the present application, and does not necessarily include all the components shown in the figure.
[0108] It can be known from the description of the above implementation methods that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., including several instructions for enabling a computer device (which can be a personal computer, a cloud server, or a network device, etc.) to execute the methods described in the various embodiments of the present application or certain parts of the embodiments.
[0109] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can refer to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system or system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can refer to the partial description of the method embodiment. The system and system embodiments described above are merely schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without creative work.
[0110] The above is a detailed introduction to the certificate content correction method, device and system provided by this application. This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for correcting errors in certificate content, characterized in that: The method comprises: Obtain the corresponding target registration and management authority administrative division code based on the address in the certificate content identification information, use the target registration and management authority administrative division code to replace the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information, and verify the modified original unified social credit code; If the verification fails, searching the industrial and commercial database according to the modified original unified social credit code to obtain the corresponding target license content information, the target license content information includes the unified social credit code, address, enterprise name and basic enterprise information; If the verification is successful, searching the industrial and commercial database based on the modified original unified social credit code and the enterprise name in the certificate content identification information to obtain the corresponding target certificate content information; Before obtaining the corresponding administrative division code of the target registration management authority according to the residence in the certificate content identification information, the method further includes: Sequentially select a preset number of characters from the first digit of the original unified social credit code in the certificate content identification information as the target unified social credit code for verification; If the verification fails, starting from the second digit of the original unified social credit code, a preset number of characters are sequentially selected as the target unified social credit code for verification. If the verification fails, the process is repeated until the selected preset number of characters passes the verification or the last preset number of characters of the original unified social credit code is verified; The step of obtaining the corresponding target registration and management authority administrative division code according to the residence in the certificate content identification information, replacing the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information with the target registration and management authority administrative division code, and verifying the modified original unified social credit code includes: If the verification fails when verifying the last preset digits of characters in the original unified social credit code, the characters of the preset digits are sequentially selected from the first digit of the original unified social credit code as the target unified social credit code, and the corresponding target registration and management authority administrative division code is obtained according to the residence in the certificate content identification information, and the registration and management authority administrative division code in the target unified social credit code is replaced with the target registration and management authority administrative division code, and the first two digits of the target unified social credit code are modified to preset values, and the modified target unified social credit code is verified; If the verification fails, select a preset number of characters starting from the second digit of the original unified social credit code as the target unified social credit code, use the target registration management authority administrative division code to replace the registration management authority administrative division code in the target unified social credit code, and modify the first two digits of the target unified social credit code to preset values, and verify the modified target unified social credit code. If the verification fails, repeat the process until the modified target unified social credit code passes the verification or the modified target unified social credit code consisting of the last preset number of characters in the original unified social credit code is verified; If the verification fails, searching the industrial and commercial database according to the modified unified social credit code to obtain the corresponding target license content information includes: If the modified target unified social credit code composed of the last preset digits of characters in the original unified social credit code fails verification, the last preset digits of characters in the original unified social credit code are used as the target unified social credit code, and the administrative division code of the registration management authority in the target unified social credit code is replaced with the administrative division code of the target registration management authority. According to the modified target unified social credit code, an accurate search is performed in the industrial and commercial database to obtain the corresponding target license content information; If the target certificate content information is not found, a fuzzy search engine is used to search in the industrial and commercial database according to a preset edit distance to obtain the corresponding target certificate content information.
2. The method for correcting errors in certificate content according to claim 1, characterized in that: The method further comprises: Calculating the similarity between the certificate content identification information and the corresponding contents in the target certificate content information respectively; If the similarity is greater than a preset threshold, the content in the target certificate content information is selected for use; if the similarity is less than the preset threshold, the content in the certificate content identification information is selected for use.
3. The method for correcting errors in certificate content as claimed in claim 2, characterized in that: The respectively calculating the similarity of each corresponding content in the certificate content identification information and the target certificate content information comprises: The similarity between the establishment date, business term, registered capital, business scope, address, company name, company type and legal representative corresponding to the license content identification information and the target license content information is calculated respectively.
4. The method for correcting errors in certificate content as claimed in claim 3, characterized in that: The similarity of calculating the establishment date, business term, registered capital, business scope, address, company name, company type and legal representative corresponding to the license content identification information and the target license content information includes: Calculate the similarity of the corresponding establishment date, business term and registered capital in the license content identification information and the target license content information respectively by using the edit distance algorithm; Using the Jaccard distance algorithm, respectively, calculate the similarity between the business scope and residence corresponding to the license content identification information and the target license content information; After removing the fixed characters in the corresponding enterprise name and enterprise type in the certificate content identification information and the target certificate content information, the similarity between the corresponding enterprise name and enterprise type in the certificate content identification information and the target certificate content information is calculated using the Jaccard distance algorithm; The similarity between the certificate content identification information and the corresponding legal representative in the target certificate content information is calculated using a preset glyph similarity algorithm.
5. The method for correcting errors in certificate content as claimed in claim 4, characterized in that: Different thresholds are preset for the similarity between the establishment date, business term, registered capital, business scope, address, company name, company type and legal representative corresponding to the certificate content identification information and the target certificate content information.
6. A device for implementing the method for correcting errors in certificate content as claimed in claim 1, characterized in that: The device comprises: A verification unit, used to obtain the corresponding target registration and management authority administrative division code according to the residence in the certificate content identification information, replace the registration and management authority administrative division code in the original unified social credit code in the certificate content identification information with the target registration and management authority administrative division code, and verify the modified original unified social credit code; A first acquisition unit is used to search in the industrial and commercial database according to the modified original unified social credit code to acquire the corresponding target license content information if the verification fails, and the target license content information includes the unified social credit code, address, enterprise name and basic enterprise information; The second acquisition unit is used to search in the industrial and commercial database according to the modified original unified social credit code and the enterprise name in the certificate content identification information to obtain the corresponding target certificate content information if the verification is passed.
7. A computer system, characterized in that: The system comprises: one or more processors; and A memory associated with the one or more processors, the memory being used to store program instructions, wherein the program instructions, when read and executed by the one or more processors, execute the method according to any one of claims 1 to 5.
