CN117579723A - Message parsing method and system - Google Patents

Message parsing method and system Download PDF

Info

Publication number
CN117579723A
CN117579723A CN202311558971.3A CN202311558971A CN117579723A CN 117579723 A CN117579723 A CN 117579723A CN 202311558971 A CN202311558971 A CN 202311558971A CN 117579723 A CN117579723 A CN 117579723A
Authority
CN
China
Prior art keywords
information
message
user
unit
credit
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
CN202311558971.3A
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.)
Bank Of East Asia China Co ltd
Original Assignee
Bank Of East Asia China 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 Bank Of East Asia China Co ltd filed Critical Bank Of East Asia China Co ltd
Priority to CN202311558971.3A priority Critical patent/CN117579723A/en
Publication of CN117579723A publication Critical patent/CN117579723A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a message parsing method and a system, wherein the method comprises the following steps: acquiring user requirements; extracting a plurality of first information related to the user demand in a message, wherein the plurality of first information comprises names of the first information and numerical values corresponding to the first information; when the message contains a plurality of first information needed by a user, accumulating and summing the first information, and outputting a message corresponding to the accumulated and summed result. By carrying out accumulation and summation on the first information related to the user demands and outputting the message information represented by the accumulation and summation result in the message, the accuracy of searching the message related to the user demands is improved, and the user experience is also improved.

Description

Message parsing method and system
Technical Field
The invention relates to the field of message analysis, in particular to a message analysis method and a message analysis system.
Background
At present, the pedestrian sign message has a plurality of contents and a complicated level. Most pedestrian sign message analysis in the market cannot acquire corresponding message information according to the actual demands of users, and only part of important fields are analyzed from the pedestrian sign message.
Disclosure of Invention
In order to solve the technical problems, the invention provides a message parsing method and a system, which improve the accuracy of searching the message related to the user demand.
Specifically, the technical scheme of the invention is as follows:
a message parsing method comprises the following steps:
acquiring user requirements;
extracting a plurality of first information related to the user demand in a message, wherein the plurality of first information comprises names of the first information and numerical values corresponding to the first information;
when the message contains a plurality of first information needed by a user, accumulating and summing the first information, and outputting a message corresponding to the accumulated and summed result.
By carrying out accumulation and summation on the first information related to the user demands and outputting the message information represented by the accumulation and summation result in the message, the accuracy of searching the message related to the user demands is improved, and the user experience is also improved.
In some embodiments, after the obtaining the user requirement, before extracting the first information related to the user requirement in the packet, the method further includes the steps of:
judging whether the message contains second information or not, wherein the second information comprises at least one piece of first information;
when the message contains the second information, generating a set containing a plurality of first information according to the second information;
and stopping executing the message analysis operation when the message does not contain the second information.
By extracting the second information and generating the set, and extracting the first information most relevant to the user demand from the second information, the problem of missing the information relevant to the user demand is avoided, and the efficiency and the accuracy of message analysis are improved.
In some embodiments, after the extracting the plurality of first information related to the user requirement in the packet, the plurality of first information includes a name of the first information and a value corresponding to the first information, the method further includes the steps of:
when the message contains a plurality of first information needed by a user, judging whether the first information contains the maximum value, and if so, outputting a message corresponding to the maximum value in the first information.
In some embodiments, after the extracting the plurality of first information related to the user requirement in the packet, the plurality of first information includes a name of the first information and a value corresponding to the first information, the method further includes the steps of:
when the message contains a plurality of first information needed by a user, counting the quantity of the plurality of first information, and outputting a message corresponding to the counting result.
The user requirement is met by inquiring the maximum value of the first information and counting the quantity of the first information, so that the richness of the message analysis method is improved.
In some embodiments, the method further comprises the step of:
assigning a plurality of first information according to the content in the message;
and storing the log record generated in the message analysis operation in a log file.
The invention also provides a message analysis system, which comprises:
the acquisition unit is used for acquiring the user demand;
the extraction unit is used for extracting a plurality of first information related to the user requirement in the message, wherein the plurality of first information comprises names of the first information and numerical values corresponding to the first information;
the computing unit is used for accumulating and summing the first information when the message contains the first information required by the user;
and the output unit is used for outputting the message corresponding to the accumulated summation result.
In some embodiments, further comprising
The judging unit is further used for judging whether the message contains second information or not, wherein the second information comprises at least one piece of first information;
the generating unit is further used for generating a set according to the second information when the message contains the second information;
and the execution unit is also used for stopping executing the message analysis operation when the message does not contain the second information.
In some embodiments, the method is characterized in that,
the judging unit is further configured to judge whether a plurality of first information exists in the first information when the message contains the first information required by the user;
the output unit is further configured to output a message corresponding to the maximum value in the plurality of first information when the maximum value exists in the plurality of first information.
In some embodiments, the method is characterized in that,
the computing unit is further configured to count the number of the plurality of first information when the message contains the plurality of first information required by the user;
the output unit is further configured to output a message corresponding to the statistical result.
In some embodiments, further comprising:
the assignment unit is used for assigning a plurality of first information according to the content in the message;
and the storage unit is used for storing the log record generated in the message analysis operation into a log file.
Compared with the prior art, the invention has at least one of the following beneficial effects:
1. by carrying out accumulation and summation on the first information related to the user demands and outputting the message information represented by the accumulation and summation result in the message, the accuracy of searching the message related to the user demands is improved, and the user experience is also improved.
2. By extracting the second information and generating the set, and extracting the first information most relevant to the user demand from the second information, the problem of missing the information relevant to the user demand is avoided, and the efficiency and the accuracy of message analysis are improved.
3. The user requirement is met by inquiring the maximum value of the first information and counting the quantity of the first information, so that the richness of the message analysis method is improved.
Drawings
The above features, technical features, advantages and implementation of the present invention will be further described in the following description of preferred embodiments with reference to the accompanying drawings in a clear and easily understood manner.
FIG. 1 is a flow chart of one embodiment of a message parsing method of the present invention;
FIG. 2 is a flow chart of another embodiment of a message parsing method of the present invention;
FIG. 3 is a device diagram of one embodiment of a message parsing system of the present invention;
fig. 4 is a device diagram of another embodiment of a message parsing system according to the present invention.
Description of the drawings:
an acquisition unit 100; an extraction unit 200; a calculation unit 300; an output unit 400; a judging unit 500;
a generating unit 600; execution unit 700.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will explain the specific embodiments of the present invention with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the invention, from which other drawings and other embodiments can be obtained by a person skilled in the art without inventive effort.
For simplicity of the drawing, only the parts relevant to the invention are schematically shown in each drawing, and they do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. Herein, "a" means not only "only this one" but also "more than one" case.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In addition, in the description of the present application, the terms "first," "second," "third," etc. are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
The pedestrian credit report is an indispensable personal credit material for loan, and after the authorization is obtained, the customer needs to be inquired about the pedestrian credit report. The pedestrian credit report generally has 20-30 pages of content, and how to efficiently analyze and process the information required by the users of the bank risk departments from the pedestrian credit report becomes the key point and the difficulty in credit approval.
Currently, most credit resolution methods only parse and acquire a part of important fields from the message, such as whether the customer is overdue or not and the corresponding loan record.
In order to meet the requirement of more clients for borrowing and also to judge the credit investigation of the clients more flexibly and accurately, the pedestrian credit investigation message is processed deeply, for example, the number of working units of the clients within 3 years is increased to be used as a judging index of work and income stability, or the credit investigation report of the clients is analyzed according to the user requirements of the risk departments, and the content required by the risk departments is analyzed. In order to solve the problems that the content of the pedestrian sign message is more, the hierarchy is complex, the name of the same field appears for a plurality of times, and the like, the invention provides a message analysis method which comprises the following steps:
in one embodiment, as shown in fig. 1, the present invention provides a method for parsing a message, including the steps of:
s100, obtaining the user requirements.
S110, extracting a plurality of first information related to the user requirement in the message, wherein the plurality of first information comprises the name of the first information and the value corresponding to the first information.
And S120, when the message contains a plurality of pieces of first information required by the user, accumulating and summing the plurality of pieces of first information, and outputting a message corresponding to the accumulated and summed result.
Specifically, user requirements and pedestrian credit messages are acquired, wherein the pedestrian credit messages are currently acquired through an ant product by calling pedestrian credit through an in-line CSP interface, and a standard version of pedestrian credit message is returned, or partial pedestrian credit messages are provided by a partner of a network merchant credit product.
Further, a plurality of first information related to the user's requirement in the pedestrian credit message is extracted according to the user's requirement, for example, the user's requirement is the current overdue total amount of the inquiry credit card and the quasi credit card, each first information has a corresponding name and a corresponding value, that is, any one of the related first information displays the corresponding overdue gold amount of the monthly credit card and the monthly quasi credit card of the user, etc.
Further, if the message contains a plurality of first information related to the user, accumulating and summing the values corresponding to each first information, and outputting the message information represented by the accumulated and summed result (for example, when the user demand is the current overdue total of the query credit card and the quasi credit card, the output result is the current overdue total of the query credit card and the quasi credit card), thereby obtaining the final result of the user demand in the example; of course, if the first information related to the user requirement does not exist in the pedestrian sign message, the message analysis is stopped.
According to the method, the device and the system, the first information related to the user demands is accumulated and summed, and the message information represented by the accumulated and summed result in the message is output, so that the accuracy of searching the message related to the user demands is improved, and the user experience is also improved.
In one embodiment, as shown in fig. 2, the present invention provides a method for parsing a message, which further includes the steps of, after the obtaining of a user requirement and before the extracting of a plurality of first information related to the user requirement in the message:
s200, judging whether the message contains second information or not, wherein the second information comprises at least one piece of first information.
S210, when the message contains the second information, generating a set containing a plurality of first information according to the second information.
S220, stopping executing the message analysis operation when the message does not contain the second information.
Specifically, after the user demand and the pedestrian sign message are obtained, the fields in the pedestrian sign message are very numerous and finely divided, and the same field can also appear for a plurality of times at the same time, if only the field which is the same as the user demand information in the message is extracted, the first information extracted from the message may be incomplete. Therefore, the first information is extracted before the first information is extracted, wherein the second information is a higher concept of the first information, for example, the user requirement is the current overdue total amount of the query credit card and the quasi credit card, the first information shows the corresponding overdue gold amount of one of the monthly credit card and the monthly quasi credit card of the user, and the second information is "overdue related"; for another example, if the user requirement is a query academy, the first information shows fields related to the user academy, and the second information corresponding to the academy is "personal basic information" of the user. Therefore, whether the pedestrian sign message contains the second information containing the user requirement is judged, and the first information related to the user requirement in the message can not be omitted.
Further, when the message contains the second information, a set is generated according to the extracted second information, the set contains all the first information closely related to the user demand, the first information related to the user demand is extracted from the set, and further accumulation and summation calculation are performed, and message information corresponding to the calculation result is output.
Further, when the message does not contain the second information, stopping the message analysis.
In this embodiment, the second information is extracted first and the set is generated, and then the first information most relevant to the user requirement is extracted from the second information, so that not only is the problem of missing the information relevant to the user requirement avoided, but also the efficiency and the accuracy of message analysis are improved.
In one embodiment, the present invention provides a method for parsing a message, based on the above embodiment, the extracting a plurality of first information related to the user requirement in the message, where the plurality of first information includes a name of the first information and a value corresponding to the first information, and then further includes the steps of:
when the message contains a plurality of first information needed by the user, judging whether the first information has the maximum value, and if so, outputting the message corresponding to the maximum value in the first information.
Specifically, when the user requirement is to inquire about the current maximum overdue number of the cyclic credit account, the upper second information of the first information about the current maximum overdue number of the cyclic credit account is "overdue related", whether the message contains the second information is judged, if yes, a set is generated from fields related to the second information in the message, the set is traversed, and all message fields related to the first information in the set are searched. And judging whether the maximum overdue number of the cyclic credit account in the fields is an overdue period, and outputting message information corresponding to the judging result (for example, the output result is that the maximum overdue number of the cyclic credit account is an x period).
In the embodiment, the user requirement is met only by inquiring the maximum value of the first information, so that the richness of the message analysis method is improved.
In one embodiment, the present invention provides a method for parsing a message, based on the above embodiment, the extracting a plurality of first information related to the user requirement in the message, where the plurality of first information includes a name of the first information and a value corresponding to the first information, and then further includes the steps of:
when the message contains a plurality of first information needed by the user, counting the quantity of the plurality of first information, and outputting a message corresponding to the counting result.
Specifically, when the user demand is to inquire the current slow-down account number, the upper second information of the first information is overdue correlation, whether the message contains the second information is judged, if yes, a set is generated from fields related to the second information in the message, the set is traversed, and all message fields related to the first information in the set are searched. And counting the total number of the current slow-down accounts in the fields, and outputting message information corresponding to the counting result (for example, the output result is "the counted slow-down accounts are a").
In practice, the user demands become ever more, the message parsing method in this embodiment is not limited to accumulating and summing the first information, screening out the maximum value in the first information, counting the number of the first information, but also more examples related to the user demands, such as inquiry date, inquiry certificate name, inquiry certificate type, inquiry certificate number, pedestrian credit interpretation score, pedestrian credit interpretation relative position, academic, employment status, latest living status, latest industry, marital status, number of mobile phone numbers in three years, number of working units in three years, current balance of the balance, current total balance to be paid, maximum overdue number in 5 years of credit, maximum month overdue amount in 5 years of credit, current overdue total amount of non-cyclic credit account, current maximum overdue number of non-cyclic credit account, current overdue total amount of sub-account under cyclic credit, current maximum overdue amount of sub-account under cyclic credit the total current overdue amount of the cyclic credit account, the total current maximum overdue amount of the cyclic credit account, the credit card, the total current overdue amount of the quasi-credit card, the maximum overdue amount of the quasi-credit card, the maximum overdue amount of the credit card within 5 years, the maximum overdue state of the credit card within 24 months, the maximum overdue state of the credit card within 12 months, the maximum overdue state of the credit card within 6 months, the maximum overdue state of the credit card within 3 months, (total 180+ amount of the overdue within 24 months of the loan, (total 90+ amount of the overdue within 24 months of the loan, (total 60+ amount of the overdue within 24 months of the loan, (total 30+ amount of the overdue within 24 months of the loan), total delinquent 1+ times within 24 months of loan (including due), last query number of months to date (post-loan-removal query), last query number of days to date (post-loan-removal query), last month query agency number-credit card approval, last month query agency number-loan approval, applicant past 1 month credit audit query number (post-loan-removal query), applicant past 3 month credit audit query number (post-loan-removal query), applicant past 6 month credit audit query number (post-loan-removal query), applicant past 12 month credit audit query number (post-credit-removal query), applicant past 24 month credit audit query number (post-credit-removal query), 12 month query number/24 month query number, 6 month query number/12 month query number the number of queries in 3 months/number of queries in 6 months, number of queries in 1 month/number of queries in 3 months, highest credit limit for a single credit card, average credit limit for a credit card, lowest credit limit for a single credit card, number of credit card institutions, number of credit card used, total credit limit usage, current maximum credit limit usage for a credit card, number of credit cards with a usage of greater than 50%, number of credit cards with a usage of greater than 75%, number of credit cards with a usage of greater than 90%, credit card duty ratio with a usage of greater than 50%, credit card duty ratio with a usage of greater than 75%, credit card duty ratio with a usage of greater than 90%, number of credit institutions, total number of outstanding loans, the present outstanding vehicle credit total amount, the present outstanding operational loan total amount, the average of six months of credit to repayment, house loan repayment, vehicle loan repayment, operational loan repayment, mortgage-free loan repayment, loan total balance, house loan total balance, vehicle loan total balance, operational loan total balance, mortgage-free loan total balance, credit card, quasi-credit card longest in-album time, loan longest in-album time, external guarantee total balance, external guarantee total amount, living owed amount, tax owed/decision/administrative penalty related amount summary, latest occupation, loan account-special transaction number.
Examples of relevant codes are as follows:
if ((from the second generation letter message) Pd01 is not empty) {
try{
log, info ("pedestrian credit index calculation-overdue related-credit card, quasi-credit card current overdue total-start.");
set < CspdaPd 01> Pd01s assignment (from second generation letter message) Pd01
Traversing the collection, screening out the sum of the collection elements which are not empty and the total amount of the current overdue accounts which are not empty, and summing the account types of R2-credit card accounts/R3-quasi-credit card accounts
The string pboc_credit_yuqi_amt_cur assigns ""; the default value is changed from 0 to null, and null can be used as the default value without subsequent calculation
if (pd 01cj06Sum is not empty) {
The pboc_credit_yuqi_amt_cur value pbo01 cj06Sum
}
Derived variable assignment
Pboc_credit_yuqi_amt_cur(pboc_credit_yuqi_amt_cur);
locker. Info ("pedestrian credit index calculation-overdue correlation-credit card, quasi credit card current overdue total:" +pboc_credit_yuqi_amt_cur);
catch (Exception e) {// if there is an abnormality
log.error ("pedestrian sign index calculation-overdue correlation-credit card, quasi-credit card current overdue total:" +e getmessage ());
abnormal ejection
}
}
if ((from the second generation letter message) Pd01 is not empty) {
try{
log.info ("pedestrian sign index calculation-overdue correlation-current maximum overdue number of recurring credit account-start.");
set < CspdaPd 01> Pd01s assignment (from second generation letter message) Pd01
Traversing the collection, screening out the collection elements which are not null and the current maximum overdue number which is not null, and taking the maximum value of the account type of the circulating credit account (R1) object
The string pboc_xhdai_yuqi_term_cur assigns ""; the default value is changed from 0 to null, and null can be used as the default value without subsequent calculation
if(pd01cs02Max.isPresent()){
The pboc_xhdai_yuqi_term_cur is assigned the value of pd01cs02max getaslong ()
}
Derived variable assignment
Pboc_xhdai_yuqi_term_cur(pboc_xhdai_yuqi_term_cur);
locker. Info ("pedestrian credit index calculation-overdue correlation-current maximum overdue number of cyclic credit account:" +pboc_xhdai_yuqi_term_cur);
catch (Exception e) {// if there is an abnormality
log.error ("pedestrian sign index calculation-overdue correlation-current maximum overdue number of cyclic credit account-anomaly:" +e getmessage ());
abnormal ejection
}
}
When different user requirements need to be met, the corresponding user requirements need only be replaced in the code example.
In one embodiment, the present invention provides a method for parsing a message, which further includes the steps of:
and assigning a plurality of first information according to the content in the message.
And storing the log record generated in the message analysis operation in a log file.
Specifically, a user demand is obtained, a plurality of pieces of first information related to the message are extracted according to the user demand, and the extracted pieces of first information are assigned according to the message, so that the first information comprises the name of the first information and the value corresponding to the first information. For example, the user needs to inquire about the total current overdue amount of the credit card and the quasi credit card, and assign the overdue amount of each of the credit card and the quasi credit card to the first information according to the relative overdue amount of the credit card and the quasi credit card in the message.
Therefore, each first information has a corresponding name and a corresponding value, that is, any one of the related first information displays the corresponding overdue amount of money of the monthly credit card and the monthly quasi-credit card of the user.
Further, first, extracting upper concept second information of a plurality of first information, and "inquiring the total current overdue amount of the credit card and the quasi credit card" and the upper second information is "overdue correlation", generating a set containing all the first information from all overdue related fields in the message, extracting the first information related to the user requirement from the set, further accumulating and summing the first information, and outputting the message information corresponding to the calculation result.
All log records generated in the message analysis operation are recorded in the log file, so that the user can conveniently inquire, and when an error which does not accord with logic occurs in the message analysis method in the embodiment, the generated abnormal log is recorded in the log file, so that the error cause can be conveniently checked, and the user experience is further improved.
In one embodiment, as shown in fig. 3, the present invention provides a message parsing system, including: an acquisition unit 100, an extraction unit 200, a calculation unit 300, and an output unit 400.
An obtaining unit 100, configured to obtain a user requirement.
The extracting unit 200 is configured to extract a plurality of first information related to a user requirement in the packet, where the plurality of first information includes a name of the first information and a value corresponding to the first information.
The calculating unit 300 adds up the first information when the message contains the first information required by the user.
And the output unit 400 is configured to output a message corresponding to the accumulated and summed result.
Specifically, the acquiring unit 100 acquires a user demand and a pedestrian sign message, where the pedestrian sign message is currently acquired by calling a pedestrian sign message through an in-line CSP interface by an ant product and returning a standard version of the pedestrian sign message, or by providing a part of the pedestrian sign message by a partner of a network merchant credit product.
Further, the extracting unit 200 extracts a plurality of first information related to the user's requirement in the pedestrian credit message according to the user's requirement, for example, the user's requirement is a total current overdue amount of the query credit card and the quasi credit card, each of the first information has a corresponding name and a corresponding value, i.e. any one of the related first information displays the corresponding overdue amount of gold of the monthly credit card and the quasi credit card of the user.
Further, if the message includes a plurality of first information related to the user, the calculating unit 300 performs accumulation and summation on the value corresponding to each first information, and the output unit 400 outputs the message information represented by the result of the accumulation and summation (for example, when the user requirement is the current overdue total of the query credit card and the quasi credit card, the output result is the current overdue total of the query credit card and the quasi credit card), so as to obtain the final result of the user requirement in the example; of course, if the first information related to the user requirement does not exist in the pedestrian sign message, the message analysis is stopped.
The method for parsing the message used in this embodiment has been described in detail in the foregoing embodiments, and will not be described in detail herein.
In one embodiment, as shown in fig. 4, the present invention provides a message parsing system, which further includes: a judging unit 500, a generating unit 600 and an executing unit 700.
The judging unit 500 is further configured to judge whether the message contains second information, where the second information includes at least one piece of first information.
The generating unit 600 is further configured to generate a set according to the second information when the second information is included in the message.
The execution unit 700 is further configured to stop executing the message parsing operation when the message does not contain the second information.
Specifically, after the user demand and the pedestrian sign message are obtained, the fields in the pedestrian sign message are very numerous and finely divided, and the same field can also appear for a plurality of times at the same time, if only the field which is the same as the user demand information in the message is extracted, the first information extracted from the message may be incomplete. Therefore, the first information is extracted before the first information is extracted, wherein the second information is a higher concept of the first information, for example, the user requirement is the current overdue total amount of the query credit card and the quasi credit card, the first information shows the corresponding overdue gold amount of one of the monthly credit card and the monthly quasi credit card of the user, and the second information is "overdue related"; for another example, if the user requirement is a query academy, the first information shows fields related to the user academy, and the second information corresponding to the academy is "personal basic information" of the user. Therefore, the determining unit 500 determines whether the pedestrian sign message includes the second information including the user requirement, so as to not miss the first information related to the user requirement in the message.
Further, when the message contains the second information, the generating unit 600 generates a set according to the extracted second information, where the set contains all the first information closely related to the user requirement, extracts the first information related to the user requirement from the set, and performs further accumulation and summation calculation and outputs the message information corresponding to the calculation result.
Further, when the message does not include the second information, the execution unit 700 stops parsing the message.
In one embodiment, as shown in fig. 3 and 4, the present invention provides a message parsing system, based on the above embodiment,
the judging unit 500 is further configured to judge whether the first information has the highest value when the message contains the first information required by the user.
The output unit 400 is further configured to output a message corresponding to the maximum value in the plurality of first information when the maximum value exists in the plurality of first information.
Specifically, when the user requirement is to query the "current maximum overdue number of the cyclic credit account", the upper second information of the first information "current maximum overdue number of the cyclic credit account" is "overdue correlation", and the determining unit 500 determines whether the message contains the second information, if so, generates a set from fields related to the second information in the message, traverses the set, and searches all message fields related to the first information in the set. The output unit 400 determines whether the maximum overdue number of the cyclic credit account is an overdue period, and outputs the message information corresponding to the determination result (for example, the output result is that the maximum overdue number of the cyclic credit account is x-period).
In one embodiment, as shown in fig. 3, the present invention provides a message parsing system, based on the above embodiment,
the calculating unit 300 is further configured to count the number of the plurality of first information when the message contains the plurality of first information required by the user.
The output unit 400 is further configured to output a message corresponding to the statistical result.
Specifically, when the user demand is to inquire the current slow-down account number, the upper second information of the first information is overdue correlation, whether the message contains the second information is judged, if yes, a set is generated from fields related to the second information in the message, the set is traversed, and all message fields related to the first information in the set are searched. And counting the total number of the current slow-down accounts in the fields, and outputting message information corresponding to the counting result (for example, the output result is "the counted slow-down accounts are a").
In one embodiment, the present invention provides a message parsing system, which further includes:
and the assignment unit is used for assigning a plurality of first information according to the content in the message.
And the storage unit is used for storing the log record generated in the message analysis operation into a log file.
Specifically, a user demand is obtained, a plurality of pieces of first information related to the message are extracted according to the user demand, and the extracted pieces of first information are assigned according to the message, so that the first information comprises the name of the first information and the value corresponding to the first information. For example, the user needs to inquire about the total current overdue amount of the credit card and the quasi credit card, and assign the overdue amount of each of the credit card and the quasi credit card to the first information according to the relative overdue amount of the credit card and the quasi credit card in the message.
Therefore, each first information has a corresponding name and a corresponding value, that is, any one of the related first information displays the corresponding overdue amount of money of the monthly credit card and the monthly quasi-credit card of the user.
Further, first, extracting upper concept second information of a plurality of first information, and "inquiring the total current overdue amount of the credit card and the quasi credit card" and the upper second information is "overdue correlation", generating a set containing all the first information from all overdue related fields in the message, extracting the first information related to the user requirement from the set, further accumulating and summing the first information, and outputting the message information corresponding to the calculation result.
All log records generated in the message analysis operation are recorded in the log file, so that the user can conveniently inquire, and when an error which does not accord with logic occurs in the message analysis method in the embodiment, the generated abnormal log is recorded in the log file, so that the error cause can be conveniently checked, and the user experience is further improved.
In one embodiment, the present invention provides a computer medium having a computer program stored thereon, where the computer program when executed by a processor implements the method for parsing a message as described in the previous embodiment. That is, when some or all of the foregoing technical solutions that contribute to the prior art according to the embodiments of the present invention are embodied by means of a computer software product, the foregoing computer software product is stored in a computer-readable storage medium. The computer readable storage medium can be any means or device that can carry computer program code entities such as a U disk, removable magnetic disk, optical disk, computer memory, read only memory, random access memory, and the like.
It should be noted that the above embodiments can be freely combined as needed. The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (10)

1. The message parsing method is characterized by comprising the following steps:
acquiring user requirements;
extracting a plurality of first information related to the user demand in a message, wherein the plurality of first information comprises names of the first information and numerical values corresponding to the first information;
when the message contains a plurality of first information needed by a user, accumulating and summing the first information, and outputting a message corresponding to the accumulated and summed result.
2. The method for parsing a message according to claim 1, wherein after the obtaining the user requirement and before extracting the first information related to the user requirement in the message, the method further comprises the steps of:
judging whether the message contains second information or not, wherein the second information comprises at least one piece of first information;
when the message contains the second information, generating a set containing a plurality of first information according to the second information;
and stopping executing the message analysis operation when the message does not contain the second information.
3. The method for parsing a message according to any one of claims 1-2, wherein the extracting a plurality of first information related to the user requirement in the message, the plurality of first information including a name of the first information and a value corresponding to the first information, further includes the steps of:
when the message contains a plurality of first information needed by a user, judging whether the first information contains the maximum value, and if so, outputting a message corresponding to the maximum value in the first information.
4. The method for parsing a message according to any one of claims 1-2, wherein the extracting a plurality of first information related to the user requirement in the message, the plurality of first information including a name of the first information and a value corresponding to the first information, further includes the steps of:
when the message contains a plurality of first information needed by a user, counting the quantity of the plurality of first information, and outputting a message corresponding to the counting result.
5. The message parsing method according to any one of claims 1-2, further comprising the steps of:
assigning a plurality of first information according to the content in the message;
and storing the log record generated in the message analysis operation in a log file.
6. A message parsing system, comprising:
the acquisition unit is used for acquiring the user demand;
the extraction unit is used for extracting a plurality of first information related to the user requirement in the message, wherein the plurality of first information comprises names of the first information and numerical values corresponding to the first information;
the computing unit is used for accumulating and summing the first information when the message contains the first information required by the user;
and the output unit is used for outputting the message corresponding to the accumulated summation result.
7. The message parsing system of claim 6, further comprising
The judging unit is further used for judging whether the message contains second information or not, wherein the second information comprises at least one piece of first information;
the generating unit is further used for generating a set according to the second information when the message contains the second information;
and the execution unit is also used for stopping executing the message analysis operation when the message does not contain the second information.
8. The message parsing system according to claim 6-7, wherein,
the judging unit is further configured to judge whether a plurality of first information exists in the first information when the message contains the first information required by the user;
the output unit is further configured to output a message corresponding to the maximum value in the plurality of first information when the maximum value exists in the plurality of first information.
9. The message parsing system according to claim 6-7, wherein,
the computing unit is further configured to count the number of the plurality of first information when the message contains the plurality of first information required by the user;
the output unit is further configured to output a message corresponding to the statistical result.
10. The message parsing system of any one of claims 6-7, further comprising:
the assignment unit is used for assigning a plurality of first information according to the content in the message;
and the storage unit is used for storing the log record generated in the message analysis operation into a log file.
CN202311558971.3A 2023-11-22 2023-11-22 Message parsing method and system Pending CN117579723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311558971.3A CN117579723A (en) 2023-11-22 2023-11-22 Message parsing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311558971.3A CN117579723A (en) 2023-11-22 2023-11-22 Message parsing method and system

Publications (1)

Publication Number Publication Date
CN117579723A true CN117579723A (en) 2024-02-20

Family

ID=89860235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311558971.3A Pending CN117579723A (en) 2023-11-22 2023-11-22 Message parsing method and system

Country Status (1)

Country Link
CN (1) CN117579723A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4346442A (en) * 1980-07-29 1982-08-24 Merrill Lynch, Pierce, Fenner & Smith Incorporated Securities brokerage-cash management system
KR20030002394A (en) * 2001-06-29 2003-01-09 삼성캐피탈 주식회사 System and Method for adjusting a maximum loan limit and interest rate
US20040148233A1 (en) * 2003-01-28 2004-07-29 Lee Ho Ming Methodology of performing double-entry bookkeeping on an internet based accounting system and producing accounting information online
WO2014193324A1 (en) * 2013-05-27 2014-12-04 Kkb-Kredi̇ Kayit Bürosu Anoni̇m Şi̇rketi̇ Risk reporting system
CN106408412A (en) * 2016-09-13 2017-02-15 深圳中兴飞贷金融科技有限公司 Mobile phone-based loan system
CN109670938A (en) * 2018-10-10 2019-04-23 苏宁消费金融有限公司 Collage-credit data merges the method and system reported
CN110782335A (en) * 2019-09-19 2020-02-11 平安科技(深圳)有限公司 Method, device and storage medium for processing credit data based on artificial intelligence
CN111145037A (en) * 2018-11-03 2020-05-12 广州市明领信息科技有限公司 Big data analysis system
CA3141554A1 (en) * 2020-12-09 2022-06-09 10353744 Canada Ltd. User credit risk assessment method, device, computer equipment and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4346442A (en) * 1980-07-29 1982-08-24 Merrill Lynch, Pierce, Fenner & Smith Incorporated Securities brokerage-cash management system
KR20030002394A (en) * 2001-06-29 2003-01-09 삼성캐피탈 주식회사 System and Method for adjusting a maximum loan limit and interest rate
US20040148233A1 (en) * 2003-01-28 2004-07-29 Lee Ho Ming Methodology of performing double-entry bookkeeping on an internet based accounting system and producing accounting information online
WO2014193324A1 (en) * 2013-05-27 2014-12-04 Kkb-Kredi̇ Kayit Bürosu Anoni̇m Şi̇rketi̇ Risk reporting system
CN106408412A (en) * 2016-09-13 2017-02-15 深圳中兴飞贷金融科技有限公司 Mobile phone-based loan system
CN109670938A (en) * 2018-10-10 2019-04-23 苏宁消费金融有限公司 Collage-credit data merges the method and system reported
CN111145037A (en) * 2018-11-03 2020-05-12 广州市明领信息科技有限公司 Big data analysis system
CN110782335A (en) * 2019-09-19 2020-02-11 平安科技(深圳)有限公司 Method, device and storage medium for processing credit data based on artificial intelligence
CA3141554A1 (en) * 2020-12-09 2022-06-09 10353744 Canada Ltd. User credit risk assessment method, device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
US6396913B1 (en) System and method for processing call detail records
US20020042715A1 (en) Mobile call detail record separation for billing purposes
US20030066880A1 (en) Transaction management system and method
CN110728301A (en) Credit scoring method, device, terminal and storage medium for individual user
CN112488839A (en) Method and device for tracking flow direction of large amount of funds
CN113205402A (en) Account checking method and device, electronic equipment and computer readable medium
CN112016843A (en) Organizational finance and tax data risk analysis method and related device
CN105359172A (en) Calculating a probability of a business being delinquent
US20210182877A1 (en) Method and system to determine business segments associated with merchants
CN117611371A (en) Commission returning method, apparatus, computer-readable storage medium, and electronic device
CN111652716B (en) First credit user tag determining method and device
CN110348983B (en) Transaction information management method and device, electronic equipment and non-transitory storage medium
CN111311276B (en) Identification method and device for abnormal user group and readable storage medium
CN117579723A (en) Message parsing method and system
CN111429192A (en) Invoice data analysis method and system
US11657348B2 (en) System for dynamic exception prioritization
CN114971912A (en) Account characteristic analysis method, system and storage medium in fund transaction
CN114971637A (en) Risk early warning method, device, equipment and medium
CN112036999B (en) Accounting subject balance information query method and device
CN116976800A (en) Data processing method and device, storage medium and electronic equipment
JP2019121091A (en) Accounting processor, accounting method, accounting program
JP4350255B2 (en) Marketing system, method and recording medium
CN112241760A (en) Automatic black intermediary mining method and system in network petty loan service
JP2001331749A (en) Method and system for guarantee business
CN109636589A (en) A kind of big data cross validation restoring function system

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