CN109447787A - Reference report automatically parses method, apparatus, computer equipment and storage medium - Google Patents

Reference report automatically parses method, apparatus, computer equipment and storage medium Download PDF

Info

Publication number
CN109447787A
CN109447787A CN201811256575.4A CN201811256575A CN109447787A CN 109447787 A CN109447787 A CN 109447787A CN 201811256575 A CN201811256575 A CN 201811256575A CN 109447787 A CN109447787 A CN 109447787A
Authority
CN
China
Prior art keywords
loan
report
target
logic
source data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811256575.4A
Other languages
Chinese (zh)
Inventor
张天才
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201811256575.4A priority Critical patent/CN109447787A/en
Publication of CN109447787A publication Critical patent/CN109447787A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/03Credit; Loans; Processing thereof

Abstract

The embodiment of the invention discloses a kind of reports of reference to automatically parse method, apparatus, computer equipment and storage medium, wherein the described method includes: obtaining the report of target reference;Target reference report is parsed using default resolution component, and reads the target signature information of the target reference report;The target signature information is processed according to logic processing rule, forms loan logic source data;Dissection process is carried out to the loan logic source data using loan resolution rules to operate to obtain parsing result.Automatically parsing method the present invention is based on the report of the reference of data processing can be improved the efficiency and accuracy rate of reference report parsing, and visualization display test result, improve user experience.

Description

Reference report automatically parses method, apparatus, computer equipment and storage medium
Technical field
The present invention relates to field of computer technology more particularly to a kind of report of reference to automatically parse method, apparatus, computer Equipment and storage medium.
Background technique
It in the prior art, is all manually to be parsed in the personal reference report that People's Bank of China's reference center obtains , however, artificial resolving needs to learn off all reference resolution rules, rule change every time will carry on the back again, long-term to be easy It misremembers;Artificial parsing reference report is very easy to error;Manually one report of parsing averagely requires a great deal of time, time-consuming It is too long.
Summary of the invention
In view of this, the embodiment of the present invention provide a kind of report of reference automatically parse method, apparatus, computer equipment and Storage medium can be improved the efficiency and accuracy rate of reference report parsing, and visualization display test result, improve use Family experience.
On the one hand, the embodiment of the invention provides a kind of reports of reference to automatically parse method, this method comprises:
Obtain the report of target reference;
Target reference report is parsed using default resolution component, and reads the mesh of the target reference report Mark characteristic information;
The target signature information is processed according to logic processing rule, forms loan logic source data;
Dissection process is carried out to the loan logic source data using loan resolution rules to operate to obtain parsing result.
On the other hand, the embodiment of the invention provides a kind of references to report automatic analyzer, and described device includes:
First acquisition unit, for obtaining the report of target reference;
First resolution unit for using default resolution component to parse target reference report, and reads institute State the target signature information of target reference report;
Unit is processed, for processing according to logic processing rule to the target signature information, forms loan logic Source data;
Second resolution unit, for carrying out dissection process operation to the loan logic source data using loan resolution rules Obtain parsing result.
Another aspect the embodiment of the invention also provides a kind of computer equipment, including memory, processor and is stored in On the memory and the computer program that can run on the processor, when the processor executes the computer program Realize that reference report as described above automatically parses method.
It is described computer-readable to deposit in another aspect, the embodiment of the invention also provides a kind of computer readable storage medium Storage media is stored with one or more than one computer program, and the one or more computer program can be by one Or more than one processor executes, to realize that reference report as described above automatically parses method.
The embodiment of the present invention provides a kind of report of reference and automatically parses method, apparatus, computer equipment and storage medium, Wherein method includes: to obtain the report of target reference;Target reference report is parsed using default resolution component, and is read Take the target signature information of the target reference report;The target signature information is processed according to logic processing rule, Form loan logic source data;Loan logic source data progress dissection process is operated using loan resolution rules and is solved Analyse result.The present embodiment can be improved the efficiency and accuracy rate of reference report parsing, and visualization display test result, change It has been apt to user experience.
Detailed description of the invention
Technical solution in order to illustrate the embodiments of the present invention more clearly, below will be to needed in embodiment description Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the application scenarios schematic diagram that a kind of reference report provided in an embodiment of the present invention automatically parses method;
Fig. 2 is the schematic flow diagram that a kind of reference report provided in an embodiment of the present invention automatically parses method;
Fig. 3 is another schematic flow diagram that a kind of reference report provided in an embodiment of the present invention automatically parses method;
Fig. 4 is another schematic flow diagram that a kind of reference report provided in an embodiment of the present invention automatically parses method;
Fig. 5 is the schematic flow diagram that a kind of reference report provided in an embodiment of the present invention automatically parses method;
Fig. 6 be another embodiment of the present invention provides a kind of report of reference automatically parse the schematic flow diagram of method;
Fig. 7 is a kind of schematic block diagram of reference report automatic analyzer provided in an embodiment of the present invention;
Fig. 8 is a kind of another schematic block diagram of reference report automatic analyzer provided in an embodiment of the present invention;
Fig. 9 is a kind of another schematic block diagram of reference report automatic analyzer provided in an embodiment of the present invention;
Figure 10 is a kind of another schematic block diagram of reference report automatic analyzer provided in an embodiment of the present invention;
Figure 11 is a kind of another schematic block diagram of reference report automatic analyzer provided in an embodiment of the present invention;
Figure 12 is a kind of structure composition schematic diagram of computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
It should be appreciated that ought use in this specification and in the appended claims, term " includes " and "comprising" instruction Described feature, entirety, step, operation, the presence of element and/or component, but one or more of the other feature, whole is not precluded Body, step, operation, the presence or addition of element, component and/or its set.
It is also understood that mesh of the term used in this description of the invention merely for the sake of description specific embodiment And be not intended to limit the present invention.As description of the invention and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
Fig. 1 and Fig. 2 are please referred to, Fig. 1 is the application that a kind of reference report provided in an embodiment of the present invention automatically parses method Schematic diagram of a scenario, Fig. 2 are the flow diagram that a kind of reference report provided in an embodiment of the present invention automatically parses method.The reference Report automatically parses method applied in server or terminal, and wherein terminal can be smart phone, tablet computer, notebook electricity Brain, desktop computer, personal digital assistant and wearable device etc. have the electronic equipment of communication function.As an application, such as Fig. 1 Shown, reference report automatically parses method applied in server 10, which can be in Distributed Services platform A server, the server 10 execute be directed to resolve command, if execute resolve command complete, according to parsing generated knot Fruit feeds back in terminal, specifically, the server 10 can feed back the parsing result of resolve command in terminal 20 connected to it On.
It should be noted that only illustrate a terminal 20 in Fig. 1, in the actual operation process, server 10 can be with Parsing result is sent to more terminals 20.
Referring to Fig. 2, Fig. 2 is the exemplary flow that a kind of reference report provided in an embodiment of the present invention automatically parses method Figure.As shown in Fig. 2, this approach includes the following steps S101~S104.
S101 obtains the report of target reference.
In embodiments of the present invention, it obtains the target reference by connection People's Bank of China's reference center to report, institute The file format of the target reference report of acquisition is XML format;The content of target reference report includes personal essential information (body Part information, spouse's information, occupancy information, occupational information), credit information (credit and liability information, credit transaction detail) etc..
S102 parses target reference report using default resolution component, and reads the target reference report The target signature information of announcement.
In embodiments of the present invention, the target reference is reported as the document of XML format, and the default resolution component is DOM4J component can disposably load entire XML document using DOM4J component and carry out memory, then construct one in memory Object tree obtains the node object on object tree by object, obtains XML document finally by node object access operation Content obtains the target signature information of the target reference report by node object access operation.
Further, as shown in figure 3, the default resolution component includes DOM4J component, the step S102 includes step S201~S205.
S201 creates saxReader object using DOM4J component, and uses the read method of the saxReader object Read the target reference report.
Specifically, saxReader object is created based on the saxReader class in DOM4J component, creates saxReader pairs The concrete mode of elephant can be with are as follows: saxReader ' saxReader object oriented '=new saxReader (), for example, customized SaxReader object oriented be reader, create object reader concrete mode are as follows: saxReaderreader=new saxReader();It can using the concrete mode that the read method of the saxReader object reads the target reference report With are as follows: reader.read (newFile (" path of XML document ")), for example, the path of XML document is in the present embodiment " src//c.xml ", can using the concrete mode that the read method of the saxReader object reads the target reference report With are as follows: reader.read (newFile (" src//c.xml ")).
The read target reference report is converted into Document object by S202.
Specifically, the Document object is the object tree of XML document, which has with node, member Plain node, father node, child node, attribute node, text node and comment nodes, in addition, the Document object there are also id, These attributes such as class.The concrete mode that read target reference report is converted into Document object can be with are as follows: Document document=reader.read (new File (" path of XML document ")), for example, in the present embodiment The path of XML document is " src//c.xml ", and the read target reference report is converted into the tool of Document object Body mode can be with are as follows: Document document=reader.read (newFile (" src//c.xml ")).
S203 obtains the root node element in the Document object.
Specifically, by the available root node element of Document object, root node element can be carried out common ACID operation, the concrete mode for obtaining root node element can be the side getRootElement () for calling Document object Method obtains, specific mode of operation are as follows: Element root=document.getRootElement ().
S204 traverses all elements node in the Document object according to the root node element.
Specifically, traversal root node element is to obtain all elements node under the root node element, in the present embodiment, Current root node elements are traversed to obtain the concrete mode of all elements node under current root node elements are as follows: List < Element > childElements=root.elements ().
S205 obtains traversed all elements node and the target signature information as target reference report.
Specifically, each root node element corresponds to multiple node elements, will be multiple under acquired each root node The target signature information that node element is reported as the target reference, and all elements node is recycled and is exported, wherein by institute There is the concrete mode of node element circulation output are as follows: List<Element>books=child.elements (), by all members After plain node circulation output, exported node element can be obtained by getName () method and getText () method Nodename and node description, obtain the concrete mode of the nodename of node element are as follows: String name= Book.getName () obtains the concrete mode of the node description of node element are as follows: String text=book.getText ()。
It should be noted that each root node corresponds to a node i d, each root node corresponds to multiple node elements; When determining the characteristic information needed, corresponding node element can be determined in such a way that node i d adds node path, thus Obtain corresponding daughter element;For example, in order to determine daughter element D, it is thus necessary to determine that "/" instruction node road can be used in D node element Diameter obtains daughter element D using such as under type, the child node " D " that such as "/A/C/D " indicates the child node " C " with node " A ", thus Determine the corresponding daughter element of node element D.
S103 processes the target signature information according to logic processing rule, forms loan logic source data.
In embodiments of the present invention, target signature information include housing loan stroke count, vehicle borrow stroke count, other loan stroke counts, other Loan total amount, loan total amount, unfinished refund stroke count, refund total amount, total amount of not refunding, other loans have been refunded Total amount;The loan logic source data wanted is " loan experience ", can process rule by the logic in table 1 and be patrolled Processing is collected, as shown in the following Table 1:
Table 1
Further, as shown in figure 4, the step S103 includes step S301~S303.
S301 judges loan logical attribute corresponding to the target signature information using logic of propositions operation expression.
Specifically, corresponding to logic processing rule, express using logic of propositions operation expression and being patrolled by default It collects operation expression and judges loan logical attribute corresponding to the target signature information, for example, loan logical attribute is loan Experience, the attribute value of the loan logical attribute include that there are four attribute value, respectively high experience, middle experience, low experience and nothings Experience;More specifically, the method for logic processing rule being converted into logical operation expression formula are as follows: processed and advised according to each logic Then, extraction logic processing rule in logical connective, for extracted logical connective using corresponding logical operator into Replaced logic processing rule is carried out output and as logical operation expression formula by row replacement;It is advised for example, being processed for logic Then: " other loan stroke counts " is more than 3, and " other total amounts of having refunded of providing a loan " is more than or equal to 150000, extracts the logic add The logical connective of work rule have " being more than ", " and ", " being greater than ", " being equal to ", the corresponding logical operator of above logical connective For " > ", " && ", " > ", "=", logical connective is replaced using corresponding logical operator available: " other loan Money stroke count " > 3&& " other total amounts of having refunded of providing a loan " >=150000, it just realizes to process logic by above-mentioned conversion method and advise Then be converted to logical operation expression formula.Rule is processed for the logic in the embodiment of the present invention, can be patrolled by default in table 2 It collects operation expression and carries out logic judgment, as shown in the following Table 2:
Table 2
S302 obtains the corresponding attribute value of the loan logical attribute.
Specifically, judging using logic of propositions operation expression target signature information, the target signature is determined The attribute value of the corresponding loan logical attribute of information, wherein the attribute value of the loan logical attribute includes high experience, middle warp It tests, low experience and rawness.
S303, using acquired attribute value as the loan logic source data.
Specifically, determining that the target is special if judging using logic of propositions operation expression target signature information The attribute value that reference ceases corresponding loan logical attribute is high experience, using high experience as the loan logic source data;If making Target signature information is judged with logic of propositions operation expression, determines the corresponding loan logic of the target signature information The attribute value of attribute is middle experience, using middle experience as the loan logic source data;If using logic of propositions operation expression Target signature information is judged, determines that the attribute value of the corresponding loan logical attribute of the target signature information is low warp It tests, using low experience as the loan logic source data;If being carried out using logic of propositions operation expression to target signature information Judgement determines that the attribute value of the corresponding loan logical attribute of the target signature information is rawness, rawness is used as described in Loan logic source data.
S104 carries out dissection process to the loan logic source data using loan resolution rules and operates to obtain parsing knot Fruit.
In embodiments of the present invention, loan resolution rules are the loan approval process inside bank, utilize loan examination & approval stream Regulation inside journey simultaneously carries out loan examination & approval to a certain loan logic source data, to obtain approval results;For example, if loan experience For " high experience ", the loan experience is examined using the loan approval process inside bank, if meeting internal examination & approval condition, Then ratify the loan requests of " high experience " corresponding user.
Further, as shown in figure 5, the loan resolution rules include loan approval process, the step S104 includes Step S401~S402.
S401 calls loan approval process to examine the loan logic source data.
In embodiments of the present invention, the loan logic source data can be the loan experience of applicant, be also possible to Shen One in identity validity, applicant's accrediting amount authenticity, guaranty validity and guarantor's identity validity to ask someone Kind is a variety of.
S402 obtains approval results, and using the approval results as parsing result, exports the parsing result.
As seen from the above, the embodiment of the present invention is by obtaining the report of target reference;Using default resolution component to the mesh Mark reference report is parsed, and reads the target signature information of the target reference report;According to logic processing rule to institute It states target signature information to be processed, forms loan logic source data;Using loan resolution rules to the loan logical source number It operates to obtain parsing result according to dissection process is carried out.The present embodiment can be improved the efficiency and accuracy rate of reference report parsing, And visualization display test result, improves user experience.
Referring to Fig. 6, Fig. 6 is the exemplary flow that a kind of reference report provided in an embodiment of the present invention automatically parses method Figure.As shown in fig. 6, this approach includes the following steps S501~S506.
S501 obtains the report of target reference.
S502 parses target reference report using default resolution component, and reads the target reference report The target signature information of announcement.
S503 processes the target signature information according to logic processing rule, forms loan logic source data.
S504 carries out dissection process to the loan logic source data using loan resolution rules and operates to obtain parsing knot Fruit.
S505 acquires the parsing result by log collection analytical framework, and the parsing result is stored to default In database.
It in embodiments of the present invention, include preset acquisition script, log collection analysis in log collection analytical framework Frame is based on the preset acquisition script and is acquired to test result, more specifically, log collection analytical framework is by Kafka The frame that message-oriented middleware and Logstash middleware are composed.Server end is acquired in real time by Kafka message-oriented middleware Test result stores into presetting database test result using Logstash middleware.
S506 shows the parsing result stored in the presetting database by constructing visualization interface.
In embodiments of the present invention, visualization interface includes Visual Chart display interface and visualized management operation circle Face.Test result is shown in Visual Chart display interface, is realized in visualized management operation interface to the man-machine of test result Interactive operation.Visualized management operation interface can specifically include configuration management, node administration, the management of server operational mode, Task management and the adjustment of active/standby server kernel etc..Wherein, configuration management includes but is not limited to backup, the deletion to configuration file Or treatment processes, the configuration file such as update include parameter configuration files, log collection frame configuration file etc..Clustered node management Including but not limited to: increasing node, deletion of node, more new node etc..Server operational mode management includes but is not limited to clothes Business device transmission is restarted, shuts down or is instructed into service mode etc..
As seen from the above, the embodiment of the present invention acquires the parsing result by log collection analytical framework, and will be described Parsing result is stored into presetting database, and shows the solution stored in the presetting database by constructing visualization interface Analysis is as a result, it is possible to achieve visualization display parsing result, so as to improve the usage experience of user.
Referring to Fig. 7, corresponding to a kind of above-mentioned reference report automatically parses method, the embodiment of the present invention also proposes a kind of reference Report that automatic analyzer, the device 100 include: first acquisition unit 101, the first resolution unit 102, processing unit 103, the Two resolution units 104.
Wherein, first acquisition unit 101, for obtaining the report of target reference.
First resolution unit 102 for using default resolution component to parse target reference report, and is read The target signature information of the target reference report.
Unit 103 is processed, for being processed according to logic processing rule to the target signature information, loan is formed and patrols Collect source data.
Second resolution unit 104, for carrying out dissection process to the loan logic source data using loan resolution rules Operation obtains parsing result.
As seen from the above, the embodiment of the present invention is by obtaining the report of target reference;Using default resolution component to the mesh Mark reference report is parsed, and reads the target signature information of the target reference report;According to logic processing rule to institute It states target signature information to be processed, forms loan logic source data;Using loan resolution rules to the loan logical source number It operates to obtain parsing result according to dissection process is carried out.The present embodiment can be improved the efficiency and accuracy rate of reference report parsing, And visualization display test result, improves user experience.
Referring to Fig. 8, first resolution unit 102, comprising:
Reading unit 102a for creating saxReader object using DOM4J component, and uses described saxReader pairs The read method of elephant reads the target reference report.
Converting unit 102b, for the read target reference report to be converted into Document object.
Second acquisition unit 102c, for obtaining the root node element in the Document object.
Traversal Unit 102d, for traversing all elements section in the Document object according to the root node element Point.
First execution unit 102e, for obtaining traversed all elements node and as target reference report Target signature information.
Referring to Fig. 9, the processing unit 103, comprising:
Judging unit 103a, for judging loan corresponding to the target signature information using logic of propositions operation expression Money logical attribute.
Third acquiring unit 103b, for obtaining the corresponding attribute value of the loan logical attribute.
Second execution unit 103c, for using acquired attribute value as the loan logic source data.
Referring to Fig. 10, second resolution unit 104, comprising:
Call unit 104a, for calling loan approval process to examine the loan logic source data.
Third execution unit 104b exports institute for obtaining approval results, and using the approval results as parsing result State parsing result.
Figure 11 is please referred to, a kind of above-mentioned reference report is corresponded to and automatically parses method, the embodiment of the present invention also proposes a kind of sign Letter report automatic analyzer, the device 200 include: first acquisition unit 201, the first resolution unit 202, processing unit 203, Second resolution unit 204, acquisition unit 205, storage unit 206.
Wherein, first acquisition unit 201, for obtaining the report of target reference.
First resolution unit 202 for using default resolution component to parse target reference report, and is read The target signature information of the target reference report.
Unit 203 is processed, for being processed according to logic processing rule to the target signature information, loan is formed and patrols Collect source data.
Second resolution unit 204, for carrying out dissection process to the loan logic source data using loan resolution rules Operation obtains parsing result.
Acquisition unit 205, for acquiring the parsing result by log collection analytical framework, and by the parsing result It stores into presetting database.
Storage unit 206, for showing the parsing result stored in the presetting database by constructing visualization interface.
Above-mentioned reference report automatic analyzer and the report of above-mentioned reference automatically parse method one-to-one correspondence, specific former Reason and process are identical as above-described embodiment the method, repeat no more.
Above-mentioned reference report automatic analyzer can be implemented as a kind of form of computer program, and computer program can be with It is run in computer equipment as shown in figure 12.
Figure 12 is a kind of structure composition schematic diagram of computer equipment of the present invention.The equipment can be terminal, be also possible to Server, wherein terminal can be smart phone, tablet computer, laptop, desktop computer, personal digital assistant and wear Wear the electronic device that formula device etc. has communication function.Server can be independent server, be also possible to multiple servers The server cluster of composition.Referring to Fig.1 2, the computer equipment 500 include the processor 502 connected by system bus 501, Non-volatile memory medium 503, built-in storage 504 and network interface 505.Wherein, the non-volatile of the computer equipment 500 is deposited Storage media 503 can storage program area 5031 and computer program 5032, which is performed, and may make place Reason device 502 executes a kind of report of reference and automatically parses method.The processor 502 of the computer equipment 500 for provide calculate and Control ability supports the operation of entire computer equipment 500.The built-in storage 504 is the meter in non-volatile memory medium 503 The operation of calculation machine program 5032 provides environment, when which is executed by processor, processor 502 may make to execute one kind Reference report automatically parses method.The network interface 505 of computer equipment 500 is for carrying out network communication, as sent distribution Task dispatching.It will be understood by those skilled in the art that structure shown in Figure 12, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
Wherein, following operation is realized when the processor 502 executes the computer program:
Obtain the report of target reference;
Target reference report is parsed using default resolution component, and reads the mesh of the target reference report Mark characteristic information;
The target signature information is processed according to logic processing rule, forms loan logic source data;
Dissection process is carried out to the loan logic source data using loan resolution rules to operate to obtain parsing result.
In one embodiment, the default resolution component includes DOM4J component, described to use default resolution component to institute It states the report of target reference to be parsed, and reads the target signature information of the target reference report, comprising:
SaxReader object is created using DOM4J component, and is read using the read method of the saxReader object The target reference report;
The read target reference report is converted into Document object;
Obtain the root node element in the Document object;
The all elements node in the Document object is traversed according to the root node element;
Obtain traversed all elements node and the target signature information as target reference report.
In one embodiment, described that the target signature information is processed according to logic processing rule, it is formed and is borrowed Money logic source data, comprising:
Loan logical attribute corresponding to the target signature information is judged using logic of propositions operation expression;
Obtain the corresponding attribute value of the loan logical attribute;
Using acquired attribute value as the loan logic source data.
In one embodiment, the loan resolution rules include loan approval process, described to utilize loan resolution rules Dissection process is carried out to the loan logic source data to operate to obtain parsing result, comprising:
Loan approval process is called to examine the loan logic source data;
Approval results are obtained, and using the approval results as parsing result, export the parsing result.
In one embodiment, following operation is also realized when the processor 502 executes the computer program:
The parsing result is acquired by log collection analytical framework, and the parsing result is stored to presetting database In;
The parsing result stored in the presetting database is shown by constructing visualization interface.
It will be understood by those skilled in the art that the embodiment of computer equipment shown in Figure 12 is not constituted to computer The restriction of equipment specific composition, in other embodiments, computer equipment may include components more more or fewer than diagram, or Person combines certain components or different component layouts.For example, in some embodiments, computer equipment only includes memory And processor, in such embodiments, the structure and function of memory and processor are consistent with embodiment illustrated in fig. 12, herein It repeats no more.
The present invention provides a kind of computer readable storage medium, computer-readable recording medium storage has one or one A above computer program, the one or more computer program can be held by one or more than one processor Row, to perform the steps of
Obtain the report of target reference;
Target reference report is parsed using default resolution component, and reads the mesh of the target reference report Mark characteristic information;
The target signature information is processed according to logic processing rule, forms loan logic source data;
Dissection process is carried out to the loan logic source data using loan resolution rules to operate to obtain parsing result.
In one embodiment, the default resolution component includes DOM4J component, described to use default resolution component to institute It states the report of target reference to be parsed, and reads the target signature information of the target reference report, comprising:
SaxReader object is created using DOM4J component, and is read using the read method of the saxReader object The target reference report;
The read target reference report is converted into Document object;
Obtain the root node element in the Document object;
The all elements node in the Document object is traversed according to the root node element;
Obtain traversed all elements node and the target signature information as target reference report.
In one embodiment, described that the target signature information is processed according to logic processing rule, it is formed and is borrowed Money logic source data, comprising:
Loan logical attribute corresponding to the target signature information is judged using logic of propositions operation expression;
Obtain the corresponding attribute value of the loan logical attribute;
Using acquired attribute value as the loan logic source data.
In one embodiment, the loan resolution rules include loan approval process, described to utilize loan resolution rules Dissection process is carried out to the loan logic source data to operate to obtain parsing result, comprising:
Loan approval process is called to examine the loan logic source data;
Approval results are obtained, and using the approval results as parsing result, export the parsing result.
In one embodiment, the one or more computer program can be by one or more than one place It manages device to execute, also perform the steps of
The parsing result is acquired by log collection analytical framework, and the parsing result is stored to presetting database In;
The parsing result stored in the presetting database is shown by constructing visualization interface.
Present invention storage medium above-mentioned include: magnetic disk, CD, read-only memory (Read-Only Memory, The various media that can store program code such as ROM).
Unit in all embodiments of the invention can pass through universal integrated circuit, such as CPU (Central ProcessingUnit, central processing unit), or by ASIC (ApplicationSpecificIntegrated Circuit, Specific integrated circuit) Lai Shixian.
The report of reference of the embodiment of the present invention automatically parse step in method can according to actual needs the adjustment of carry out sequence, Merge and deletes.
Unit in reference of embodiment of the present invention report automatic analyzer can be merged according to actual needs, be divided With delete.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or replace It changes, these modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with right It is required that protection scope subject to.

Claims (10)

1. a kind of reference report automatically parses method, which is characterized in that the described method includes:
Obtain the report of target reference;
Target reference report is parsed using default resolution component, and the target for reading the target reference report is special Reference breath;
The target signature information is processed according to logic processing rule, forms loan logic source data;
Dissection process is carried out to the loan logic source data using loan resolution rules to operate to obtain parsing result.
2. the method as described in claim 1, which is characterized in that the default resolution component includes DOM4J component, the use Default resolution component parses target reference report, and reads the target signature information of the target reference report, Include:
SaxReader object is created using DOM4J component, and using described in the reading of the read method of the saxReader object The report of target reference;
The read target reference report is converted into Document object;
Obtain the root node element in the Document object;
The all elements node in the Document object is traversed according to the root node element;
Obtain traversed all elements node and the target signature information as target reference report.
3. the method as described in claim 1, which is characterized in that described regular to the target signature information according to logic processing It is processed, forms loan logic source data, comprising:
Loan logical attribute corresponding to the target signature information is judged using logic of propositions operation expression;
Obtain the corresponding attribute value of the loan logical attribute;
Using acquired attribute value as the loan logic source data.
4. the method as described in claim 1, which is characterized in that the loan resolution rules include loan approval process, described Dissection process is carried out to the loan logic source data using loan resolution rules to operate to obtain parsing result, comprising:
Loan approval process is called to examine the loan logic source data;
Approval results are obtained, and using the approval results as parsing result, export the parsing result.
5. the method as described in claim 1, which is characterized in that the method also includes:
The parsing result is acquired by log collection analytical framework, and the parsing result is stored into presetting database;
The parsing result stored in the presetting database is shown by constructing visualization interface.
6. a kind of reference reports automatic analyzer, which is characterized in that described device includes:
First acquisition unit, for obtaining the report of target reference;
First resolution unit for using default resolution component to parse target reference report, and reads the mesh Mark the target signature information of reference report;
Unit is processed, for processing according to logic processing rule to the target signature information, forms loan logical source number According to;
Second resolution unit operates to obtain for carrying out dissection process to the loan logic source data using loan resolution rules Parsing result.
7. device as claimed in claim 6, which is characterized in that first resolution unit, comprising:
Reading unit for creating saxReader object using DOM4J component, and uses the read of the saxReader object Method reads the target reference report;
Converting unit, for the read target reference report to be converted into Document object;
Second acquisition unit, for obtaining the root node element in the Document object;
Traversal Unit, for traversing all elements node in the Document object according to the root node element;
First execution unit, the target signature for obtaining traversed all elements node and as target reference report Information.
8. device as claimed in claim 6, which is characterized in that the processing unit, comprising:
Judging unit, for judging loan logic category corresponding to the target signature information using logic of propositions operation expression Property;
Third acquiring unit, for obtaining the corresponding attribute value of the loan logical attribute;
Second execution unit, for using acquired attribute value as the loan logic source data.
9. a kind of computer equipment, including memory, processor and it is stored on the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes that claim 1-5 such as appoints when executing the computer program The report of reference described in one automatically parses method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage have one or More than one computer program, the one or more computer program can be by one or more than one processors It executes, to realize that reference report as described in any one in claim 1-5 automatically parses method.
CN201811256575.4A 2018-10-26 2018-10-26 Reference report automatically parses method, apparatus, computer equipment and storage medium Pending CN109447787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811256575.4A CN109447787A (en) 2018-10-26 2018-10-26 Reference report automatically parses method, apparatus, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811256575.4A CN109447787A (en) 2018-10-26 2018-10-26 Reference report automatically parses method, apparatus, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109447787A true CN109447787A (en) 2019-03-08

Family

ID=65548212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811256575.4A Pending CN109447787A (en) 2018-10-26 2018-10-26 Reference report automatically parses method, apparatus, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109447787A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619569A (en) * 2019-09-18 2019-12-27 深圳前海环融联易信息科技服务有限公司 Complex rule customizing method, complex rule customizing system, electronic equipment and computer storage medium
CN111291054A (en) * 2020-02-21 2020-06-16 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN111651413A (en) * 2020-07-01 2020-09-11 中国银行股份有限公司 Credit report file analysis method and device
CN111833177A (en) * 2020-07-08 2020-10-27 融慧金科金融服务外包(北京)有限公司 Method and device for selecting variable processing logic
CN112037013A (en) * 2020-08-25 2020-12-04 成都榕慧科技有限公司 Pedestrian credit variable derivation method and device
CN112883689A (en) * 2020-11-27 2021-06-01 苏宁消费金融有限公司 Processing method of credit investigation second generation credit report finger derivative variable

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330670A (en) * 2017-06-29 2017-11-07 喀什博雅成信网络科技有限公司 One kind automation loan approval system and method
CN108171600A (en) * 2018-01-19 2018-06-15 深圳前海大数金融服务有限公司 Reference report analytic method, server and storage medium
CN108537658A (en) * 2018-04-11 2018-09-14 平安好房(上海)电子商务有限公司 It rents a house processing method, device, equipment and the readable storage medium storing program for executing of loan
CN108550078A (en) * 2018-05-09 2018-09-18 平安普惠企业管理有限公司 The recommendation method and terminal device of loan product

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107330670A (en) * 2017-06-29 2017-11-07 喀什博雅成信网络科技有限公司 One kind automation loan approval system and method
CN108171600A (en) * 2018-01-19 2018-06-15 深圳前海大数金融服务有限公司 Reference report analytic method, server and storage medium
CN108537658A (en) * 2018-04-11 2018-09-14 平安好房(上海)电子商务有限公司 It rents a house processing method, device, equipment and the readable storage medium storing program for executing of loan
CN108550078A (en) * 2018-05-09 2018-09-18 平安普惠企业管理有限公司 The recommendation method and terminal device of loan product

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
余静等: "税收风险管理理论模型与实践应用", 立信会计出版社, pages: 213 - 214 *
大韦德先生: "使用dom4j技术来读取xml中的信息", pages 1, Retrieved from the Internet <URL:https://blog.csdn.net/weixin_41609808/article/details/79605301> *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110619569A (en) * 2019-09-18 2019-12-27 深圳前海环融联易信息科技服务有限公司 Complex rule customizing method, complex rule customizing system, electronic equipment and computer storage medium
CN111291054A (en) * 2020-02-21 2020-06-16 苏宁云计算有限公司 Data processing method and device, computer equipment and storage medium
CN111291054B (en) * 2020-02-21 2023-05-16 苏宁云计算有限公司 Data processing method, device, computer equipment and storage medium
CN111651413A (en) * 2020-07-01 2020-09-11 中国银行股份有限公司 Credit report file analysis method and device
CN111833177A (en) * 2020-07-08 2020-10-27 融慧金科金融服务外包(北京)有限公司 Method and device for selecting variable processing logic
CN112037013A (en) * 2020-08-25 2020-12-04 成都榕慧科技有限公司 Pedestrian credit variable derivation method and device
CN112883689A (en) * 2020-11-27 2021-06-01 苏宁消费金融有限公司 Processing method of credit investigation second generation credit report finger derivative variable

Similar Documents

Publication Publication Date Title
CN109447787A (en) Reference report automatically parses method, apparatus, computer equipment and storage medium
US20190272329A1 (en) Statistical process control and analytics for translation supply chain operational management
US20090271351A1 (en) Rules engine test harness
CN109408105A (en) Acquisition method, device, computing device and the storage medium of user behavior data
CN108628748B (en) Automatic test management method and automatic test management system
CN106067101A (en) A kind of distribution power engineering acceptance method and system
CN110780856B (en) Electricity data release platform based on micro-service
CN110069411A (en) Client performance quality report generation method, device, medium and electronic equipment
CN105824855B (en) Method and device for screening and classifying data objects and electronic equipment
CN106201757A (en) A kind of abnormality eliminating method and device
CN110363411B (en) Risk control method and device for intelligent recommendation by using speech technology
CN110069279B (en) Method, device and storage medium for checking direct current control protection program
CN112182359A (en) Feature management method and system of recommendation model
CN111428978A (en) Subsidy calculation method and device, electronic equipment and storage medium
JP2016510442A (en) Transform generation system
CN110633078B (en) Method and device for automatically generating feature calculation codes
CN109656894A (en) Log standardization storage method, device, equipment and readable storage medium storing program for executing
EP4149111A1 (en) Method for determining video coding test sequence, related apparatus and computer program product
CN115480748A (en) Service arrangement method, device and storage medium
CN115270923A (en) Scene-based visual intelligent decision method and system
CN115422202A (en) Service model generation method, service data query method, device and equipment
CN112306850B (en) Test case generation method, device and storage medium
CN115686317A (en) Business data processing method and device, electronic equipment and storage medium
CN112330502A (en) Contract auditing method and device, electronic equipment and storage medium
CN111625455A (en) Program testing method, device, equipment and medium

Legal Events

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