Information verification method and device based on analysis engine, equipment and medium

Through the information verification method based on the analysis engine, the traditional enterprise information verification methods are solved inefficient and unable to adapt to the rapidly changing business changes, real-time updates and accurate verification are achieved, and decision-making efficiency and system adaptability are improved.

CN119671589APending Publication Date: 2025-03-21PING AN INT FINANCIAL LEASING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411762564.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-03
Publication Date
2025-03-21

AI Technical Summary

Technical Problem

Traditional enterprise information verification methods are inefficient, unable to adapt to rapidly changing business changes, and lack of unified standards, resulting in inconsistent data source formats, requiring customized analysis and packaging, and frequent changes in verification content and standards, resulting in difficulty in system maintenance.

Method used

The information verification method based on the analysis engine is adopted to obtain external information of the enterprise through the interface, and the preset analysis engine is used to analyze and encapsulate the information, obtain the key fields of the internal information of the enterprise, and pass the encapsulated data through these fields to query the encapsulated data. Finally, the query results and internal information of the enterprise are verified according to the preset verification standards.

Benefits of technology

Real-time update of internal enterprise information data is achieved, the workload of manual processing is reduced, the system's processing efficiency and operation accuracy is improved, the system's processing efficiency and operation accuracy is improved, the verification accuracy and efficiency is improved, and the decision-making cycle is shortened.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119671589A_ABST
    Figure CN119671589A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent decision and finance, and discloses an information verification method and device based on an analysis engine, equipment and a medium, and the method comprises the steps: calling enterprise external information through employing a pre-obtained instruction; analyzing the enterprise external information through a preset analysis engine, and packaging an analysis result to obtain packaged data; obtaining enterprise internal information, extracting a key field of the enterprise internal information, and performing transmission query on the packaged data through the key field to obtain query result data; and verifying the query result data and the enterprise internal information according to a preset verification standard to obtain a verification result. Through comprehensive arrangement of internal information of an enterprise and comparison and verification of the internal information and external information, latest data is acquired in real time, and information acquisition and analysis quality is improved at the same time, so that the operation condition of a company is accurately grasped, and an enterprise management layer is supported to make a more accurate and more effective business decision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent decision-making and financial technology, and in particular to an information verification method, device, equipment and medium based on a parsing engine. Background Art

[0002] Enterprise information is the core basic data of public financial business. Accurate and effective enterprise information is the foundation of financial business. Enterprise information verification is one of the important means of financial business risk control. Traditional enterprise information verification is that the business sets the verification standards and R&D personnel customize the verification logic. However, this method is inefficient and cannot adapt to rapidly changing business changes.

[0003] In addition, the current information verification methods have not formed a unified standard. Most of them need to rely on external data docking. There is a risk of changes in data sources, and the data source formats are not unified, requiring customized analysis and packaging. At the same time, the verification content and verification standards change frequently, resulting in the existing system needing to invest a lot of time to change and maintain related verification logic. Summary of the invention

[0004] The present invention provides an information verification method, device, equipment and medium based on a parsing engine, which updates the internal information data of an enterprise in real time through the information obtained through an interface, helps to obtain the latest internal data of the enterprise, helps to provide more comprehensive internal information data support for the enterprise, and quickly obtains internal information to help the enterprise respond to information changes in a timely manner, shorten the decision-making cycle, and improve decision-making efficiency.

[0005] In a first aspect, a method for verifying information based on a parsing engine is provided, comprising:

[0006] Use pre-acquired instructions to call external information of the enterprise;

[0007] Parsing the external information of the enterprise through a preset parsing engine, and encapsulating the parsing result to obtain encapsulated data;

[0008] Acquire internal information of the enterprise, extract key fields of the internal information of the enterprise, perform a transfer query on the encapsulated data through the key fields, and obtain query result data;

[0009] The query result data and the internal information of the enterprise are verified according to the preset verification standard to obtain the verification result.

[0010] In a second aspect, an information verification device based on a parsing engine is provided, comprising:

[0011] A calling module, used to call external information of the enterprise using pre-acquired instructions;

[0012] A parsing module, used for parsing the external information of the enterprise through a preset parsing engine;

[0013] The encapsulation module is used to encapsulate the parsing results to obtain encapsulated data;

[0014] A transfer query module, used to perform a transfer query on the encapsulated data through the key field to obtain query result data;

[0015] The verification module is used to verify the packaged data and the internal information of the enterprise according to the preset verification standards to obtain the verification results.

[0016] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned information verification method based on a parsing engine when executing the computer program.

[0017] In a fourth aspect, a computer-readable storage medium is provided, which stores a computer program. When the computer program is executed by a processor, the steps of the above-mentioned information verification method based on the parsing engine are implemented.

[0018] In the scheme implemented by the above-mentioned information verification method, device, computer equipment and storage medium based on the parsing engine, the internal information of the enterprise can be verified through predetermined standards to ensure the latest enterprise information. Calling external information helps the enterprise to timely understand the changes in enterprise information and quickly adapt to the needs. At the same time, the external information of the enterprise can be used for risk assessment, which can help the enterprise identify potential risks and opportunities, so as to take corresponding measures. The external information of the enterprise can be automatically parsed and packaged through specified instructions, reducing the workload of manual processing and improving the processing efficiency and operation accuracy of the system. At the same time, the processing specifications and configuration information can be flexibly changed, so that the system can adapt to different application scenarios and business needs, extract the packaged data and compare the part of the data that needs to be processed in the enterprise information, reducing the time and cost of processing data, improving the processing efficiency and quality, and more accurately verifying, reducing the probability of verification errors and misjudgments, improving the accuracy of verification, and can be refined. Verification, and timely discover and solve data quality problems, through comprehensive sorting of internal information of the enterprise and comparison and verification with external information, the latest data can be obtained in real time while improving the quality of information acquisition and analysis, so as to accurately grasp the company's operating conditions, thereby supporting the management of the enterprise to make more accurate and effective business decisions. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0020] Figure 1 It is a schematic diagram of an application environment of an information verification method based on a parsing engine in one embodiment of the present invention;

[0021] Figure 2 It is a flow chart of an information verification method based on a parsing engine in one embodiment of the present invention;

[0022] Figure 3 It is a structural schematic diagram of an information verification device based on a parsing engine in one embodiment of the present invention;

[0023] Figure 4 This is a workflow diagram of an information verification method based on a parsing engine in one embodiment of the present invention;

[0024] Figure 5 is a structural schematic diagram of a computer device in one embodiment of the present invention;

[0025] Figure 6 It is another structural schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0027] An information verification method based on a parsing engine provided by an embodiment of the present invention can be applied in Figure 1In the application environment, the client communicates with the server through the network. The server can use the pre-acquired instructions to call the external information of the enterprise; parse the external information of the enterprise through the preset parsing engine, and encapsulate the parsing results to obtain encapsulated data; obtain the internal information of the enterprise, extract the key fields of the internal information of the enterprise, and pass the encapsulated data through the key fields to obtain the query result data; verify the query result data and the internal information of the enterprise according to the preset verification standard to obtain the verification result, and feed the verification result back to the client. The present invention provides an information verification device based on the parsing engine. For the information verification business, the pre-acquired instructions are first used to call the external information of the enterprise; the pre-acquired parsing engine is used to parse the external information of the enterprise, and the parsing results are encapsulated to obtain encapsulated data; obtain the internal information of the enterprise, extract the key fields of the internal information of the enterprise, and pass the encapsulated data through the key fields to obtain the query result data; verify the query result data and the internal information of the enterprise according to the preset verification standard to obtain the verification result, which can obtain real-time updated information data, help enterprises respond to information changes in a timely manner, thereby helping enterprises shorten decision-making cycles and improve decision-making efficiency. The client may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server may be implemented by an independent server or a server cluster consisting of multiple servers. The present invention is described in detail below through specific embodiments.

[0028] See also Figure 2 As shown, Figure 2 A flowchart of an information verification method based on a parsing engine provided by an embodiment of the present invention includes the following steps:

[0029] S1. Use pre-acquired instructions to call external enterprise information.

[0030] In the embodiment of the present invention, the calling refers to calling the third-party data according to the configured standard to facilitate the next step of processing.

[0031] In detail, we first need to determine the standards for obtaining external information data of the enterprise, and formulate enterprise data acquisition standards according to business needs to obtain external information of the enterprise, such as enterprise name information, enterprise industrial and commercial information, shareholder information, director information, guarantee information, and credit information, to import data.

[0032] In the embodiment of the present invention, the step of using the pre-acquired instruction to call the external information of the enterprise includes:

[0033] Obtaining an interface document of the enterprise's external information, and requesting a build according to the interface document to obtain a build result;

[0034] Sending the construction result in response through the API endpoint of the enterprise external information to obtain a response result;

[0035] The enterprise external information is called according to the response result.

[0036] In an embodiment of the present invention, the acquisition refers to obtaining the document information of the API interface of the enterprise external information, the construction refers to constructing the content of the HTTP request according to the request type sent as needed, the response sending refers to using the HTTP client library to send the request to the API endpoint of the enterprise external information, and the call refers to receiving the API response and processing the enterprise external information data according to the response code.

[0037] Specifically, an interface document is a technical document used to describe an API interface, which usually includes the interface usage, parameter description, return result format, etc. The interface document can help developers quickly understand the functions and usage of the API interface so that they can call the interface in the program. For enterprises, providing complete interface documents can increase the usage rate of APIs, increase user stickiness, and thus enhance the competitiveness of enterprises in the market. In actual situations, when obtaining interface documents, many enterprises will provide their own API interface documents on the official website or developer center. Through these platforms, developers can understand the interface usage, parameter description and other information. If the corresponding interface document is not found on the official website or developer center, you can contact the enterprise service support to ask whether the corresponding document is provided. Many enterprises will provide detailed interface documents for developers to call while providing API interfaces. Many enterprises provide their own API interfaces on open platforms. Developers can find the corresponding interface documents on these platforms, and can also use the debugging tools provided on the open platforms to test the interfaces. Common enterprise open platforms include Alibaba Cloud, Tencent Cloud, Baidu Open Cloud, etc.

[0038] Specifically, enterprise external information is equivalent to third-party data. When retrieving third-party data, you need to first obtain the API interface document provided by the third party. The document will explain in detail how to use the API, including the API URL and supported request methods. The request methods include GET, POST and a series of other request methods. When constructing a specific request in this solution, the correct HTTP request method will be set according to the API document, such as the requested URL, that is, the API endpoint address of the enterprise external information, and the request header. The request header includes the content type, authentication token, etc. If it is a POST or PUT request, you may also need to prepare a request body containing the data to be sent.

[0039] In general, a POST request is usually used to submit a new set of data to the server. After receiving the request, the server stores the data in the URI location specified on the server. A POST request is more suitable for creating new resources, such as submitting form data. A POST request usually uses a form as a carrier, packages the data filled in by the user in the request body of the HTTP request, and submits the data to the server; a PUT request is usually used to upload a resource of the client to the server, and use the request to update the original resource on the server. If the original resource on the server does not exist, a new resource will be created. A PUT request is more suitable for updating existing resources, such as updating a text file. A PUT request needs to carry the complete resource content in the request body to upload it to the URI location specified on the server.

[0040] In detail, use the HTTP client library to send the constructed request to the API endpoint of the enterprise's external information. This step is actually the client establishing communication with the API server and transmitting the request. After receiving the request, the API endpoint will process it according to the content of the request and return a response. In actual situations, this response usually contains the following: Status code, indicating whether the request is successful and the reason for success or failure (such as 200 for success, 404 for resource not found, 500 for server error, etc.); Response header: Contains metadata about the response, such as content type, content length, server information, etc.; Response body: Contains the actual content of the request, which may be some data or messages.

[0041] In this solution, the returned response body is a request for external enterprise information. When processing subsequent business requests or analysis tasks, the dynamic parsing engine is used to configure external data acquisition standards based on the results returned by the system or service to obtain relevant information that is not directly stored in the enterprise's internal data.

[0042] In the embodiment of the present invention, by constructing automated requests, enterprise information can be obtained quickly and in batches, saving time for manual operations. At the same time, external information of the enterprise may change frequently. The information obtained through the interface is usually updated in real time, which helps to obtain the latest data. External data, industry information, competitor information, etc. are obtained through APIs, thereby enriching one's own database and providing more comprehensive data support for decision-making. Rapidly obtaining external information can help enterprises respond to information changes in a timely manner, shorten decision-making cycles, and improve decision-making efficiency.

[0043] In the embodiment of the present invention, the standardization of information acquisition is ensured by pre-set instructions, which helps to reduce errors and deviations and ensure the accuracy and consistency of data. The pre-setting of instructions can automate the information acquisition process and reduce human intervention, thereby improving the efficiency and speed of operations. Through predetermined instructions, internal enterprise information can be verified to ensure the latest enterprise information obtained. Calling external information helps the enterprise to promptly understand changes in enterprise information and quickly adapt to needs. At the same time, external enterprise information can be used for risk assessment, which can help the enterprise identify potential risks and opportunities and take corresponding measures.

[0044] S2. parse the enterprise external information through a preset parsing engine, and encapsulate the parsing results to obtain encapsulated data.

[0045] In an embodiment of the present invention, the parsing refers to organizing the external information of the enterprise according to a specific data model (entity) after it is parsed by a parsing engine, and ensuring that the data complies with predetermined business specifications, thereby preparing for data processing and use. The encapsulation refers to organizing the external information data of the enterprise according to a specific format or structure to make it easier to process and transmit.

[0046] In detail, the external information of the enterprise is processed and decided according to the predefined set of standards through the predefined parsing engine. These standards define how to parse, validate, transform and route the input data. The parsing engine will parse the external information of the enterprise. This process includes understanding and analyzing the structure and content of the data, converting it from the original format to an internal format that can be processed; the parsed data will be encapsulated into a specific data structure, such as an object, class, data model or entity. Encapsulation means organizing the data into a logical unit. This unit usually has a set of clear interfaces and properties, which is easy to process and use later.

[0047] Specifically, parsing input data is to split the original input data, separate different fields or elements, check whether the parsed data meets the predefined constraints such as format, type and length, and perform data verification to ensure the correctness and integrity of the data, verify the data format, convert the qualified data, convert the input data from one format to another to adapt to different business scenarios and system requirements to convert the data format, distribute the qualified data to the corresponding processing flow or target system according to the predefined routing standards, and complete the data transmission and processing.

[0048] Specifically, the enterprise external information data processed by the parsing engine will be processed differently according to the processing results of the parsing engine to meet business needs and data processing needs. Such enterprise external information data can be recognized and used by other parts of the system, such as for further processing, storage, display or as input for other business processes.

[0049] In the embodiment of the present invention, parsing the enterprise external information by a preset parsing engine includes:

[0050] Performing field extraction on the enterprise external information to obtain extracted data;

[0051] Performing standard extraction on the extracted data through a preset parsing engine to obtain extracted data;

[0052] Performing format cleaning on the extracted data to obtain cleaned data;

[0053] An analysis result is generated based on the combination of the extracted data and the cleaned data.

[0054] In the embodiment of the present invention, the field extraction refers to extracting data from external enterprise information through the steps of data identification, data verification, and data extraction. The standard extraction refers to the extraction of processed data by the parsing engine based on predefined data and attributes. The combined generation refers to the merging of processed data that meets the standards and data after conversion.

[0055] In detail, the external information of the enterprise first needs to be formatted into a format that can be processed by the parsing engine, such as JSON (referring to a lightweight data exchange format, based on the JavaScript language standard, representing data in the form of key-value pairs, and having the characteristics of being easy to read and write), XML (referring to a markup language, used to describe and organize data, which represents data structure in the form of tags and stores data), etc., to ensure the integrity and validity of the input data, for example, by verifying the type, format and range of the data; the parsing engine loads predefined business standards, which may include decision tables, decision trees, conditional expressions, etc., which are the basis for parsing and decision-making. The parsing engine parses the input external information of the enterprise and matches the information with the standards in the standard library. During the parsing process, the engine will identify the key fields and key values ​​in the information, and perform logical judgment and process the data for matching according to the definition of the standard to obtain matching results. According to the matching results, the processed data is marked or filtered, and the data that does not meet the standard conditions is filtered out to reduce the amount of data for subsequent processing. The required data is extracted through the matching results, and the extracted data is cleaned and converted to ensure that the data meets the required format and specifications. For example, the date and time format is converted into the standard ISO format, and the extracted and cleaned data is combined into the parsing results; according to the specific business needs and the format of the parsing results, the data can be combined into a data structure or a data stream to meet subsequent processing and use.

[0056] Specifically, the process of performing standard extraction on the extracted data through a preset parsing engine is a process of using pre-defined standards to filter data and retain only data that meets specific requirements. First, appropriate standards are formulated based on the professional knowledge, experience, business requirements, etc. of business personnel, and the standards are input into the parsing engine. From a large amount of data, data that needs to be subjected to standard extraction is filtered out through certain means. The parsing engine is used to perform standard matching on the identified data, and the extracted data that meets the preset standards is filtered out. Among the extracted data that meets the preset standards, further processing, analysis, storage and other operations are performed according to actual needs to obtain more valuable information.

[0057] In the embodiment of the present invention, the step of extracting fields from the enterprise external information to obtain extracted data includes:

[0058] Performing format recognition on the enterprise external information to obtain the information format;

[0059] Conditionally filter the external information of the enterprise to obtain a filtering result;

[0060] Extract key fields from the enterprise external information to obtain information fields;

[0061] Extracted data is generated according to the information format, filtering results and information fields.

[0062] In the embodiment of the present invention, the format recognition is to identify the data format of the external information of the enterprise, the conditional filtering is to check whether the external information of the enterprise conforms to the expected format and standard, and the extraction is to identify the field values ​​in the external information of the enterprise.

[0063] Specifically, the parsing engine parses the input external enterprise information and identifies the key fields and values ​​in the external enterprise information. It first performs data format recognition, that is, determines the format of the input data, such as JSON, XML, etc., and then performs data validation, that is, checks whether the data conforms to the expected format and standards, such as data type, length limit, etc. Finally, it performs data extraction, that is, extracts the required fields and values ​​from the input data.

[0064] In the embodiment of the present invention, the parsing result is encapsulated to obtain encapsulated data, including:

[0065] Formatting the parsing result to obtain format data;

[0066] The format data is converted into encoding using a pre-acquired encoding standard to obtain encoded format data;

[0067] The encoded format data is packaged and encapsulated to obtain encapsulated data.

[0068] In the embodiment of the present invention, the data formatting refers to converting the external information of the enterprise into a data format supported by the serialized object, the encoding conversion refers to converting the formatted data into an encoding format, and the packaging and encapsulation refers to classifying the encoded data for subsequent processing.

[0069] Specifically, according to the type and specification of the serialized object, the parsed enterprise external information is converted into a data format supported by the serialized object. Usually, it can be converted into a binary stream, JSON, XML or other data formats. If it has been converted, there is no need to format it again. According to the encoding standard of the serialized object, the formatted data is converted into an encoding format, such as Base64 or Utf-8. Among them, Base64 encoding is to encode the original data into an ASCII string containing only 64 characters, and Utf-8 encoding is an encoding scheme used for transmitting, exchanging, and storing Unicode characters on the Internet.

[0070] In this scheme, the formatted and encoded data will be encapsulated into a specific data packet to facilitate transmission and reception in the network. According to the protocol specification, a specific data packet object is created, such as a TCP packet, HTTP packet, SOAP packet, etc. The header information of the data packet is set to the format required by the protocol specification, including the source address, destination address, packet length, packet type, etc. The serialized and encoded data is added to the data packet. In order to ensure the reliability of data transmission in the network, it is sometimes necessary to add a checksum, such as a packet checksum, CRC check, etc. All the information is packaged and encapsulated into a complete data packet for transmission and reception in the network.

[0071] Specifically, after encoding through relevant encoding libraries or tools, such as Jackson, Fastjson, etc., the data header is encapsulated. Specifically, the data header needs to be encapsulated according to the protocol requirements, which usually includes information such as data version, encryption method, data length, etc., and then the data body is encapsulated. The encoded data body and data header are packaged to form a complete request message or response message, and then the message is encrypted to ensure the security of data transmission. Data is transmitted through the network, such as the HTTP protocol, and the data packet is sent to the designated server or receiver. After the server or receiver receives the data, it decrypts and unpacks the data to obtain the original data.

[0072] In an embodiment of the present invention, the format of the information can be identified according to the format specifications in the external information of the enterprise to ensure the correctness of the information. The requirements related to the authority, legality, etc. in the external information of the enterprise need to be verified to ensure the security and stability of the system. The parameter values ​​in the external information of the enterprise are extracted and processed to facilitate subsequent operations; the parsed external information of the enterprise is formatted to make the data structure clearer, easier to understand and manage, and the data encoding is converted to facilitate transmission between different systems. The formatted and encoded data is packaged and encapsulated, and the data can be packaged into a protocol format that conforms to network transmission to facilitate transmission in the network.

[0073] In the embodiment of the present invention, the parsing engine can automatically parse and encapsulate the external information of the enterprise through specified instructions, reducing the workload of manual processing, improving the processing efficiency and operation accuracy of the system, and flexibly changing the processing standards and configuration information, so that the system can adapt to different application scenarios and business needs, with strong scalability and adaptability, fully considering the compatibility and interoperability between different systems, ensuring the correctness and consistency of the external information of the enterprise, and through precise standard matching and processing, it can ensure the accuracy and completeness of the parsed external information of the enterprise, thereby improving the reliability and security of the system.

[0074] S3. Acquire internal information of the enterprise, extract key fields of the internal information of the enterprise, perform a transfer query on the encapsulated data through the key fields, and obtain query result data.

[0075] In an embodiment of the present invention, the extraction refers to extracting fields from the internal information of the enterprise, and the transfer query refers to first querying the external information of the enterprise through the API interface of the external information of the enterprise, and then passing the fields extracted from the internal information of the enterprise to the external information of the enterprise, and returning a part of the external information of the enterprise corresponding to the extracted fields.

[0076] Specifically, when the internal information of an enterprise is first entered into the system, the system automatically assigns a number to each piece of internal information, and then a piece of internal information is queried according to the number, and the fields in the internal information are extracted, such as extracting the enterprise name and legal person name fields in the internal information, and passing the enterprise name and legal person name to the API interface of the encapsulated data for query, and querying the external enterprise information in the encapsulated data corresponding to the enterprise name and legal person name in the internal information.

[0077] In the embodiment of the present invention, the querying of the encapsulated data by the key field to obtain the query result data includes:

[0078] Establishing a query request according to the key fields;

[0079] Request transfer of the query request to obtain request transfer data;

[0080] Generate query result data according to the request transfer data.

[0081] In an embodiment of the present invention, the establishment refers to sending a query request related to the key field to the server according to the key field, the request transmission refers to transmitting the query request to the encapsulated data, retrieving the encapsulated data that meets the conditions from the encapsulated data, and the generation refers to using the request transmission data as the data for transmitting the encapsulation.

[0082] Specifically, it is necessary to determine the key fields to be queried. For example, the key fields in the internal information of an enterprise are the enterprise name and the legal person name. The enterprise name and the legal person name are transmitted to the encapsulated data through the server. After the server receives the request, it retrieves the encapsulated data that matches the enterprise name and the legal person name from the encapsulated data database based on the enterprise name and the legal person name, which is the query result data.

[0083] In detail, encapsulated data refers to encapsulating data and related operations together to form a data object or data structure, shielding the details of the operation. Encapsulated data usually contains the following two parts: 1. Data: refers to the data itself, which can be a value, text, file, etc. Data may come from storage media such as memory, hard disk, database, etc.; 2. Operation: refers to the operation performed on the data, such as reading, writing, updating, deleting, etc. These operations are for encapsulated data objects, and the outside cannot directly access and operate the data; by encapsulating data, the maintainability and security of the program can be improved, and modular design is facilitated. In object-oriented programming, encapsulated data is one of the three major features of object-oriented programming, which can realize data abstraction and data encapsulation, making program design more elegant, concise, and easy to expand. For example, encapsulating the variables or attributes of a class, and the external code uses the member functions of the object to access or modify these variables, can ensure the security and consistency of the data.

[0084] S4. Verify the query result data and the internal information of the enterprise according to a preset verification standard to obtain a verification result.

[0085] In the embodiment of the present invention, the verification refers to comparing and verifying the packaged data of the external information of the enterprise previously called according to the acquisition instruction after being packaged with the information found by number inside the system.

[0086] Specifically, preset verification standards are formulated, such as whether the information is consistent, including the object of verification, verification method, verification standard, verification process, etc., and subsequent verification work is carried out based on this. The packaged data and enterprise search information are submitted to the verification system in a standardized format and verification is required. The verification system verifies the submitted data one by one according to the preset standards, checks the accuracy, completeness and rationality of the data, and provides services such as update and verification failure feedback. The verification system analyzes and processes the verification results according to the preset standards, feeds back the results to the requesting party, and generates relevant reports and log records.

[0087] In the embodiment of the present invention, the query result data and the internal information of the enterprise are verified according to a preset verification standard to obtain a verification result, including:

[0088] Extracting key fields of the enterprise internal information;

[0089] Extracting the fields corresponding to the key fields in the query result data to obtain the query result data fields;

[0090] The key field and the corresponding query result data field are verified through a preset standard expression to obtain a verification result.

[0091] In an embodiment of the present invention, the extraction refers to extracting fields, the transfer query refers to first querying the external information of the enterprise through the API interface of the external information of the enterprise, and then passing the fields extracted from the internal information of the enterprise to the external information of the enterprise, and returning a part of the external information of the enterprise corresponding to the extracted fields, and the verification refers to comparing the internal information fields of the enterprise with the corresponding query result data fields to see if they are consistent.

[0092] Specifically, when the internal information of an enterprise is first entered into the system, the system automatically assigns a number to each piece of internal information, and then a piece of internal information is queried according to the number, and the fields in the internal information are extracted, such as the enterprise name and legal person name fields in the internal information, and the enterprise name and legal person name are passed to the API interface of the encapsulated data for query, and the external enterprise information in the encapsulated data corresponding to the enterprise name and legal person name in the internal information is queried, and then the corresponding fields in the internal information and the external enterprise information in the encapsulated data are verified for consistency using standard expressions to obtain the verification results.

[0093] Specifically, for example, when the internal information of an enterprise and the list of shares in the encapsulated data are used as verification modules, Aviator standard expressions are usually defined and stored in the data table. Aviator standard expression is a parsing engine based on the Java language, which is used to judge and calculate data; by using Aviator standard expression, standard matching can be performed in a simple, fast and flexible way, thereby improving the decision-making ability and efficiency of the system; Aviator standard expression usually consists of two parts: the left part and the right part; the left part is used to define the conditions for standard matching, and the right part is used to define the actions to be performed when the conditions are met. Aviator standard expression supports the use of various operators, functions and variables to meet complex calculation requirements; in general, Aviator standard expression can be applied to multiple scenarios, such as financial risk control, Internet of Things applications, smart transportation, etc. By using the parsing engine, the decision-making ability and efficiency of the system can be improved, and the burden of business processing can be reduced, improving enterprise efficiency and productivity.

[0094] In detail, for example, if it is necessary to verify the company name, registered address, and contact information fields in the company's internal information, the company name, registered address, and contact information fields are extracted from the company's internal information, and then the corresponding company name, registered address, and contact information in the packaged data are extracted, and the SQL statement IF company internal information.Company name = key packaged data.Company name AND company internal information.Registered address = key packaged data.Registered address AND company internal information.Contact information = key packaged data.Contact information THEN records the verification result as "consistent", otherwise records the verification result as "inconsistent" to perform query and verification, and return the verification result; finally, the comparison results and processing process are recorded and summarized, and a data comparison report is generated for relevant personnel to review and refer to.

[0095] In the embodiment of the present invention, the data that needs to be processed is extracted and compared with part of the encapsulated data and the enterprise information, which reduces the time and cost of processing data and improves the processing efficiency and quality. At the same time, verification can be performed more accurately, and the probability of verification errors and misjudgments is reduced, the accuracy of verification is improved, and the verification can be performed in a refined manner, and data quality problems can be discovered and resolved in a timely manner, thereby improving data quality. Verification is performed according to preset instructions, and data can be managed in a standardized manner, reducing the occurrence of data anomalies or errors, and improving the level and efficiency of data management.

[0096] In the examples of the present invention, the verification results can effectively ensure the accuracy of the data source and avoid business problems and losses caused by data source errors. Through the verification results, data quality problems can be discovered in a timely manner and solved in a timely manner, thereby improving the accuracy, completeness and consistency of the data. After accuracy verification, the value of the data is enhanced. While improving the value of the data, it can better serve business decision-making and execution. Fine data management and correct data analysis can provide strong support for the business development of the enterprise and improve the competitiveness of the enterprise.

[0097] It can be seen that in the above scheme, for the information verification business, first use the pre-acquired instructions to call the external information of the enterprise; parse the external information of the enterprise through the preset parsing engine, and encapsulate the parsing results to obtain encapsulated data; obtain the internal information of the enterprise, extract the key fields of the internal information of the enterprise, and pass the query on the encapsulated data through the key fields to obtain the query result data; verify the query result data and the internal information of the enterprise according to the preset verification standards to obtain the verification results, and obtain real-time updated information data to help enterprises respond to information changes in a timely manner, thereby helping enterprises shorten the decision-making cycle and improve decision-making efficiency.

[0098] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0099] In one embodiment, a device for verifying information based on a parsing engine is provided, and the device for verifying information based on a parsing engine corresponds one-to-one to the method for verifying information based on a parsing engine in the above embodiment. Figure 3 As shown, the information verification device based on the parsing engine includes an acquisition and calling module 101, a parsing module 102, a packaging module 103, a transmission query module 104, and a verification module 105. The detailed description of each functional module is as follows:

[0100] The calling module 101 is used to call the enterprise external information using the pre-acquired instruction to obtain the enterprise external information;

[0101] The parsing module 102 is used to parse the external information of the enterprise through a preset parsing engine;

[0102] The encapsulation module 103 is used to encapsulate the parsing result to obtain encapsulated data;

[0103] A transfer query module 104, configured to perform a transfer query on the encapsulated data through the key field to obtain query result data;

[0104] The verification module 105 is used to verify the query result data and the internal information of the enterprise according to a preset verification standard to obtain a verification result.

[0105] In one embodiment, the calling module 101 uses the pre-acquired instruction to call the external information of the enterprise, for:

[0106] Obtaining an interface document of the enterprise's external information, and requesting a build according to the interface document to obtain a build result;

[0107] Sending the construction result in response through the API endpoint of the enterprise external information to obtain a response result;

[0108] The enterprise external information is called according to the response result.

[0109] In one embodiment, when parsing the enterprise external information through a preset parsing engine, the parsing module 102 is used to:

[0110] Performing field extraction on the enterprise external information to obtain extracted data;

[0111] Performing standard extraction on the extracted data through a preset parsing engine to obtain extracted data;

[0112] Performing format cleaning on the extracted data to obtain cleaned data;

[0113] An analysis result is generated based on the combination of the extracted data and the cleaned data.

[0114] In one embodiment, when encapsulating the parsing result to obtain encapsulated data, the encapsulation module 103 is used to:

[0115] Formatting the parsing result to obtain format data;

[0116] The format data is converted into encoding using a pre-acquired encoding standard to obtain encoded format data;

[0117] The encoded format data is packaged and encapsulated to obtain encapsulated data.

[0118] In one embodiment, when the transfer query module 105 performs a transfer query on the encapsulated data through the key field to obtain the query result data, it is used to:

[0119] Establishing a query request according to the key fields;

[0120] Request transfer of the query request to obtain request transfer data;

[0121] Generate query result data according to the request transfer data.

[0122] The present invention provides an information verification device based on a parsing engine. For information verification business, the device first calls the external information of an enterprise by using pre-acquired instructions; parses the external information of the enterprise by a preset parsing engine, and encapsulates the parsing results to obtain encapsulated data; obtains the internal information of the enterprise, and verifies the encapsulated data and the internal information of the enterprise according to preset verification standards to obtain verification results. The device can obtain real-time updated information data, help the enterprise respond to information changes in a timely manner, thereby helping the enterprise shorten the decision-making cycle and improve decision-making efficiency.

[0123] For the specific definition of an information verification device based on a parsing engine, please refer to the definition of an information verification method based on a parsing engine above, which will not be repeated here. Each module in the above-mentioned information verification device based on a parsing engine can be implemented in whole or in part through software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0124] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, it implements a function or step on the server side of an information verification method based on a parsing engine.

[0125] In one embodiment, a computer device is provided. The computer device may be a client, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external server via a network connection. When the computer program is executed by the processor, it implements the functions or steps of the client side of a method for information verification based on a parsing engine.

[0126] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0127] Use pre-acquired instructions to call external information of the enterprise;

[0128] Parsing the external information of the enterprise through a preset parsing engine, and encapsulating the parsing result to obtain encapsulated data;

[0129] Acquire internal information of the enterprise, extract key fields of the internal information of the enterprise, perform a transfer query on the encapsulated data through the key fields, and obtain query result data;

[0130] The query result data and the internal information of the enterprise are verified according to the preset verification standard to obtain the verification result.

[0131] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0132] Use pre-acquired instructions to call external information of the enterprise;

[0133] Parsing the external information of the enterprise through a preset parsing engine, and encapsulating the parsing result to obtain encapsulated data;

[0134] Acquire internal information of the enterprise, extract key fields of the internal information of the enterprise, perform a transfer query on the encapsulated data through the key fields, and obtain query result data;

[0135] The query result data and the internal information of the enterprise are verified according to the preset verification standard to obtain the verification result.

[0136] It should be noted that the above functions or steps that can be implemented by the computer-readable storage medium or computer device can refer to the relevant descriptions on the server side and the client side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0137] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0138] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0139] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in the protection scope of the present invention. It should be noted that if software tools or components other than those of the company appear in the embodiments of this application, they are only used for example introduction and do not represent actual use.

Claims

1. An information verification method based on a parsing engine, characterized in that: include: Use pre-acquired instructions to call external information of the enterprise; Parsing the external information of the enterprise through a preset parsing engine, and encapsulating the parsing result to obtain encapsulated data; Acquire internal information of the enterprise, extract key fields of the internal information of the enterprise, perform a transfer query on the encapsulated data through the key fields, and obtain query result data; The query result data and the internal information of the enterprise are verified according to the preset verification standard to obtain the verification result.

2. The information verification method based on the parsing engine according to claim 1, characterized in that: Use pre-obtained instructions to call external enterprise information, including: Obtaining an interface document of the enterprise's external information, and requesting a build according to the interface document to obtain a build result; Sending the construction result in response through the API endpoint of the enterprise external information to obtain a response result; The enterprise external information is called according to the response result.

3. The information verification method based on the parsing engine according to claim 1, characterized in that: The parsing of the enterprise external information by a preset parsing engine includes: Performing field extraction on the enterprise external information to obtain extracted data; Performing standard extraction on the extracted data through a preset parsing engine to obtain extracted data; Performing format cleaning on the extracted data to obtain cleaned data; An analysis result is generated based on the combination of the extracted data and the cleaned data.

4. The information verification method based on the parsing engine as claimed in claim 3, characterized in that: The step of extracting fields from the enterprise external information to obtain extracted data includes: Performing format recognition on the enterprise external information to obtain the information format; Conditionally filter the external information of the enterprise to obtain a filtering result; Extract key fields from the enterprise external information to obtain information fields; Extracted data is generated according to the information format, filtering results and information fields.

5. The information verification method based on the parsing engine according to claim 1, characterized in that: The parsing result is encapsulated to obtain encapsulated data, including: Formatting the parsing result to obtain format data; The format data is converted into encoding using a pre-acquired encoding standard to obtain encoded format data; The encoded format data is packaged and encapsulated to obtain encapsulated data.

6. The information verification method based on the parsing engine according to claim 1, characterized in that: The query result data and the internal information of the enterprise are verified according to a preset verification standard to obtain a verification result, including: Extracting key fields of the enterprise internal information; Extracting the fields corresponding to the key fields in the query result data to obtain the query result data fields; The key field and the corresponding query result data field are verified through a preset standard expression to obtain a verification result.

7. The information verification method based on the parsing engine according to claim 1, characterized in that: The encapsulated data is queried through the key field to obtain query result data, including: Establishing a query request according to the key fields; Request transfer of the query request to obtain request transfer data; Generate query result data according to the request transfer data.

8. An information verification device based on a parsing engine, characterized in that: include: A calling module, used to call external information of the enterprise using pre-acquired instructions; A parsing module, used for parsing the external information of the enterprise through a preset parsing engine; The encapsulation module is used to encapsulate the parsing results to obtain encapsulated data; A transfer query module, used to perform a transfer query on the encapsulated data through the key field to obtain query result data; The verification module is used to verify the query result data and the internal information of the enterprise according to the preset verification standard to obtain the verification result.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the information verification method based on the parsing engine as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the information verification method based on the parsing engine as described in any one of claims 1 to 7 are implemented.