Instruction execution method, apparatus, device, medium, and product

By automatically batch-calibrating business instructions, the problem of low accuracy and efficiency in business type calibration in existing technologies is solved, thereby improving the accuracy and efficiency of business processing.

CN119449565BActive Publication Date: 2025-12-05CHINA CONSTRUCTION BANK +1
View PDF 2 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In existing technologies, the business type of business instructions needs to be manually marked one by one, resulting in low accuracy and efficiency, which in turn affects the efficiency of business processing.

Method used

The system automatically batch-calibrates the received business instructions that meet preset conditions. Once it confirms that the two business types are consistent, it sends instructions to the corresponding business interface for processing, thereby improving the accuracy and efficiency of business type calibration.

Benefits of technology

This improved the accuracy and efficiency of business types, ensuring the efficient operation of business processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449565B_ABST
    Figure CN119449565B_ABST
Patent Text Reader

Abstract

The application discloses an instruction execution method, device, equipment, medium and product, and relates to the technical field of data processing. The method comprises the following steps: in the case that a first service instruction sent by a target device through a target channel is received, a second service instruction meeting a first preset condition is selected; according to first relationship information of preset service information and a preset service type, a first target service type corresponding to the service information of the second service instruction is determined; according to second relationship information of the preset service information and the preset service type, a second target service type corresponding to the service information of the second service instruction is determined; in the case that the first target service type of the first target service instruction is consistent with the second target service type, the first target service instruction is sent to a service processing device by using a service interface corresponding to the first target service type. The accuracy and efficiency of service type determination are improved, and the efficiency of service processing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of data processing, and particularly relates to an instruction execution method and device, equipment, medium and product. BACKGROUND

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

[0003] In the prior art, the business type of a business instruction needs to be manually calibrated one by one, which is low in accuracy and efficiency, and thus leads to low efficiency of business processing. SUMMARY

[0004] The embodiments of the present application provide an instruction execution method, device, equipment, medium and product. For a first business instruction received through a target channel, a business type needs to be calibrated to perform business processing. A second business instruction meeting a first preset condition is first screened out to automatically batch-calibrate the business type. The business type of the second business instruction is determined twice. If the two business types are consistent, it is indicated that the business type is determined correctly. The business instruction is sent to a corresponding business processing device for business processing by using a business interface corresponding to the determined business type, which improves the accuracy and efficiency of business type determination, and thus improves the efficiency of business processing.

[0005] In a first aspect, the embodiments of the present application provide an instruction execution method, comprising:

[0006] In a case where a first business instruction sent by a target device through a target channel is received, a second business instruction meeting a first preset condition is selected from the first business instruction. The first business instruction includes business information.

[0007] A first target business type corresponding to the business information of the second business instruction is determined according to first relationship information between preset business information and preset business types.

[0008] A second target business type corresponding to the business information of the second business instruction is determined according to second relationship information between preset business information and preset business types.

[0009] In a case where the first target business type of the first target business instruction is consistent with the second target business type, 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 as to be executed by the business processing device. The second business instruction includes the first target business instruction.

[0010] In a possible implementation, the second service instruction satisfying the first preset condition is selected from the first service instruction, including:

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

[0012] In a possible implementation, the second service instruction whose service information includes target information is selected from the first service instruction, including:

[0013] The third service instruction of a preset resource type is selected from the first service instruction.

[0014] The second service instruction whose service information includes target information is selected from the third service instruction.

[0015] In a possible implementation, the method further includes:

[0016] For a fourth service instruction in the first service instruction that does not satisfy the first preset condition, a processing state of the fourth service instruction is updated to a preset state.

[0017] In a possible implementation, the first relationship information is the same as the second relationship information.

[0018] The first target service type corresponding to the service information of the second service instruction is determined according to first relationship information of preset service information and a preset service type, including:

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

[0020] The second target service type corresponding to the service information of the second service instruction is determined according to second relationship information of preset service information and a preset service type, including:

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

[0022] In a possible implementation, the method further includes:

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

[0024] In a case where the service information of the second target service instruction does not include target information, the processing state of the second target service instruction is updated to a preset state.

[0025] In one possible implementation, the method further includes:

[0026] In a case where 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 first relationship information between preset service information and preset service types, and / or the second target service type corresponding to the service information of the second target service instruction is updated according to second relationship information between preset service information and preset service types, until the first target service type and the second target service type are consistent, and a third target service type is obtained.

[0027] The second target service instruction is sent to a service processing device corresponding to the third target service type by using a 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] The selecting module is configured to select, in a case where a first service instruction sent by a target device through a target channel is received, a second service instruction meeting a first preset condition from the first service instruction, the first service instruction including service information.

[0030] The determining module is configured to determine, according to first relationship information between preset service information and preset service types, a first target service type corresponding to the service information of the second service instruction.

[0031] The determining module is further configured to determine, according to second relationship information between preset service information and preset service types, a second target service type corresponding to the service information of the second service instruction.

[0032] The sending module is configured to, in a case where the first target service type of the first target service instruction is consistent with the second target service type, send the first target service instruction to a service processing device corresponding to the first target service type by using a service interface corresponding to the first target service type, so that the service processing device executes the first target service instruction, the second service instruction including the first target service instruction.

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

[0034] A processor and a memory storing computer program instructions.

[0035] The processor implements the execution method of the instructions of any one of the above when executing the computer program instructions.

[0036] In a fourth aspect, an embodiment of the present application provides a computer storage medium, and computer program instructions are stored on the computer storage medium, and the computer program instructions are executed by a processor to implement the execution method of the instructions of any one of the above.

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

[0038] The execution method, device, equipment, medium and product of the instructions provided by the embodiments of the present application, the method comprises: in the case that a first service instruction sent by a target device through a target channel is received, selecting a second service instruction meeting a first preset condition from the first service instruction, the first service instruction comprising service information; determining a first target service type corresponding to the service information of the second service instruction according to first relationship information of preset service information and preset service type; determining a second target service type corresponding to the service information of the second service instruction according to second relationship information of preset service information and preset service type; in the case that the first target service type and the second target service type of the first target service instruction are consistent, sending the first target service instruction to a service processing equipment corresponding to the first target service type by using a service interface corresponding to the first target service type, so as to enable the service processing equipment to execute the first target service instruction, the second service instruction comprising the first target service instruction.

[0039] In this way, for the first service instruction received through the target channel, the service type needs to be calibrated to be processed, and the second service instruction meeting the first preset condition is first selected for automatic batch calibration of the service type, and the service type is determined twice for the second service instruction, if the two service types are consistent, it means that the service type is determined correctly, and the service instruction is sent to the corresponding service processing equipment by using the service interface corresponding to the determined service type for service processing, which improves the accuracy and efficiency of service type determination, and further improves the efficiency of service processing. BRIEF DESCRIPTION OF DRAWINGS

[0040] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments of the present application. For those skilled in the art, other drawings can also be obtained without creative labor on the basis of these drawings.

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

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

[0043] Figure 3 is a flowchart of a method for executing instructions according to yet another embodiment of the present application;

[0044] Figure 4 is a flowchart of a method for executing instructions according to still another embodiment of the present application;

[0045] Figure 5 is a flowchart of a method for executing instructions according to still another embodiment of the present application;

[0046] Figure 6 is a flowchart of a method for executing instructions according to still another embodiment of the present application;

[0047] Figure 7 is a structural diagram of an apparatus for executing instructions according to still another embodiment of the present application;

[0048] Figure 8 is a structural diagram of an electronic device according to still another embodiment of the present application. DETAILED DESCRIPTION

[0049] The features and exemplary embodiments of the various aspects of the present application will be described in detail below with reference to the drawings. The following detailed description is merely intended to explain the present application, and is not intended to limit the present application. The present application can be implemented without some of the specific details, which are well known to those skilled in the art. The following description of the embodiments is merely provided to give a better understanding of the present application by showing examples of the present application.

[0050] It should be noted that the terms such as first and second, etc., are merely used to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between such entities or operations. Also, the terms "include", "comprise" or any other variants thereof are intended to cover a non-exclusive inclusion, so that processes, methods, articles, or apparatuses including a list of elements do not necessarily include only those elements, but can include other elements not expressly listed or inherent to such processes, methods, articles, or apparatuses. Without more limitations, the elements defined by the statement "comprise" do not exclude the presence of additional identical elements in the processes, methods, articles, or apparatuses that include the elements.

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

[0052] It should be noted that in the embodiments of the present application, some software, components, models and other industry existing solutions may be mentioned, which should be considered as exemplary, and the purpose is only to illustrate the feasibility of the implementation of the technical solutions 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 the business processing device is increasing. Usually, the business processing device can only execute the business instructions of the corresponding business type and perform the business processing flow.

[0054] In the prior art, the business type corresponding to the business instruction needs to be manually calibrated one by one, which is low in accuracy and efficiency, and thus the efficiency of business processing is low.

[0055] In order to solve the problems in 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 by the embodiments of the present application is applied to an instruction execution system. For the first business instruction received through a target channel, the business type needs to be calibrated before business processing. The second business instruction meeting the first preset condition is first selected for automatic batch calibration of the business type. The business type of the second business instruction is determined twice. If the two business types are consistent, it means that the business type is determined correctly. 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 thus improves the efficiency of business processing.

[0056] First, the method for executing instructions provided by the embodiments of the present application will be introduced. As shown in Figure 1 The method for executing instructions provided by the embodiments of the present application includes the following steps.

[0057] S110, in the case of receiving the first business instruction sent by the target device through the target channel, selecting the second business instruction meeting the first preset condition from the first business instruction, the first business instruction including business information.

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

[0059] In some embodiments, the first service instruction sent by the target device through the target channel includes a service instruction that needs to determine a service type for service processing, a service instruction that does not need to determine a service type for service processing, and a service instruction that cannot automatically determine a service type. As an example, the service information of the service instruction that cannot automatically determine a service 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 service information can include but is not limited to a device identifier of the target device, a device identifier of a processing result generated by a service processing device, a resource type, transaction information, etc. The device identifier includes a device name, a number, a type, etc. The transaction information includes a user account, etc.

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

[0063] Here, the first relationship information between the preset service information and the preset service type is set 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 can specifically include the 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, according to the second 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.

[0067] In some embodiments, the first relationship information and the second relationship information can 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, in the case that the first target service type of the first target service instruction and the second target service type are consistent, using the business interface corresponding to the first target service type to send the first target service instruction to the service processing device corresponding to the first target service type, so that the service processing device executes the first target service instruction. The second service instruction includes the first target service instruction.

[0070] Here, the first target service instruction is a service instruction in the second service instruction that has the same first target service type and second target service type.

[0071] In some embodiments, for each second service instruction, it is compared whether the first target service type and the second target service type are the same. If the first target service type and the second target service type of the first target service instruction are the same, the first target service instruction is sent to the service processing device corresponding to the first target service type using the service interface corresponding to the first target service type, so that the service processing device executes the first target service instruction to perform the corresponding service processing flow.

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

[0073] In some embodiments, the second service instruction can carry an initial service type, but the initial service type is not accurate. In the case where the first target service type and the second target service type of the first target service instruction are the same, the initial service type of the first target service instruction is updated to the first target service type.

[0074] In this way, for the first service instruction received through the target channel, the service type needs to be calibrated to perform service processing. The second service instruction that meets the first preset condition is first screened out to automatically batch calibrate the service type. The service type is determined twice for the second service instruction. If the two service types are the same, it means that the service type is determined correctly. The service interface corresponding to the determined service type is used to send the service instruction to the corresponding service processing device for service processing, which improves the accuracy and efficiency of service type determination, and further improves the efficiency of service processing.

[0075] Based on this, in some embodiments, as shown in Figure 2 In the above S110, the second service instruction meeting the first preset condition is selected from the first service instruction. Specifically, it can include:

[0076] S111, from the first service instruction, select a second service instruction whose service information includes target information, the target information being information used when the service processing device corresponding to the preset service type executes the service instruction.

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

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

[0079] In this way, for the service instruction that does not lack information used when the service instruction is executed, the service type of the service instruction can be determined according to the first relationship information and the second relationship information of the preset service information and the preset service type, the efficiency of determining the service type is improved, and the efficiency of service processing is further improved.

[0080] Based on this, in some embodiments, as shown in Figure 3 The S111 can specifically include the following steps:

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

[0082] S113, selecting a second service instruction whose service information includes target information from the third service instruction.

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

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

[0085] In this way, the preset resource type that can determine the service type is set. Only the service instruction of the preset resource type, which does not lack information used when the service instruction is executed, can determine the service type according to the first relationship information and the second relationship information of the preset service information and the preset service type. The service instruction is selected according to the applicable range of the resource type, the service type is determined, and the accuracy of determining the service type is improved.

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

[0087] For a fourth service instruction that does not satisfy the first preset condition in the first service instruction, updating the processing state of the fourth service instruction to a preset state.

[0088] Here, the fourth service instruction is a service instruction in which target information other than the service type is missing, and further, the fourth service instruction can also not be a service instruction of the preset resource type. The preset state is set in advance. For example, the preset state is "to be claimed".

[0089] In some embodiments, in a case where the processing state of the service instruction is the preset state, the service type cannot be determined according to the first relationship information and the second relationship information of the preset service information and the preset service type, and the service type needs to be manually marked.

[0090] It should be noted that for the fourth service instruction in which the first preset condition is not met in the first service instruction, the processing state of the fourth service instruction is updated to the preset state to receive the input of the user on the service type of the fourth service instruction.

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

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

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

[0094] The above S130 can specifically include:

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

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

[0097] Specifically, the first device and the second device determine the first target service type and the second target service type of the second service instruction respectively. It can be understood that even if the first relationship information is the same as the second relationship information, due to the judgment error or recognition error of the first device and the second device, the first target service type and the second target service type of the second service instruction can be different.

[0098] In this way, the same first relationship information and second relationship information are set, the service type of the second service instruction is determined by the first device and the second device respectively, if the first target service type and the second target service type are inconsistent, it indicates that the service type of the second service instruction is incorrect, otherwise, 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 second service instruction can be sent to the service processing device corresponding to the first target service type by using the service interface corresponding to the first target service type, so that the service processing device executes the second service instruction, and the accuracy of service type determination is improved.

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

[0100] S210, 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, the target information being information used when the service processing device corresponding to a preset service type executes a service instruction;

[0101] S220, in the case where the service information of the second target service instruction does not include the target information, updating the processing state of the second target service instruction to a preset state.

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

[0103] In some embodiments, in the case where the first target service type and the second target service type of the second target service instruction are inconsistent, it indicates that the service type of the second target service instruction is incorrect, at this time, it is necessary to re-detect whether the service information of the second target service instruction includes the target information. In the case where the service information of the second target service instruction does not include the target information, the processing state of the second target service instruction is updated to a preset state. For example, the preset state is “to be claimed”.

[0104] In some embodiments, in the case where the processing state of the service instruction is a preset state, the service type cannot be determined according to the preset service information and the first relationship information and the second relationship information of the preset service type, and the process of manually calibrating the service type needs to be returned.

[0105] In this way, for the second target service instruction inconsistent with the first target service type and the second target service type, it is determined again whether the target information is missing. If the target information is missing, the process of manual calibration of the service type is returned, and the target information can be completed, and then the process of normal service processing is performed, so as to guarantee the normal operation of the service and improve the user experience.

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

[0107] S230, in the case that 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, obtaining a third target service type;

[0108] S240, using the business interface corresponding to the third target service type, sending the second target service instruction to the business processing equipment corresponding to the third target service type, so that the business processing equipment corresponding to the third target service type executes the second target service instruction.

[0109] In some embodiments, in the case that the service information of the second target service instruction includes the 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, obtaining a third target service type. Here, the third target service type and the second target service type are the same.

[0110] In some embodiments, in the case that the service information of the second target service instruction includes the 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, obtaining a third target service type. Here, the third target service type and the first target service type are the same.

[0111] In some embodiments, in a case where 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 first relationship information between preset service information and preset service types, and the second target service type corresponding to the service information of the second target service instruction is updated according to second relationship information between preset service information and preset service types, until the first target service type and the second target service type are consistent, and a third target service type is obtained.

[0112] In some embodiments, in a case where 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 first relationship information between preset service information and preset service types, and the second target service type corresponding to the service information of the second target service instruction is updated according to second relationship information between preset service information and preset service types, until the first target service type and the second target service type are consistent, and a third target service type is obtained.

[0113] In this way, in a case where the service information of the second target service instruction includes target information, it is indicated that the first target service type and the second target service type may be different due to a judgment error or an identification error, and the first target service type and the second target service type can be re-judged once, without switching to manual, thereby guaranteeing the accuracy of service type determination and improving the efficiency of service type determination.

[0114] In the embodiments provided in the present application, the instruction processing flow is flexibly changed, and the instruction processing flow is more suitable for the case where the service type of an instruction cannot be located and the daily instruction quantity is huge.

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

[0116] Referring to Figure 7 The instruction execution device 300 provided in the embodiments of the present application includes:

[0117] The selecting module 310 is configured to, in a case where a first service instruction sent by a target device through a target channel is received, select a second service instruction satisfying a first preset condition from the first service instruction, and the first service instruction includes service information.

[0118] The determining module 320 is 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.

[0119] The determining module 320 is further configured to determine a second target service type corresponding to the service information of the second service instruction according to second relationship information between preset service information and preset service types.

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

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

[0122] The second service instruction includes target information, and the target information is information used when a service processing device corresponding to a preset service type executes a service instruction.

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

[0124] The third service instruction is of a preset resource type.

[0125] The second service instruction includes target information.

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

[0127] The updating module is configured to, for a fourth service instruction that does not satisfy the first preset condition in the first service instruction, update a processing state of the fourth service instruction to a preset state.

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

[0129] The determining module 320 can be specifically configured to:

[0130] The first device is configured to determine, according to first relationship information between preset service information and a preset service type, a first target service type corresponding to service information of the second service instruction.

[0131] The determining module 320 can be specifically configured to:

[0132] The second device is configured to determine, according to second relationship information between preset service information and a preset service type, a second target service type corresponding to service information of the second service instruction.

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

[0134] The detection module is configured to detect whether the service information of the second target service instruction includes target information in a case where the first target service type and the second target service type of the second target service instruction are inconsistent, the target information being information used when a service processing device corresponding to a preset service type executes a service instruction.

[0135] The updating module is configured to update the processing state of the second target service instruction to a preset state in a case where the service information of the second target service instruction does not include the target information.

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

[0137] The updating module is configured to update the first target service type corresponding to the service information of the second target service instruction according to preset service information and first relationship information of preset service types, and / or update the second target service type corresponding to the service information of the second target service instruction according to preset service information and second relationship information of preset service types, until the first target service type and the second target service type are consistent, to obtain a third target service type, in a case where the service information of the second target service instruction includes the target information.

[0138] The sending module 330 is further configured to send the second target service instruction to a service processing device corresponding to the third target service type by using a 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 apparatus provided by the embodiments of the present application can implement the functions of the various steps of the instruction execution method provided above, and can achieve the corresponding technical effects. For brevity, no further description is given here.

[0140] Based on the same inventive concept, the embodiments of the present application further provide an electronic device.

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

[0142] The electronic device can include a processor 401 and a memory 402 having computer program instructions stored therein.

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

[0144] The memory 402 can include mass storage for data or instructions. As an example and not by way of limitation, the memory 402 can include a hard disk drive (HDD), a floppy disk drive, flash memory, an optical disc (e.g., a compact disc (CD) or a digital versatile disc (DVD)), a solid-state drive (SSD), a USB drive, or a combination of two or more of these. Where appropriate, the memory 402 can include removable or non-removable (or fixed) media. Where appropriate, the memory 402 can be internal or external to the integrated gateway disaster recovery appliance. In particular embodiments, the memory 402 is non-volatile, solid-state memory.

[0145] The memory can include read-only memory (ROM), random access memory (RAM), magnetic disk storage mediums, optical storage mediums, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software that, when executed (by one or more processors), is operable to access the data and / or instructions that enable the operations described with reference to the methods according to an aspect of the present disclosure.

[0146] The processor 401 implements a method of executing instructions of any of the above-described embodiments by reading and executing computer program instructions stored in the memory 402.

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

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

[0149] ​Bus 410 includes a hardware, software, or both that couples components of electronic device to each other. As an example and not by way of limitation, bus can include an accelerated graphics port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect (IB), a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association local (VESA) bus, or another suitable bus or a combination of two or more of these. Where appropriate, bus 410 can include one or more buses. Although this application describes and shows a particular bus, this application contemplates any suitable bus or interconnect. The electronic device can perform the method of executing instructions in the embodiments of the application, thereby realizing the method of executing instructions described above.

[0150] In addition, in combination with the method of executing instructions in the above embodiments, the embodiments of the application can provide a computer storage medium to realize. The computer storage medium has computer program instructions stored thereon; the computer program instructions are executed by a processor to realize any one of the above embodiments of the method of executing instructions.

[0151] The application also provides a computer program product, the instructions in the computer program product are executed by the processor of the electronic device, so that the electronic device executes each process of the embodiment of the method of executing instructions.

[0152] It is to be understood that the application is not limited to particular configurations and processes described herein and shown in the drawings. For simplicity, detailed descriptions of known methods and apparatuses are omitted so as not to obscure the disclosure. In the above-described embodiments, several specific steps are described and illustrated in order to provide a thorough understanding of the method processes. However, the method processes according to the application can be performed in a number of different sequences and formats as would be understood by one skilled in the art. The method processes described herein are also not limited to any particular order or sequence of steps.

[0153] The functional blocks shown in the structural block diagrams described above can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, and the like. When implemented in software, the elements of the application are program or code segments that are used to perform the required tasks. The program or code segments can be stored in a machine-readable medium or transmitted through a data signal carried in a carrier wave over a transmission medium or communication link. A "machine-readable medium" includes any medium that can store or transport information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact discs (CD-ROM), optical disks, hard disks, fiber-optic media, radio frequency (RF) links, and the like. The code segments can be downloaded via computer networks such as the Internet, intranets, and the like.

[0154] It is also to be understood that the example embodiments described in this application are based on a series of steps or apparatuses to describe some methods or systems. However, the application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in an order different from the embodiments, or several steps can be performed simultaneously.

[0155] The computer program instructions can also be loaded onto a computer, other programmable data processing apparatus, or other processing device to cause a series of operational steps to be performed on the computer, other programmable apparatus or other processing device to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions / acts specified in the flowchart and / or block diagram block or blocks.

[0156] The above is merely specific implementation of the present application, and those skilled in the art can clearly understand the specific working process of the system, module and unit described above for the convenience and brevity of description, which can refer to the corresponding process in the foregoing method embodiments, and will not be described herein. It should be understood that the protection scope of the present application is not limited to this, and any person skilled in the art can easily think of various equivalent modifications or replacements within the technical range disclosed in the present application, and these modifications or replacements should be covered within the protection scope of the present application.

Claims

1. A method of execution of an instruction, characterized by, Comprising: In the case of receiving a first service instruction sent by a target device through a target channel, selecting a second service instruction meeting a first preset condition from the first service instruction, the first service instruction comprising service information; According to the first relationship information of the preset service information and the preset service type, determining the first target service type corresponding to the service information of the second service instruction; According to the second relationship information of the preset service information and the preset service type, determining the second target service type corresponding to the service information of the second service instruction; In the case that the first target service type and the second target service type of the first target service instruction are consistent, using the business interface corresponding to the first target service type to send the first target service instruction to the business processing device corresponding to the first target service type, so that the business processing device executes the first target service instruction, the second service instruction comprising the first target service instruction.

2. The instruction execution method of claim 1, wherein, The second service instruction meeting the first preset condition is selected from the first service instruction, comprising: Selecting a second service instruction comprising target information from the first service instruction, the target information being information used by the business processing device corresponding to the preset service type when executing a service instruction.

3. The instruction execution method of claim 2, wherein, Selecting a second service instruction comprising target information from the first service instruction, comprising: Selecting a third service instruction of a preset resource type from the first service instruction; Selecting a second service instruction comprising target information from the third service instruction.

4. The instruction execution method of claim 1, further comprising: For a fourth service instruction in the first service instruction that does not meet the first preset condition, updating the processing state of the fourth service instruction to a preset state.

5. The method of claim 1, wherein, The first relationship information is the same as the second relationship information; According to the first relationship information of the preset service information and the preset service type, determining the first target service type corresponding to the service information of the second service instruction, comprising: Using a first device, according to the first relationship information of the preset service information and the preset service type, determining the first target service type corresponding to the service information of the second service instruction; According to the second relationship information of the preset service information and the preset service type, determining the second target service type corresponding to the service information of the second service instruction, comprising: Using a second device, according to the second relationship information of the preset service information and the preset service type, determining the second target service type corresponding to the service information of the second service instruction.

6. The method of claim 1, wherein, Further comprising: In the case that 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 comprises target information, the target information being information used by the business processing device corresponding to the preset service type when executing a service instruction; In a case where the service information of the second target service instruction does not include the target information, a processing state of the second target service instruction is updated to a preset state.

7. The instruction execution method of claim 6, wherein, Further comprising: In a case where the service information of the second target service instruction includes the target information, a first target service type corresponding to the service information of the second target service instruction is updated according to first relationship information of preset service information and preset service type, and / or a second target service type corresponding to the service information of the second target service instruction is updated according to second relationship information of the preset service information and the preset service type, until the first target service type and the second target service type are consistent, obtaining a third target service type; The second target service instruction is sent to a service processing device corresponding to the third target service type by using a 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 apparatus characterized by comprising: Comprising: The selecting module is configured to, in a case where a first service instruction sent by a target device through a target channel is received, select a second service instruction meeting a first preset condition from the first service instruction, the first service instruction including service information; The determining module is configured to determine a first target service type corresponding to the service information of the second service instruction according to first relationship information of preset service information and preset service type. The determining module is further configured to determine a second target service type corresponding to the service information of the second service instruction according to second relationship information of the preset service information and the preset service type. The sending module is configured to, in a case where the first target service type of a first target service instruction and the second target service type are consistent, send the first target service instruction to a service processing device corresponding to the first target service type by using a service interface corresponding to the first target service type, so that the service processing device executes the first target service instruction, the second service instruction including the first target service instruction.

9. An electronic device, comprising: The device comprises a processor and a memory storing computer program instructions; The processor executes the computer program instructions to implement the instruction execution method of any one of claims 1-7.

10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer program instructions, and the computer program instructions are executed by the processor to implement the instruction execution method of any one of claims 1-7.

11. A computer program product, characterised in that, The instructions in the computer program product are executed by the processor of the electronic device, so that the electronic device can execute the instruction execution method of any one of claims 1-7.

Citation Information

Patent Citations

  • Method, system and equipment for triggering communication service

    CN101355786A

  • Service type detection method and device

    CN103701669A