Method and system for supporting credit score query feedback and downloading interface
By encapsulating the request object, setting the message header and message style, checking and saving customer information, using local query and Kafka notifications, the offline query inconvenience and real-time analysis of credit score query are solved, and the rapid iteration and Efficient data distribution improves transaction efficiency.
Patent Information
- Application Number
- CN202411206676.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-12-20
AI Technical Summary
The existing credit score query has problems such as inconvenience in offline query, uncertain dimensions, and real-time analysis that affects transactions.
Provide a method to support the feedback and download interface of credit score query in China. By encapsulating the request object, setting the default values of the message header and message style, checking and saving customer information, using local query methods and Kafka notifications, realizing query results Real-time feedback and downloads.
When the system version is quickly iterated, it is executed through asynchronous multi-threading scheme, split the credit report into JSON storage, and supports distribution of various data forms to ensure that daytime business transactions are not affected, improving query efficiency and data utilization.
Smart Images

Figure CN119168764A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of banking information technology, and in particular to a method and system for supporting a credit rating query feedback and download interface. Background Art
[0002] In commercial banks, credit rating is credit rating, mainly personal credit rating. In order to meet the needs of commercial banks for credit rating system in risk management before, during and after loans, and to further improve the service quality of credit rating system, according to the requirements of commercial banks, the credit rating center provides personal credit rating for customers who have obtained inquiry authorization from commercial banks, so as to improve the risk management efficiency of commercial banks. Summary of the invention
[0003] In view of the technical problems existing in the prior art, the present invention provides a method and system supporting the query feedback and download interface of the credit rating system, so as to solve the problems of the existing credit rating system, such as inconvenient offline query, uncertain dimensions, and real-time analysis affecting transactions.
[0004] According to a first aspect of the present invention, the present invention provides a method for supporting a credit rating query feedback and download interface, comprising the following steps:
[0005] Step 1: Encapsulate the request into an object and set the default value of the message header, and call to query user information;
[0006] Step 2: Set the default values of the message header and message body based on the encapsulation object and user information, and verify the message information;
[0007] Step 3: Perform other checks before sending, and save the request object message body information after verification into the application form, saving its customer information and files;
[0008] Step 4: Traverse the information, query the results based on the local query method and whether it is a local field, and send a message or Kafka notification.
[0009] Based on the above technical solution, the present invention can also make the following improvements.
[0010] Optionally, encapsulating the request into an object and setting a default value for the message header, and calling to query user information includes:
[0011] Step 1.1: Use JSONObject or XStreamPssUtil to convert the request data into an object;
[0012] Step 1.2: If the request message contains a field without a value, set the object default value;
[0013] Step 1.3: Find the only valid user data based on the user login name.
[0014] Optionally, the request message includes the following fields:
[0015] isCheck: whether offline approval is required. 0 means no, 1 means yes;
[0016] IsSaveStruct: whether to store in structured form; 0 means no, 1 means yes;
[0017] ReturnFile: Return data type;
[0018] IsReturnFileStream: return method.
[0019] Optionally, the setting of the message header and message body default values based on the encapsulation object and the user information, and the verification of the message information include:
[0020] Step 2.1: Determine whether to process the derived variable first. If yes, isSaveStruct will automatically be 1: yes;
[0021] If the fields in the request message have no values assigned to them, set the object's default values.
[0022] Step 2.2: Check if the message header is not empty, including: transaction code, reported data type, business system user name, return type, real-time return flag, whether it is batch, whether to process derivative variables first, whether the structure is full, and system name;
[0023] Message body non-empty check, including: business serial number, query application approval type, customer name, certificate type, certificate number, query method, query time, product name, query reason;
[0024] Step 2.3: Code table verification, confirm whether the uploaded code value is in the code value table and the code value conversion;
[0025] Step 2.4: If the message content does not meet the specification inspection, the real-time return flag is yes, the batch flag is also yes, and the returned message content is conflicting;
[0026] When querying in batches, all query methods remain consistent; if review and re-examination are required, the real-time return flag will be that real-time return is not possible, and the offline process will be followed. If it is a single query, the query method of the request body can only be 3-> Provident Fund Interface Single Query to determine whether the same serial number is in the system queue.
[0027] Optionally, the request object message body information after verification is traversed and saved in the application form, and the customer information and files are saved, including:
[0028] Step 3.1: Check whether there is query data for today in the application form based on the customer name, certificate number, and certificate type in the request object; if the three elements are the same on the same day and the status is entering the queue, the query is rejected;
[0029] Step 3.2: Get the request object message body information table, traverse the message body information table to save customer information and files, and store them in the message body information; query whether the customer exists based on the three elements;
[0030] If it does not exist, the customer information is initialized and a customer file number is generated and saved in the personal customer information table and the China Securities Information Service personal customer information table. The institution code is obtained from the request object or Token and saved in the personal customer-branch relationship table.
[0031] If it exists, the institution code is obtained from the request object or Token and saved in the personal customer-branch relationship table.
[0032] Optionally, traversing the message body information, querying in a local query mode and whether a local field is used, and sending a message or notification of the query result includes:
[0033] Step 4.1: Check whether the isCheck in the request object needs to go through the review process as offline. If it is 0-yes, set the save feedback code to success and the content to "Request successful, review in the front-end system!", traverse the message body information data and save or update the application form;
[0034] Step 4.2: Determine whether the isCheck in the request object needs to go through the same review process as offline. If it is 1-no, traverse the message body information data.
[0035] Optionally, the traversal message body information data includes:
[0036] 4.2.1: Save in the personal China Securities Credit Rating Query Application Form, update the associated customer information to be valid, and set the data status to completed;
[0037] 4.2.2: If the query method is to read, the associated person only inserts himself, otherwise the associated person inserts all associated persons including the applicant, and if the report secondary use role includes the report secondary push role reviewer, it is also inserted into the reviewer object.
[0038] Optionally, the step 4.2.2 includes the following steps:
[0039] 4.2.2.1: If the access flag is 1-access or the query PBOC flag is 0-check local: traverse userData, if it is the applicant, obtain the main data of the report and save it in the object; otherwise, obtain the secondary data of the report and save it in the list; according to the traversal message body information data parameters, save it in the object and initialize the Zhongzhengxin parameters;
[0040] 4.2.2.2: If the query mode is 3-synchronous query, repeat the query in step 4.2.2.1.
[0041] Optionally, in step 4.2.2.2, if the feedback response code is 1000 (success), 0001 (fake white household), 0000 (real white household), and the system channel number is 000003, 000004, 000006, a return message object is generated, concatenated into xml, the feedback xml is saved to a temporary path, and the kafka Zhongzhengxin query message notification is sent;
[0042] If the feedback response code is 1000 (success), 0001 (fake white account), 0000 (real white account), and the system channel number is 0000031, 0000041, 0000061, the result is encapsulated and the query result message is returned.
[0043] According to a second aspect of the present invention, a system for supporting a credit rating query feedback and download interface is provided, comprising:
[0044] The first data processing module is used to encapsulate the request into an object and set a default value for the message header, and call to query user information;
[0045] The second data processing module is used to set the default values of the message header and message body based on the encapsulation object and user information, and verify the message information;
[0046] The third data processing module is used to perform verification before sending, traverse and save the request object message body information after verification into the application form, and save customer information and files;
[0047] The fourth data processing module is used to traverse the message body information, query in a local query mode and whether it is a local field, and send the query result as a message or notification.
[0048] Technical effects and advantages of the present invention:
[0049] The present invention provides a method and system for supporting the query feedback and download interface of credit rating in China, which can be launched in the rapid iteration of the system version, and the data will be split into standardized templates according to the data extraction document of the People's Bank of China Credit Information Center, and executed using an asynchronous multi-threaded solution without affecting daytime business transactions. By splitting the credit report into JSON and storing it in the database, it can be provided to the data warehouse in various forms such as data files for distribution to downstream data use. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a flow chart of a method for supporting a credit rating query feedback and download interface provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0051] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings 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.
[0052] It is understandable that based on the defects in the background technology, the embodiment of the present invention proposes a method for supporting the query feedback and download interface of the credit rating, specifically as follows: Figure 1 As shown, the following steps are included:
[0053] Step 1: Encapsulate the request into the object requestHeaderPss and set the default value of the message header, and call sysUserInfo to query the user information;
[0054] The above implementation steps specifically include:
[0055] Step 1.1: Use JSONObject or XStreamPssUtil to convert the request data into the object requestHeaderPss; the code is as follows:
[0056]
[0057]
[0058] Step 1.2: If the following fields in the request message have no value, set the default value of the object requestHeaderPss;
[0059] isCheck: whether offline approval is required; 0 means no, 1 means yes;
[0060] IsSaveStruct: whether to store in structured form; 0 means no, 1 means yes;
[0061] ReturnFile: Return data type;
[0062] IsReturnFileStream: return method.
[0063] Step 1.3: Find the only valid user data sysUserInfo based on the user login name.
[0064] / / Judge the applicant user (default 99999999)
[0065] SysUser Info sysUser Info=userService.findByUserAcc(requestHeaderPss.getCre ditLoginNm()).
[0066] Step 2: Set the default values of the message header and message body and verify the message information based on the encapsulation object requestHeaderPss and user information sysUserInfo;
[0067] The above-mentioned implementation step 2 specifically includes:
[0068] Step 2.1: Determine whether to process the derived variable first. IsFirstDerivedVariable is 1: if yes, isSaveStruct is automatically 1: yes; if the following fields in the request message have no value, set the default value of the object requestHeaderPss;
[0069] isValidateCredit: whether to verify the authorization letter;
[0070] isLocal: whether it is local; 0 means local, 1 means check the bank, 2 means automatic (default);
[0071] checkFileMode: check the file mode; 1 means non-empty verification, 2 means interface verification, 3 means no verification
[0072] isCheckFileDate: whether to check the validity period of the file; 1 means check, 2 means no check;
[0073] Step 2.2: Check if the message header is not empty: transaction code (TranCode), reported data type (type), business system user name (creditLoginNm), return type (returnType), real-time return flag (isReturn), whether it is batch (isBatch), whether the derived variable is processed first (isFirstDerivedVariable), whether the structure is full (isFullDose), system name (sysName);
[0074] Message body non-empty check: business serial number (serialNumber), query application approval type (approvalType), customer name (ownerName), certificate type (ownerIDType), certificate number (ownerIDNo), query method (queryMethod), query time (enquTime), product name (productName), query reason (enquReason);
[0075] Step 2.3: Check the code table to confirm whether the code value sent is in the code table and the code value conversion, to avoid the parameter transmitted by the core system not belonging to the code table or the code value between systems is different;
[0076] Step 2.4: Check if the message content does not conform to the specification;
[0077] If the real-time return flag is yes and the batch flag is also yes, the returned message content conflicts (for real-time return, only single transaction is supported, and batch return is impossible in real time);
[0078] When querying in batches, all query methods must be consistent; if review and verification are required, the real-time return flag will be that real-time return is not possible, and the offline process will be followed; if it is a single query, the query method of the request body can only be 3-> Provident Fund Interface Single; determine whether the same serial number is in the system queue.
[0079] Step 3: Perform other checks before sending, and save the request object requestHeaderPss message body information indvPssMap after verification into the application form to save its customer information and files;
[0080] The above-mentioned implementation step 3 specifically includes:
[0081] Step 3.1: Check whether there is query data in the application form today based on the customer name, certificate number, and certificate type in the request object requestHeaderPss; if the three elements are the same on the same day and the status is entering the queue, the query is rejected;
[0082]
[0083] Step 3.2: Get the request object requestHeaderPss message body information List, traverse the List to save the customer information and files, and store them in indvPssMap; query whether the customer exists based on the three elements. If not, initialize the customer information and generate a customer file number and save it in the personal customer information table and the China Securities Information Personal Customer Information Table, and obtain the institution code from requestHeaderPss or Token and save it in the personal customer associated branch relationship table; if it exists, obtain the institution code from requestHeaderPss or Token and save it in the personal customer associated branch relationship table.
[0084]
[0085]
[0086] Step 4: Traverse the indvPssMap information, query the results based on the local query method and whether it is a local field, and send a message or kafka notification.
[0087] The above-mentioned implementation step 4 specifically includes:
[0088] Step 4.1: Check whether the requestHeaderPss in the request object needs to go through the same review process as offline. If yes, set the feedback code to success and the content to "[Request successful, please review in the front-end system!]", traverse the indvPssMap data and save or update the application form;
[0089]
[0090]
[0091] Step 4.2: Check whether the isCheck in the requestHeaderPss of the request object needs to go through the same review process as offline. If it is not, traverse the indvPssMap data;
[0092] 4.2.1 Save it in the personal China Securities Credit Rating Query Application Form, update the associated customer information to be valid, and set the data status to completed;
[0093] / / Traverse and get the object through key
[0094] PssIndvReport pssIndvReport=(PssIndvReport)reportMap.get(key);
[0095] / / Save in the personal China Securities Credit Rating Query Application Form
[0096] pssIndvReportRepo.save(pssIndvReport);
[0097] / / Update the associated customer information
[0098] pssIndvReportService.addOrUpdateCustNew(pssIndvReport);
[0099] 4.2.2 If the query method is to read, the userData of the associated person only inserts itself, otherwise the userData of the associated person inserts all associated persons including the applicant, and if the secondary user role of the report includes the secondary push role reviewer of the report, the reviewer is also inserted into the object userData;
[0100]
[0101]
[0102] 4.2.2.1 If the query indicator is "Query" or the query indicator is "Local Query":
[0103] 4.2.2.1.1 Traverse userData. If it is an applicant, get the main data of the report and save it in the goQueryObject object. Otherwise, get the secondary data of the report and save it in the List. <pssindvrptdwnldinf>In the middle; according to the traversal of indvPssMap data parameters, save them into the pssDFTempObject object and initialize the Zhongzhengxin parameters;
[0104]
[0105] 4.2.2.1.2 If the field of whether to query the PBOC is to query locally, call the queryLocalObject method to query the data temp locally; if temp is empty or exceeds the period of use passed by the third party (the default is 30 days), the application status code is 12 (query failed), and the data status code is 1, indicating that the feedback failed to update the application form and feedback table data; obtain the id of the query record according to the temp object, and then obtain the PssPboc ReportJson object through the id query. The PssPbocReportJson object stores the credit report corresponding to the id, and then the large field of the credit report can be obtained. If the large field is not empty, it encapsulates the feedback data, and saves the application information table data status code: 3-the report is valid, the application status code is 11 (query successful), and the local query ends; if the failure is returned or the feedback large object fails to be obtained, it will be processed as a failure;
[0106]
[0107]
[0108] Local access: Get the configuration access scope field. If the access scope field is empty or the current user, cross-level access is not allowed. Get the current organization and its subordinate organizations and save them in the brids array. Otherwise, cross-level access is allowed. Get the corresponding set of all subordinate organizations of the first-level organization to which the current organization belongs and save them in the br ids array. Find the data of report validity or download expiration based on the three elements and the organization set brids, get the use period delivered by the third party, and determine whether the application date of the current application is pushed forward by X days (parameter, default is 30 days) to see whether the application date of the latest report is within this range. If so, access is allowed and the query result temp is returned. Otherwise, it returns empty.
[0109]
[0110]
[0111] 4.2.2.1.3 If the field "Whether to query the People's Bank" is "Query the People's Bank", the sendSingleMessage method is called to query the People's Bank data resultXML; if the returned resultXML result is empty or the query is abnormal, sendSingleMessage will be called again for secondary query. If the secondary query fails, the application status code: 12 (query failed) and the data status code: 1 (feedback failed to update the application form and feedback form data) will be returned; the feedback large object will be parsed, the feedback data will be assembled, the feedback and the application form application status code: 11 (query successful) and the data status code: 3 (report valid) will be saved, and the query will end; if the failure is returned or the parsing of the feedback large object fails, it will be treated as a failure;
[0112]
[0113] PBOC query: If the query method is a single transaction interface, assemble the request object PssRequestInfo, convert it into a message body xml string according to the request object PssRequestInfo, assemble the message header, encrypt and sign it, and save it to the message sending table; obtain the configuration timeout time, the credit inquiry personal single transaction interface address, the credit inquiry personal interface method, and the credit inquiry personal interface namespace, and send it to WEBServer to obtain the query result resultXML; parse the returned message resultXML and save it to the message sending table;
[0114]
[0115] 4.2.2.1.4 If the "Query People's Bank" field is set to "Automatic", first check the local page, and if no result is found locally, then check the People's Bank; that is, first perform 4.2.2.1.2, and if no result is found locally, then perform 4.2.2.1.3, and if all the results fail, then treat it as a failure;
[0116] 4.2.2.1.5 If the feedback response code is 1000 (success), 0001 (fake white household), or 0000 (real white household), a return message object is generated, concatenated into xml, and the feedback xml is saved to a temporary path (system-set basic path + "sendXml" + yyyy-MM-dd + service_code + transq + serialnumber + ".xml"), and finally a kafka Zhongzheng Credit query kafkaProducer message notification is sent.
[0117] if(IFSConst.RETURNCODE_RUN_SUCCESS.equals(singleResponsePss.getResponseCode())||
[0118] IFSConst.RETURNCODE_WHITE_HOUSEHOLD_FALSE.equals(singleResponsePss.getResponseCode())||
[0119] IFSConst.RETURNCODE_WHITE_HOUSEHOLD_TRUE.equals(singleResponsePss.getResponseCode())){
[0120] logger.info("####################Check the local business system that needs to be called back: "+pssIndvReport.getSysId());
[0121] / / Assemble messages, Kafka notification
[0122] pssKafkaNotifyService.notify(pssIndvReport,singleResponsePss,Const.PSSI,pssIndvRptDwnldInf,pssPbocReportJsonService);
[0123] logger.info("------Check the local personal notification corresponding system afKafkaNotifyService.notify-----》End");}
[0124] 4.2.2.2 If the query mode is synchronous query;
[0125] 4.2.2.2.1 Repeat the above steps 4.2.2.1.1, 4.2.2.1.2, 4.2.2.1.3, 4.2.2.1.4 to query;
[0126] 4.2.2.2.2 If the feedback response code is 1000 (success), 0001 (fake white household), 0000 (real white household), and the system channel number is 000003, 000004, 000006, the return message object is generated and spliced into xml, and the feedback xml is saved to a temporary path (system setting basic path + "sendXml" + yyyy-MM-dd + service_code + transq + serialnumber + ".xml"), and finally the kafka Zhongzheng Credit query kafkaProducer message notification is sent; if the feedback response code is 1000 (success), 0001 (fake white household), 0000 (real white household), and the system channel number is 0000031, 0000041, 0000061, the return result is immediately encapsulated and the query result message is returned.
[0127]
[0128]
[0129] The following example is a Java code example of the credit score query feedback and download interface under development, showing the entire process of this solution:
[0130]
[0131]
[0132]
[0133] It should be noted that the method for supporting the query feedback and download interface of the credit rating described in the embodiment of the present invention supports multiple database conversions, has flexible configuration, and configurable downstream data formats: only one code is needed and it can be run everywhere. The code reuse degree is high. When the required data and statistical caliber change, only the Java code needs to be modified; the credit report data is standardized and consistent with the documents of the People's Bank of China. The whole bank system can unify the standards to avoid reinventing the wheel; the data is parsed in an asynchronous multi-threaded manner, and the data is supplied to the downstream system on T+1, which does not affect the daytime business transactions.
[0134] According to a second aspect of the present invention, a system for supporting a credit rating query feedback and download interface is provided, comprising:
[0135] The first data processing module is used to encapsulate the request into an object and set a default value for the message header, and call to query user information;
[0136] The second data processing module is used to set the default values of the message header and message body based on the encapsulation object and user information, and verify the message information;
[0137] The third data processing module is used to perform verification before sending, traverse and save the request object message body information after verification into the application form, and save customer information and files;
[0138] The fourth data processing module is used to traverse the message body information, query in a local query mode and whether it is a local field, and send the query result as a message or notification.
[0139] It can be understood that the system supporting the query feedback and download interface of the Chinese credit score provided by the present invention corresponds to the method supporting the query feedback and download interface of the Chinese credit score provided by the aforementioned embodiments. The relevant technical features of the system supporting the query feedback and download interface of the Chinese credit score can refer to the relevant technical features of the method supporting the query feedback and download interface of the Chinese credit score, which will not be repeated here.
[0140] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0141] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. 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 make equivalent replacements for some of the technical features therein. However, 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 embodiments of the present invention.< / pssindvrptdwnldinf>
Claims
1. A method for supporting the query feedback and download interface of credit rating in China, characterized in that: The following steps are involved: Step 1. Encapsulate the request into an object and set the default value of the message header, and call to query user information; Step 2. Set the default values of the message header and message body based on the encapsulation object and user information, and verify the message information; Step 3. Perform verification before sending, save the verified request object message body information into the application form, and save the customer information and files; Step 4. Traverse the message body information, query using the local query method and whether it is a local field, and send the query result as a message or notification.
2. According to claim 1, a method for supporting the query feedback and download interface of the credit rating system, characterized in that: The encapsulation request is put into an object and a default value of the message header is set, and the call to query the user information includes: Step 1.1: Use JSONObject or XStreamPssUtil to convert the request data into an object; Step 1.2: If the request message contains a field without a value, set the object default value; Step 1.3: Find the only valid user data based on the user login name.
3. A method for supporting the query feedback and download interface of credit rating according to claim 2, characterized in that: In step 1.2, the request message contains the following fields: isCheck: whether offline approval is required, 0 means no, 1 means yes; IsSaveStruct: whether to store in structured form, 0 means no, 1 means yes; ReturnFile: Return data type; IsReturnFileStream: return method.
4. According to claim 1, a method for supporting the query feedback and download interface of the credit rating system, characterized in that: The setting of the message header and message body default values based on the encapsulation object and user information and the verification of the message information include: Step 2.1: Determine whether the processing derivative variable is 1. If so, set the value to 1. If the field contained in the request message has no value, set the object default value. Step 2.2: Check if the message header is not empty, including: transaction code, reported data type, business system user name, return type, real-time return flag, whether it is batch, whether to process derivative variables first, whether the structure is full, and system name; Message body non-empty check, including: business serial number, query application approval type, customer name, certificate type, certificate number, query method, query time, product name, query reason; Step 2.3: Code table verification, confirm whether the uploaded code value is in the code value table and the code value conversion; Step 2.4: If the message content does not meet the specification inspection, the real-time return flag is yes, the batch flag is also yes, and the returned message content conflicts; when inquiring in batches, all query methods remain consistent. If review and re-examination are required, the real-time return flag is that it cannot be returned in real time, and the offline process is followed. If it is a single query, the query method of the request body can only be a single provident fund interface to determine whether the same serial number is in the system queue.
5. According to claim 1, a method for supporting the query feedback and download interface of the credit rating system, characterized in that: The request object message body information after verification is traversed and saved in the application form, and the customer information and files are saved, including: Step 3.1: Check whether there is query data for today in the application form based on the customer name, certificate number, and certificate type in the request object. If the three elements are the same on the same day and the status is entering the queue, the query is rejected; Step 3.2: Get the request object message body information table, traverse the message body information table to save customer information and files, and store them in the message body information; query whether the customer exists based on the three elements; If it does not exist, the customer information is initialized and a customer file number is generated and saved in the personal customer information table and the China Securities Information Service personal customer information table. The institution code is obtained from the request object or Token and saved in the personal customer-branch relationship table. If it exists, the institution code is obtained from the request object or Token and saved in the personal customer-branch relationship table.
6. A method for supporting the query feedback and download interface of credit rating according to claim 1, characterized in that: The traversing of the message body information, querying in a local query mode and whether the local field is used, and sending a message or notification of the query result includes: Step 4.1: Check whether the isCheck in the request object needs to go through the review process as offline. If it is 0-yes, set the save feedback code to success and the content to "Request successful, review in the front-end system!", traverse the message body information data and save or update the application form; Step 4.2: Check whether the request object needs to go through the same review process as offline. If it is 1-no, traverse the message body information data.
7. A method for supporting the query feedback and download interface of credit rating according to claim 6, characterized in that: The traversal message body information data includes: 4.2.1: Save in the personal China Securities Credit Rating Query Application Form, update the associated customer information to be valid, and set the data status to completed; 4.2.2: If the query method is to read, the associated person only inserts himself, otherwise the associated person inserts all associated persons including the applicant, and if the report secondary use role includes the report secondary push role reviewer, it is also inserted into the reviewer object.
8. A method for supporting the query feedback and download interface of credit rating according to claim 7, characterized in that: Step 4.2.2 The following steps are involved: 4.2.2.1: If the access flag is access or the query PBOC flag is query local: traverse the user data, if it is the applicant, obtain the main data of the report and save it in the object; otherwise, obtain the secondary data of the report and save it in the list, save it in the object according to the traversal message body information data parameters, and initialize the China Securities Information parameters; 4.2.2.2: If the query mode is 3-synchronous query, repeat the query in step 4.2.2.
1.
9. A method for supporting the query feedback and download interface of credit rating according to claim 8, characterized in that: In step 4.2.2.2, if the feedback response code is 1000-success, 0001-fake white account, 0000-real white account, and the system channel number is 000003, 000004, 000006, the return message object is generated, spliced into xml, the feedback xml is saved to a temporary path, and the kafka Zhongzhengxin query message notification is sent; If the feedback response code is 1000-success, 0001-fake white account, 0000-real white account, and the system channel number is 0000031, 0000041, 0000061, the return result is encapsulated and the query result message is returned.
10. A system supporting China Credit Rating Query Feedback and Download Interface, characterized in that: include: The first data processing module is used to encapsulate the request into an object and set a default value for the message header, and call to query user information; The second data processing module is used to set the default values of the message header and message body based on the encapsulation object and user information, and verify the message information; The third data processing module is used to perform verification before sending, traverse and save the request object message body information after verification into the application form, and save customer information and files; The fourth data processing module is used to traverse the message body information, query in a local query mode and whether it is a local field, and send the query result as a message or notification.
