A method, device, system, electronic device and storage medium for generating a face function
Patent Information
- Application Number
- CN202211616569.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-15
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2042-12-15
AI Technical Summary
而第一种方式是将复杂的业务逻辑嵌入到了程序中,如果有变更,必须通过版本的方式进行升级;第二种方式增加了业务操作人员的工作量,且人工操作效率和正确率会有影响
[0043]上述第二方面至第六方面中任一方面可以达到的技术效果可以参照上述第一方面中有益效果的描述,此处不再重复赘述。
Smart Images

Figure CN115878657B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing technology, and in particular to a method, apparatus, system, electronic device and storage medium for generating surface functions. Background Technology
[0002] The Society for Worldwide Interbank Financial Telecommunication (SWIFT) is the international clearing system. This system is characterized by complex business logic and diverse processing procedures. Its operational functions and rapid response capabilities have always been a concern for banks' international settlement departments. Due to the volatile nature of domestic and international policies and regulations, the parameterization of SWIFT is receiving increasing attention.
[0003] In SWIFT business processing, database tables store various data from the current and previous steps. This data serves as the source data for SWIFT message field values and description function field values. It needs to be processed in some way before being placed into the SWIFT message and description function fields. There are generally two processing methods: one is to embed the value retrieval logic into the system code, using code to build table queries and perform logical judgments to obtain the values; the other is manual operation by business personnel, such as importing or manually copying and pasting. The first method embeds complex business logic into the program, requiring version upgrades if changes occur; the second method increases the workload of business operators and can affect the efficiency and accuracy of manual operations.
[0004] Therefore, there is an urgent need for a method to generate face functions, so as to achieve full configurability of face function field values, thereby improving business processing efficiency. Summary of the Invention
[0005] This application provides a method, apparatus, system, electronic device, and storage medium for generating face letters, which enables full configurability of face letter field values, thereby improving business processing efficiency.
[0006] Firstly, this application provides a method for generating a face letter, applicable to an international funds clearing system, which includes a backend and a frontend. The method includes: the backend receiving a request from the frontend to generate a face letter, wherein the request includes a face letter identifier to be generated; the backend querying a database for a face letter field corresponding to the face letter identifier, the face letter field including multiple index fields; the backend indexing trigger condition expressions and value rule expressions corresponding to the multiple index fields from the database; and the backend generating a face letter in the international funds clearing system based on the trigger condition expressions and value rule expressions corresponding to the multiple index fields.
[0007] In the above technical solution, the backend queries the database for the face function fields and the multiple index fields included in the face function fields according to the request to generate the face function. Then, based on the trigger condition expressions and value retrieval rule expressions corresponding to the multiple index fields, it generates a face function that matches the query request. In this way, the value retrieval of the face function fields is fully configurable, thereby improving the efficiency of business processing.
[0008] In one possible design, the request to generate the face message also includes a transaction identifier; the method for generating the face message also includes: the backend indexing the transaction data corresponding to the transaction identifier from the database; the backend generating the face message in the international funds clearing system based on the trigger condition expressions and value rule expressions corresponding to multiple index fields respectively, including: the backend determining the values corresponding to multiple fields respectively based on the trigger condition expressions and value rule expressions corresponding to multiple fields respectively, and the transaction data; the backend generating the face message based on the values corresponding to multiple fields respectively.
[0009] In the above technical solution, the backend updates the values corresponding to the multiple fields to the face message fields based on the trigger condition expressions and value rule expressions corresponding to the multiple fields, as well as the transaction data, thereby generating the face message. In this way, the generated face message can meet the needs of the current scenario.
[0010] In one possible design, the backend determines the values corresponding to multiple fields based on the trigger condition expressions and value retrieval rule expressions corresponding to multiple index fields, as well as the transaction data. This includes: the backend calling the MVEL compilation and execution interface to determine the values corresponding to multiple fields from the transaction data based on the trigger condition expressions and value retrieval rule expressions corresponding to multiple index fields.
[0011] In the above technical solution, the backend determines the values of multiple fields from the transaction data by calling the compilation and execution interface of mvel, thereby improving the efficiency of business processing.
[0012] In one possible design, the backend queries the database for the corresponding face message field based on the face message identifier to be generated. This includes: the backend determining the face message field corresponding to the face message identifier to be generated based on the face message identifier to be generated and multiple preset correspondences included in the database; wherein, the preset correspondences include preset face message identifiers and preset face message fields corresponding to preset face message identifiers, and the face message identifier to be generated is included in the multiple preset correspondences.
[0013] In the above technical solution, the backend determines the fields of the face message to be generated based on the face message identifier and multiple preset correspondences, thus ensuring that the face message fields in the face message to be generated meet the user's needs.
[0014] In one possible design, before the backend receives the request to generate a face function from the frontend, it also includes: the backend, for any one of multiple preset mapping relationships, receives a creation request from the frontend, which includes a preset trigger condition expression and a preset value rule expression written in the MWEL expression language; the backend generates preset face function fields based on the preset trigger condition expression and the preset value rule expression; the backend generates a preset mapping relationship based on the preset face function fields and the preset face function identifiers corresponding to the preset face function fields.
[0015] In the above technical solution, the backend generates preset function fields based on preset trigger condition expressions and preset value rule expressions written in the MWEL expression language, and then generates preset correspondences. Since the MWEL expression language can be modified according to requirements, preset correspondences can be generated according to different requirements, thus realizing parameterized processing.
[0016] In one possible design, the backend receives a business change request from the frontend, which includes a message identifier to be changed and change information. The backend determines the target preset correspondence based on the message identifier to be changed. The backend modifies the preset trigger condition expression and / or preset value rule expression included in the target preset correspondence based on the change information.
[0017] In the above technical solution, the backend modifies the preset trigger condition expression and / or preset value rule expression according to the change information, thereby ensuring that the generated face function can meet the user's needs and satisfy the real-time requirements.
[0018] Secondly, this application provides an apparatus for generating face letters, applicable to international funds clearing systems, the apparatus comprising:
[0019] The receiving unit is used to receive a request to generate a face message from the front end, wherein the request to generate a face message includes an identifier of the face message to be generated.
[0020] The query unit retrieves the corresponding face function field from the database based on the face function identifier to be generated. The face function field includes multiple index fields.
[0021] Index units are used to index the trigger condition expressions and value retrieval rule expressions corresponding to multiple index fields in the database.
[0022] The generation unit is used to generate face functions in the international funds clearing system based on the trigger condition expressions and value rule expressions corresponding to multiple index fields.
[0023] In one possible design, the index unit is also used to index transaction data corresponding to the transaction identifier from the database;
[0024] The generation unit is specifically used to: determine the values corresponding to multiple fields based on the trigger condition expressions and value rule expressions corresponding to multiple fields, as well as transaction data; and generate a face function based on the values corresponding to multiple fields.
[0025] In one possible design, the device further includes a determining unit, which is used to determine the values corresponding to the multiple fields based on the trigger condition expressions and value rule expressions corresponding to the multiple index fields, as well as the transaction data.
[0026] The determination unit is specifically used to: call the MVEL compilation and execution interface to determine the values corresponding to multiple fields from the transaction data, based on the trigger condition expressions and value rule expressions corresponding to multiple index fields respectively.
[0027] In one possible design, the determining unit is further configured to: determine the face function field corresponding to the face function identifier to be generated based on the face function identifier to be generated and multiple preset correspondences included in the database; wherein, the preset correspondences include preset face function identifiers and preset face function fields corresponding to preset face function identifiers, and the face function identifier to be generated is included in the multiple preset correspondences.
[0028] In one possible design, the receiving unit, before receiving the request to generate the face function from the front end, is also used for:
[0029] For any one of the multiple preset correspondences:
[0030] Receive a creation request from the front end. The creation request includes a preset trigger condition expression and a preset value rule expression written based on the mvel expression language.
[0031] The generation unit is specifically used to: generate preset function fields based on preset trigger condition expressions and preset value rule expressions;
[0032] The generation unit is also used to generate a preset correspondence based on the preset function field and the preset function identifier corresponding to the preset function field.
[0033] In one possible design, the receiving unit is also used to: receive a business change request from the front end, the business change request including the identifier of the face message to be changed and the change information;
[0034] The determining unit is also used to: determine the target preset correspondence based on the identifier of the letter to be changed;
[0035] The device also includes a modification unit, which is used to modify the preset trigger condition expression and / or preset value rule expression included in the target preset correspondence according to the change information.
[0036] Thirdly, this application provides a system for generating face messages, including a backend and a frontend; the frontend is used to display multiple options, each option corresponding to a face message identifier and a face message type; and to receive a user instruction from a user to select a target option from the multiple options, and in response to the user instruction, to send one or more of the face message generation requests to the backend; the backend is used to execute any of the methods in the first aspect above.
[0037] Fourthly, this application also provides an electronic device, comprising:
[0038] The processor, and the memory that is in communication with the processor;
[0039] The memory stores the instructions that the computer executes;
[0040] The processor executes computer execution instructions stored in memory to implement any of the methods in the first aspect described above.
[0041] Fifthly, this application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement any of the methods in the first aspect described above.
[0042] Sixthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements any of the methods described in the first aspect above.
[0043] The technical effects that can be achieved by any of the second to sixth aspects mentioned above can be referred to the description of the beneficial effects in the first aspect mentioned above, and will not be repeated here. Attached Figure Description
[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0045] Figure 1 A suitable system architecture diagram is provided for embodiments of this application;
[0046] Figure 2 This is a schematic flowchart of a method for generating a surface function provided in an embodiment of this application;
[0047] Figure 3 This is a schematic flowchart illustrating another method for generating a surface function provided in an embodiment of this application;
[0048] Figure 4 This is a schematic diagram of a device for generating surface functions provided in an embodiment of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0050] Figure 1 An exemplary embodiment of this application provides a suitable system architecture diagram, such as... Figure 1 As shown, the system includes a front-end 101 and a back-end 102. The front-end 101 displays multiple options, each corresponding to a specific message identifier, message type, and message generation method. The message generation methods include SWIFT and email. Specifically, the front-end 101 receives a user's instruction to generate a message, which includes the message type. Based on the received user instruction, the front-end 101 sends a message generation request to the back-end 102. Upon receiving the request from the front-end 101, the back-end 102 retrieves the values for the fields in the message to be generated from the database based on the information in the request, and updates the fields in the message to be generated with the retrieved values. For example, if the generated message type is an invoice, and the invoice is the transaction information in order 001, where the transaction information in order 001 includes: Name: Exercise Set, Quantity: 50, Amount: 500, then the fields in the message include: Order Number, Name, Quantity, Amount, etc., and the values of each field in the message are 001, Exercise Set, 50, and 500.
[0051] based on Figure 1 The system architecture diagram shown. Figure 2 An exemplary schematic diagram of a data processing method provided in an embodiment of this application is shown.
[0052] like Figure 2 As shown, the specific steps include:
[0053] Step 201: The backend receives a request from the frontend to generate an interview document. The request includes an identifier for the interview document to be generated, such as an identity document (ID). Optionally, the request may also include a transaction identifier.
[0054] Step 202: The backend queries the database for the corresponding face function field based on the face function identifier to be generated. The face function field includes multiple index fields.
[0055] Specifically, the backend determines the face function field corresponding to the face function identifier to be generated based on the face function identifier to be generated and multiple preset correspondences included in the database. The preset correspondences include preset face function identifiers and preset face function fields corresponding to preset face function identifiers. The face function fields include multiple index fields, and the multiple preset correspondences include the face function identifier to be generated.
[0056] In one example, the preset mapping is as follows: when the preset function identifier is A, the preset function field A corresponding to preset function identifier A is field A1 and index field A1, field A2 and index field A2, and field A3 and index field A3; when the preset function identifier is B, the preset function field B corresponding to preset function identifier B is field B1 and index field, and field B2 and index field B2. This preset mapping is stored in the database. It should be noted that different preset function identifiers correspond to different preset function fields, and these need to be set according to the actual scenario.
[0057] For example, the preset face message field A consists of field A1 and index fields A1 to A7, as shown in Table 1. When the face message identifier to be generated is A, Table 1 shows the seven face message fields corresponding to the face message identifier A, which are retrieved from the database by the backend. Table 1 shows the index fields included in each field. For example, field A3 includes the index field step_id, and field A5 includes the index field user_id.
[0058] Table 1
[0059] multi_tenancy_id VT01 txn_prim_id CZH12EL000123 step_id ISS002 prim_arr_id 0XXEL090X78672 user_id 30012768 cyy USD amt 100023.05
[0060] Optionally, before receiving the request to generate the face function from the frontend, the backend generates multiple preset mapping relationships and stores them in the database. Furthermore, when the backend generates any one of the multiple preset mapping relationships, it can be done in the following way:
[0061] The backend receives a creation request from the frontend. This request includes preset trigger condition expressions and preset value rule expressions written in the MWEL expression language. Based on these expressions, the backend generates preset facet fields. Then, based on these facet fields and their corresponding facet identifiers, the backend generates a preset mapping. The MWEL expression language is a dynamic / static embeddable expression language that provides a runtime environment for the Java platform to parse simple JavaBean expressions. This runtime environment allows MWEL expressions to be executed either through interpretation or by pre-compiling them into bytecode.
[0062] Referring to the example in Table 1, when the backend generates 7 preset face fields, specifically, the backend receives a creation request from the frontend. This creation request is to create 7 preset correspondences for the preset face identifier A in the database. The 7 preset correspondences are: preset face identifier A and preset face field A1, preset face identifier A and preset face field A2, preset face identifier A and preset face field A3, preset face identifier A and preset face field A4, preset face identifier A and preset face field A5, preset face identifier A and preset face field A6, and preset face identifier A and preset face field A7. The backend, based on the preset correspondence between the preset function identifier A and the preset function field A1, uses the MEVALE expression language to write the preset trigger condition expression "ab" and the preset value rule expression "ass" for the preset function field A1 in the database. The backend generates the preset function field A1 based on the preset trigger condition expression "ab" and the preset value rule expression "ass," and then generates the preset correspondence between the preset function identifier A and the preset function field A1 based on the preset function field A1 and its corresponding preset function identifier A. The backend continues to write the preset trigger condition expressions and preset value rule expressions for the remaining preset function fields in the database using the MEVALE expression language.
[0063] Optionally, the backend can also make real-time adjustments to modify the established preset correspondences based on user needs or changes in domestic and international policies and regulations. For example, the backend receives a business change request from the frontend, which includes a message identifier to be changed and change information. The backend determines the target preset correspondence based on the message identifier to be changed. Referring again to the example in Table 1: the backend receives a business change request from the frontend, which includes a message identifier A to be changed and change information. Based on the message identifier A to be changed, the backend determines the target preset correspondence from the database as follows: the preset message identifier A and the preset message fields corresponding to the preset message identifier A are fields A1 to A7.
[0064] Furthermore, based on the change information, the backend modifies the preset trigger condition expression and / or preset value rule expression included in the target preset correspondence. Specifically, the modification of the target preset correspondence can be done in one of the following ways:
[0065] a. Modify the preset trigger condition expression included in the target preset correspondence.
[0066] In one example, the default trigger condition expression for field A1 in face ID A is ab. The backend receives change information from the frontend, which modifies the default trigger condition expression for field A1 in face ID A to abc. Based on the change information, the backend modifies the default trigger condition expression for field A1 in face ID A to abc.
[0067] b. Modify the preset value rule expression included in the target preset correspondence.
[0068] In one example, the default value rule expression for field A2 in face function A is aaa. The backend receives a change message from the frontend, which changes the default value rule expression for field A2 in face function A to aas. Based on the change message, the backend changes the default value rule expression for field A2 in face function A to aas.
[0069] c. Modify the preset trigger condition expression and preset value rule expression included in the target preset correspondence.
[0070] In one example, the preset trigger condition expression for field A1 in face function identifier A is ab, and the preset value rule expression is ass. The backend receives change information from the frontend, which changes the preset trigger condition expression for field A1 in face function identifier A to abc and the preset value rule expression to asa. Based on the change information, the backend changes the preset trigger condition expression ab to abc and the preset value rule expression ass to asa for field A1 in face function identifier A.
[0071] Step 203: The backend indexes the trigger condition expressions and value retrieval rule expressions corresponding to multiple index fields from the database.
[0072] Specifically, the backend calls the MVEL compilation and execution interface based on the trigger condition expressions and value retrieval rule expressions corresponding to multiple indexed fields, thereby determining the values corresponding to each field from the transaction data. The transaction data is obtained by the backend from the database based on the transaction identifier in the request that generates the face function.
[0073] In one example, referring to Table 1, which contains a preset facet identifier A stored in the database, facet identifier A includes seven facet fields. Each facet field has an index field, and each index field has its own corresponding trigger condition expression and value rule expression. If the trigger condition expression for the index field multi_tenancy_id in field A1 is asdfg and the value rule expression is zxcvb, the backend calls the MVEL compilation and execution interface based on the trigger condition expression and value rule expression corresponding to the index field of field A1 to determine the value of the index field multi_tenancy_id as VT01 from the transaction data. The backend uses the above value retrieval method to determine the values corresponding to the seven index fields based on their respective trigger condition expressions and value rule expressions.
[0074] Step 204: The backend generates the face function in the international funds clearing system based on the trigger condition expressions and value rule expressions corresponding to multiple index fields. Specifically, the backend determines the values corresponding to multiple fields based on the trigger condition expressions and value rule expressions corresponding to multiple fields, as well as the transaction data, and then generates the face function based on the values corresponding to multiple fields.
[0075] In one example, referring to Table 1, the backend determines the values corresponding to the seven index fields based on the trigger condition expressions and value retrieval rule expressions corresponding to the seven index fields, and then generates a face function based on the values corresponding to the seven index fields.
[0076] To facilitate understanding of this solution, Figure 3 This illustration shows a schematic flowchart of another method for generating face functions provided in an embodiment of this application.
[0077] like Figure 3 As shown, the specific steps include:
[0078] Step 301: The backend receives a creation request from the frontend, which includes a preset facial identifier. See step 202 for details.
[0079] Step 302: Based on the creation request, the backend writes preset trigger condition expressions and preset value rule expressions using the MVEL expression language. See step 202 for details.
[0080] Step 303: The backend generates preset facet fields based on preset trigger condition expressions and preset value retrieval rule expressions. See step 202 for details.
[0081] Step 304: The backend generates a preset mapping relationship based on the preset facet fields and the preset facet identifiers corresponding to the preset facet fields. See step 202 for details.
[0082] Step 305: The backend receives a request from the frontend to generate a face message. The request includes a face message identifier to be generated and a transaction identifier. See step 201 for details.
[0083] Step 306: The backend indexes the transaction data corresponding to the transaction identifier from the database based on the transaction identifier. See step 201 for details.
[0084] Step 307: The backend determines the corresponding face message field based on the face message identifier to be generated and multiple preset correspondences included in the database. The face message field includes multiple index fields. See step 202 for details.
[0085] Step 308: The backend, based on the trigger condition expressions and value retrieval rule expressions corresponding to the multiple index fields, calls the MVEL compilation and execution interface to determine the values corresponding to the multiple fields from the transaction data. See step 203 for details.
[0086] Step 309: The backend generates a face function based on the values corresponding to the multiple fields. See step 204 for details.
[0087] To facilitate understanding of this solution, a specific example is given below to illustrate the method for generating surface functions.
[0088] The front-end displays multiple options, as shown in Table 2. The user selects one of these options (the target option). Based on the user's selected target option, the front-end generates a request for a message. This request includes the message generation identifier "MT700", the message generation method "SWIFT", the destination "AWB", and the parameters UPDATE, EDIT, and DISPLAY. Additionally, the message generation request also includes a transaction identifier.
[0089] Table 2
[0090]
[0091] The backend indexes the transaction data corresponding to the transaction identifier from the database based on the transaction identifier, as shown in Table 3.
[0092] Table 3
[0093] multi_tenancy_id VT01 txn_prim_id CZH12EL000123 step_id ISS002 prim_arr_id 0XXEL090X78672 text_id MT700 text_sequence_no 001 send_to AWB via SWIFT delete_ind 1 update 1 edited 1 displayed 1
[0094] The backend retrieves the corresponding interview message fields from the database based on the interview message identifier MT700, as shown in Table 4. The interview message identifier MT700 includes four interview message fields, and the indexed fields for each interview message field are: txt_id, txn_prim_id, txn_prim_id, and review date.
[0095] Table 4
[0096]
[0097] The backend indexes the trigger condition expressions and value retrieval rule expressions corresponding to multiple fields in the face function field from the database. For example, when the indexed field is the review date, the backend indexes the trigger condition expression corresponding to the review date field from the database as: ixqdbstp.IcStepStcd='154004'; the value retrieval rule expression is: 'Review date is'dateFormat(ixqdbstp.actRvwDt).
[0098] The backend calls the MVEL compilation and execution interface based on the trigger condition expressions and value retrieval rule expressions corresponding to multiple index fields, determines the values corresponding to multiple fields from the transaction data (Table 3), and then generates a face function based on the values corresponding to multiple fields.
[0099] The trigger condition expression and value retrieval rule expression corresponding to each index field in Table 4 above are written based on the MEVEL expression language, and the trigger condition expression and value retrieval rule expression can be adjusted in real time according to user needs or changes in domestic and foreign policies and regulations.
[0100] Figure 4 An exemplary schematic diagram of a device structure for generating surface functions provided in an embodiment of this application is shown.
[0101] like Figure 4 As shown, the device specifically includes:
[0102] The receiving unit 401 is configured to receive a request to generate a face message from the front end, wherein the request to generate a face message includes an identifier of the face message to be generated.
[0103] The query unit 402 queries the database for the corresponding face function field based on the face function identifier to be generated. The face function field includes multiple index fields.
[0104] Index unit 403 is used to index the trigger condition expressions and value retrieval rule expressions corresponding to multiple index fields from the database.
[0105] The generation unit 404 is used to generate face functions in the international funds clearing system based on the trigger condition expressions and value rule expressions corresponding to multiple index fields.
[0106] In an optional embodiment, the indexing unit 403 is further configured to index transaction data corresponding to the transaction identifier from the database;
[0107] The generation unit 404 is specifically used to: determine the values corresponding to the multiple fields based on the trigger condition expressions and value rule expressions corresponding to the multiple fields, as well as the transaction data; and generate a face function based on the values corresponding to the multiple fields.
[0108] In an optional embodiment, the device further includes a determining unit 405, which is configured to determine the values corresponding to the multiple fields based on the trigger condition expressions and value rule expressions corresponding to the multiple index fields, as well as the transaction data.
[0109] The determination unit 405 is specifically used to: call the MVEL compilation and execution interface to determine the values corresponding to multiple fields from the transaction data, based on the trigger condition expressions and value rule expressions corresponding to multiple index fields respectively.
[0110] In an optional embodiment, the determining unit 405 is further configured to: determine the face message field corresponding to the face message identifier to be generated based on the face message identifier to be generated and multiple preset correspondences included in the database; wherein, the preset correspondences include preset face message identifiers and preset face message fields corresponding to preset face message identifiers, and the multiple preset correspondences include the face message identifier to be generated.
[0111] In an optional embodiment, before receiving the request to generate a face function from the front end, the receiving unit 401 is further configured to:
[0112] For any one of the multiple preset correspondences:
[0113] Receive a creation request from the front end. The creation request includes a preset trigger condition expression and a preset value rule expression written based on the mvel expression language.
[0114] The generation unit 404 is specifically used to: generate preset function fields based on preset trigger condition expressions and preset value rule expressions;
[0115] The generation unit 404 is also used to: generate a preset correspondence relationship based on the preset function field and the preset function identifier corresponding to the preset function field.
[0116] In an optional embodiment, the receiving unit 401 is further configured to: receive a service change request from the front end, wherein the service change request includes a face message identifier to be changed and change information;
[0117] The determining unit 405 is also used to: determine the target preset correspondence based on the identifier of the surface letter to be changed;
[0118] The device also includes a modification unit 406, which is used to modify the preset trigger condition expression and / or preset value rule expression included in the target preset correspondence according to the change information.
[0119] The acquisition, storage, use, and processing of data in this application embodiment all comply with the relevant provisions of national laws and regulations.
[0120] Based on the same technical concept, embodiments of this application also provide a system for generating face messages, including a backend and a frontend; the frontend is used to display multiple options, each option corresponding to a face message identifier and a face message type; and to receive a user instruction from the user to select a target option from the multiple options, and in response to the user instruction, to send one or more of the face message generation requests to the backend; the backend is used to execute the above-described face message generation method.
[0121] Based on the same technical concept, embodiments of this application also provide an electronic device, including:
[0122] Memory, used to store program instructions;
[0123] The processor is used to call program instructions stored in memory and execute the above-mentioned method for generating surface functions according to the obtained program.
[0124] Based on the same technical concept, embodiments of this application also provide a computer-readable non-volatile storage medium, including computer-readable instructions, which, when read and executed by a computer, cause the computer to perform the above-described method for generating a surface function.
[0125] Based on the same technical concept, embodiments of this application also provide a computer program product, including computer-readable instructions, which, when read and executed by a computer, cause the computer to perform the above-described method for generating a surface function.
[0126] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0127] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0128] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0129] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0130] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A method for generating surface functions, characterized in that, Applicable to an international funds clearing system, the international funds clearing system including a back-end and a front-end, the method includes: The backend receives a request from the frontend to generate a face message, wherein the request to generate a face message includes a face message identifier to be generated and a transaction identifier. The backend determines the face function field corresponding to the face function identifier to be generated based on the face function identifier to be generated and multiple preset correspondences included in the database; the face function field includes multiple index fields; wherein, the preset correspondences include preset face function identifiers and preset face function fields corresponding to the preset face function identifiers, and the multiple preset correspondences include the face function identifier to be generated; The backend indexes the trigger condition expressions and value retrieval rule expressions corresponding to the multiple index fields from the database; the trigger condition expressions and the value retrieval rule expressions are mutable; the trigger condition expressions and the value retrieval rule expressions are written based on the MEVALE expression language. The backend indexes the transaction data corresponding to the transaction identifier from the database; The backend determines the values corresponding to the multiple index fields based on the trigger condition expressions and value rule expressions corresponding to the multiple index fields, as well as the transaction data. Based on the values corresponding to the multiple index fields, a face function is generated in the international funds clearing system.
2. The method as described in claim 1, characterized in that, The backend determines the values corresponding to the multiple index fields based on the trigger condition expressions and value rule expressions corresponding to the multiple index fields, as well as the transaction data, including: The backend calls the MVEL compilation and execution interface to determine the values corresponding to the multiple index fields from the transaction data, based on the trigger condition expressions and value retrieval rule expressions corresponding to the multiple index fields respectively.
3. The method as described in claim 1, characterized in that, Before the backend receives the request to generate a face function from the frontend, it also includes: The backend is configured for any one of the plurality of preset correspondences: The backend receives a creation request from the frontend, and the creation request includes a preset trigger condition expression and a preset value rule expression written based on the mvel expression language. The backend generates preset function fields based on the preset trigger condition expression and the preset value retrieval rule expression; The backend generates the preset correspondence based on the preset facet field and the preset facet identifier corresponding to the preset facet field.
4. The method as described in claim 1, characterized in that, Also includes: The backend receives a business change request from the frontend, and the business change request includes the identifier of the face message to be changed and the change information; The backend determines the target preset correspondence based on the identifier of the face letter to be changed; The backend modifies the preset trigger condition expression and / or preset value rule expression included in the target preset correspondence based on the change information.
5. An apparatus for generating surface functionals, characterized in that, Applicable to international fund clearing systems, including: A receiving unit is configured to receive a request to generate a face message from the front end, wherein the request to generate a face message includes a face message identifier to be generated and a transaction identifier. The query unit determines the face message field corresponding to the face message identifier to be generated based on the face message identifier to be generated and multiple preset correspondences included in the database; the face message field includes multiple index fields; wherein, the preset correspondences include preset face message identifiers and preset face message fields corresponding to the preset face message identifiers, and the multiple preset correspondences include the face message identifier to be generated; An indexing unit is used to index the trigger condition expressions and value rule expressions corresponding to the multiple index fields from the database, and to index the transaction data corresponding to the transaction identifier from the database; the trigger condition expressions and the value rule expressions are variable; the trigger condition expressions and the value rule expressions are written based on the mvel expression language; The generation unit is used to determine the values corresponding to the multiple index fields based on the trigger condition expressions and value rule expressions corresponding to the multiple index fields, as well as the transaction data; and to generate the face function in the international funds clearing system based on the values corresponding to the multiple index fields.
6. A system for generating surface functions, characterized in that, Including backend and frontend; The front end is used to display multiple options, each corresponding to a respective facet identifier and facet type; and to receive a user instruction from the user to select a target option from the multiple options, and in response to the user instruction, to send a request to the back end to generate a facet. The backend is used to perform the method according to any one of claims 1 to 4.
7. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1 to 4.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 4.
9. A computer program product, characterized in that, Includes a computer program that, when executed by a processor, implements the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Multiuser concurrent electronic document generation device and method
CN102541829A