Instruction execution method and device, equipment, medium and product

By automatically batch calibration of service types and sending service instructions using the determined service type interface, the problem of low efficiency in service type calibration in the prior art is solved, and the efficiency of service processing is improved.

CN119449565AActive Publication Date: 2025-02-14CHINA CONSTRUCTION BANK +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411571958.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-06
Publication Date
2025-02-14
Estimated Expiration
2044-11-06

AI Technical Summary

Technical Problem

In the prior art, the business types of business instructions need to be manually calibrated one by one, resulting in low accuracy and efficiency, thereby reducing the efficiency of business processing.

Method used

By filtering out the second business instructions that meet the preset conditions, perform automatic batch calibration of the business type, and after determining that the two business types are consistent, the business instructions are sent to the corresponding business processing equipment using the service interface corresponding to the determined business type for Business processing.

Benefits of technology

Improve the accuracy and efficiency of business type determination, and thus improve the efficiency of business processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449565A_ABST
    Figure CN119449565A_ABST
Patent Text Reader

Abstract

The invention discloses an instruction execution method and device, equipment, a medium and a product, and relates to the technical field of data processing. The method comprises the steps of selecting a second business instruction meeting a first preset condition under the condition that a first business instruction sent by target equipment through a target channel is received; determining a first target service type corresponding to the service information of the second service instruction according to first relation information between preset service information and a preset service type; determining a second target service type corresponding to the service information of the second service instruction according to second relationship information between the preset service information and the preset service type; and under the condition that the first target business type of the first target business instruction is consistent with the second target business type, sending the first target business instruction to business processing equipment by utilizing a business interface corresponding to the first target business type. The accuracy and efficiency of determining the service type are improved, and the service processing efficiency is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of data processing technology, and in particular, relates to an instruction execution method, device, equipment, medium and product. Background Art

[0002] With the rapid development of information technology and Internet technology, the number of business instructions received and processed by business processing devices is increasing. Generally, business processing devices can only execute business instructions of the business type corresponding to them and perform business processing procedures.

[0003] In the prior art, the business types corresponding to business instructions need to be manually calibrated one by one, which has low accuracy and efficiency, thereby resulting in low efficiency of business processing. Summary of the invention

[0004] The embodiments of the present application provide a method, apparatus, device, medium and product for executing an instruction. For a first business instruction received through a target channel, the business type needs to be calibrated before business processing can be performed. Second business instructions that meet the first preset condition are first screened out for automatic batch calibration of business types. The business type is determined twice for the second business instruction. If the two business types are consistent, it means that the business type is correctly determined. The business interface corresponding to the determined business type is used to send the business instruction to the corresponding business processing device for business processing, thereby improving the accuracy and efficiency of business type determination, thereby improving the efficiency of business processing.

[0005] In a first aspect, an embodiment of the present application provides a method for executing an instruction, including:

[0006] In case of receiving a first business instruction sent by a target device through a target channel, selecting a second business instruction satisfying a first preset condition from the first business instruction, the first business instruction including business information;

[0007] Determine, according to the first relationship information between the preset service information and the preset service type, a first target service type corresponding to the service information of the second service instruction;

[0008] Determining a second target service type corresponding to the service information of the second service instruction according to second relationship information between the preset service information and the preset service type;

[0009] When the first target business type and the second target business type of the first target business instruction are consistent, the first target business instruction is sent to a business processing device corresponding to the first target business type using a business interface corresponding to the first target business type, so that the business processing device executes the first target business instruction, and the second business instruction includes the first target business instruction.

[0010] In a possible implementation, selecting a second service instruction that meets a first preset condition from the first service instruction includes:

[0011] A second business instruction whose business information includes target information is selected from the first business instruction, where the target information is information used when a business processing device corresponding to a preset business type executes the business instruction.

[0012] In a possible implementation, selecting a second business instruction whose business information includes target information from the first business instruction includes:

[0013] Selecting a third business instruction of a preset resource type from the first business instructions;

[0014] A second business instruction whose business information includes target information is selected from the third business instructions.

[0015] In a possible embodiment, it also includes:

[0016] For a fourth business instruction in the first business instructions that does not meet the first preset condition, the processing status of the fourth business instruction is updated to a preset status.

[0017] In one possible implementation, the first relationship information is the same as the second relationship information;

[0018] Determining, according to the first relationship information between the preset service information and the preset service type, a first target service type corresponding to the service information of the second service instruction includes:

[0019] Determine, using the first device, a first target service type corresponding to the service information of the second service instruction according to the preset service information and the first relationship information of the preset service type;

[0020] Determining, according to the preset service information and the second relationship information of the preset service type, the second target service type corresponding to the service information of the second service instruction includes:

[0021] The second target service type corresponding to the service information of the second service instruction is determined by using the second device according to the second relationship information between the preset service information and the preset service type.

[0022] In a possible embodiment, it also includes:

[0023] In the case where the first target service type and the second target service type of the second target service instruction are inconsistent, detecting whether the service information of the second target service instruction includes target information, where the target information is information used when a service processing device corresponding to a preset service type executes the service instruction;

[0024] When the service information of the second target service instruction does not include the target information, the processing status of the second target service instruction is updated to a preset status.

[0025] In a possible embodiment, it also includes:

[0026] In a case where the service information of the second target service instruction includes the target information, updating the first target service type corresponding to the service information of the second target service instruction according to the first relationship information between the preset service information and the preset service type, and / or updating the second target service type corresponding to the service information of the second target service instruction according to the second relationship information between the preset service information and the preset service type, until the first target service type and the second target service type are consistent, thereby obtaining a third target service type;

[0027] The second target service instruction is sent to the service processing device corresponding to the third target service type by using the service interface corresponding to the third target service type, so that the service processing device corresponding to the third target service type executes the second target service instruction.

[0028] In a second aspect, an embodiment of the present application provides an instruction execution device, including:

[0029] A selection module, configured to select, upon receiving a first business instruction sent by a target device through a target channel, a second business instruction satisfying a first preset condition from the first business instruction, wherein the first business instruction includes business information;

[0030] A determination module, configured to determine a first target business type corresponding to the business information of the second business instruction according to first relationship information between the preset business information and the preset business type;

[0031] The determination module is further used to determine the second target business type corresponding to the business information of the second business instruction according to the second relationship information between the preset business information and the preset business type;

[0032] A sending module is used to send the first target business instruction to the business processing device corresponding to the first target business type by using the business interface corresponding to the first target business type when the first target business type and the second target business type of the first target business instruction are consistent, so that the business processing device executes the first target business instruction, and the second business instruction includes the first target business instruction.

[0033] In a third aspect, an embodiment of the present application provides an electronic device, the device comprising:

[0034] a processor and a memory storing computer program instructions;

[0035] When the processor executes the computer program instructions, the execution method of any of the above instructions is implemented.

[0036] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, a method for executing any of the above instructions is implemented.

[0037] In a fifth aspect, an embodiment of the present application provides a computer program product, characterized in that when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute an execution method of any one of the above instructions.

[0038] The instruction execution method, apparatus, device, medium and product of the embodiments of the present application include: upon receiving a first business instruction sent by a target device through a target channel, selecting a second business instruction that meets a first preset condition from the first business instruction, the first business instruction including business information; determining a first target business type corresponding to the business information of the second business instruction according to first relationship information between the preset business information and the preset business type; determining a second target business type corresponding to the business information of the second business instruction according to second relationship information between the preset business information and the preset business type; and, when the first target business type and the second target business type of the first target business instruction are consistent, sending the first target business instruction to a business processing device corresponding to the first target business type using a business interface corresponding to the first target business type, so that the business processing device executes the first target business instruction, the second business instruction including the first target business instruction.

[0039] In this way, for the first business instruction received through the target channel, the business type needs to be calibrated before business processing can be performed. The second business instructions that meet the first preset condition are first screened out for automatic batch calibration of the business type. The business type is determined twice for the second business instruction. If the two business types are consistent, it means that the business type is correctly determined. The business interface corresponding to the determined business type is used to send the business instruction to the corresponding business processing device for business processing, which improves the accuracy and efficiency of business type determination, and thereby improves the efficiency of business processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0041] Figure 1 It is a flowchart of a method for executing instructions provided by an embodiment of the present application;

[0042] Figure 2 is a flowchart of a method for executing instructions provided by another embodiment of the present application;

[0043] Figure 3 is a flowchart of a method for executing instructions provided by another embodiment of the present application;

[0044] Figure 4 is a flowchart of a method for executing instructions provided in yet another embodiment of the present application;

[0045] Figure 5 is a flowchart of a method for executing instructions provided in yet another embodiment of the present application;

[0046] Figure 6 is a flowchart of a method for executing instructions provided in yet another embodiment of the present application;

[0047] Figure 7 is a schematic diagram of the structure of an instruction execution device provided in yet another embodiment of the present application;

[0048] Figure 8 It is a structural diagram of an electronic device provided in yet another embodiment of the present application. DETAILED DESCRIPTION

[0049] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0050] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0051] It should be noted that the acquisition, storage, use and processing of data in the embodiments of the present application are in compliance with the relevant provisions of national laws and regulations.

[0052] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0053] With the rapid development of information technology and Internet technology, the number of business instructions received and processed by business processing devices is increasing. Generally, business processing devices can only execute business instructions of the business type corresponding to them and perform business processing procedures.

[0054] In the prior art, the business types corresponding to business instructions need to be manually calibrated one by one, which has low accuracy and efficiency, thereby resulting in low efficiency of business processing.

[0055] In order to solve the problems of the prior art, the embodiments of the present application provide a method, device, equipment, medium and product for executing instructions. The method for executing instructions provided in the embodiments of the present application is applied to the execution system of instructions. For the first business instruction received through the target channel, the business type needs to be calibrated before business processing can be performed. The second business instructions that meet the first preset condition are first screened out for automatic batch calibration of the business type. The business type is determined twice for the second business instruction. If the two business types are consistent, it means that the business type is correctly determined. The business interface corresponding to the determined business type is used to send the business instruction to the corresponding business processing device for business processing, which improves the accuracy and efficiency of business type determination, thereby improving the efficiency of business processing.

[0056] The following first introduces the execution method of the instruction provided in the embodiment of the present application. Figure 1 As shown, the instruction execution method provided in the embodiment of the present application includes the following steps.

[0057] S110 . When receiving a first service instruction sent by a target device through a target channel, select a second service instruction satisfying a first preset condition from the first service instructions, where the first service instruction includes service information.

[0058] Here, the target device is the sending end of the business instruction. The target channel can be the way of sending the business instruction, for example: the business instruction sent by the application on the terminal device, and the application can send electronic instructions. The first preset condition is set in advance.

[0059] In some embodiments, the first business instruction sent by the target device through the target channel includes a business instruction that requires the determination of the business type before business processing, a business instruction that can be processed without determining the business type, and a business instruction that cannot automatically determine the business type. As an example, the business information of the business instruction that cannot automatically determine the business type is missing.

[0060] In some embodiments, the first service instruction sent by the target device through the target channel carries a target identifier. For example, the target identifier is "other type", indicating that the service type needs to be determined.

[0061] In some embodiments, the business information may include, but is not limited to, the device identification of the target device, the device identification of the processing result generated by the business processing device, the resource type, transaction information, etc. The device identification includes the device name, number, type, etc.; the transaction information includes the user account, etc.

[0062] S120: Determine a first target service type corresponding to the service information of the second service instruction according to first relationship information between the preset service information and the preset service type.

[0063] Here, the first relationship information between the preset service information and the preset service type is preset in advance. The preset service information includes the service information of the second service instruction, and the preset service type includes the first target service type.

[0064] In some embodiments, there is a fixed mapping relationship between the preset service information and the preset service type, which may specifically include first relationship information.

[0065] In some embodiments, the first target service type corresponding to the service information of the second service instruction is the service type of the second service instruction.

[0066] S130: Determine a second target service type corresponding to the service information of the second service instruction according to second relationship information between the preset service information and the preset service type.

[0067] In some embodiments, the first relationship information and the second relationship information may be the same.

[0068] In some embodiments, the second target service type corresponding to the service information of the second service instruction is the service type of the second service instruction.

[0069] S140. When the first target business type and the second target business type of the first target business instruction are consistent, the first target business instruction is sent to a business processing device corresponding to the first target business type by using a business interface corresponding to the first target business type, so that the business processing device executes the first target business instruction, and the second business instruction includes the first target business instruction.

[0070] Here, the first target service instruction is a service instruction in which the first target service type and the second target service type in the second service instruction are consistent.

[0071] In some embodiments, for each second business instruction, the first target business type and the second target business type are compared to see whether they are consistent. When the first target business type and the second target business type of the first target business instruction are consistent, the first target business instruction is sent to the business processing device corresponding to the first target business type using the business interface corresponding to the first target business type, so that the business processing device executes the first target business instruction and performs the corresponding business processing process.

[0072] It can be understood that since the first target business type and the second target business type of the first target business instruction are consistent, the business interface corresponding to the first target business type is the same as the business interface corresponding to the second target business type, and the business processing device corresponding to the first target business type is the same as the business processing device corresponding to the second target business type.

[0073] In some embodiments, the second business instruction may carry an initial business type, but the initial business type is inaccurate. When the first target business type and the second target business type of the first target business instruction are consistent, the initial business type of the first target business instruction is updated to the first target business type.

[0074] In this way, for the first business instruction received through the target channel, the business type needs to be calibrated before business processing can be performed. The second business instructions that meet the first preset condition are first screened out for automatic batch calibration of the business type. The business type is determined twice for the second business instruction. If the two business types are consistent, it means that the business type is correctly determined. The business interface corresponding to the determined business type is used to send the business instruction to the corresponding business processing device for business processing, which improves the accuracy and efficiency of business type determination, and thereby improves the efficiency of business processing.

[0075] Based on this, in some embodiments, Figure 2 As shown, in the above S110, selecting a second service instruction that meets a first preset condition from the first service instruction may specifically include:

[0076] S111. Selecting a second business instruction whose business information includes target information from the first business instruction, where the target information is information used when a business processing device corresponding to a preset business type executes the business instruction.

[0077] Here, the second service instruction refers to a service instruction that can be executed only by determining the service type, and does not lack target information other than the service type.

[0078] In some embodiments, the target information includes at least the device identification of the target device, the device identification of the processing result generated by the business processing device, the resource type and the transaction information. The device identification includes at least one of the device name, number and type; the transaction information includes the user account.

[0079] In this way, for business instructions that do not lack information used when executing business instructions, the business type of the business instruction can be determined based on the preset business information and the first and second relationship information of the preset business type, thereby improving the efficiency of determining the business type and further improving the efficiency of business processing.

[0080] Based on this, in some embodiments, Figure 3 As shown, the above S111 may specifically include:

[0081] S112, selecting a third business instruction of a preset resource type from the first business instructions;

[0082] S113: Select a second business instruction whose business information includes target information from the third business instructions.

[0083] Here, the preset resource type is set in advance. The second service instruction refers to a service instruction of the preset resource type that can be executed only by determining the service type, and does not lack target information other than the service type.

[0084] In some embodiments, in the financial field, the business information of the first business instruction includes the resource type corresponding to the first business instruction, and a third business instruction of a preset resource type is selected from the first business instruction. For example, the preset resource type is the asset portfolio type of trust property custody-public welfare (charity) trust / family trust. Then, from the third business instruction, a second business instruction whose business information includes the target information is selected.

[0085] In this way, a preset resource type that can determine the business type is set. Only business instructions of the preset resource type that do not lack information used when executing the business instruction can determine the business type according to the preset business information and the first relationship information and the second relationship information of the preset business type. The business instruction is selected according to the applicable scope of the resource type to determine its business type, thereby avoiding incorrect determination of the business type and improving the accuracy of determining the business type.

[0086] Based on this, in some embodiments, corresponding to the above S110, the method may further include:

[0087] For a fourth business instruction in the first business instructions that does not meet the first preset condition, the processing status of the fourth business instruction is updated to a preset status.

[0088] Here, the fourth business instruction is a business instruction that lacks target information other than the business type, and further, the fourth business instruction may not be a business instruction of a preset resource type. The preset state is set in advance. For example, the preset state is "to be claimed".

[0089] In some embodiments, when the processing status of the service instruction is a preset status, the service type cannot be determined based on the preset service information and the first relationship information and the second relationship information of the preset service type, and manual calibration of the service type is required.

[0090] It should be noted that, for the fourth business instruction in the first business instructions that does not meet the first preset condition, the processing state of the fourth business instruction is updated to the preset state to receive the user's input on the business type of the fourth business instruction.

[0091] In this way, it is determined whether the first business instruction meets the first preset condition, the first business instruction is diverted based on the first preset condition, the business type is determined according to the first relationship information and the second relationship information of the preset business information and the preset business type, and the business type is determined manually, which can further improve the accuracy and determination efficiency of the business type and improve the efficiency of business processing.

[0092] Based on this, in some embodiments, the first relationship information is the same as the second relationship information; Figure 4 As shown, the above S120 may specifically include:

[0093] S121. Determine, using the first device, a first target service type corresponding to the service information of the second service instruction according to first relationship information between the preset service information and the preset service type;

[0094] The above S130 may specifically include:

[0095] S131. Determine, using a second device, a second target service type corresponding to the service information of a second service instruction according to second relationship information between preset service information and preset service types.

[0096] In some embodiments, the instruction execution system includes a first device and a second device, the first device includes preset business information and first relationship information of preset business types, and the second device includes preset business information and second relationship information of preset business types.

[0097] Specifically, the first device and the second device respectively determine the first target business type and the second target business type of the second business instruction. It is understandable that even if the first relationship information is the same as the second relationship information, the first target business type and the second target business type of the second business instruction may be different due to misjudgment or recognition errors by the first device and the second device.

[0098] In this way, the same first relationship information and second relationship information are set, and the service type of the second service instruction is determined by using the first device and the second device respectively. If the first target service type and the second target service type are inconsistent, it means that the service type of the second service instruction is incorrect; on the contrary, if the first target service type and the second target service type are consistent, the determined service type is the service type of the second service instruction. The service interface corresponding to the first target service type can be used to send the second service instruction to the service processing device corresponding to the first target service type, so that the service processing device executes the second service instruction, thereby improving the accuracy of service type determination.

[0099] Based on this, in some embodiments, Figure 5 As shown, corresponding to the above S140, the method may further include:

[0100] S210: When the first target service type and the second target service type of the second target service instruction are inconsistent, detecting whether the service information of the second target service instruction includes target information, where the target information is information used when the service processing device corresponding to the preset service type executes the service instruction;

[0101] S220: When the service information of the second target service instruction does not include target information, update the processing status of the second target service instruction to a preset status.

[0102] Here, the target information includes at least the device identification of the target device, the device identification of the processing result generated by the business processing device, the resource type and the transaction information. The device identification includes at least one of the device name, number and type; the transaction information includes the user account.

[0103] In some embodiments, when the first target business type and the second target business type of the second target business instruction are inconsistent, it means that the business type of the second target business instruction is incorrect. At this time, it is necessary to re-detect whether the business information of the second target business instruction includes the target information. When the business information of the second target business instruction does not include the target information, the processing status of the second target business instruction is updated to a preset status. For example, the preset status is "pending claim".

[0104] In some embodiments, when the processing status of the business instruction is a preset status, the business type cannot be determined based on the preset business information and the first relationship information and the second relationship information of the preset business type, and it is necessary to return to the process of manually calibrating the business type.

[0105] In this way, for the second target business instruction whose first target business type is inconsistent with the second target business type, it is determined again whether the target information is missing. If the target information is missing, the process of manually calibrating the business type can be returned, and the target information can be completed, and then the business processing process can be carried out normally, ensuring the normal operation of the business and improving the user experience.

[0106] Based on this, in some embodiments, Figure 6 As shown, corresponding to the above S220, the method may further include:

[0107] S230. When the service information of the second target service instruction includes the target information, update the first target service type corresponding to the service information of the second target service instruction according to the first relationship information between the preset service information and the preset service type, and / or update the second target service type corresponding to the service information of the second target service instruction according to the second relationship information between the preset service information and the preset service type, until the first target service type and the second target service type are consistent, thereby obtaining a third target service type.

[0108] S240: Send the second target service instruction to the service processing device corresponding to the third target service type by using the service interface corresponding to the third target service type, so that the service processing device corresponding to the third target service type executes the second target service instruction.

[0109] In some embodiments, when the service information of the second target service instruction includes target information, the first target service type corresponding to the service information of the second target service instruction is updated according to the first relationship information between the preset service information and the preset service type, until the first target service type and the second target service type are consistent, thereby obtaining a third target service type. Here, the third target service type is the same as the second target service type.

[0110] In some embodiments, when the service information of the second target service instruction includes target information, the second target service type corresponding to the service information of the second target service instruction is updated according to the second relationship information between the preset service information and the preset service type, until the first target service type and the second target service type are consistent, thereby obtaining a third target service type. Here, the third target service type is the same as the first target service type.

[0111] In some embodiments, when the business information of the second target business instruction includes target information, the first target business type corresponding to the business information of the second target business instruction is updated according to the first relationship information between the preset business information and the preset business type, and the second target business type corresponding to the business information of the second target business instruction is updated according to the second relationship information between the preset business information and the preset business type, until the first target business type and the second target business type are consistent, thereby obtaining a third target business type.

[0112] In some embodiments, if the updated first target service type and the second target service type are inconsistent, the processing status of the instruction to update the second target service is a preset status.

[0113] In this way, when the business information of the second target business instruction includes target information, it means that the first target business type and the second target business type may be different due to misjudgment or recognition error. It only needs to be re-judged once without manual work, which not only ensures the accuracy of business type determination, but also improves the efficiency of business type determination.

[0114] In the embodiments provided in the present application, the instruction processing flow is made flexible, which can better adapt to the actual scenario, for the business types where instructions cannot be located and the situation where the average daily instruction volume is huge.

[0115] Based on the instruction execution method provided in the above embodiment, the present application also provides a specific implementation of the instruction execution device. Please refer to the following embodiment.

[0116] See also Figure 7 , the instruction execution device 300 provided in the embodiment of the present application includes:

[0117] A selection module 310 is configured to select, upon receiving a first service instruction sent by a target device through a target channel, a second service instruction satisfying a first preset condition from the first service instruction, wherein the first service instruction includes service information;

[0118] A determination module 320, configured to determine a first target business type corresponding to the business information of the second business instruction according to the first relationship information between the preset business information and the preset business type;

[0119] The determination module 320 is further configured to determine a second target business type corresponding to the business information of the second business instruction according to the second relationship information between the preset business information and the preset business type;

[0120] The sending module 330 is used to send the first target business instruction to the business processing device corresponding to the first target business type by using the business interface corresponding to the first target business type when the first target business type and the second target business type of the first target business instruction are consistent, so that the business processing device executes the first target business instruction, and the second business instruction includes the first target business instruction.

[0121] Based on this, in some embodiments, the selection module 310 can be specifically used to:

[0122] A second business instruction whose business information includes target information is selected from the first business instruction, where the target information is information used when a business processing device corresponding to a preset business type executes the business instruction.

[0123] Based on this, in some embodiments, the selection module 310 can be specifically used to:

[0124] Selecting a third business instruction of a preset resource type from the first business instructions;

[0125] A second business instruction whose business information includes target information is selected from the third business instructions.

[0126] Based on this, in some embodiments, the apparatus 300 may further include:

[0127] The updating module is used to update the processing status of the fourth business instruction that does not meet the first preset condition in the first business instruction to a preset status.

[0128] Based on this, in some embodiments, the first relationship information is the same as the second relationship information;

[0129] The determination module 320 may be specifically used for:

[0130] Determine, using the first device, a first target service type corresponding to the service information of the second service instruction according to the preset service information and the first relationship information of the preset service type;

[0131] The determination module 320 may be specifically used for:

[0132] The second target service type corresponding to the service information of the second service instruction is determined by using the second device according to the second relationship information between the preset service information and the preset service type.

[0133] Based on this, in some embodiments, the apparatus 300 may further include:

[0134] A detection module, used to detect whether the service information of the second target service instruction includes target information when the first target service type and the second target service type of the second target service instruction are inconsistent, where the target information is information used when the service processing device corresponding to the preset service type executes the service instruction;

[0135] The updating module is used to update the processing state of the second target business instruction to a preset state when the business information of the second target business instruction does not include the target information.

[0136] Based on this, in some embodiments, the apparatus 300 may further include:

[0137] an updating module, configured to update, when the business information of the second target business instruction includes target information, a first target business type corresponding to the business information of the second target business instruction according to first relationship information between the preset business information and the preset business type, and / or update, according to second relationship information between the preset business information and the preset business type, a second target business type corresponding to the business information of the second target business instruction until the first target business type and the second target business type are consistent, thereby obtaining a third target business type;

[0138] The sending module 330 is further configured to send the second target service instruction to the service processing device corresponding to the third target service type by using the service interface corresponding to the third target service type, so that the service processing device corresponding to the third target service type executes the second target service instruction.

[0139] The various modules of the instruction execution device provided in the embodiment of the present application can implement the functions of the various steps of the instruction execution method provided above and achieve the corresponding technical effects, which will not be repeated here for the sake of concise description.

[0140] Based on the same inventive concept, an embodiment of the present application also provides an electronic device.

[0141] Figure 8 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0142] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0143] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0144] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 402 may be inside or outside of an integrated gateway disaster recovery device. In a specific embodiment, memory 402 is a non-volatile solid-state memory.

[0145] The memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, generally, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.

[0146] The processor 401 implements any one of the instruction execution methods in the above embodiments by reading and executing the computer program instructions stored in the memory 402 .

[0147] In one example, the electronic device may further include a communication interface 403 and a bus 410. Figure 8 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0148] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0149] The bus 410 includes hardware, software or both, coupling the components of the electronic device to each other. For example, but not limitation, the bus may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) bus, a front side bus (Front Side Bus, FSB), a hypertransport (Hyper Transport, HT) interconnection, an industry standard architecture (Industry Standard Architecture, ISA) bus, an infinite bandwidth interconnection, a low pin count (Linear Predictive Coding, LPC) bus, a memory bus, a micro channel architecture (MicroChannel Architecture, MCA) bus, a peripheral component interconnect (Peripheral Component Interconnect, PCI) bus, a PCI-Express (Peripheral Component Interconnect-X, PCI-X) bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, SATA) bus, a video electronics standard association local (VESA Local Bus, VLB) bus or other suitable buses or a combination of two or more of these. Where appropriate, the bus 410 may include one or more buses. Although the embodiments of the present application describe and illustrate a specific bus, the present application considers any suitable bus or interconnection. The electronic device can execute the execution method of the instruction in the embodiment of the present invention, thereby realizing the above-mentioned execution method of the instruction.

[0150] In addition, in combination with the execution method of the instructions in the above embodiments, the embodiments of the present application may provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the execution methods of the instructions in the above embodiments is implemented.

[0151] The present application also provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes each process of an execution method embodiment of any one of the above instructions.

[0152] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0153] The functional blocks shown in the structural block diagram described above can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), appropriate firmware, plug-in, function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or communication link by a data signal carried in a carrier. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (Read-Only Memory, ROM), flash memory, erasable read-only memory (Erasable ReadOnly Memory, EROM), floppy disks, compact disc read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical discs, hard disks, optical fiber media, radio frequency (Radio Frequency, RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0154] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0155] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box 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, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0156] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for executing an instruction, characterized in that: include: In case of receiving a first business instruction sent by a target device through a target channel, selecting a second business instruction satisfying a first preset condition from the first business instruction, wherein the first business instruction includes business information; Determining a first target service type corresponding to the service information of the second service instruction according to first relationship information between the preset service information and the preset service type; Determining a second target service type corresponding to the service information of the second service instruction according to the second relationship information between the preset service information and the preset service type; When the first target business type and the second target business type of the first target business instruction are consistent, the first target business instruction is sent to a business processing device corresponding to the first target business type by using a business interface corresponding to the first target business type, so that the business processing device executes the first target business instruction, and the second business instruction includes the first target business instruction.

2. The method for executing instructions according to claim 1, characterized in that: The selecting a second service instruction satisfying a first preset condition from the first service instruction includes: A second business instruction is selected from the first business instruction, wherein the business information includes target information, where the target information is information used when the business processing device corresponding to the preset business type executes the business instruction.

3. The method for executing instructions according to claim 2, characterized in that: Selecting, from the first business instruction, a second business instruction in which the business information includes target information, comprising: Selecting a third business instruction of a preset resource type from the first business instructions; From the third business instructions, a second business instruction whose business information includes target information is selected.

4. The method for executing the instruction according to claim 1, further comprising: For a fourth business instruction in the first business instructions that does not meet the first preset condition, the processing status of the fourth business instruction is updated to a preset status.

5. The method for executing instructions according to claim 1, characterized in that: The first relationship information is the same as the second relationship information; The determining, according to the first relationship information between the preset service information and the preset service type, the first target service type corresponding to the service information of the second service instruction includes: Determine, using the first device, a first target service type corresponding to the service information of the second service instruction according to first relationship information between the preset service information and the preset service type; The determining, according to the preset service information and the second relationship information of the preset service type, a second target service type corresponding to the service information of the second service instruction includes: Using the second device, according to the preset service information and the second relationship information of the preset service type, a second target service type corresponding to the service information of the second service instruction is determined.

6. The method for executing instructions according to claim 1, characterized in that: Also includes: In the case where the first target service type and the second target service type of the second target service instruction are inconsistent, detecting whether the service information of the second target service instruction includes target information, where the target information is information used when the service processing device corresponding to the preset service type executes the service instruction; When the service information of the second target service instruction does not include the target information, the processing status of the second target service instruction is updated to a preset status.

7. The method for executing instructions according to claim 6, characterized in that: Also includes: In a case where the service information of the second target service instruction includes the target information, updating the first target service type corresponding to the service information of the second target service instruction according to the first relationship information between the preset service information and the preset service type, and / or updating the second target service type corresponding to the service information of the second target service instruction according to the second relationship information between the preset service information and the preset service type, until the first target service type is consistent with the second target service type, thereby obtaining a third target service type; The second target service instruction is sent to the service processing device corresponding to the third target service type by using the service interface corresponding to the third target service type, so that the service processing device corresponding to the third target service type executes the second target service instruction.

8. An instruction execution device, characterized in that: include: a selection module, configured to select, upon receiving a first service instruction sent by a target device through a target channel, a second service instruction satisfying a first preset condition from the first service instruction, wherein the first service instruction includes service information; a determination module, configured to determine a first target service type corresponding to the service information of the second service instruction according to first relationship information between preset service information and preset service types; The determination module is further configured to determine a second target service type corresponding to the service information of the second service instruction according to the second relationship information between the preset service information and the preset service type; A sending module is used to send the first target business instruction to the business processing device corresponding to the first target business type by using the business interface corresponding to the first target business type when the first target business type and the second target business type of the first target business instruction are consistent, so that the business processing device executes the first target business instruction, and the second business instruction includes the first target business instruction.

9. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the processor implements the instruction execution method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for executing the instructions according to any one of claims 1 to 7 is implemented.

11. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the instruction execution method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method, system and equipment for triggering communication service

    CN101355786A

  • Method and system achieving communication safety control

    CN103117997A

  • Service type detection method and device

    CN103701669A

  • Dynamic linked multi-layered business object configurations

    US20160048538A1