CN118174823A - Message processing method, device, equipment, medium and program product - Google Patents

Message processing method, device, equipment, medium and program product Download PDF

Info

Publication number
CN118174823A
CN118174823A CN202410276967.6A CN202410276967A CN118174823A CN 118174823 A CN118174823 A CN 118174823A CN 202410276967 A CN202410276967 A CN 202410276967A CN 118174823 A CN118174823 A CN 118174823A
Authority
CN
China
Prior art keywords
error
content
message
input
error code
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
CN202410276967.6A
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.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202410276967.6A priority Critical patent/CN118174823A/en
Publication of CN118174823A publication Critical patent/CN118174823A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure provides a message processing method, a device, equipment, a medium and a program product, which can be applied to the technical fields of data processing and financial science and technology. The message processing method comprises the following steps: responding to the received checking request about the message content in the clearing system, and obtaining a message checking result; under the condition that the message inspection result represents that the message content comprises error content, determining a matching result of the error content in an error code database, wherein the error code database comprises a plurality of error codes, and each error code is used for representing a first input position in the message and first default input content corresponding to the first input position; determining a second input position and a second default input content corresponding to the error content according to the target error code under the condition that the matching result is determined to represent that the target error code matched with the error content is included in the plurality of error codes; and generating error repair information according to the second input position and the second default input content.

Description

Message processing method, device, equipment, medium and program product
Technical Field
The present disclosure relates to the technical field of data processing and financial science and technology, and in particular, to a method, an apparatus, a device, a medium and a program product for processing a message.
Background
The international standardization organization (International Organization for Standardization, ISO) message defines a standard of the message, and the financial institutions can use a unified standard to conduct data communication, so that the data communication efficiency between the financial institutions is improved, and the unified standard enables the data to be updated and maintained more easily.
In the process of implementing the disclosed concept, the inventor finds that at least the following problems exist in the related art: the message processing method in the related art has lower efficiency and lower correction rate of error content restoration.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a method, apparatus, device, medium, and program product for processing a message.
According to a first aspect of the present disclosure, there is provided a message processing method, including:
Responding to the received checking request about the message content in the clearing system, and obtaining a message checking result;
determining a matching result of the error content in an error code database under the condition that the message checking result represents that the message content comprises the error content, wherein the error code database comprises a plurality of error codes, and each error code is used for representing a first input position in the message and a first default input content corresponding to the first input position;
When it is determined that the matching result indicates that a plurality of error codes include a target error code matching the error content, determining a second input position and a second default input content corresponding to the error content according to the target error code;
and generating error repair information according to the second input position and the second default input content.
According to an embodiment of the present disclosure, the above message processing method further includes:
Determining a third input position and input content associated with the error content if it is determined that the matching result characterizes that the error codes do not include an error code matching the error content;
Determining identification information of the error content according to the third input position;
And generating the target error code according to the identification information, the third input position and the input content.
According to an embodiment of the present disclosure, the above message processing method further includes:
and displaying prompt information at a preset position of a display page according to the error content under the condition that the message checking result is determined to indicate that the message content comprises the error content.
According to an embodiment of the present disclosure, in the case that the matching result is determined to characterize that the plurality of error codes does not include an error code matching the error content, determining a third input position and input content related to the error content includes:
Under the condition that the matching result is determined to represent that the error codes do not comprise the error codes matched with the error content, acquiring an information screenshot about the prompt information at the preset position;
performing character recognition on the information screenshot to obtain a character recognition result;
And determining a third input position and input content related to the error content according to the character recognition result.
According to an embodiment of the present disclosure, the above message processing method further includes:
And updating the error code database according to the target error code under the condition that the matching result is determined to indicate that the error codes matched with the error content are not included in the error codes.
According to an embodiment of the present disclosure, the error code database includes a plurality of error code databases;
Wherein, when determining that the message inspection result indicates that the message content includes error content, determining a matching result of the error content in an error code database includes:
under the condition that the message checking result is determined to represent that the message content comprises error content, acquiring the input type of the message content;
determining a target error code database corresponding to the input type from a plurality of error code databases according to the input type;
and determining a matching result of the error content in the target error code database.
According to an embodiment of the present disclosure, the above message processing method further includes:
And responding to the received repairing request about the error repairing information, and repairing the content of the second input position according to the error repairing information.
A second aspect of the present disclosure provides a message processing apparatus, including:
The obtaining module is used for responding to the received checking request about the message content in the clearing system and obtaining a message checking result;
The first determining module is used for determining a matching result of the error content in an error code database when determining that the message checking result represents that the message content comprises the error content, wherein the error code database comprises a plurality of error codes, and each error code is used for representing a first input position in the message and a first default input content corresponding to the first input position;
A second determining module, configured to determine, when it is determined that the plurality of error codes indicated by the matching result include a target error code that matches the error content, a second input position and a second default input content corresponding to the error content according to the target error code;
The first generation module is used for generating error repair information according to the second input position and the second default input content.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the method.
A fourth aspect of the present disclosure also provides a computer readable storage medium having stored thereon a computer program or instructions which, when executed by a processor, implement the steps of the above method.
A fifth aspect of the present disclosure also provides a computer program product comprising a computer program or instructions which, when executed by a processor, performs the steps of the method described above.
According to the embodiment of the disclosure, the target error code can be determined in the error code database through the error content, and the second input position and the second default input content matched with the error content are determined according to the target error code, so that manual checking of error reasons is not needed, the efficiency of message processing is improved, the error code has the corresponding default input content, error repair information can be automatically generated, and the repair accuracy is improved.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be more apparent from the following description of embodiments of the disclosure with reference to the accompanying drawings, in which:
FIG. 1 schematically illustrates an application scenario diagram of a message processing method, apparatus, device, medium and program product according to an embodiment of the disclosure;
FIG. 2 schematically illustrates a flow chart of a message processing method according to an embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a message processing method according to a further embodiment of the disclosure;
Fig. 4 schematically illustrates a block diagram of a message processing apparatus according to an embodiment of the present disclosure;
Fig. 5 schematically illustrates a block diagram of a message processing apparatus according to yet another embodiment of the present disclosure; and
Fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a message processing method according to an embodiment of the disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
In the technical solution of the present disclosure, the related user information (including, but not limited to, user personal information, user image information, user equipment information, such as location information, etc.) and data (including, but not limited to, data for analysis, stored data, displayed data, etc.) are information and data authorized by the user or sufficiently authorized by each party, and the related data is collected, stored, used, processed, transmitted, provided, disclosed, applied, etc. in compliance with relevant laws and regulations and standards, necessary security measures are taken, no prejudice to the public order colloquia is provided, and corresponding operation entries are provided for the user to select authorization or rejection.
In the scenario of using personal information to make an automated decision, the method, the device and the system provided by the embodiment of the disclosure provide corresponding operation inlets for users, so that the users can choose to agree or reject the automated decision result; if the user selects refusal, the expert decision flow is entered. The expression "automated decision" here refers to an activity of automatically analyzing, assessing the behavioral habits, hobbies or economic, health, credit status of an individual, etc. by means of a computer program, and making a decision. The expression "expert decision" here refers to an activity of making a decision by a person who is specializing in a certain field of work, has specialized experience, knowledge and skills and reaches a certain level of expertise.
According to the embodiment of the disclosure, the input items of the ISO message are more, and there is some hidden logic between the input items, for example, the input item is a, and associated with the input item is an input item B and an input item C, where in the case of input a, the input items B and C must be selected from two, or after input a, other service return errors are invoked, and so on. At present, if the error reporting information of the message has a specific error code, an operator usually queries the corresponding error reporting reason according to the error code and then locates the error reporting content of the page. However, for error-free code reporting, the operator cannot locate the specific content of the error based on the error reporting information, and only by looking at the code or assisting the developer. However, since the number of ISO message fields is large, there are cases where the same chinese field corresponds to different upper nodes.
For example, selecting a remittance message of pacs.008.001.08, submitting a check of the pacs.008.001.08 message after inputting the content of all input positions of the input page, displaying a page popup prompt message prompt 'BIC is empty, then the name and the postal address must be input', intercepting the current error message prompt and saving the current error message prompt, and naming the current error message prompt as 202310130948. Because no error code exists, the page does not prompt the BIC, the name and the postal address to be input, an operator does not input the BIC, the name and the postal address when inputting the BIC, the operator checks the report error prompt after submitting the BIC, but because the input positions of the message are more, the identification names corresponding to the input positions are more, and part of the identification names possibly cannot be expanded on the page implicitly, so that the report error is more difficult to locate. The fields corresponding to the BIC of this example are a payment BIC, an account row BIC, etc., but a correct judgment cannot be made only on the basis of the prompt, and therefore, a lot of manpower is required for the investigation.
However, for different types of ISO messages, even the same error message may correspond to different fields and levels, so that a lot of manpower is required for checking, and the efficiency is low. Furthermore, even if the error reporting content is located, the error reporting content needs to be manually modified, and the modified message cannot guarantee the correctness.
In view of this, an embodiment of the present disclosure provides a method for processing a message, including: responding to the received checking request about the message content in the clearing system, and obtaining a message checking result; under the condition that the message inspection result represents that the message content comprises error content, determining a matching result of the error content in an error code database, wherein the error code database comprises a plurality of error codes, and each error code is used for representing a first input position in the message and first default input content corresponding to the first input position; determining a second input position and a second default input content corresponding to the error content according to the target error code under the condition that the matching result is determined to represent that the target error code matched with the error content is included in the plurality of error codes; and generating error repair information according to the second input position and the second default input content.
Fig. 1 schematically illustrates an application scenario diagram of a message processing method, apparatus, device, medium and program product according to an embodiment of the disclosure.
As shown in fig. 1, an application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103. The network 104 is a medium used to provide a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may interact with the server 105 via the network 104 using the first terminal device 101, the second terminal device 102, the third terminal device 103, to receive or send messages etc. Various communication client applications, such as a shopping class application, a web browser application, a search class application, an instant messaging tool, a mailbox client, social platform software, etc. (by way of example only) may be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103.
The first terminal device 101, the second terminal device 102, the third terminal device 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by the user using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as the user request, and feed back the processing result (e.g., the web page, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the message processing method provided in the embodiments of the present disclosure may be generally executed by the server 105. Accordingly, the message processing apparatus provided in the embodiments of the present disclosure may be generally disposed in the server 105. The message processing method provided by the embodiments of the present disclosure may also be performed by a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105. Accordingly, the message processing apparatus provided in the embodiments of the present disclosure may also be provided in a server or a server cluster that is different from the server 105 and is capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and/or the server 105.
It should be understood that the number of terminal devices, networks and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The message processing method of the disclosed embodiment will be described in detail with reference to fig. 2 to 4 based on the scenario described in fig. 1.
Fig. 2 schematically illustrates a flow chart of a message processing method according to an embodiment of the disclosure.
As shown in fig. 2, the message processing of this embodiment includes operations S210 to S240.
In operation S210, a message inspection result is obtained in response to receiving an inspection request for the message content in the clearing system.
In operation S220, in the case that the message inspection result is determined to indicate that the message content includes error content, a matching result of the error content in an error code database is determined, where the error code database includes a plurality of error codes, and each error code is used to indicate a first input position in the message and a first default input content corresponding to the first input position.
In operation S230, in case that it is determined that the matching result characterizes that the target error code matching the error content is included in the plurality of error codes, a second input position and a second default input content corresponding to the error content are determined according to the target error code.
In operation S240, error repair information is generated according to the second input position and the second default input content.
In accordance with embodiments of the present disclosure, a system for cross-border clearing by a financial institution may be in the clearing system.
According to the embodiment of the disclosure, the message content may be content filled in a clearing process, and after the message content is filled in, the message may be checked, so as to obtain a message checking result, and the checking of the message may be a validity check and a correctness check.
According to embodiments of the present disclosure, the message may be, for example, an ISO message.
According to an embodiment of the disclosure, the message may be filled according to a service requirement of a financial institution, and each service may correspond to one message. Thus, the content of each message may be different depending on the service.
According to the embodiment of the disclosure, in the case that the message inspection result indicates that the message content includes error content, the message content does not conform to logic or the error is filled in, and failure can be prompted. For example, the address of a financial institution is B province, but actually fills in as C province, so C province is the wrong content. For another example, the address of the a financial institution is B province, but actually fills in B1 province, so B1 province is the wrong content.
According to the embodiment of the disclosure, if the message inspection result indicates that the message content does not include error content, that is, the message content is correct, success can be indicated.
According to an embodiment of the present disclosure, the first input location in the message may be a location in the message where input is required, the first default content may be input content corresponding to the first input location, and the first default content may be obtained according to a location of the first input location in the message and front-back logic. For example, in the case where a is a, the first default input content corresponding to the first input position province may be B.
According to embodiments of the present disclosure, an input location may also be referred to as an input field, and input content corresponding to the input location may also be referred to as an element.
According to embodiments of the present disclosure, the error code database may include a plurality of error codes, each of which characterizes one of the cases where the message is erroneous, and thus, in the case where the message is erroneous, the cause of the error may be determined from the error code database.
According to embodiments of the present disclosure, error repair information regarding error content may be generated from an error code.
According to the embodiment of the disclosure, the error codes can correspond to different contents, the error codes can be matched according to the error contents, and when the matching result represents that a target error code matched with the error contents exists in the error codes, the corresponding second input position and the second default input content can be determined according to the target error code.
According to the embodiment of the disclosure, the second input position is used for determining the position corresponding to the error content, the second default input content is used for automatically repairing the second input position, and the second default content can be obtained according to the position of the second input position in the message and the front-back logic.
According to the embodiment of the disclosure, in determining the second input position of the error content and the second default input content corresponding to the second input position, the second default input content may be used as the repaired content, and the error repair information may be generated based on the position of the second input position.
According to the embodiment of the disclosure, the target error code can be determined in the error code database through the error content, and the second input position and the second default input content matched with the error content are determined according to the target error code, so that manual checking of error reasons is not required, the efficiency of message processing is improved, the error code has the corresponding default input content, error repair information can be automatically generated, manual repair is not required, and the repair accuracy can be improved.
According to an embodiment of the present disclosure, the message processing method further includes: determining a third input location and input content associated with the error content if the determination that the match results characterize that the error codes do not include error codes that match the error content; determining identification information of the error content according to the third input position; and generating a target error code according to the identification information, the third input position and the input content.
According to an embodiment of the present disclosure, the message processing method further includes: and updating the error code database according to the target error code under the condition that the matching result is determined to represent that the error codes matched with the error content are not included in the plurality of error codes.
According to the embodiment of the disclosure, in the case that the error codes matched with the error content are not included in the plurality of error codes, the third input position and the input content can be determined according to the error content, wherein the third input position is the input position of the error content in the message, and the input content is the content input at the third input position, and each input position has a unique identification, so that the identification information of the error content can be determined according to the third input position, and the target error code can be generated by the identification information, the child and the input content.
For example, the identification information is id1, the third input position is location 1, the input content is value1, (id 1- > location 1- > value 1), if the third input position has associated input content, the information of the associated input position may be saved together, for example, (id 1- > location 1- > value1, id2- > location 2- > value 2).
According to embodiments of the present disclosure, the child and the input content may be numbered based on the identification information, the third input, thereby generating a target error code. And updating the error code database based on the generated target error code.
According to the embodiment of the disclosure, under the condition that the error content cannot be matched with the corresponding error code, the corresponding error code is generated according to the error content, and the error code database is updated, so that the matching degree of the error code database can be improved, and the probability of successful error code matching is increased.
According to an embodiment of the present disclosure, the message processing method further includes: and displaying prompt information at a preset position of the display page according to the error content under the condition that the message checking result indicates that the message content comprises the error content.
According to an embodiment of the present disclosure, in a case where the determination that the matching result characterizes that the error code matching the error content is not included in the plurality of error codes, determining a third input position and input content related to the error content includes: under the condition that the matching result is determined to represent that the error codes matched with the error content are not included in the error codes, obtaining an information screenshot about prompt information at a preset position; performing character recognition on the information screenshot to obtain a character recognition result; and determining a third input position and input content related to the error content according to the character recognition result.
According to embodiments of the present disclosure, a display page may be a page into which a message is input, and a check request for the content of the message may be submitted in the display page.
According to the embodiment of the disclosure, the preset position of the display page can be a position for displaying the prompt information, so that an operator can better observe the message inspection result.
According to the embodiment of the disclosure, the preset position can be subjected to screenshot to obtain an information screenshot, the information screenshot is subjected to character recognition by utilizing optical character recognition (Optical Character Recognition, OCR) to obtain a character recognition result, and the third input position and the input content are determined according to the character recognition result.
For example, the error content may be a C-province, where the prompt information at the preset position is an input province error, and the text recognition result obtained by screenshot and text recognition is an input province error, so that the position where the third input position is a province may be determined, and the input content is a C-province.
According to the embodiment of the disclosure, the prompt information can also be directly obtained through the script.
According to the embodiment of the disclosure, the prompt message is displayed at the preset position and the screenshot can accurately acquire the error content in the message content through the text recognition prompt message,
According to an embodiment of the present disclosure, in a case where it is determined that the message inspection result characterizes that the message content includes error content, determining a matching result of the error content in an error code database includes: under the condition that the message inspection result is determined to represent that the message content comprises error content, acquiring the input type of the message content; determining a target error code database corresponding to the input type from a plurality of error code databases according to the input type; and determining a matching result of the error content in the target error code database.
According to the embodiment of the disclosure, the error code databases may include a plurality of error code databases, each error code database corresponds to an input type of a message, and before inputting the message content, the corresponding input type needs to be selected, so that the message content can be better classified.
According to the embodiment of the disclosure, under the condition that the message content represented by the message inspection result includes error content, the input type of the message content can be acquired first, and the corresponding target error code database is determined by the input type, so that the range of matching error codes is reduced, and the efficiency of message processing can be improved.
According to an embodiment of the present disclosure, the message processing method further includes: in response to receiving a repair request for the error repair information, repairing the content of the second input location according to the error repair information.
According to the embodiment of the disclosure, the repair request may be that, in a case where the repair request about the error repair information is received after the page application is displayed, the content of the second input location may be replaced with the corresponding default input content according to the error repair information.
According to the embodiment of the disclosure, the error content is automatically repaired, so that the repair accuracy can be improved.
Fig. 3 schematically illustrates a flow chart of a message processing method according to a further embodiment of the present disclosure.
As shown in fig. 3, the message processing method includes operations S301 to S311.
In operation S301, a message inspection result is obtained in response to receiving an inspection request for the message content in the clearing system.
In operation S302, in a case where it is determined that the message inspection result indicates that the message content includes error content, an input type of the message content is acquired.
In operation S303, a target error code database corresponding to the input type is determined from the plurality of error code databases according to the input type.
In operation S304, a matching result of the error content in the target error code database is determined, and in the case where it is determined that the matching result characterizes that the target error code matching the error content is included in the plurality of error codes, operation S305 is performed, and in the case where it is determined that the matching result characterizes that the error code matching the error content is not included in the plurality of error codes, operation S307 is performed.
In operation S305, a second input position and a second default input content corresponding to the error content are determined according to the target error code.
In operation S306, error repair information is generated according to the second input position and the second default input content.
In operation S307, a screenshot of information about the prompt is obtained at a preset location.
In operation S308, text recognition is performed on the information screenshot, and a text recognition result is obtained.
In operation S309, a third input position and input content related to the error content are determined according to the text recognition result.
In operation S310, identification information of the error content is determined according to the third input position.
In operation S311, a target error code is generated according to the identification information, the third input position, and the input content, and operation S305 is performed.
According to the embodiments of the present disclosure, operations S301 to S311 may refer to related descriptions of other embodiments of the present disclosure, and are not described herein.
Fig. 4 schematically shows a block diagram of a message processing apparatus according to an embodiment of the present disclosure.
As shown in fig. 4, the message processing apparatus 400 may include an error message collecting module 410, an error message matching module 420, and an error message repairing apparatus 430.
The error information collection module 410 may be configured to obtain, in a preset position, a screenshot of information about the prompt information when it is determined that the message content represented by the message inspection result includes error content and when the plurality of error codes does not include error codes matching the error content. And the information screenshot is saved in a JPG form, saved in an error code database corresponding to the input type of the message, and named according to a timestamp, for example, picName.
The error message matching module 420 may include a pictogram word extraction unit and an input position locating unit. Under the condition that the input type msgtype of the message is selected to be input and submitted for message inspection, if error content occurs, the prompt information is intercepted and then stored as an information screenshot, then characters on the information screenshot are extracted to obtain a character recognition result, the input type of the current message is matched with the input type msgtype corresponding to the error code database, and the target error code database is determined after the matching is successful. Matching the target error code database with picName-WZ in the target error code database according to the character recognition result, if the matching is successful, indicating that the error is not first reported, acquiring an input position location and an input content value which need to be repaired according to the error content, and downloading the input position location and the input content value to an error reporting information repair module to repair the input content; if the matching fails, the first error reporting is indicated, the first error reporting is collected to an error reporting information collecting module, the above operation is repeated, and the target error code database is updated.
And the picture character extraction unit is used for carrying out character recognition on the information screenshot to obtain a character recognition result. And the input position positioning unit is used for determining a third input position and input content related to the error content according to the character recognition result and determining the identification information of the error content according to the third input position. And generating a target error code according to the identification information, the third input position and the input content.
The error reporting information repairing device 430 is configured to receive the error reporting information matching module and download an input position location and an input content value to be repaired, obtain a default input content to be repaired according to the input position location to be repaired, directly position a cursor to the error reporting input position and highlight the default input content, add an "auto repair" button beside the input position to be repaired, move the cursor to the "auto repair" button, display the default input content corresponding to the input position, and enable an operator to input or input additional content according to a prompt, and at the same time, directly click the "auto repair" button to send a repair request, and then the input position can directly and automatically fill all the content or default input content element values of all the input positions related to the item, so as to replace manual input operation of the operator, reduce the input error rate, and improve the service processing efficiency.
According to the embodiment of the disclosure, different input types of the message independently correspond to one error code database, so that the matching efficiency of error codes is improved, and the error rate of input and repair is reduced; the input position fields are more when the message is input, and the specific error-reporting input position is difficult to locate when error-reporting information without error-reporting codes appears, but the message processing method in the embodiment of the disclosure realizes the quick location to the error-reporting input position by a screenshot and text extraction mode, and reduces the error-reporting time of operators; after the error-reporting input position is positioned, the error-reporting input position and the input position related to the error-reporting input position can be automatically repaired, so that the efficiency of message processing is further improved, and the error rate of message processing is reduced.
Based on the message processing method, the disclosure also provides a message processing device. The device will be described in detail below in connection with fig. 5.
Fig. 5 schematically illustrates a block diagram of a message processing apparatus according to still another embodiment of the present disclosure.
As shown in fig. 5, the message processing apparatus 500 of this embodiment includes an obtaining module 510, a first determining module 520, a second determining module 530, and a first generating module 540.
An obtaining module 510 is configured to obtain a message inspection result in response to receiving an inspection request about the content of the message in the clearing system. In an embodiment, the obtaining module 510 may be configured to perform the operation S210 described above, which is not described herein.
The first determining module 520 is configured to determine, when it is determined that the message inspection result indicates that the message content includes error content, a matching result of the error content in an error code database, where the error code database includes a plurality of error codes, and each error code is configured to indicate a first input location in the message and a first default input content corresponding to the first input location. ; . In an embodiment, the first determining module 520 may be configured to perform the operation S220 described above, which is not described herein.
A second determining module 530, configured to determine, according to the target error code, a second input location and a second default input content corresponding to the error content, where the determining result indicates that the plurality of error codes includes the target error code matching the error content. In an embodiment, the second determining module 530 may be configured to perform the operation S230 described above, which is not described herein.
The first generating module 540 is configured to generate error repair information according to the first input location and the second default input content. In an embodiment, the first generating module 540 may be used to perform the operation S240 described above, which is not described herein.
According to an embodiment of the present disclosure, the message processing apparatus 500 further includes:
A third determining module, configured to determine a third input position and input content related to the error content when the matching result is determined to indicate that the error codes matched with the error content are not included in the plurality of error codes;
a fourth determining module, configured to determine identification information of the error content according to the third input position;
and the second generation module is used for generating a target error code according to the identification information, the third input position and the input content.
According to an embodiment of the present disclosure, the message processing apparatus 500 further includes:
And the display module is used for displaying prompt information at a preset position of the display page according to the error content under the condition that the message inspection result is determined to represent that the message content comprises the error content.
According to an embodiment of the present disclosure, the third determining module for determining a third input position and an input content related to the error content, in a case where the determination result characterizes that the error code matching the error content is not included in the plurality of error codes, includes:
the first determining unit is used for acquiring an information screenshot about prompt information at a preset position under the condition that the matching result is determined to represent that the error codes matched with the error content are not included in the plurality of error codes;
The second determining unit is used for carrying out character recognition on the information screenshot to obtain a character recognition result;
And the third determining unit is used for determining a third input position and input content related to the error content according to the character recognition result.
According to an embodiment of the present disclosure, the message processing apparatus 500 further includes:
and the updating module is used for updating the error code database according to the target error code under the condition that the matching result is determined to represent that the error codes matched with the error content are not included in the plurality of error codes.
According to an embodiment of the present disclosure, the error code database includes a plurality of;
Wherein, the first determining module 520, configured to determine, when it is determined that the message content represented by the message inspection result includes the error content, a matching result of the error content in the error code database, includes:
a fourth determining unit, configured to obtain an input type of the message content when it is determined that the message content represented by the message inspection result includes an error content;
A fifth determining unit for determining a target error code database corresponding to the input type from the plurality of error code databases according to the input type;
and a sixth determining unit, configured to determine a matching result of the error content in the target error code database.
According to an embodiment of the present disclosure, the message processing apparatus 500 further includes:
And the repair module is used for repairing the content of the second input position according to the error repair information in response to receiving the repair request about the error repair information.
According to embodiments of the present disclosure, any of the resulting module 510, the first determining module 520, the second determining module 530, and the first generating module 540 may be combined in one module to be implemented, or any of the modules may be split into a plurality of modules. Or at least some of the functionality of one or more of the modules may be combined with, and implemented in, at least some of the functionality of other modules. According to embodiments of the present disclosure, at least one of the resulting module 510, the first determination module 520, the second determination module 530, and the first generation module 540 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable manner of integrating or packaging the circuitry, or in any one of or a suitable combination of any of the three implementations of software, hardware, and firmware. Or at least one of the deriving module 510, the first determining module 520, the second determining module 530 and the first generating module 540 may be at least partially implemented as a computer program module which, when executed, may perform the respective functions.
Fig. 6 schematically illustrates a block diagram of an electronic device adapted to implement a message processing method according to an embodiment of the disclosure.
As shown in fig. 6, an electronic device 600 according to an embodiment of the present disclosure includes a processor 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. The processor 601 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. Processor 601 may also include on-board memory for caching purposes. The processor 601 may comprise a single processing unit or a plurality of processing units for performing different actions of the method flows according to embodiments of the disclosure.
In the RAM 603, various programs and data necessary for the operation of the electronic apparatus 600 are stored. The processor 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. The processor 601 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 602 and/or the RAM 603. Note that the program may be stored in one or more memories other than the ROM 602 and the RAM 603. The processor 601 may also perform various operations of the method flow according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the electronic device 600 may also include an input/output (I/O) interface 605, the input/output (I/O) interface 605 also being connected to the bus 604. The electronic device 600 may also include one or more of the following components connected to the I/O interface 605: an input portion 606 including a keyboard, mouse, etc.; an output portion 607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The drive 610 is also connected to the I/O interface 605 as needed. Removable media 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed as needed on drive 610 so that a computer program read therefrom is installed as needed into storage section 608.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example, but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 602 and/or RAM 603 and/or one or more memories other than ROM 602 and RAM 603 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the methods shown in the flowcharts. The program code, when executed in a computer system, causes the computer system to perform the methods provided by embodiments of the present disclosure.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of signals over a network medium, and downloaded and installed via the communication section 609, and/or installed from the removable medium 611. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication portion 609, and/or installed from the removable medium 611. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 601. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be provided in a variety of combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.

Claims (11)

1. A method for processing a message, the method comprising:
Responding to the received checking request about the message content in the clearing system, and obtaining a message checking result;
Determining a matching result of the error content in an error code database under the condition that the message checking result represents that the message content comprises the error content, wherein the error code database comprises a plurality of error codes, and each error code is used for representing a first input position in the message and a first default input content corresponding to the first input position;
determining a second input position and a second default input content corresponding to the error content according to the target error codes under the condition that the matching result is determined to represent that the target error codes matched with the error content are included in the error codes;
And generating error repair information according to the second input position and the second default input content.
2. The method as recited in claim 1, further comprising:
determining a third input location and input content associated with the error content if it is determined that the matching result characterizes that no error code matching the error content is included in the plurality of error codes;
determining identification information of the error content according to the third input position;
And generating the target error code according to the identification information, the third input position and the input content.
3. The method as recited in claim 2, further comprising:
and displaying prompt information at a preset position of a display page according to the error content under the condition that the message checking result is determined to indicate that the message content comprises the error content.
4. A method according to claim 3, wherein said determining a third input location and input content associated with said error content in the event that said match result is determined to characterize that no error code matching said error content is included in a plurality of said error codes comprises:
Under the condition that the matching result is determined to represent that the error codes matched with the error content are not included in the error codes, obtaining an information screenshot about the prompt information at the preset position;
Performing character recognition on the information screenshot to obtain a character recognition result;
and determining a third input position and input content related to the error content according to the character recognition result.
5. The method as recited in claim 1, further comprising:
and updating the error code database according to the target error code under the condition that the matching result is determined to represent that the error codes matched with the error content are not included in the error codes.
6. A method according to any one of claims 1 to 3, wherein the error code database comprises a plurality of;
wherein, when determining that the message inspection result characterizes that the message content includes error content, determining a matching result of the error content in an error code database includes:
under the condition that the message checking result is determined to represent that the message content comprises error content, acquiring the input type of the message content;
Determining a target error code database corresponding to the input type from a plurality of error code databases according to the input type;
and determining a matching result of the error content in the target error code database.
7. A method according to any one of claims 1 to 3, further comprising:
And responding to the received repair request about the error repair information, and repairing the content of the second input position according to the error repair information.
8. A message processing apparatus, the apparatus comprising:
The obtaining module is used for responding to the received checking request about the message content in the clearing system and obtaining a message checking result;
the first determining module is used for determining a matching result of the error content in an error code database when determining that the message checking result represents that the message content comprises the error content, wherein the error code database comprises a plurality of error codes, and each error code is used for representing a first input position in the message and a first default input content corresponding to the first input position;
The second determining module is used for determining a second input position and a second default input content corresponding to the error content according to the target error code when the matching result is determined to represent that the target error code matched with the error content is included in the error codes;
and the first generation module is used for generating error repair information according to the second input position and the second default input content.
9. An electronic device, comprising:
One or more processors;
a memory for storing one or more computer programs,
Characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program or instructions is stored, characterized in that the computer program or instructions, when executed by a processor, implement the steps of the method according to any one of claims 1-7.
11. A computer program product comprising a computer program or instructions which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 7.
CN202410276967.6A 2024-03-12 2024-03-12 Message processing method, device, equipment, medium and program product Pending CN118174823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410276967.6A CN118174823A (en) 2024-03-12 2024-03-12 Message processing method, device, equipment, medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410276967.6A CN118174823A (en) 2024-03-12 2024-03-12 Message processing method, device, equipment, medium and program product

Publications (1)

Publication Number Publication Date
CN118174823A true CN118174823A (en) 2024-06-11

Family

ID=91349850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410276967.6A Pending CN118174823A (en) 2024-03-12 2024-03-12 Message processing method, device, equipment, medium and program product

Country Status (1)

Country Link
CN (1) CN118174823A (en)

Similar Documents

Publication Publication Date Title
US10657530B2 (en) Automated transactions clearing system and method
CN115061874A (en) Log information verification method, device, equipment and medium
CN113535577B (en) Application testing method and device based on knowledge graph, electronic equipment and medium
CN113938481A (en) Receipt processing method, processing device, electronic equipment and readable storage medium
CN115292187A (en) Method and device for automatically testing code-free page, electronic equipment and medium
CN115827122A (en) Operation guiding method and device, electronic equipment and storage medium
CN118174823A (en) Message processing method, device, equipment, medium and program product
CN115760013A (en) Operation and maintenance model construction method and device, electronic equipment and storage medium
CN114443721A (en) Data processing method and device, electronic equipment and storage medium
CN113392024A (en) Method, device, equipment and medium for testing storage process
CN114706856A (en) Fault processing method and device, electronic equipment and computer readable storage medium
CN114118046A (en) Batch transaction processing method and device
CN114115628A (en) U shield display information acquisition method, device, equipment, medium and program product applied to U shield test
CN113672512A (en) Code inspection rule generating method, code inspection method, device and medium
US20050235266A1 (en) System and method for business rule identification and classification
CN118152963A (en) Transaction abnormality detection method, device, electronic equipment and computer storage medium
CN115687076A (en) Test method, device, equipment and medium
CN118296023A (en) Data comparison method, device, equipment, medium and program product
CN115689263A (en) Information generation method, device, equipment and storage medium
CN118114649A (en) Data processing method and device, equipment, storage medium and program product
CN114637689A (en) Application evaluation method, device, equipment and storage medium
CN118093526A (en) File processing method, apparatus, device, medium and program product
CN115687093A (en) Test script generation method, device, equipment and storage medium
CN118245087A (en) Code updating method, apparatus, electronic device, computer-readable storage medium, and computer program product
CN118279073A (en) Service processing method, device, equipment, medium and program product

Legal Events

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