A message generation method, device, equipment and storage medium
By applying script verification rules in the data acquisition script generation process, the problems of error in message generation by the data acquisition script and low efficiency of one-by-one verification are solved, and efficient and accurate message verification and generation are achieved.
Patent Information
- Application Number
- CN202211601928.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2025-09-05
- Estimated Expiration
- 2042-12-13
AI Technical Summary
In the prior art, the process of generating messages through data acquisition scripts may be error-prone, and the efficiency of checking messages one by one is low, resulting in a need to improve the verification efficiency.
Determine the script verification rules based on the target session information of the business message to be generated, perform syntax, brackets, variables and mapping file verification on the data acquisition script, and modify the script that fails the verification to generate accurate business messages.
This improves the efficiency and accuracy of message verification, reduces the need for individual verification of each message, and improves the accuracy of group reports.
Smart Images

Figure CN116016273B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a message generation method, apparatus, device and storage medium. Background Art
[0002] With the increasing volume of banking transactions, communication standards are emerging to ensure rapid and secure fund settlement. For example, common business data processing related to foreign exchange, precious metals, bonds, and derivatives involves the assembly and transmission of multiple messages. During message assembly and transmission, the system configures data retrieval rules. Transaction elements and corresponding data are collected and assembled using data retrieval scripts based on these rules, ultimately forming and transmitting the message.
[0003] However, errors can occur during the message generation process using data retrieval scripts, so verification is needed to improve the accuracy of grouped reports. Currently, the most common verification method is to verify the final message after grouping. However, given the large number of messages generated by a single data retrieval script, verifying each message individually is inefficient. Therefore, verifying only the messages themselves requires further improvement. Summary of the Invention
[0004] Embodiments of the present application provide a message generation method, apparatus, device, and storage medium for improving message verification efficiency.
[0005] In a first aspect, an embodiment of the present application provides a message generation method, including:
[0006] Determine a first script verification rule based on the first data acquisition script to be verified, where the first data acquisition script is determined based on the target event information of the business message to be generated; verify the first data acquisition script based on the first script verification rule; when it is determined that the first data acquisition script fails the verification based on the first script verification rule, use the modified first data acquisition script as the second data acquisition script, where the modified first data acquisition script is obtained by modifying the first data acquisition script based on the first script verification rule; generate the business message based on the second data acquisition script and business information.
[0007] According to this method, script verification rules can be obtained based on the session information corresponding to the data acquisition script, and the data acquisition script can be verified according to the script verification rules. Specifically, if the first data acquisition script fails the verification, the first data acquisition script can be modified, and a group report can be generated based on the modified data acquisition script to obtain a service message. This method can verify the data acquisition script without having to verify each message generated by the data acquisition script separately, thereby improving the efficiency of message verification.
[0008] In a possible embodiment, the method further includes: the first script verification rule includes at least one of the following: a syntax verification rule, a bracket verification rule, a variable verification rule, and a mapping file verification rule.
[0009] According to this method, the syntax, brackets, variables and mapping rules in the data acquisition script can be checked separately, which can improve the accuracy of script verification.
[0010] In a possible embodiment, the method further includes: determining the first script verification rule from script verification rules corresponding to a plurality of session information according to the target session information.
[0011] According to this method, the verification rules corresponding to the first data retrieval script to be verified can be obtained from the syntax, brackets, variables and mapping rules in the verification data retrieval script. The verification rules corresponding to the first data retrieval script are used to verify the first data retrieval script to be verified, which can further improve the accuracy of script verification.
[0012] In a possible embodiment, the method further includes: determining at least one target script rule from script rules corresponding to multiple session information according to the target session information; and determining the first data acquisition script according to the target script rule.
[0013] According to this method, corresponding script rules can be determined according to the session information, and the data acquisition script to be verified can be composed of the script rules, which can improve the efficiency of obtaining the first data acquisition script to be verified.
[0014] In a possible embodiment, the method further includes: when it is determined that the first data acquisition script passes the verification according to the first script verification rule, using the first data acquisition script as the second data acquisition script; or, when it is determined that the first data acquisition script fails the verification according to the first script verification rule, using the modified first data acquisition script as the second data acquisition script.
[0015] According to this method, a first data acquisition script that passes verification can be obtained, or a data acquisition script that fails verification can be modified to obtain a modified data acquisition script. The verified or modified data acquisition script can improve the accuracy of generating the group report message.
[0016] In a second aspect, the present application provides a message generating device, the device comprising:
[0017] An acquisition module is used to determine a first script verification rule based on a first data acquisition script to be verified, where the first data acquisition script is determined based on target event information of a business message to be generated; a processing module is used to verify the first data acquisition script based on the first script verification rule; when it is determined that the first data acquisition script fails the verification based on the first script verification rule, the processing module is further used to use the modified first data acquisition script as the second data acquisition script, where the modified first data acquisition script is obtained by modifying the first data acquisition script based on the first script verification rule; the processing module is further used to generate the business message based on the second data acquisition script and business information.
[0018] In a possible embodiment, the first script verification rule includes at least one of the following: a syntax verification rule, a bracket verification rule, a variable verification rule, and a mapping file verification rule.
[0019] In a possible embodiment, the processing module is further configured to: determine the first script verification rule from script verification rules corresponding to a plurality of session information according to the target session information.
[0020] In a possible embodiment, the processing module is further used to: determine at least one target script rule from script rules corresponding to multiple session information according to the target session information; and determine the first data acquisition script according to the target script rule.
[0021] In a possible embodiment, the processing module is further configured to: when it is determined that the first data acquisition script passes verification according to the first script verification rule, use the first data acquisition script as the second data acquisition script.
[0022] In a third aspect, the present application provides an electronic device, comprising:
[0023] a memory for storing program instructions;
[0024] The processor is configured to call the program instructions stored in the memory and execute the steps of the method according to the obtained program instructions.
[0025] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes any one of the methods according to the first aspect.
[0026] In a fifth aspect, the present application provides a computer program product, comprising: a computer program code, which, when executed on a computer, enables the computer to execute any one of the methods described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flowchart of a message generation method provided in an embodiment of the present application;
[0028] Figure 2 A schematic diagram of a device structure provided in an embodiment of the present application;
[0029] Figure 3 A schematic diagram of another device structure provided in an embodiment of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Unless there is a conflict, the embodiments in the present application and the features in the embodiments can be combined with each other in any way. In addition, although a logical order is shown in the flowchart, in some cases, the steps shown or described can be performed in an order different from that here.
[0031] The terms "first" and "second" in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the term "comprising" and any of its variations are intended to cover non-exclusive protection. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. "Multiple" in this application can mean at least two, for example, two, three or more, and the embodiments of this application are not limited thereto.
[0032] In the technical solution of this application, the collection, dissemination, and use of data comply with the requirements of relevant national laws and regulations.
[0033] Before introducing a message generation method provided in an embodiment of the present application, in order to facilitate understanding, the technical background of the embodiment of the present application is first introduced in detail below.
[0034] With the increasing volume of banking transactions, communication standards are emerging to ensure rapid and secure fund settlement. For example, common business data processing related to foreign exchange, precious metals, bonds, and derivatives involves the assembly and transmission of multiple messages. During message assembly and transmission, the system configures data retrieval rules. Transaction elements and corresponding data are collected and assembled using data retrieval scripts based on these rules, ultimately forming and transmitting the message.
[0035] However, errors can occur during the message generation process using data retrieval scripts, so verification is needed to improve the accuracy of grouped reports. Currently, the most common verification method is to verify the final message after grouping. However, given the large number of messages generated by a single data retrieval script, verifying each message individually is inefficient. Therefore, verifying only the messages themselves requires further improvement.
[0036] In order to improve the message verification efficiency, the present invention proposes a message generation method and device to improve the verification efficiency of the message verification method.
[0037] It can be understood that the message generation method provided in the present application can be executed by a message generation device (or script verification device) including a group message verifier.
[0038] like Figure 1 As shown, the specific steps of a message generation method provided in an embodiment of the present application include:
[0039] Step 101: determining a first script verification rule according to a first data acquisition script to be verified, wherein the first data acquisition script is determined according to target session information of a service message to be generated.
[0040] In a possible embodiment, the message management module can obtain the registration information of the business message to be generated, and input the registration information of the business message to be generated into the group message routing distributor. The group message routing distributor can determine the data collector, group message verifier, group message executor, group message verifier and result processor corresponding to the business message based on the registration information of the business message to be generated.
[0041] In a possible embodiment, step 101 may be performed by the group message verifier.
[0042] In one possible embodiment, based on the service message to be generated, the group message verifier may obtain a message template corresponding to the service message. The message template includes multiple pieces of information, such as the receiving / sending system, message type, section, message tag, technical field name, and page display title. The group message verifier may determine a message tag in the message template as a session information, and may determine the message tag corresponding to the service message to be generated as target session information. The target session information of the service message to be generated is obtained.
[0043] In a possible embodiment, the group report verifier can determine the first data acquisition script corresponding to the target session information through the target session information. Optionally, the group report verifier can obtain a data acquisition rule template, and the data acquisition rule template includes at least one of the following: a message label, a technical field name, a page display title, a script rule, an actual storage script, and a field name of a routing table. According to a message label in the data acquisition rule template, the group report verifier can respectively obtain other items in the data acquisition rule template corresponding to the message label. The message label in the data acquisition rule template and the message label (or session information) in the message template can correspond one to one. The group report verifier determines the first data acquisition script based on the script rule corresponding to the target session information. For example, according to the business message to be generated, the group report verifier can obtain the message label Itt_Pcpr_BrNo through the message template, and Itt_Pcpr_BrNo is a session information. According to the session information, in the data acquisition rule template, the group report verifier can obtain the script statement (script statement or simply statement) corresponding to the Itt_Pcpr_BrNo, and the group report verifier can determine the script statement as a script rule. The script with the script rule is the first data acquisition script.
[0044] In a possible embodiment, the group report verifier may determine the first script verification rule corresponding to the target show information based on the target show information. Optionally, the group report verifier may obtain multiple script verification rules and obtain the script verification rule corresponding to the target show information based on the target show information.
[0045] Step 102: Verify the first data acquisition script according to the first script verification rule.
[0046] In a possible embodiment, the script rules include at least one of the following: statement syntax, brackets, and variables. The group report checker can determine multiple script rules based on multiple session information.
[0047] In one possible embodiment, the report group checker obtains a mapping file. The report group checker may map the multiple script rules using the mapping file to obtain at least one script verification rule. The script verification rule includes syntax verification rules, bracket verification rules, variable verification rules, and mapping file verification rules. The script verification rule may be used to modify the data retrieval script.
[0048] In one possible embodiment, the report group verifier may determine a syntax verification rule module that can perform at least one of the following checks: determining whether the syntax of a conditional function in a script statement is correct, determining whether the conditional function expression in the script statement is a parsing type supported by the verifier, and determining whether the function is a defined function. The syntax verification rule module can modify the syntax rules of the data retrieval script.
[0049] In a possible embodiment, the group report verifier may further determine a bracket verification rule module, and the bracket verification rule module may perform at least one of the following checks: checking whether each left bracket ("{", "[", "(")) in the script statement has a corresponding right bracket ("}", "]", ")"). The bracket verification rule module may modify the bracket rules of the data retrieval script.
[0050] In one possible embodiment, the report group verifier may further determine a variable verification rule module. The variable verification rule module may perform at least one of the following checks: determining the variable position, determining whether a temporary variable is present, and, if a temporary variable is present, determining whether the temporary variable is defined in the script verification rules. The variable verification rule module may also modify the variable rules of the data retrieval script.
[0051] In one possible embodiment, the report group verifier may further determine a mapping file verification rule module. The mapping file verification rule module may perform at least one of the following checks: determining whether a corresponding mapping file exists when a mapping function is called. The mapping file verification rule module may modify the mapping file corresponding to the data retrieval script.
[0052] In one possible embodiment, the group report verifier may determine, based on target session information of the service message to be generated, a target script rule corresponding to the target session information from a plurality of the script rules. The group report verifier may determine, based on the target script rule, a first data acquisition script corresponding to the target session information. The group report verifier may determine, based on the plurality of the script verification rules, a first script verification rule corresponding to the target session information.
[0053] Step 103: When it is determined that the first data acquisition script fails verification according to the first script verification rule, the modified first data acquisition script is used as the second data acquisition script, where the modified first data acquisition script is obtained by modifying the first data acquisition script according to the first script verification rule.
[0054] In a possible embodiment, the step 103 is performed by a group report verifier. Verification of the first data acquisition script may be performed according to the verification rule module corresponding to the verification rule.
[0055] For example, the script statements corresponding to the multiple script rules may be a conditional function and brackets and variables in the function.
[0056] In a possible embodiment, when it is determined that the first data acquisition script passes the verification according to the first script verification rule, the first data acquisition script can be used as the second data acquisition script, and a message can be generated according to the second data acquisition script and business information, or in other words, a message can be generated according to the first data acquisition script and business information.
[0057] For example, the report group verifier obtains the mapping file, which includes syntax verification rules. The syntax verification rules may be as shown in Tables 1-3. As shown in Table 1, "$." can represent a JSONPath value, obtaining at least one of the following: an attribute value of an entity such as a transaction or a delivery cash flow. The "$." syntax can be processed using a JSONPath parser. The report group verifier can parse the "$." syntax in the first data retrieval script and compare the parsed result with the "$." syntax verification rules in the first script verification rules. If the two parsing results are consistent, the first data retrieval script can be determined to have passed verification. If the two parsing results are inconsistent, the report group verifier can modify the "$." syntax in the first data retrieval script to obtain a modified first data retrieval script, i.e., a second data retrieval script. The functions and function syntax or interpretations shown in Tables 2 and 3 are similar to those in Table 1. The report group verifier parses the corresponding functions in the first data retrieval script based on the function names and corresponding function usages in Table 2, i.e., verifies the first data retrieval script.
[0058] Table 1
[0059]
[0060]
[0061] Table 2
[0062]
[0063]
[0064] Table 3
[0065]
[0066] In a possible embodiment, the group report verifier can display the result of the script verification in a csv file.
[0067] Step 104: Generate the service message according to the second data acquisition script and service information.
[0068] In a possible embodiment, step 104 may be performed according to a module for executing group reporting in a group reporting executor or a message generating device.
[0069] In a possible embodiment, the process of obtaining the business information of the message to be generated further involves a data source collector. The data source collector can obtain entity data source information through components provided by an external module, and finally merge it into a group report data source JSON format.
[0070] In a possible embodiment, taking the group report executor as an example of being used to generate a message, the group report executor can call the data retrieval script processing engine, read the statement in the second data retrieval script through the processing engine, and obtain the value of the data retrieval item from the business information according to the statement, and the value can be used to generate the message. When there are multiple target session information, the group report executor can combine the values corresponding to different target session information to obtain a group report message. For example, as shown in Table 1, the business information is the Message table, and the JSONPath parser reads the "$." statement "$.Message.ValDt" in the second data retrieval script, and can obtain the value of the delivery method field of the Message table according to the "$.Message.ValDt" statement, and can subsequently write the message according to the value of this field.
[0071] Based on the same inventive concept, the present application embodiment provides a message generating device, please refer to Figure 2 , the device comprises:
[0072] The acquisition module 201 is used to determine the first script verification rule based on the first data acquisition script to be verified, and the first data acquisition script is determined according to the target field information of the business message to be generated; the processing module 202 is used to verify the first data acquisition script according to the first script verification rule; when it is determined that the first data acquisition script fails to pass the verification according to the first script verification rule, the processing module 202 is also used to use the modified first data acquisition script as the second data acquisition script, and the modified first data acquisition script is obtained by modifying the first data acquisition script according to the first script verification rule; the processing module 202 is also used to generate the business message according to the second data acquisition script and business information.
[0073] In a possible embodiment, the first script verification rule includes at least one of the following: a syntax verification rule, a bracket verification rule, a variable verification rule, and a mapping file verification rule.
[0074] In a possible embodiment, the processing module 202 is further configured to: determine the first script verification rule from script verification rules corresponding to multiple session information according to the target session information.
[0075] In a possible embodiment, the processing module 202 is further used to: determine at least one target script rule from script rules corresponding to multiple session information according to the target session information; and determine the first data acquisition script according to the target script rule.
[0076] In a possible embodiment, the processing module 202 is further configured to: when it is determined that the first data acquisition script passes verification according to the first script verification rule, use the first data acquisition script as the second data acquisition script.
[0077] Based on the same inventive concept, the embodiment of the present application provides an electronic device that can implement the functions of the page switching device discussed above. Please refer to Figure 3 , the device includes a processor 301 and a memory 302.
[0078] Memory 301 is used to store computer programs executed by processor 302. Memory 301 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and programs required for running instant messaging functions, while the data storage area may store various instant messaging messages and operating instruction sets.
[0079] Memory 301 may be a volatile memory, such as random-access memory (RAM); a non-volatile memory, such as read-only memory, flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 301 may be a combination of the above memories.
[0080] The processor 302 may include one or more central processing units (CPUs) or digital processing units, etc. The processor 302 is configured to implement the above method when calling the computer program stored in the memory 301 .
[0081] The embodiment of the present application does not limit the specific connection medium between the memory 301 and the processor 302. As an example, the embodiment of the present application Figure 3 In the embodiment, the memory 301 and the processor 302 are connected via a bus 303. The bus 303 is connected to the processor 302 via a bus 303. Figure 3The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus 303 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.
[0082] Optionally, the processor 302 may be configured to execute any one or more of the actions performed by the acquisition module 201 and the processing module 202 .
[0083] Based on the same inventive concept, embodiments of the present application provide a computer-readable storage medium, a computer program product comprising: computer program code, which, when executed on a computer, causes the computer to execute any of the message generation methods discussed above. Because the principles underlying the problem solved by the computer-readable storage medium are similar to those of the message generation method, the implementation of the computer-readable storage medium can be referred to as the implementation of the method, and any repetitions will not be repeated here.
[0084] Based on the same inventive concept, embodiments of the present application further provide a computer program product, comprising: computer program code, which, when executed on a computer, causes the computer to execute any of the message generation methods discussed above. Because the principles underlying the problems solved by the computer program products are similar to those of the message generation methods, the implementation of the computer program products can be referenced to the implementation of the methods, and any repetitions will not be repeated.
[0085] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0086] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.
[0087] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of user-operated steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps of the functions specified in one or more blocks. Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and variations of this application fall within the scope of the claims of this application and their equivalents, this application is intended to include such modifications and variations.
Claims
1. A message generation method, characterized in that: include: Determining a first script verification rule according to a first data acquisition script to be verified, wherein the first data acquisition script is determined according to target session information of the service message to be generated; Verify the first data acquisition script according to the first script verification rule; When it is determined that the first data acquisition script fails verification according to the first script verification rule, a modified first data acquisition script is used as a second data acquisition script, where the modified first data acquisition script is obtained by modifying the first data acquisition script according to the first script verification rule; Generate the service message according to the second data acquisition script and service information; The first data acquisition script is determined according to target session information of the service message to be generated, and includes: According to the business message to be generated, a message template corresponding to the business message is obtained, and the message tag in the message template is determined as the target session information; According to the target session information, determining a script statement corresponding to the target session information in a plurality of data acquisition rule templates corresponding to the sessions, determining the script statement as a script rule, and obtaining a first data acquisition script having the script rule; The step of determining a first script verification rule according to the first data acquisition script to be verified includes: The first script verification rule is determined from the script verification rules corresponding to the multiple session information according to the target session information, wherein the multiple script rules are determined in advance according to the multiple session information, and the multiple script rules are mapped through a mapping file to obtain at least one script verification rule.
2. The method according to claim 1, wherein The first script verification rule includes at least one of the following: a syntax verification rule, a bracket verification rule, a variable verification rule, and a mapping file verification rule.
3. The method according to claim 1, wherein The method further comprises: Determine at least one target script rule from the script rules corresponding to the plurality of session information according to the target session information; The first data acquisition script is determined according to the target script rule.
4. The method according to claim 1, wherein The method further comprises: When it is determined that the first data acquisition script passes verification according to the first script verification rule, the first data acquisition script is used as the second data acquisition script.
5. A message generating device, characterized in that: include: An acquisition module, configured to determine a first script verification rule according to a first data acquisition script to be verified, wherein the first data acquisition script is determined according to target session information of a service message to be generated; A processing module, configured to verify the first data acquisition script according to the first script verification rule; and, when it is determined according to the first script verification rule that the first data acquisition script fails verification, using a modified first data acquisition script as a second data acquisition script, wherein the modified first data acquisition script is obtained by modifying the first data acquisition script according to the first script verification rule; The processing module is further configured to generate the service message according to the second data acquisition script and service information; The first data acquisition script is determined according to target session information of the service message to be generated, and includes: According to the business message to be generated, a message template corresponding to the business message is obtained, and the message tag in the message template is determined as the target session information; According to the target session information, determining a script statement corresponding to the target session information in a plurality of data acquisition rule templates corresponding to the sessions, determining the script statement as a script rule, and obtaining a first data acquisition script having the script rule; The processing module determines the first script verification rule according to the first data acquisition script to be verified, including: The first script verification rule is determined from the script verification rules corresponding to the multiple session information according to the target session information, wherein the multiple script rules are determined in advance according to the multiple session information, and the multiple script rules are mapped through a mapping file to obtain at least one script verification rule.
6. The device according to claim 5, characterized in that The first script verification rule includes at least one of the following: a syntax verification rule, a bracket verification rule, a variable verification rule, and a mapping file verification rule.
7. The device according to claim 5, characterized in that The processing module is further configured to: Determine at least one target script rule from the script rules corresponding to the plurality of session information according to the target session information; The first data acquisition script is determined according to the target script rule.
8. The device according to claim 5, wherein The processing module is further configured to: When it is determined that the first data acquisition script passes verification according to the first script verification rule, the first data acquisition script is used as the second data acquisition script.
9. An electronic device, characterized in that: include: a memory for storing program instructions; A processor is configured to call the program instructions stored in the memory and execute the steps of the method according to any one of claims 1 to 4 according to the obtained program instructions.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, wherein the computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to perform the method according to any one of claims 1 to 4.
11. A computer program product, characterized in that The computer program product comprises: a computer program code, and when the computer program code is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Script file processing method and device, storage medium and electronic equipment
CN113849186A
Message generation method and device, equipment, storage medium and program product
CN114202419A