Instruction conversion method, device and equipment

By obtaining the instruction reading format and field type of the task processing end, configuring processing functions, and converting task instructions into target instructions, the problem of low parsing efficiency caused by data format differences between different institutions is solved, and the efficiency and accuracy of task processing are improved.

CN114138337BActive Publication Date: 2025-08-19CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111397823.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-23
Publication Date
2025-08-19
Estimated Expiration
2041-11-23

AI Technical Summary

Technical Problem

The difference in data formats between different institutions leads to low efficiency in instruction resolution and high manual processing requirements, which cannot meet the requirements of high response speed.

Method used

It provides an instruction conversion method and device, by receiving task instructions, obtaining the instruction reading format of the task processing end, parsing the field type, and configuring processing functions to convert task instructions into target instructions, so that the task processing end can directly execute tasks.

Benefits of technology

It realizes fast and accurate conversion between different data formats, improves the efficiency and accuracy of task processing, and meets the needs of high response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114138337B_ABST
    Figure CN114138337B_ABST
Patent Text Reader

Abstract

The embodiments of this specification provide an instruction conversion method, device and equipment, which can be applied to the field of big data technology. The method includes: receiving a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; obtaining an instruction reading format corresponding to the task processing end; parsing the task instruction to obtain the field type of the task instruction; configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; using the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction. The above method, when the task sending end and the task processing end correspond to different data formats, can perform format conversion on the sent instruction, so that the task processing end can effectively read the instruction, thereby ensuring the fast and effective execution of the task and improving the overall task processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of big data technology, and in particular to an instruction conversion method, device, and equipment. Background Art

[0002] With the development of computers and information technology, the application of data transmission and processing is becoming more and more common. Different institutions and organizations can also transfer tasks or data to each other, so that other institutions and organizations can provide assistance in processing tasks or data, thereby ensuring the effectiveness and efficiency of task processing.

[0003] In current practical applications, the data used by different organizations may have different formats and data types. Generally, organizations do not configure processing systems corresponding to the formats or data types of other organizations, and often directly send corresponding instructions according to the data format used by their own organizations. In order to ensure that the recipient can effectively parse the instructions, it is often necessary to convert the instructions into the corresponding format. However, with the development of big data technology, the number of organizations involved in data exchange is increasing, and the number of formats of data being communicated is also increasing. In order to cope with the ever-increasing data formats, it is often necessary to arrange specialized processing personnel to parse the instructions. However, the manual parsing of instructions not only places high demands on the ability and experience of the processing personnel, but also has low efficiency and does not meet the high response speed requirements of current task processing. Therefore, there is an urgent need for a method that can quickly and accurately parse instructions transmitted between different organizations. Summary of the Invention

[0004] The purpose of the embodiments of this specification is to provide an instruction conversion method, apparatus, and device to solve the problem of how to quickly and accurately convert instruction formats.

[0005] In order to solve the above technical problems, an embodiment of this specification provides an instruction conversion method, which is applied to an instruction conversion device; the method includes: receiving a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; obtaining an instruction reading format corresponding to the task processing end; parsing the task instruction to obtain the field type of the task instruction; configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; and using the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0006] An embodiment of this specification also proposes an instruction conversion device, which is arranged in an instruction conversion device; the device includes: a task instruction receiving module, used to receive a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; an instruction reading format acquisition module, used to obtain the instruction reading format corresponding to the task processing end; a task instruction parsing module, used to parse the task instruction to obtain the field type of the task instruction; a processing function configuration module, used to configure a processing function corresponding to the task instruction based on the instruction reading format and field type; a task instruction conversion module, used to use the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0007] An embodiment of this specification also proposes an instruction conversion device, including a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: receiving a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; obtaining an instruction reading format corresponding to the task processing end; parsing the task instruction to obtain the field type of the task instruction; configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; and using the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0008] In order to solve the above technical problems, the embodiments of this specification also propose a task processing method based on instruction conversion, which is applied to the task processing end; the method includes: receiving a target instruction sent by an instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives a task instruction issued by the task dispatching end; the task instruction corresponds to the task processing end; obtaining the instruction reading format corresponding to the task processing end; parsing the task instruction to obtain the field type of the task instruction; configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; using the processing function to convert the task instruction into a target instruction; processing the task corresponding to the target instruction based on a preset processing method.

[0009] An embodiment of this specification also proposes a task processing device based on instruction conversion, which is arranged at the task processing end; the device includes: a target instruction receiving module, used to receive a target instruction sent by an instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives a task instruction issued by the task dispatching end; the task instruction corresponds to the task processing end; the instruction reading format corresponding to the task processing end is obtained; the task instruction is parsed to obtain the field type of the task instruction; a processing function corresponding to the task instruction is configured based on the instruction reading format and field type; the task instruction is converted into a target instruction using the processing function; a task processing module, used to process the task corresponding to the target instruction based on a preset processing method.

[0010] An embodiment of this specification also proposes a task processing end device, including a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: receiving a target instruction sent by an instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives a task instruction issued by a task dispatching end; the task instruction corresponds to the task processing end, obtains an instruction reading format corresponding to the task processing end, parses the task instruction to obtain the field type of the task instruction, configures a processing function corresponding to the task instruction based on the instruction reading format and field type, and uses the processing function to convert the task instruction into a target instruction; and processes the task corresponding to the target instruction based on a preset processing method.

[0011] In order to solve the above technical problems, the embodiments of this specification also propose a task sending method based on instruction conversion, which is applied to the task dispatching end; the method includes: sending the task instruction to the instruction conversion device, so that the instruction conversion device obtains the instruction reading format of the task processing end corresponding to the task instruction, and then parsing the task instruction to obtain the field type of the task instruction, and configuring the processing function corresponding to the task instruction based on the instruction reading format and field type, and finally using the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0012] An embodiment of this specification also proposes a task sending device based on instruction conversion, which is arranged at the task dispatching end; the device includes: a task instruction sending module, which is used to send the task instruction to the instruction conversion device, so that the instruction conversion device obtains the instruction reading format of the task processing end corresponding to the task instruction, and then parses the task instruction to obtain the field type of the task instruction, and configures the processing function corresponding to the task instruction based on the instruction reading format and field type, and finally uses the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0013] An embodiment of this specification also proposes a task dispatching end device, including a memory and a processor; the memory is used to store computer program instructions; the processor is used to execute the computer program instructions to implement the following steps: sending the task instruction to the instruction conversion device, so that the instruction conversion device obtains the instruction reading format of the task processing end corresponding to the task instruction, then parses the task instruction to obtain the field type of the task instruction, and configures the processing function corresponding to the task instruction based on the instruction reading format and field type, and finally uses the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0014] It can be seen from the technical solutions provided by the above embodiments of this specification that, after obtaining the task instruction, the instruction conversion device in the embodiments of this specification can obtain the instruction reading format of the task instruction end corresponding to the task instruction, and then parse the task instruction to obtain the field type of the task instruction, and then configure the corresponding processing function based on the instruction reading format and field type. After the task instruction is converted using the processing function, the task processing device can directly execute the task corresponding to the converted target instruction. Through the above method, when the task sending end and the task processing end correspond to different data formats, the format of the sent instruction can be converted, so that the task processing end can effectively read the instruction, thereby ensuring the rapid and effective execution of the task and improving the overall task processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in this specification. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0016] Figure 1 This is a structural diagram of an instruction conversion system according to an embodiment of this specification;

[0017] Figure 2 This is a flow chart of an instruction conversion method according to an embodiment of this specification;

[0018] Figure 3 This is a schematic diagram of maintaining common parameters according to an embodiment of this specification;

[0019] Figure 4 This is a flow chart of an instruction conversion method according to an embodiment of this specification;

[0020] Figure 5This is a flowchart of a task processing method based on instruction conversion according to an embodiment of this specification;

[0021] Figure 6 This is a flowchart of a task sending method based on instruction conversion according to an embodiment of this specification;

[0022] Figure 7 This is a module diagram of an instruction conversion device according to an embodiment of this specification;

[0023] Figure 8 This is a module diagram of a task processing device based on instruction conversion according to an embodiment of this specification;

[0024] Figure 9 This is a module diagram of a task sending device based on instruction conversion according to an embodiment of this specification;

[0025] Figure 10 This is a structural diagram of an instruction conversion device according to an embodiment of this specification;

[0026] Figure 11 This is a structural diagram of a task processing terminal device according to an embodiment of this specification;

[0027] Figure 12 This is a structural diagram of a task dispatching terminal device according to an embodiment of this specification. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of this specification to clearly and completely describe the technical solutions in the embodiments of this specification. Obviously, the embodiments described are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this specification.

[0029] In order to better understand the inventive concept of this application, we first introduce an instruction conversion system. The instruction conversion system may include a task dispatching end device, an instruction conversion device, and a task processing end device. Figure 1 As shown, a schematic diagram of an instruction conversion system is given as an example, which includes a task dispatching end device 111, a task dispatching end device 112, an instruction conversion device 120, a task processing end device 131, a task processing end device 132 and a task processing end device 133.

[0030] The task dispatching device corresponds to the task dispatching end. The task dispatching end sends the corresponding task to other devices for processing. For example, in practical applications, when a regulatory agency needs to issue instructions to a bank, the regulatory agency can correspond to the task dispatching end, and the bank can correspond to the task processing end. The task dispatching end has the function of generating and issuing instructions, and the instructions issued correspond to the data format commonly used by task dispatching ends.

[0031] It should be noted that Figure 1 The example of the instruction conversion system is only given schematically. In actual application, the number of task dispatching end devices in the instruction conversion system is not limited, and the number of the following instruction conversion devices and task processing end devices is not limited to the example in the figure.

[0032] The task processing device is the device that corresponds to the task processing end. The task processing end needs to receive corresponding instructions and process the corresponding tasks based on the instructions. However, because the task dispatching end and the task processing end use different data formats in actual applications, the instructions received by the task processing end need to be converted into instructions that are suitable for the data format of the task processing end to ensure the effective execution of the task by the task processing end.

[0033] The instruction conversion device is used to convert the instruction format issued by the task dispatching end into the format corresponding to the task processing end when the data formats used by the task dispatching end and the task processing end differ. Specifically, the instruction conversion device can be pre-configured with corresponding recognition program logic and conversion functions, so that the instruction conversion device can effectively configure the conversion function to convert the instruction format by matching the two formats.

[0034] It should be noted that in the embodiments of this specification, for the sake of convenience, the instruction conversion device is described as an independent device end. In actual applications, the instruction conversion device can be a device independent of the task dispatching end and the task processing end, or it can be a device set at the task dispatching end or the task processing end. For example, before the task dispatching end issues the instruction or after the task processing end receives the instruction, the instruction conversion device is used to process the instruction. There is no restriction on this.

[0035] Based on the above instruction conversion system, an instruction conversion method according to an embodiment of this specification is introduced. The execution subject of the instruction conversion method is the instruction conversion system. Figure 2 As shown, the instruction conversion method may include the following specific implementation steps.

[0036] S210: The task dispatching end device sends the task instruction to the instruction conversion device.

[0037] The task instruction is an instruction issued by the task dispatching terminal device. The task instruction corresponds to a corresponding task to be processed. After the task processing terminal device receives the task instruction, it needs to execute the task corresponding to the task instruction.

[0038] The format of the task instruction corresponds to that of the task dispatching end device, that is, the task instruction is an instruction generated by the task dispatching end device according to its own format. However, since the data formats between the task dispatching end device and the task processing end device are not interoperable, the format of the task instruction needs to be converted.

[0039] It should be noted that in actual applications, the task dispatching device can proactively send the task instructions to the instruction conversion device. Alternatively, without changing the logic of the task dispatching device sending the task instructions to the task processing device, the instruction conversion device can proactively intercept the task instructions and format the task instructions before sending them to the task processing device. The specific application method can be configured according to actual application needs and is not limited to this.

[0040] S220: The instruction conversion device obtains the instruction reading format corresponding to the task processing end.

[0041] After receiving the instruction format, the instruction conversion device may first determine the instruction reading format of the task processing end in order to ensure that the adjusted format corresponds to the task processing end, because the instruction format corresponds to the task processing end.

[0042] The instruction reading format may correspond to a format commonly used by the task processing end, so that after the task instruction is format-converted, the task processing end can directly read the converted task instruction, thereby facilitating the execution of the task.

[0043] In some embodiments, the transmitted instruction is in the form of a message, and the corresponding instruction reading format corresponds to a message node configuration, which is used to reflect the configuration of the node when receiving the message, thereby implementing specific format conversion. The message node configuration includes a message node type configuration and a message node path configuration; the message node type configuration corresponds to a message node mapping type; and the message node path configuration corresponds to the message content format.

[0044] The message node type configuration is mainly used to reflect the mapping of the message node when receiving the task instruction. Specifically, the message node type configuration includes configurations corresponding to direct nodes, JSON type nodes, conversion nodes and function nodes.

[0045] A direct node indicates that the node in the message is directly mapped to the message field of the task processing end, that is, no format conversion is required.

[0046] A JSON node indicates that the node is mapped to the JSON key value of the task processing end message field.

[0047] A conversion node indicates that the node needs to be converted to a specific format before being mapped to the task processing end message. For example, in banking applications, fields such as task type, document type, and currency commonly used for uploading need to be mapped to the bank's corresponding field specifications.

[0048] A functional node indicates that the node is processed by a specific function method and then mapped to the task processing end message. Specifically, the corresponding function can be pre-set in the device, so that the corresponding function can be called for conversion when needed.

[0049] The message node path configuration is related to the message content format configuration. During conversion, the message representation can be adjusted accordingly based on the requirements for the message content format. Specifically, the message node path configuration corresponds to the path separator configuration, node path writing configuration, and node relationship configuration.

[0050] The path separator configuration is used to indicate the representation of the separator between different paths in the command. For example, you can set a slash ( / ) as the separator within the path.

[0051] Node path writing configuration is used to configure the path writing method for message nodes. For example, the same node can have both absolute and relative paths. Absolute paths must begin with a " / " and be followed by the root node, such as / step / step / ... Relative paths are written in addition to absolute paths, such as step / step, without the leading " / ". In actual applications, the specific node path writing method can be selected based on the application of the task processing device.

[0052] Node relationship configuration primarily describes the relationships between nodes. Specifically, it can use different representations to describe the relationship between parent and child nodes. For example, you can use "." to represent the current node and ".." to represent the parent node of the current node, thereby distinguishing the relationships between different nodes through different writing methods. In actual applications, the task processing end can express node relationships in other forms, which will not be detailed here.

[0053] S230: The instruction conversion device parses the task instruction to obtain the field type of the task instruction.

[0054] The field type is the representation of the fields in the task instruction. In practical applications, task instructions are often sent in the form of messages. By parsing the format of each field in the task instruction, the field type can be effectively determined, and then the format conversion can be performed accordingly.

[0055] In some implementations, the field type may include at least one of a message character format, a message content format, and a task type format.

[0056] The message character format is mainly used to describe the format corresponding to the characters in the message, so that in the subsequent steps, the task instruction can be effectively analyzed according to the format obtained by parsing. Specifically, the message character format can include at least one of the GBK format and the UTF-8 format.

[0057] The message content format may be a format corresponding to the entire message. Specifically, the message content format includes at least one of XML and TXT formats. In practical applications, XML is generally used as the primary format. When parsing task instructions, combining the message content format can effectively perform parsing.

[0058] The task type format primarily indicates the type of task to which a task instruction corresponds. Specifically, the task type format includes at least one of a single-task format and a multi-task format. The single-task format indicates that one task number corresponds to one task instruction, while the multi-task format indicates that one task number corresponds to multiple task instructions. This allows for effective mapping of the task processing process, both during task processing and when providing feedback on task processing records.

[0059] Accordingly, after obtaining the field type and before configuring the processing function, the task instruction may be pre-processed in combination with the above field type to ensure better processing of the task instruction.

[0060] Since this step explains that the corresponding field type can be obtained by parsing the task instruction, in order to optimize the preprocessing effect, the preprocessing operation can be performed in combination with the message character format, message content format and task type format in the field type.

[0061] Specifically, when preprocessing the task instruction, an encoding format can be configured based on the message character format. Since message character formats include at least one of GBK and UTF-8, corresponding encoding formats can be selected for different message character formats, thereby enabling better reading of the content in the task instruction. For example, encoding formats corresponding to GBK and UTF-8 can be selected in the configuration options to achieve the purpose of parsing messages from different coding authorities.

[0062] Accordingly, for the message content format, the processing file format can be configured according to the message content format. When the overall content of the message is in a format such as XML, TXT, etc., the message often corresponds to different field contents and arrangement rules. Therefore, for message contents in different formats, the corresponding processing file format is often pre-set to adaptively complete the parsing of the message according to the corresponding message content format. For example, by configuring a processing file format corresponding to XML or TXT, the purpose of supporting the parsing of XML format messages and TXT format messages can be achieved. At the same time, if you choose XML configuration, you also need to select the message content as XML node attributes or XML content. When you choose TXT, you need to select the message content delimiter, etc. The specific processing file format can be set based on different message content formats and specific processing contents, which will not be repeated here.

[0063] With regard to the task type format, since it includes formats such as single-task format and multi-task format, and in different task type formats, the same number of task order numbers can correspond to different numbers of task instructions, resulting in different processing methods for task instructions based on the task order number in the actual processing task, the message task processing category can be set according to the task type format, and the message task processing category is used to process the corresponding number of tasks, that is, the specific number of task instructions corresponding to the task order number can be determined by parsing the task type format. In this way, the number of tasks or instructions can be determined according to the order number, and when the feedback task dispatch end checks and controls the instructions, a clear corresponding relationship can also be determined. Accordingly, the feedback can also be divided into separate feedback and packaged combination feedback. Preferably, the above method supports simple message task category configuration. When configured as multiple nodes, it is sufficient to fill in the task node field in the message, and it can be directly mapped to the corresponding task instruction according to the task order number, thereby optimizing the task processing process.

[0064] It should be noted that the above-mentioned preprocessing operations for encoding format, processing file format, and message task processing category can be performed individually or in combination as a preprocessing operation, without limitation. Furthermore, in actual applications, other preprocessing operations can be configured as needed to better configure the processing function corresponding to the task instruction, and are not limited to the above examples, so they will not be elaborated here.

[0065] In some embodiments, to ensure security during information transmission, the task instruction may be transmitted encrypted. Specifically, the task instruction includes an encrypted task instruction. Therefore, before parsing the field type, the encrypted task instruction needs to be decrypted, and the specific field type can be obtained from the decrypted task instruction.

[0066] The specific process may be to determine the encryption method corresponding to the encrypted task instruction, then decrypt the task instruction based on the encryption method, and finally parse the decrypted encrypted task instruction to obtain the field type.

[0067] In some specific examples, the encryption method for the field can be BASE64, AES, etc., and decryption can be achieved through BASE64 decryption and AES decryption configuration. In actual applications, other methods can also be used to achieve encryption and decryption. The specific encryption method is not limited to the above examples and will not be detailed here.

[0068] In some implementations, to ensure the security of information transmission, the task instructions may be encrypted not only in a standard format but also in a digital envelope-based encryption format. Conventional message parsing methods cannot directly obtain the message content of the task instructions, and specialized parsing methods are required to pre-process the task instructions for parsing and verification.

[0069] In this embodiment, after obtaining the task instruction, you can first check whether the task instruction corresponds to the electronic evidence format. In the electronic evidence format, the task instruction is in an encrypted state. If it is detected that the task instruction is not in the electronic evidence format, the task instruction is processed according to the normal process. If it is detected that the task instruction is in the electronic evidence format, it is necessary to decrypt the task instruction based on the preset decryption algorithm to obtain a signature verification file. The preset decryption algorithm corresponds to the electronic evidence format of the current task instruction. It can be an algorithm determined in advance by the task dispatching end and the instruction conversion end. It can be used to decrypt the task instruction in the current encrypted format. For example, it can be determined uniformly by the task dispatching end and then shared with the instruction conversion end. The specific type of preset decryption algorithm can be set according to the needs of the actual application, and will not be repeated here.

[0070] The signature verification file can be a file used to verify the task instructions. The signature verification file can be identified based on pre-set features. For example, after parsing all the files contained in the task instructions, the only file in txt format is the signature verification file. The signature verification file determined by this method also ensures the encryption properties of the signature verification file itself.

[0071] The task instruction identifier and task instruction signature can be read from the signature verification file. The task instruction identifier can be used to uniquely identify a task instruction. By analyzing whether the task instruction identifier corresponds to the current task instruction, it can be determined whether the task instruction was distributed incorrectly or replaced maliciously. The task instruction signature can be used to verify the task instruction. For example, the task instruction signature can be a signature obtained by pre-converting the task instruction. After receiving the task instruction, the task instruction is processed in the same manner to obtain a verification signature. After comparing it with the task instruction signature, it can be determined whether the current task instruction has been tampered with, thereby authenticating the task instruction.

[0072] If the task instruction is authenticated, the task instruction can be parsed based on the above steps to obtain the field type of the task instruction, and the normal task processing flow can be executed. If the authentication fails, the conversion of the current task instruction can be stopped, and the task instruction error information can be fed back to the task dispatching terminal or the administrator terminal. The specific processing method will not be repeated here.

[0073] In some implementations, the time field in the instruction must also be configured according to the actual field format required, so that the task dispatcher and task processor can communicate based on a unified format. For example, if one party uploads the time field in the format of yyyy-MM-dd, the other party must also configure it in the format of yyyy-MM-dd.

[0074] It should be noted that the numbers of the above steps S220 and S230 do not limit the execution order of the steps in actual applications, and the specific execution order can be adjusted accordingly.

[0075] S240: The instruction conversion device configures a processing function corresponding to the task instruction based on the instruction reading format and field type.

[0076] After determining the instruction reading format and field type configuration, the corresponding processing function can be configured. The configuration of the processing function can be achieved in two ways. One is for simple cases, where the administrator adds the code mapping one by one through the page; the other is to call the mapping relationship set in the database in advance to configure the processing function according to the corresponding relationship between the instruction reading format and field type configuration.

[0077] For the first implementation, the instruction reading format and field types can be sent to an administrator terminal. The administrator can view the instruction reading format and field types through the administrator terminal and, based on their experience, select or enter the corresponding processing function on the terminal page. The administrator terminal then feeds the processing function back to the instruction conversion device, which then uses the processing function to perform subsequent conversion steps.

[0078] For the second implementation, the corresponding processing function can be called from the database based on the instruction reading format and field type. Specifically, a correspondence table between instruction reading formats, field types and processing functions can be pre-set in the database, and the corresponding processing function can be called based on the correspondence table.

[0079] In some embodiments, the processing function may include a single-node function and a multi-node function; the single-node function is used to implement format conversion of a single field; the multi-node function is used to implement format conversion of at least two fields.

[0080] Single-node functional configuration is to add a processing function directly when configuring node mapping to achieve complex node conversion. For example, if you want to intercept the relative message field, you can configure processFunc:com.xxx.xxx.subString[0,3], where the first parameter is the message node field by default.

[0081] In the multi-node functional configuration, when mapping to the fields on the task processing side, one core field may correspond to multiple message fields. This method supports configuring sub-nodes (single-node) and adding function operations on multiple sub-nodes on the main node to achieve the purpose of mapping one core field to multiple message fields.

[0082] For the specific process of multi-node functional configuration, please refer to Figure 3 As shown in the figure, after creating multiple nodes, these nodes are set as corresponding main nodes or child nodes. When executing a function call, it is determined whether the corresponding method exists. If it does, the found function is set as a function expression. If it does not exist, the corresponding function can be created by creating rules in Drools.

[0083] In some implementations, the processing function corresponding to the task instruction may be configured using the Drools rule engine. Drools is a Java-based open source rule engine that separates business decisions from application programs. This has the advantages of simplifying system architecture, optimizing applications, improving system maintainability and maintenance costs, facilitating system integration, and reducing the cost and risk of writing "hard-coded" business rules.

[0084] In some implementations, the system pre-provides some methods (based on experience with different authorities). These methods already meet most configuration requirements. The configuration format is method name (label one, label two, parameter one, parameter two...) (the order of the fields corresponds to the actual method parameters). If creating a method based on Drools, the configuration format is rule tag (label one, label two, parameter one, parameter two).

[0085] Drools allows for dynamic modification of code rules and offers excellent Java compatibility, achieving decoupling from application code. It also allows for real-time loading of new code logic after modifying a method. Rule code created with Drools requires a rule tag to uniquely identify the method.

[0086] In actual applications, other processing methods can also be used, which are not limited to the above examples and will not be described here.

[0087] In some embodiments, the task instruction processing may require the task dispatching end to send some additional data to assist in the processing. Depending on the amount and format of this data, it may not be directly included in the task instruction. This additional data is used by the task processing end to execute the corresponding task based on the target instruction, so additional steps are required to obtain it to ensure the successful execution of the task instruction.

[0088] Specifically, when acquiring the attachment data of a task instruction, the attachment data may be directly included in a certain part of the task instruction. When acquiring the attachment data, the task instruction may be parsed first to obtain the attachment identifier, and then the attachment data may be read from the task instruction based on the attachment identifier. The attachment identifier may be used to identify the position of the attachment in the task instruction or to directly reflect the characteristics of the attachment data to achieve the extraction of the attachment data. The attachment data may also be stored separately in other storage areas. When acquiring the attachment data, the task instruction may be parsed to obtain the attachment storage path, and the corresponding file storage area may be determined based on the attachment storage path, and the corresponding attachment data may be searched in the file storage area. In actual applications, other methods of acquiring attachment data may be set as needed, and are not limited to the above examples, which will not be described in detail here.

[0089] After acquiring the attachment data, the attachment data may be preprocessed. Preprocessing may involve decrypting the encrypted attachment data to enable the task processing end to read it. Preprocessing may also involve adjusting the format of the attachment data so that the task processing end can directly use the attachment data. In practical applications, there is no limitation on the specific preprocessing method.

[0090] S250: The instruction conversion device converts the task instruction into a target instruction using a processing function.

[0091] After obtaining the processing function, the instruction conversion device uses it to process the task instruction to obtain the target instruction. The target instruction is in a format that corresponds to the task processing end, allowing the task processing end to directly process the instruction. The specific conversion process can be configured based on the processing process in the actual application and will not be detailed here.

[0092] S260: The instruction conversion device sends the target instruction to the task processing end device.

[0093] After obtaining the target instruction, the instruction conversion device can send the target instruction to the task processing end device to execute subsequent steps.

[0094] S270: The task processing end device processes the task corresponding to the target instruction based on a preset processing method.

[0095] Because the target instruction format has been converted to a directly readable format, the task processing end device can directly execute the task corresponding to the target instruction after receiving the target instruction. Specifically, the task processing end device can be configured with a program corresponding to a preset processing method. When executing the task, the corresponding program is directly called to complete the processing of the task corresponding to the target instruction. The specific settings for the preset processing method can be configured according to the actual application needs and will not be detailed here.

[0096] After completing the task, the task processing device can feed back the corresponding processing results or receipt content to the task dispatching end. Correspondingly, the instruction conversion device can also convert the format of the feedback content. The specific conversion process can be referred to the description of the above steps and will not be repeated here.

[0097] Based on the introduction of the above embodiment, it can be seen that, after obtaining the task instruction, the instruction conversion device in the method can obtain the instruction reading format of the task instruction end corresponding to the task instruction, and then parse the task instruction to obtain the field type of the task instruction, and then configure the corresponding processing function based on the instruction reading format and field type. After the task instruction is converted using the processing function, the task processing device can directly execute the task corresponding to the converted target instruction. Through the above method, when the task sending end and the task processing end correspond to different data formats, the format of the sent instruction can be converted, so that the task processing end can effectively read the instruction, thereby ensuring the rapid and effective execution of the task and improving the overall task processing efficiency.

[0098] based on Figure 2 The corresponding instruction conversion method introduces another instruction conversion method of the embodiment of this specification. The execution subject of the instruction conversion method can be the instruction conversion device. Figure 4 As shown, the instruction conversion method may specifically include the following execution steps.

[0099] S410: Receive a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end.

[0100] For the introduction of this step, please refer to the description of step S210 and will not be repeated here.

[0101] S420: Acquire an instruction reading format corresponding to the task processing end.

[0102] For the introduction of this step, please refer to the description in step S220 and will not be repeated here.

[0103] S430: Parse the task instruction to obtain the field type of the task instruction.

[0104] For the introduction of this step, please refer to the description in step S230 and will not be repeated here.

[0105] S440: configuring a processing function corresponding to the task instruction based on the instruction reading format and field type.

[0106] For the introduction of this step, please refer to the description in step S240 and will not be repeated here.

[0107] S450: Utilizing the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0108] For the introduction of this step, please refer to the description of steps S250, S260, and S270, which will not be repeated here.

[0109] based on Figure 2 The corresponding instruction conversion method, the embodiment of this specification also proposes a task processing method based on instruction conversion. The execution subject of the task processing method based on instruction conversion can be the task processing end device. Figure 5 As shown, the task processing method based on instruction conversion may specifically include the following execution steps.

[0110] S510: Receive a target instruction sent by an instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives a task instruction sent by a task dispatching end; the task instruction corresponds to the task processing end; obtains an instruction reading format corresponding to the task processing end; parses the task instruction to obtain a field type of the task instruction; configures a processing function corresponding to the task instruction based on the instruction reading format and field type; and uses the processing function to convert the task instruction into a target instruction.

[0111] For the introduction of this step, please refer to the description of steps S210, S220, S230, S240, S250, and S260, which will not be repeated here.

[0112] S520: Processing the task corresponding to the target instruction based on a preset processing method.

[0113] For the introduction of this step, please refer to the description in step S270 and will not be repeated here.

[0114] based on Figure 2 The corresponding instruction conversion method, the embodiment of this specification also proposes a task sending method based on instruction conversion. The execution subject of the task sending method based on instruction conversion can be the task sending end device. Figure 6 As shown, the task sending method based on instruction conversion may specifically include the following execution steps.

[0115] S610: Send the task instruction to the instruction conversion device so that the instruction conversion device obtains the instruction reading format of the task processing end corresponding to the task instruction, then parses the task instruction to obtain the field type of the task instruction, and configures the processing function corresponding to the task instruction based on the instruction reading format and field type, and finally uses the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0116] For the introduction of this step, please refer to the descriptions in steps S210, S220, S230, S240, S250, S260, and S270, which will not be repeated here.

[0117] based on Figure 4 The corresponding instruction conversion method introduces an instruction conversion device according to an embodiment of this specification. The instruction conversion device is set in the instruction conversion device. Figure 7 As shown, the instruction conversion device includes the following modules.

[0118] The task instruction receiving module 710 is used to receive a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end.

[0119] The instruction reading format acquisition module 720 is used to acquire the instruction reading format corresponding to the task processing end.

[0120] The task instruction parsing module 730 is configured to parse the task instruction to obtain the field type of the task instruction.

[0121] The processing function configuration module 740 is used to configure the processing function corresponding to the task instruction based on the instruction reading format and field type.

[0122] The task instruction conversion module 750 is configured to convert the task instruction into a target instruction using the processing function, so that the task processing end executes the corresponding task based on the target instruction.

[0123] based on Figure 5The corresponding task processing method based on instruction conversion introduces a task processing device based on instruction conversion in the embodiment of this specification. The task processing device based on instruction conversion is set in the task processing end device. Figure 8 As shown, the task processing device based on instruction conversion includes the following modules.

[0124] The target instruction receiving module 810 is used to receive the target instruction sent by the instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives the task instruction issued by the task dispatching end; the task instruction corresponds to the task processing end; the instruction reading format corresponding to the task processing end is obtained; the task instruction is parsed to obtain the field type of the task instruction; the processing function corresponding to the task instruction is configured based on the instruction reading format and field type; and the task instruction is converted into a target instruction using the processing function.

[0125] The task processing module 820 is configured to process the task corresponding to the target instruction based on a preset processing method.

[0126] based on Figure 6 The corresponding task sending method based on instruction conversion introduces a task sending device based on instruction conversion in the embodiment of this specification. The task sending device based on instruction conversion is set in the task dispatching end device. Figure 9 As shown, the task sending device based on instruction conversion includes the following modules.

[0127] The task instruction sending module 910 is used to send the task instruction to the instruction conversion device so that the instruction conversion device obtains the instruction reading format of the task processing end corresponding to the task instruction, then parses the task instruction to obtain the field type of the task instruction, and configures the processing function corresponding to the task instruction based on the instruction reading format and field type, and finally uses the processing function to convert the task instruction into a target instruction, so that the task processing end executes the corresponding task based on the target instruction.

[0128] based on Figure 4 The corresponding instruction conversion method, the embodiment of this specification provides an instruction conversion device. Figure 10 As shown, the instruction conversion device may include a memory and a processor.

[0129] In this embodiment, the memory may be implemented in any suitable manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state drive, or a USB flash drive. The memory may be used to store computer program instructions.

[0130] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or a processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute the computer program instructions to implement the following steps: receiving a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; obtaining an instruction reading format corresponding to the task processing end; parsing the task instruction to obtain a field type of the task instruction; configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; and using the processing function to convert the task instruction into a target instruction so that the task processing end executes the corresponding task based on the target instruction.

[0131] based on Figure 5 Corresponding to the task processing method based on instruction conversion, this embodiment of the specification provides a task processing terminal device. Figure 11 As shown, the task processing end device may include a memory and a processor.

[0132] In this embodiment, the memory may be implemented in any suitable manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state drive, or a USB flash drive. The memory may be used to store computer program instructions.

[0133] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute the computer program instructions to implement the following steps: receiving a target instruction sent by an instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives a task instruction sent by a task dispatching end; the task instruction corresponds to the task processing end, obtains the instruction reading format corresponding to the task processing end, parses the task instruction to obtain the field type of the task instruction, configures a processing function corresponding to the task instruction based on the instruction reading format and field type, and uses the processing function to convert the task instruction into a target instruction; and processes the task corresponding to the target instruction based on a preset processing method.

[0134] based on Figure 6 Corresponding to the task sending method based on instruction conversion, the embodiment of this specification provides a task dispatching terminal device. Figure 12 As shown, the task dispatching end device may include a memory and a processor.

[0135] In this embodiment, the memory may be implemented in any suitable manner. For example, the memory may be a read-only memory, a mechanical hard disk, a solid-state drive, or a USB flash drive. The memory may be used to store computer program instructions.

[0136] In this embodiment, the processor can be implemented in any appropriate manner. For example, the processor can take the form of a microprocessor or a processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, etc. The processor can execute the computer program instructions to implement the following steps: sending the task instruction to the instruction conversion device so that the instruction conversion device obtains the instruction reading format of the task processing end corresponding to the task instruction, then parsing the task instruction to obtain the field type of the task instruction, and configuring the processing function corresponding to the task instruction based on the instruction reading format and field type, and finally using the processing function to convert the task instruction into a target instruction so that the task processing end executes the corresponding task based on the target instruction.

[0137] It should be noted that the instruction conversion method, apparatus, and device disclosed in the embodiments of this specification can be applied to the field of big data technology, as well as to other technical fields, without limitation.

[0138] Although the process flows described above include multiple operations occurring in a particular order, it should be understood that these processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).

[0139] Although the process flows described above include multiple operations occurring in a particular order, it should be understood that these processes may include more or fewer operations, which may be performed sequentially or in parallel (eg, using parallel processors or a multi-threaded environment).

[0140] 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 embodiments of the present specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 1 A device that provides the functions specified in a block or multiple blocks.

[0141] 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.

[0142] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0143] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0144] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0145] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0146] Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, the embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the embodiments of this specification may take 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.) containing computer-usable program code.

[0147] Embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, and the like that perform specific tasks or implement specific abstract data types. Embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communications network. In distributed computing environments, program modules may be located in local and remote computer storage media, including storage devices.

[0148] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between the various embodiments can be referenced across them. Each embodiment focuses on the differences from other embodiments. In particular, since the system embodiments are generally similar to the method embodiments, their description is relatively simple. For relevant parts, reference can be made to the description of the method embodiments. Throughout this specification, reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with that embodiment or example are included in at least one embodiment or example of the embodiments in this specification. In this specification, the schematic representations of these terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and integrate the different embodiments or examples, and features of different embodiments or examples, described in this specification, without conflict.

[0149] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principles of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for converting instructions, characterized in that: Applied to an instruction conversion device; the method includes: Receive a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; Acquiring an instruction reading format corresponding to the task processing end; Parsing the task instruction to obtain the field type of the task instruction; Configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; wherein the processing function is obtained from a relationship table between the instruction reading format, the field type, and the processing function pre-set in a database; Converting the task instruction into a target instruction using the processing function, so that the task processing end performs the corresponding task based on the target instruction; The step of parsing the task instruction to obtain the field type of the task instruction includes: If it is determined that the task instruction is in an electronic evidence format, decrypting the task instruction based on a preset decryption algorithm to obtain a signature verification file; the preset decryption algorithm corresponds to the electronic evidence format; the signature verification file is a file obtained by parsing the file included in the task instruction, which matches the preset file format; Read the task instruction identifier and the task instruction signature from the signature verification file; authenticating the task instruction based on the task instruction identifier and the task instruction signature; If the authentication is successful, the task instruction is parsed to obtain the field type of the task instruction.

2. The method according to claim 1, wherein The instruction reading format corresponds to a message node configuration; the message node configuration includes a message node type configuration and a message node path configuration; the message node type configuration corresponds to a message node mapping type; and the message node path configuration corresponds to a message content format.

3. The method according to claim 2, wherein The message node type configuration includes configurations corresponding to direct nodes, json type nodes, conversion nodes and functional nodes.

4. The method according to claim 2, wherein The message node path configuration corresponds to a path separator configuration and / or a node path writing configuration and / or a node relationship configuration; the path separator configuration is used to represent the expression form of the separator that separates different paths; the node path writing configuration is used to configure the writing method of the path in the message node; the node relationship configuration is used to describe the relationship between message nodes.

5. The method according to claim 1, wherein The field type includes at least one of a message character format, a message content format, and a task type format; The message character format includes at least one of GBK format and UTF-8 format; The message content format includes at least one of XML format and TXT format; The task type format includes at least one of a single-task format and a multi-task format.

6. The method according to claim 5, wherein Before configuring the processing function corresponding to the task instruction based on the instruction reading format and field type, the method further includes: Preprocessing the task instruction; wherein, including: configuring the encoding format according to the message character format, and / or, configuring the processing file format according to the message content format, and / or, A message task processing category is set according to the task type format, and the message task processing category is used to process a corresponding number of tasks.

7. The method according to claim 1, wherein The task instruction corresponds to attachment data, and the attachment data is used in the process of the task processing end executing the corresponding task based on the target instruction; before configuring the processing function corresponding to the task instruction based on the instruction reading format and field type, it also includes: Acquiring attachment data corresponding to the task instruction; wherein the method includes: parsing the task instruction to obtain an attachment identifier, reading the attachment data from the task instruction according to the attachment identifier, or parsing the task instruction to obtain an attachment storage path, and searching for the attachment data in a file storage area corresponding to the attachment storage path; The attachment data is pre-processed, which includes: decrypting the attachment data so that the task processing end can read the attachment data.

8. The method according to claim 1, wherein The task instruction includes an encrypted task instruction; and the parsing of the task instruction to obtain a field type of the task instruction includes: Determining an encryption method corresponding to the encryption task instruction; decrypting the encrypted task instruction based on the encryption method; The decrypted encrypted task instruction is parsed to obtain the field type.

9. The method according to claim 1, wherein The configuring a processing function corresponding to the task instruction based on the instruction reading format and field type includes: Sending the instruction reading format and field type to the administrator terminal; A processing function that receives feedback from the administrator terminal.

10. The method according to claim 1, wherein The configuring a processing function corresponding to the task instruction based on the instruction reading format and field type includes: Based on the instruction reading format and field type, the corresponding processing function is called from the database; the processing function includes a single-node function and a multi-node function; the single-node function is used to implement the format conversion of a single field; the multi-node function is used to implement the format conversion of at least two fields.

11. The method according to claim 1, wherein The configuring a processing function corresponding to the task instruction based on the instruction reading format and field type includes: Based on the instruction reading format and field type, the drools rule engine is used to configure a processing function corresponding to the task instruction.

12. An instruction conversion device, characterized in that: Set in the instruction conversion device; the device includes: A task instruction receiving module is used to receive a task instruction sent by a task dispatching end; the task instruction corresponds to a task processing end; An instruction reading format acquisition module, used to acquire the instruction reading format corresponding to the task processing end; A task instruction parsing module, configured to parse the task instruction to obtain a field type of the task instruction; a processing function configuration module, configured to configure a processing function corresponding to the task instruction based on the instruction reading format and field type; wherein the processing function is obtained from a relationship table between the instruction reading format, the field type, and the processing function pre-set in a database; A task instruction conversion module, configured to convert the task instruction into a target instruction using the processing function, so that the task processing end executes the corresponding task based on the target instruction; The step of parsing the task instruction to obtain the field type of the task instruction includes: If it is determined that the task instruction is in an electronic evidence format, decrypting the task instruction based on a preset decryption algorithm to obtain a signature verification file; the preset decryption algorithm corresponds to the electronic evidence format; the signature verification file is a file obtained by parsing the file included in the task instruction, which matches the preset file format; Read the task instruction identifier and the task instruction signature from the signature verification file; authenticating the task instruction based on the task instruction identifier and the task instruction signature; If the authentication is successful, the task instruction is parsed to obtain the field type of the task instruction.

13. An instruction conversion device comprising a memory and a processor; The memory is used to store computer program instructions; The processor is configured to execute the computer program instructions to implement the following steps: receiving a task instruction issued by a task dispatching end; the task instruction corresponds to a task processing end; obtaining an instruction reading format corresponding to the task processing end; parsing the task instruction to obtain a field type of the task instruction; and configuring a processing function corresponding to the task instruction based on the instruction reading format and field type; wherein, The processing function is obtained by the relationship table between the instruction reading format, the field type and the processing function pre-set in the database; the task instruction is converted into a target instruction using the processing function, so that the task processing end performs the corresponding task based on the target instruction; wherein, the parsing of the task instruction to obtain the field type of the task instruction includes: when it is determined that the task instruction is in the electronic evidence format, decrypting the task instruction based on a preset decryption algorithm to obtain a signature verification file; the preset decryption algorithm corresponds to the electronic evidence format; the signature verification file is a file obtained by parsing the file contained in the task instruction, which matches the preset file format; reading the task instruction identifier and task instruction signature from the signature verification file; authenticating the task instruction based on the task instruction identifier and task instruction signature; if the authentication is passed, parsing the task instruction to obtain the field type of the task instruction.

14. A task processing method based on instruction conversion, characterized in that: Applied to the task processing end; the method includes: Receive a target instruction sent by an instruction conversion device; the target instruction is obtained in the following manner: the instruction conversion device receives a task instruction sent by a task dispatching end; the task instruction corresponds to the task processing end; obtain an instruction reading format corresponding to the task processing end; parse the task instruction to obtain a field type of the task instruction; configure a processing function corresponding to the task instruction based on the instruction reading format and field type; wherein the processing function is obtained from a relationship table among the instruction reading format, the field type, and the processing function pre-set in a database; and convert the task instruction into a target instruction using the processing function; The task corresponding to the target instruction is processed based on a preset processing method; wherein, the parsing of the task instruction to obtain the field type of the task instruction includes: when it is determined that the task instruction is in an electronic evidence format, decrypting the task instruction based on a preset decryption algorithm to obtain a signature verification file; the preset decryption algorithm corresponds to the electronic evidence format; the signature verification file is a file obtained by parsing the file contained in the task instruction, which matches a preset file format; reading a task instruction identifier and a task instruction signature from the signature verification file; authenticating the task instruction based on the task instruction identifier and the task instruction signature; and if the authentication is passed, parsing the task instruction to obtain the field type of the task instruction.

15. A task sending method based on instruction conversion, characterized in that: Applied to a task dispatching end; the method includes: A task instruction is sent to an instruction conversion device so that the instruction conversion device obtains an instruction reading format of a task processing end corresponding to the task instruction, then parses the task instruction to obtain a field type of the task instruction, and configures a processing function corresponding to the task instruction based on the instruction reading format and the field type, wherein the processing function is obtained by a relationship table between the instruction reading format, the field type, and the processing function pre-set in a database; finally, the task instruction is converted into a target instruction using the processing function so that the task processing end performs the corresponding task based on the target instruction; wherein the parsing of the task instruction to obtain the field type of the task instruction includes: when it is determined that the task instruction is in an electronic evidence format, decrypting the task instruction based on a preset decryption algorithm to obtain a signature verification file; the preset decryption algorithm corresponds to the electronic evidence format; the signature verification file is a file obtained by parsing the file contained in the task instruction, which matches a preset file format; reading a task instruction identifier and a task instruction signature from the signature verification file; authenticating the task instruction based on the task instruction identifier and the task instruction signature; and if the authentication is passed, parsing the task instruction to obtain the field type of the task instruction.

Citation Information

Patent Citations

  • Data transmission method and device

    CN109547474A

  • Data processing method and device

    CN110765067A