Service micro-instruction issuing method and device, equipment and medium

By constructing a micro-instruction tree diagram and sending business micro-instructions sequentially, the problem of low efficiency in business data processing in existing technologies is solved, and efficient business data processing is achieved.

CN119211332BActive Publication Date: 2026-01-30CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310753636.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-06-25
Publication Date
2026-01-30
Estimated Expiration
2043-06-25

AI Technical Summary

Technical Problem

In existing technologies, business data processing efficiency is low because the sending business system needs to send business micro-instructions multiple times and the staff needs to edit the next instruction based on the feedback results.

Method used

The sending business system acquires multiple business micro-instructions at once, constructs a micro-instruction tree diagram, and sends it to the business micro-instruction scheduling system. The scheduling system sends the instructions sequentially according to the order of the diagram, taking into account the concurrent processing threshold of the receiving system.

Benefits of technology

It improved the efficiency of business data processing, reduced the number of times staff had to participate, ensured the stability and security of the receiving system, and improved the efficiency of business data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211332B_ABST
    Figure CN119211332B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, device, and medium for issuing business micro-instructions, applicable to the field of communication technology. In this method, the sending business system constructs a micro-instruction tree diagram based on the execution order relationship between business micro-instructions. Then, it sends the business micro-instruction set formed by all business micro-instructions, the micro-instruction tree diagram, and the sending information corresponding to each business micro-instruction to a business micro-instruction scheduling system. The business micro-instruction scheduling system sends business micro-instructions sequentially to the receiving business system according to the order from the root node to the child nodes in the micro-instruction tree diagram, enabling the receiving business system to execute according to the business micro-instructions and complete business data processing. This solution effectively improves the efficiency of business data processing by having the sending business system send multiple business micro-instructions at once, and the business micro-instruction scheduling system process and send each business micro-instruction sequentially.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, and in particular to a service micro-instruction issuing method and device, equipment and medium. BACKGROUND

[0002] With the development of science and technology, various services can be handled through corresponding service systems. How to interact between different service systems becomes a concern of people.

[0003] In the prior art, in order to enable different service systems to interact, a service micro-instruction issuing method can be used. When a sending service system needs other service systems to assist in processing service data, a staff member edits a service micro-instruction, and the sending service system can send the service micro-instruction to other service systems, which run according to the service micro-instruction, thereby realizing processing of the service data.

[0004] However, when a service data needs multiple service micro-instructions to complete processing, the sending service system edits the micro-instruction to be sent next according to the feedback result after each time sending a service micro-instruction, and then sends the service micro-instruction again, thereby resulting in low efficiency of processing of the service data. SUMMARY

[0005] The present application provides a service micro-instruction issuing method, device, equipment and medium, which are used to solve the problem that the existing service micro-instruction issuing method can only send one service micro-instruction at a time, resulting in low efficiency of processing of service data.

[0006] In a first aspect, the present application provides a service micro-instruction issuing method applied to a service micro-instruction scheduling system, and the method comprises the following steps.

[0007] Receiving a service micro-instruction set, a micro-instruction tree relationship diagram and sending information corresponding to each service micro-instruction in the service micro-instruction set sent by a sending service system, wherein the sending information comprises a receiving service system identifier;

[0008] According to the order from a root node to a child node in the micro-instruction tree relationship diagram, for each service micro-instruction in the service micro-instruction set, according to the receiving service system identifier corresponding to the service micro-instruction, obtaining a concurrent processing threshold value of a receiving service system corresponding to the receiving service system identifier and a current concurrent processing number of the service micro-instruction scheduling system for the receiving service system;

[0009] If the current concurrent processing number is less than the concurrent processing threshold value, the service micro-instruction is sent to the receiving service system, so that the receiving service system runs according to the service micro-instruction.

[0010] In an embodiment, the receiving the service micro-instruction set, the micro-instruction tree relationship diagram and the sending information corresponding to each service micro-instruction in the service micro-instruction set sent by the sending service system comprises:

[0011] The service micro-instruction set, the micro-instruction tree relationship diagram and the sending information corresponding to each service micro-instruction in the service micro-instruction set sent by the sending service system are received through a message queue.

[0012] In an embodiment, if the instruction type of the service micro-instruction is a feedback data type, the sending information corresponding to the service micro-instruction further comprises a feedback pointing micro-instruction identifier, and the method further comprises:

[0013] Receiving the feedback parameter returned by the receiving service system;

[0014] Determining the to-be-adjusted service micro-instruction corresponding to the feedback pointing micro-instruction identifier;

[0015] Judging whether the sending information corresponding to the to-be-adjusted service micro-instruction comprises a parameter conversion rule;

[0016] If the sending information corresponding to the to-be-adjusted service micro-instruction comprises a parameter conversion rule, converting the feedback parameter according to the parameter conversion rule to obtain a converted parameter, and filling the converted parameter into the to-be-adjusted service micro-instruction;

[0017] If the sending information corresponding to the to-be-adjusted service micro-instruction does not comprise a parameter conversion rule, filling the feedback parameter into the to-be-adjusted service micro-instruction.

[0018] In an embodiment, the method further comprises:

[0019] Converting the parameters in each service micro-instruction according to a preset parameter mapping relationship;

[0020] Grouping and storing all service micro-instructions according to the receiving service system identifier corresponding to each service micro-instruction;

[0021] For each received feedback parameter, the feedback parameter and the service micro-instruction corresponding to the feedback parameter are stored together.

[0022] In an embodiment, the method further comprises:

[0023] Timing testing the concurrent processing threshold of each receiving service system;

[0024] For each receiving service system, the concurrent processing threshold of the receiving service system and the receiving service system identifier of the receiving service system are stored after a corresponding relationship is established.

[0025] In a second aspect, the application provides a service micro instruction issuing method, applied to a sender service system, and the method comprises:

[0026] obtaining a plurality of service micro instructions, an execution order relationship between all the service micro instructions, and sending information corresponding to each service micro instruction, wherein the sending information comprises a receiver service system identifier;

[0027] constructing a micro instruction tree relationship diagram according to the execution order relationship between all the service micro instructions;

[0028] sending a service micro instruction set formed by all the service micro instructions, the micro instruction tree relationship diagram, and the sending information corresponding to each service micro instruction to a service micro instruction scheduling system.

[0029] In a specific embodiment, the sending of the service micro instruction set formed by all the service micro instructions, the micro instruction tree relationship diagram, and the sending information corresponding to each service micro instruction to the service micro instruction scheduling system comprises:

[0030] sending the service micro instruction set formed by all the service micro instructions, the micro instruction tree relationship diagram, and the sending information corresponding to each service micro instruction to the service micro instruction scheduling system through a message queue.

[0031] In a third aspect, the application provides a service micro instruction issuing device, comprising:

[0032] a receiving module configured to receive a service micro instruction set, a micro instruction tree relationship diagram, and sending information corresponding to each service micro instruction in the service micro instruction set, which is sent by a sender service system, wherein the sending information comprises a receiver service system identifier;

[0033] a processing module configured to determine whether the parameters of each service micro instruction in the service micro instruction set are filled in accordance with the order from a root node to a child node in the micro instruction tree relationship diagram;

[0034] an obtaining module configured to, if the parameters of the service micro instruction are filled, obtain a concurrent processing threshold of a receiver system corresponding to the receiver service system identifier and a current concurrent processing number of the receiver service system by the service micro instruction scheduling system according to the receiver service system identifier corresponding to the service micro instruction;

[0035] a sending module configured to, if the current concurrent processing number is less than the concurrent processing threshold, send the service micro instruction to the receiver service system, so that the receiver service system runs according to the service micro instruction.

[0036] In a fourth aspect, the present application provides a service micro instruction issuing device, comprising:

[0037] an acquisition module, configured to acquire a plurality of service micro instructions, and an execution order relationship between all the service micro instructions and sending information corresponding to each service micro instruction, wherein the sending information comprises a receiver service system identifier;

[0038] a processing module, configured to construct a micro instruction tree relationship diagram according to the execution order relationship between all the service micro instructions;

[0039] a sending module, configured to send a service micro instruction set formed by all the service micro instructions, the micro instruction tree relationship diagram and the sending information corresponding to each service micro instruction to a service micro instruction scheduling system.

[0040] In a fifth aspect, the present application provides an electronic device, comprising:

[0041] a processor, a memory and a communication interface;

[0042] the memory is configured to store executable instructions of the processor;

[0043] wherein the processor is configured to execute the service micro instruction issuing method of any one of the first aspect via execution of the executable instructions.

[0044] In a sixth aspect, the present application provides an electronic device, comprising:

[0045] a processor, a memory and a communication interface;

[0046] the memory is configured to store executable instructions of the processor;

[0047] wherein the processor is configured to execute the service micro instruction issuing method of any one of the second aspect via execution of the executable instructions.

[0048] In a seventh aspect, the present application provides a readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the service micro instruction issuing method of any one of the first aspect or the second aspect.

[0049] The business micro instruction issuing method, device, equipment and medium provided by the application, after the sending party business system obtains a plurality of business micro instructions, a micro instruction tree relationship diagram is constructed according to the execution order relationship between the business micro instructions, and the business micro instruction set formed by all the business micro instructions, the micro instruction tree relationship diagram and the sending information corresponding to each business micro instruction are sent to the business micro instruction scheduling system. The business micro instruction scheduling system, according to the order from the root node to the child node in the micro instruction tree relationship diagram, for each business micro instruction in the business micro instruction set, according to the receiving party business system identifier corresponding to the business micro instruction, obtains the concurrent processing threshold value of the receiving party system corresponding to the receiving party business system identifier, and the current concurrent processing quantity of the receiving party business system by the business micro instruction scheduling system. Further, if the current concurrent processing quantity is less than the concurrent processing threshold value, the business micro instruction is sent to the receiving party business system, so that the receiving party business system runs according to the business micro instruction to complete the processing of the business data. The present scheme sends a plurality of business micro instructions at a time by the sending party business system, and the business micro instruction scheduling system processes and sends each business micro instruction in turn, effectively improving the efficiency of business data processing. BRIEF DESCRIPTION OF DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0051] Figure 1a The flowchart of the business micro instruction issuing method provided by the present application is shown in the first embodiment.

[0052] Figure 1b The micro instruction tree relationship diagram provided by the present application is shown in the first embodiment.

[0053] Figure 2 The flowchart of the business micro instruction issuing method provided by the present application is shown in the second embodiment.

[0054] Figure 3 The flowchart of the business micro instruction issuing method provided by the present application is shown in the third embodiment.

[0055] Figure 4 The flowchart of the business micro instruction issuing method provided by the present application is shown in the fourth embodiment.

[0056] Figure 5 The structure diagram of the business micro instruction issuing device provided by the present application is shown in the first embodiment.

[0057] Figure 6Figure 2 is a structural schematic diagram of an embodiment of the service microinstruction issuing device provided in the present application;

[0058] Figure 7 Figure 1 is a structural schematic diagram of an electronic device provided in the present application;

[0059] Figure 8 Figure 1 is a structural schematic diagram of an electronic device provided in the present application; Figure Two . DETAILED DESCRIPTION

[0060] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments made by those of ordinary skill in the art under the inspiration of the present embodiments are within the scope of protection of the present application.

[0061] The terms "first", "second", "third", "fourth" and the like (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0062] With the development of science and technology, various business data will be processed by corresponding business systems, but there are still some business data processing that requires multiple business systems to cooperate, which requires interaction between different business systems.

[0063] In the prior art, in order to enable different business systems to interact, the mutual sending of service microinstructions can be used to achieve this. When the sender business system needs the assistance of other business systems to complete the processing of business data, the staff edits a service microinstruction, and the sender business system can send the service microinstruction to other business systems, and other business systems run according to the service microinstruction, thereby achieving the processing of business data.

[0064] However, when a business data needs multiple business micro-instructions to complete processing, the sender business system sends a business micro-instruction each time, and then staff members edit the next micro-instruction to be sent according to the feedback results, and then send the business micro-instruction again, thereby causing the problem of low efficiency of business data processing.

[0065] To solve the problems in the prior art, the inventors have found, in the process of researching the business micro-instruction issuing method, that in order to improve the efficiency of business data processing, the sender business system can obtain multiple business micro-instructions required for business data processing at a time, and then construct a micro-instruction tree relationship diagram according to the execution order relationship between the business micro-instructions, and send the business micro-instruction set formed by all the business micro-instructions, the sending information corresponding to each business micro-instruction, and the micro-instruction tree relationship diagram to the business micro-instruction scheduling system. The business micro-instruction scheduling system sends the corresponding business micro-instructions in order from the root node to the child node in the micro-instruction tree relationship diagram. Without the need for staff members to edit multiple times or the sender business system to send business micro-instructions multiple times, the efficiency of business data processing is effectively improved. Based on the above inventive concept, the business micro-instruction issuing scheme in the present application is designed.

[0066] The devices in which the business micro-instruction scheduling system and the sender business system are deployed in the present application can be servers, computers, terminal devices, etc., and the present application does not limit them, and they can be selected according to actual conditions.

[0067] The application scenario of the business micro-instruction issuing method provided in the present application is described below by way of example.

[0068] For example, in this application scenario, the sender business system needs to construct a virtual computer, and the construction of the virtual computer is constructed in the receiver system, which requires staff members to write multiple business micro-instructions in the sender business system and determine the execution order between the multiple business micro-instructions. Four business micro-instructions can be written, the first business micro-instruction is to construct a central processing unit (CPU), the second business micro-instruction is to construct a memory, the third business micro-instruction is to construct a hard disk, and the fourth business micro-instruction is to open a construction space and construct a virtual computer.

[0069] The receiver business system identifier in the sending information of the four business micro-instructions corresponds to the receiver business system. The instruction types of the first to third business micro-instructions are the data feedback type, and the sending information corresponding to these business micro-instructions further includes a feedback pointing micro-instruction identifier, which is the identifier of the fourth business micro-instruction, and the occupied space size needs to be fed back.

[0070] The sender service system obtains four service micro-instructions, the execution order relationship among all the service micro-instructions, and the sending information corresponding to each service micro-instruction, and constructs a micro-instruction tree relationship diagram according to the execution order relationship among all the service micro-instructions.

[0071] Further, the service micro-instruction set formed by all the service micro-instructions, the sending information corresponding to each service micro-instruction, and the micro-instruction tree relationship diagram are sent to the service micro-instruction scheduling system.

[0072] The service micro-instruction scheduling system sends the first to fourth service micro-instructions in turn according to the order from the root node to the child node in the micro-instruction tree relationship diagram.

[0073] After the first service micro-instruction is sent to the receiver service system, since the instruction type of the service micro-instruction is the data feedback type, the receiver service system constructs a CPU and returns the occupied space size. Further, the service micro-instruction scheduling system fills the occupied space size into the fourth service micro-instruction. The second and third service micro-instructions are processed similarly.

[0074] For the fourth service micro-instruction, the receiver service system opens up a construction space and constructs a virtual computer according to the three occupied space sizes, and completes the construction of the virtual computer.

[0075] It should be noted that the above scenario is only an example of an application scenario provided by the embodiments of the present application, and the embodiments of the present application do not limit the actual form of the deployment device of various systems included in the scenario, nor the interaction mode between the systems. In the specific application of the scheme, the actual needs can be set.

[0076] Next, the technical scheme of the present application will be described in detail through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0077] Figure 1a The flowchart of the service micro-instruction issuing method embodiment provided by the present application is described. The embodiments of the present application obtain a plurality of service micro-instructions required for the sender service system to process service data, and then generate a micro-instruction tree relationship diagram and a service micro-instruction set, and send them to the service micro-instruction scheduling system. The service micro-instruction scheduling system sends the service micro-instructions in turn according to the micro-instruction tree relationship diagram. The method in the present embodiment can be realized by software, hardware or a combination of software and hardware. As shown in the figure, the service micro-instruction issuing method specifically includes the following steps: Figure 1a

[0078] ​S101: The sender business system obtains a plurality of business micro-instructions required for business data processing, and the execution sequence relationship between all the business micro-instructions, and the sending information corresponding to each business micro-instruction.

[0079] When the sender business system needs the cooperation of the receiver business system to complete the business data processing, the staff can construct a plurality of business micro-instructions required for business data processing in the sender business system. The business micro-instruction can be constructed according to the self-defined micro-instruction template, which includes template attributes and data formats, etc. Then the execution sequence relationship between the business micro-instructions is determined, and the receiver business system corresponding to each business micro-instruction.

[0080] In this step, the sender business system can obtain a plurality of business micro-instructions required for business data processing, and the execution sequence relationship between all the business micro-instructions, and the sending information corresponding to each business micro-instruction, the sending information including the receiver business system identifier.

[0081] It should be noted that for constructing business micro-instructions, the user can also input related parameters and execution sequence relationship, and the sender business system constructs business micro-instructions according to the micro-instruction template.

[0082] S102: The sender business system constructs a micro-instruction tree relationship diagram according to the execution sequence relationship between all the business micro-instructions.

[0083] In this step, after the sender business system obtains a plurality of business micro-instructions, and the execution sequence relationship between all the business micro-instructions, and the sending information corresponding to each business micro-instruction, in order to enable the subsequent business micro-instruction scheduling system to determine what order to send the business micro-instruction, it is necessary to construct a micro-instruction tree relationship diagram according to the execution sequence relationship between all the business micro-instructions.

[0084] Exemplarily, Figure 1b The micro-instruction tree relationship diagram provided in the present application is shown in Figure 1b There are 9 business micro-instructions, represented by letters as A, B, C, D, E, F, G, H, I, the root node is A, the child node of A is B, the child node of B is C and D, the child node of C is E, F, G, the child node of D is G, H, I, and G is the common child node of C and D.

[0085] S103: The sender business system sends the business micro-instruction set formed by all the business micro-instructions, the micro-instruction tree relationship diagram, and the sending information corresponding to each business micro-instruction to the business micro-instruction scheduling system.

[0086] In this step, after the sender business system constructs the micro instruction tree relationship diagram, the sender business system sends the business micro instruction set formed by all business micro instructions, the micro instruction tree relationship diagram, and the sending information corresponding to each business micro instruction to the business micro instruction scheduling system.

[0087] It should be noted that in the process of forming the business micro instruction set, the preset set template can be used for construction.

[0088] It should be noted that in the sending process, a message queue can be used for sending. The sender business system sends the business micro instruction set, the micro instruction tree relationship diagram, and the sending information corresponding to each business micro instruction to the message queue. The business micro instruction scheduling system monitors the message queue, and when it is monitored that the message queue stores the business micro instruction set, the micro instruction tree relationship diagram, and the sending information corresponding to each business micro instruction, these messages can be obtained. The sender business system and the business micro instruction scheduling system can be decoupled, and the running stability of the system is effectively improved.

[0089] S104: After the business micro instruction scheduling system receives the business micro instruction set, the micro instruction tree relationship diagram, and the sending information corresponding to each business micro instruction in the business micro instruction set sent by the sender business system, for each business micro instruction in the business micro instruction set, according to the receiver business system identifier corresponding to the business micro instruction, the concurrent processing threshold of the receiver system corresponding to the receiver business system identifier is obtained, and the current concurrent processing number of the business micro instruction scheduling system for the receiver business system.

[0090] In this step, after the sender business system sends the business micro instruction set formed by all business micro instructions, the micro instruction tree relationship diagram, and the sending information corresponding to each business micro instruction to the business micro instruction scheduling system, the business micro instruction scheduling system can receive these data. The sending information includes the receiver business system identifier.

[0091] Then, according to the order from the root node to the child node in the micro instruction tree relationship diagram, each business micro instruction is sent in turn. First, for each business micro instruction in the business micro instruction set, according to the receiver business system identifier corresponding to the business micro instruction, the concurrent processing threshold of the receiver system corresponding to the receiver business system identifier is obtained, and the current concurrent processing number of the business micro instruction scheduling system for the receiver business system.

[0092] Since the business micro instruction scheduling system will test the concurrent processing threshold of each receiver system at regular intervals, the concurrent processing threshold of the receiver system corresponding to the receiver business system identifier can be obtained.

[0093] It should be noted that a message queue can be used in the receiving process. The sender business system sends the business micro instruction set, the micro instruction tree relationship diagram and the sending information corresponding to each business micro instruction to the message queue, and the business micro instruction scheduling system monitors the message queue. When it is monitored that the message queue stores the business micro instruction set, the micro instruction tree relationship diagram and the sending information corresponding to each business micro instruction, these messages can be obtained. The sender business system and the business micro instruction scheduling system can be decoupled, thereby effectively improving the running stability of the system.

[0094] S105: If the current concurrent processing quantity is less than the concurrent processing threshold, the business micro instruction scheduling system sends the business micro instruction to the receiver business system, so that the receiver business system runs according to the business micro instruction.

[0095] In this step, the business micro instruction scheduling system obtains the current concurrent processing quantity and the concurrent processing threshold, and judges whether the current concurrent processing quantity is less than the concurrent processing threshold. If the current concurrent processing quantity is less than the concurrent processing threshold, it indicates that the receiver business system has not reached the upper limit of processing concurrent messages, and the business micro instruction can be processed. The business micro instruction scheduling system sends the business micro instruction to the receiver business system. The receiver business system can run according to the business micro instruction. After all the business micro instructions are executed in the corresponding receiver business system, the processing of the business data is completed.

[0096] If the current concurrent processing quantity is greater than or equal to the concurrent processing threshold, it indicates that the receiver business system has reached the upper limit of processing concurrent messages, and the business micro instruction cannot be processed. Therefore, after a preset time period, the concurrent processing threshold and the current concurrent processing quantity are obtained again, and it is judged whether the current concurrent processing quantity is less than the concurrent processing threshold. If the current concurrent processing quantity is greater than or equal to the concurrent processing threshold, the process is repeated until the current concurrent processing quantity is less than the concurrent processing threshold, and the business micro instruction scheduling system sends the business micro instruction to the receiver business system.

[0097] It should be noted that the preset time period can be 0.3 seconds, 0.5 seconds, 2 seconds, etc. The preset time period is not limited in the embodiment of the application, and can be set according to the actual situation.

[0098] For example, as shown in FIG. 6, the business micro instruction scheduling system first sends A, then sends B, and then sends C and D. After sending C, E and F are sent. After sending D, H and I are sent. For G, G is sent after C and D are both sent. Figure 1b Figure 1b

[0099] ​​The service micro instruction issuing method provided by the embodiment comprises the following steps:

[0100] Figure 2 The flowchart of the second embodiment of the service micro instruction issuing method provided by the application is based on the above-mentioned embodiments, and the embodiment of the application describes the case that the service micro instruction scheduling system adjusts other service micro instructions according to the feedback parameters returned by the receiver service system. Figure 2 The service micro instruction issuing method specifically comprises the following steps:

[0101] S201: After receiving the feedback parameters returned by the receiver service system, the feedback instruction type micro instruction identifier corresponding to the to-be-adjusted service micro instruction is determined.

[0102] After the service micro instruction scheduling system sends the service micro instruction, if the instruction type of the service micro instruction is the feedback data type, the sending information corresponding to the service micro instruction further comprises the feedback instruction type micro instruction identifier, and the receiver service system needs to return the feedback parameters after executing the service micro instruction.

[0103] In the above-mentioned step, after the receiver service system returns the feedback parameters to the service micro instruction scheduling system, the service micro instruction scheduling system can receive the feedback parameters.

[0104] Further, since the feedback parameters are required by the to-be-adjusted service instruction, the feedback instruction type micro instruction identifier corresponding to the to-be-adjusted service micro instruction needs to be determined.

[0105] S202: Determine whether the transmission information corresponding to the micro-instruction to be adjusted includes parameter conversion rules; if the transmission information corresponding to the micro-instruction to be adjusted includes parameter conversion rules, then proceed to step S203; if the transmission information corresponding to the micro-instruction to be adjusted does not include parameter conversion rules, then proceed to step S204.

[0106] In the process, after the business micro-instruction scheduling system determines the business micro-instruction to be adjusted, since some of the business micro-instructions to be adjusted include parameter conversion rules in their transmission information, the feedback parameters need to be processed according to the parameter conversion rules. Therefore, it is necessary to first determine whether the transmission information corresponding to the business micro-instruction to be adjusted includes parameter conversion rules.

[0107] S203: Based on the parameter conversion rules, the feedback parameters are converted to obtain the conversion parameters, and the conversion parameters are filled into the micro-instructions of the business to be adjusted.

[0108] In this step, if the sending information corresponding to the micro-instruction to be adjusted includes parameter conversion rules, the feedback parameters are converted according to the parameter conversion rules to obtain the conversion parameters, and the conversion parameters are filled into the micro-instruction to be adjusted.

[0109] For example, in Figure 1b Based on this, the business micro-instruction C is a data type that needs to be fed back, and the feedback of business micro-instruction C points to the micro-instruction identifier corresponding to business micro-instruction F. After the business micro-instruction scheduling system sends business micro-instruction C to the receiving business system, it can receive feedback data. The sending information of business micro-instruction F includes parameter conversion rules. The parameter conversion rules are to perform a modulo operation on the feedback parameters according to the preset quotient value to obtain the conversion parameters, and then fill the conversion parameters into the business micro-instruction to be adjusted. For example, the part to be filled in the business micro-instruction to be adjusted before filling is "a=5+()", and the part after filling is "a=5+(3)".

[0110] It should be noted that the above example is only an illustration of the process of converting feedback data and filling the conversion parameters into the micro-instructions of the business to be adjusted. The embodiments of this application do not limit the parameter conversion rules, the micro-instructions of the business to be adjusted, etc., which can be determined according to the actual situation.

[0111] S204: Fill the feedback parameters into the micro-instruction of the business to be adjusted.

[0112] In this step, if the sending information corresponding to the micro-instruction to be adjusted does not include parameter conversion rules, the feedback parameters are directly filled into the micro-instruction to be adjusted.

[0113] It should be noted that when the business micro-instruction scheduling system sends the business micro-instruction to be adjusted, it sends the business micro-instruction to be adjusted after filling in the feedback parameters or transforming the parameters.

[0114] The service micro-instruction issuing method provided by the embodiment can effectively improve the efficiency of service data processing.

[0115] Figure 3 The flowchart of the third embodiment of the service micro-instruction issuing method provided by the application is based on the above embodiments, and the embodiment of the application describes the grouping storage of the service micro-instruction scheduling system. As shown in the figure, the service micro-instruction issuing method specifically includes the following steps: Figure 3

[0116] S301: According to the preset parameter mapping relationship, the parameters in each service micro-instruction are converted.

[0117] In this step, after the service micro-instruction scheduling system sends all the service micro-instructions in the service micro-instruction set and receives the corresponding feedback data, in order to facilitate the finding of fault reasons in the subsequent fault, the service micro-instructions in the service micro-instruction set need to be stored. In addition, the parameters in the system used when finding fault reasons have different meanings from the parameters in the service micro-instruction. In order to unify the parameter meanings, the parameters in each service micro-instruction need to be converted according to the preset parameter mapping relationship.

[0118] S302: According to the receiver service system identifier corresponding to each service micro-instruction, all service micro-instructions are grouped and stored.

[0119] In this step, after the service micro-instruction scheduling system converts the parameters in each service micro-instruction, in order to facilitate the finding of fault reasons and improve the finding efficiency, the service micro-instructions can be grouped and stored. According to the receiver service system identifier corresponding to each service micro-instruction, all service micro-instructions are grouped and stored. The receiver service system identifiers corresponding to the same group of service micro-instructions are the same.

[0120] S303: For each received feedback parameter, the feedback parameter and the service micro-instruction corresponding to the feedback parameter are stored together.

[0121] In this step, since the instruction type of some service micro-instructions is the feedback data type, the receiver system will return feedback data. These feedback data are also the data required for finding fault reasons. Therefore, for each received feedback parameter, the feedback parameter and the service micro-instruction corresponding to the feedback parameter are stored together.

[0122] ​The service micro-instruction issuing method provided by the embodiment improves storage stability and fault cause searching efficiency by grouping and storing the service micro-instruction and the feedback parameter.

[0123] Figure 4 The flowchart of the service micro-instruction issuing method embodiment four provided by the application is based on the above embodiments, and the embodiment of the application describes the situation of the service micro-instruction scheduling system testing the concurrent processing threshold of each receiver system at regular intervals. As shown in the figure, Figure 4 The service micro-instruction issuing method specifically includes the following steps:

[0124] S401: Test the concurrent processing threshold of each receiver system at regular intervals.

[0125] In this step, since the service micro-instruction scheduling system considers the concurrent processing capability of the receiver service system when sending the service micro-instruction to the receiver service system, the concurrent processing threshold of each receiver system needs to be tested at regular intervals to determine the latest concurrent processing capability of each receiver service system.

[0126] It should be noted that testing at regular intervals means testing once every preset test duration, and the preset test duration can be 30 seconds, 1 minute, 5 minutes, etc. The embodiment of the application does not limit the preset test duration, which can be set according to actual conditions.

[0127] For example, for the testing process, for each receiver service system, the service micro-instruction scheduling system sends a preset first test number of test requests to the receiver service system, and then the service micro-instruction scheduling system judges whether the number of feedback messages received is less than the preset first test number. If it is less than the preset first test number, the number of feedback messages is taken as the concurrent processing threshold of the receiver service system. If it is greater than or equal to the preset first test number, a preset second test number of test requests are sent again, the preset second test number is greater than the preset first test number, and then the service micro-instruction scheduling system judges whether the number of feedback messages received is less than the preset second test number. If it is less than the preset second test number, the number of feedback messages is taken as the concurrent processing threshold of the receiver service system. If it is greater than or equal to the preset second test number, similar to the above process, until the number of feedback messages is less than the number of sent test requests, the number of feedback messages is taken as the concurrent processing threshold of the receiver service system. The preset first test number can be 500, 600, 800, etc. The preset second test number can be 1000, 1200, 1800, etc. The embodiment of the application does not limit the preset first test number and the preset second test number, which can be set according to actual conditions.

[0128] S402: For each receiver system, the concurrent processing threshold of the receiver system is stored in correspondence with the receiver business system identifier of the receiver system.

[0129] In this step, after the service micro instruction scheduling system obtains the concurrent processing threshold of each receiver system, in order to facilitate the lookup of the concurrent processing threshold, the concurrent processing threshold of each receiver system needs to be stored in correspondence with the receiver business system identifier of the receiver system.

[0130] The service micro instruction issuing method provided in this embodiment can effectively improve the stability and security of the receiver business system, and ensure that the service micro instruction can be processed by the receiver business system, by periodically testing the concurrent processing threshold of each receiver system, and storing the concurrent processing threshold in correspondence with the corresponding receiver business system identifier.

[0131] The following is an apparatus embodiment of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the apparatus embodiments of the present application, please refer to the method embodiments of the present application.

[0132] Figure 5 The structure diagram of the service micro instruction issuing apparatus embodiment one provided in the present application is shown in FIG. 1. Figure 5 As shown in FIG. 1, the service micro instruction issuing apparatus 50 includes:

[0133] The receiving module 51 is configured to receive the service micro instruction set sent by the sender business system, the micro instruction tree relationship diagram, and the sending information corresponding to each service micro instruction in the service micro instruction set, wherein the sending information includes a receiver business system identifier.

[0134] The processing module 52 is configured to, according to the order from the root node to the child node in the micro instruction tree relationship diagram, determine whether the parameter of each service micro instruction in the service micro instruction set is filled.

[0135] The obtaining module 53 is configured to, if the parameter of the service micro instruction is filled, obtain the concurrent processing threshold of the receiver system corresponding to the receiver business system identifier, and the current concurrent processing number of the receiver business system by the service micro instruction scheduling system according to the receiver business system identifier corresponding to the service micro instruction.

[0136] The sending module 54 is configured to, if the current concurrent processing number is less than the concurrent processing threshold, send the service micro instruction to the receiver business system, so that the receiver business system runs according to the service micro instruction.

[0137] Further, the sending module 54 is specifically configured to receive, through a message queue, the set of business micro-instructions, the tree-like relationship diagram of micro-instructions, and the sending information corresponding to each business micro-instruction in the set of business micro-instructions sent by the sender business system.

[0138] Further, if the instruction type of the business micro-instruction is the data feedback type, the sending information corresponding to the business micro-instruction further includes a feedback pointing micro-instruction identifier, and the receiving module 51 is further configured to receive a feedback parameter returned by the receiver business system.

[0139] Further, the processing module 52 is further configured to:

[0140] determine a to-be-adjusted business micro-instruction corresponding to the feedback pointing micro-instruction identifier;

[0141] determine whether the sending information corresponding to the to-be-adjusted business micro-instruction includes a parameter conversion rule;

[0142] if the sending information corresponding to the to-be-adjusted business micro-instruction includes the parameter conversion rule, convert the feedback parameter according to the parameter conversion rule to obtain a converted parameter, and fill the converted parameter into the to-be-adjusted business micro-instruction;

[0143] if the sending information corresponding to the to-be-adjusted business micro-instruction does not include the parameter conversion rule, fill the feedback parameter into the to-be-adjusted business micro-instruction.

[0144] Further, the processing module 52 is further configured to:

[0145] perform parameter conversion on parameters in each business micro-instruction according to a preset parameter mapping relationship;

[0146] group and store all business micro-instructions according to receiver business system identifiers corresponding to each business micro-instruction;

[0147] for each received feedback parameter, store the feedback parameter and a business micro-instruction corresponding to the feedback parameter together.

[0148] Further, the processing module 52 is further configured to:

[0149] timely test a concurrent processing threshold of each receiver system;

[0150] for each receiver system, store a corresponding relationship between the concurrent processing threshold of the receiver system and a receiver business system identifier of the receiver system.

[0151] The service micro instruction issuing apparatus provided in the embodiment is used for executing the technical solutions of the service micro instruction scheduling system in any of the preceding method embodiments, and has similar implementation principles and technical effects, which will not be described here again.

[0152] Figure 6 A structural schematic diagram of an embodiment two of the service micro instruction issuing apparatus provided in the present application is shown in FIG. 6. Figure 6 As shown in FIG. 6, the service micro instruction issuing apparatus 60 comprises:

[0153] An acquisition module 61, configured to acquire a plurality of service micro instructions, and an execution order relationship between all the service micro instructions and sending information corresponding to each service micro instruction, wherein the sending information comprises a receiver service system identifier.

[0154] A processing module 62, configured to construct a micro instruction tree relationship diagram according to the execution order relationship between all the service micro instructions.

[0155] A sending module 63, configured to send a service micro instruction set formed by all the service micro instructions, the micro instruction tree relationship diagram and the sending information corresponding to each service micro instruction to the service micro instruction scheduling system.

[0156] Further, the sending module 63 is specifically configured to send the service micro instruction set formed by all the service micro instructions, the micro instruction tree relationship diagram and the sending information corresponding to each service micro instruction to the service micro instruction scheduling system through a message queue.

[0157] The service micro instruction issuing apparatus provided in the embodiment is used for executing the technical solutions of the service micro instruction scheduling system in any of the preceding method embodiments, and has similar implementation principles and technical effects, which will not be described here again.

[0158] Figure 7 A structural schematic diagram of an electronic device provided in the present application is shown in FIG. 7. Figure 7 As shown in FIG. 7, the electronic device 70 comprises:

[0159] A processor 71, a memory 72 and a communication interface 73.

[0160] The memory 72 is configured to store executable instructions of the processor 71.

[0161] The processor 71 is configured to execute the technical solutions of the service micro instruction scheduling system in any of the preceding method embodiments by executing the executable instructions.

[0162] Optionally, the memory 72 can be independent or integrated with the processor 71.

[0163] Optionally, when the memory 72 is a device independent of the processor 71, the electronic device 70 can further include:

[0164] A bus 74, the memory 72 and the communication interface 73 are connected with the processor 71 through the bus 74 and complete the communication between each other, and the communication interface 73 is used for communicating with other devices.

[0165] Optionally, the communication interface 73 can be realized by a transceiver. The communication interface is used to realize the communication between the database access device and other devices (such as a client, a read-write library and a read-only library). The memory can contain a random access memory (RAM) and can also include a non-volatile memory, such as at least one disk memory.

[0166] The bus 74 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is represented in the figure, but it does not mean that there is only one bus or one type of bus.

[0167] The above processor can be a general-purpose processor, including a central processing unit CPU, a network processor NP, etc.; can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0168] The electronic device is used to execute the technical solutions of the business micro-instruction scheduling system in any one of the preceding method embodiments, and has similar implementation principles and technical effects, which will not be described here.

[0169] Figure 8 The structure of an electronic device provided in the present application is shown in Figure Two Fig. 8. As shown in Figure 8 Fig. 8, the electronic device 80 includes:

[0170] A processor 81, a memory 82, and a communication interface 83;

[0171] The memory 82 is used to store executable instructions of the processor 81;

[0172] The processor 81 is configured to execute the foregoing technical solutions of the sender service system in any one of the method embodiments by executing the executable instructions.

[0173] Optionally, the memory 82 can be independent or integrated with the processor 81.

[0174] Optionally, when the memory 82 is a device independent of the processor 81, the electronic device 80 can further include:

[0175] The bus 84, the memory 82 and the communication interface 83 are connected with the processor 81 through the bus 84 and complete communication with each other, and the communication interface 83 is used for communication with other devices.

[0176] Optionally, the communication interface 83 can be implemented by a transceiver. The communication interface is used to realize communication between the database access device and other devices (for example, a client, a read-write library and a read-only library). The memory can include a random access memory (RAM) and can also include a non-volatile memory, for example, at least one disk memory.

[0177] The bus 84 can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is represented in the figure, but it does not mean that there is only one bus or only one type of bus.

[0178] The processor described above can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0179] The electronic device is used to execute the foregoing technical solutions of the sender service system in any one of the method embodiments, and the implementation principle and technical effects are similar, which will not be described here.

[0180] The embodiment of the present application further provides a readable storage medium, which stores a computer program, and the computer program is executed by a processor to realize the technical solutions provided by any one of the foregoing method embodiments.

[0181] The embodiment of the present application further provides a computer program product comprising a computer program, which is used for implementing the technical solutions provided by any of the preceding method embodiments when executed by a processor.

[0182] Those skilled in the art can understand that all or part of the steps of the foregoing method embodiments can be completed by a program instruction related hardware. The foregoing program can be stored in a computer readable storage medium. When the program is executed, the steps of the foregoing method embodiments are executed; and the foregoing storage medium includes various storage media that can store program codes, such as ROM, RAM, magnetic disk or optical disk.

[0183] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can still be modified, or some or all of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A service micro-instruction issuing method, characterized in that, The method is applied to a business microinstruction scheduling system, and the method comprises the following steps: receiving a business microinstruction set, a microinstruction tree relationship diagram and sending information corresponding to each business microinstruction in the business microinstruction set sent by a sender business system, wherein the sending information comprises a receiver business system identifier; in accordance with the order from a root node to a child node in the microinstruction tree relationship diagram, for each business microinstruction in the business microinstruction set, acquiring a concurrent processing threshold value of a receiver system corresponding to the receiver business system identifier according to the receiver business system identifier corresponding to the business microinstruction, and a current concurrent processing quantity of the receiver system for the business microinstruction scheduling system; if the current concurrent processing quantity is less than the concurrent processing threshold value, sending the business microinstruction to the receiver business system, so that the receiver business system runs according to the business microinstruction.

2. The method of claim 1, wherein, The receiving of the business microinstruction set, the microinstruction tree relationship diagram and the sending information corresponding to each business microinstruction in the business microinstruction set sent by the sender business system comprises the following steps: receiving the business microinstruction set, the microinstruction tree relationship diagram and the sending information corresponding to each business microinstruction in the business microinstruction set sent by the sender business system through a message queue.

3. The method of claim 1, wherein, If the instruction type of the business microinstruction is a data feedback type, the sending information corresponding to the business microinstruction further comprises a feedback pointing microinstruction identifier, and the method further comprises the following steps: receiving a feedback parameter returned by the receiver business system; determining a to-be-adjusted business microinstruction corresponding to the feedback pointing microinstruction identifier; judging whether a parameter conversion rule is included in the sending information corresponding to the to-be-adjusted business microinstruction; if the parameter conversion rule is included in the sending information corresponding to the to-be-adjusted business microinstruction, converting the feedback parameter according to the parameter conversion rule to obtain a converted parameter, and filling the converted parameter into the to-be-adjusted business microinstruction; if the parameter conversion rule is not included in the sending information corresponding to the to-be-adjusted business microinstruction, filling the feedback parameter into the to-be-adjusted business microinstruction.

4. The method of claim 3, wherein, The method further comprises the following steps: performing parameter conversion on parameters in each business microinstruction according to a preset parameter mapping relationship; grouping and storing all business microinstructions according to receiver business system identifiers corresponding to each business microinstruction; for each received feedback parameter, storing the feedback parameter and the business microinstruction corresponding to the feedback parameter together.

5. The method of claim 1, wherein, The method further comprises the following steps: timely testing the concurrent processing threshold value of each receiver system; for each receiver system, storing the corresponding relationship between the concurrent processing threshold value of the receiver system and the receiver business system identifier of the receiver system after the corresponding relationship is established.

6. A service micro-instruction issuing method, characterized in that, The method is applied to a sender business system, and the method comprises the following steps: acquiring a plurality of business microinstructions required for business data processing, an execution order relationship between all business microinstructions and sending information corresponding to each business microinstruction, wherein the sending information comprises a receiver business system identifier; constructing a microinstruction tree relationship diagram according to the execution order relationship between all business microinstructions; send the business microinstruction set formed by all the business microinstructions, the microinstruction tree relationship diagram and the sending information corresponding to each business microinstruction to a business microinstruction scheduling system, so that the business microinstruction scheduling system, according to an order from a root node to a child node in the microinstruction tree relationship diagram, for each business microinstruction in the business microinstruction set, acquires a concurrent processing threshold value of a receiver system corresponding to a receiver business system identifier corresponding to the business microinstruction and a current concurrent processing quantity of the receiver business system by the business microinstruction scheduling system, and sends the business microinstruction to the receiver business system when the current concurrent processing quantity is less than the concurrent processing threshold value, so that the receiver business system runs according to the business microinstruction.

7. The method of claim 6, wherein, The sending, to the business microinstruction scheduling system, of the business microinstruction set formed by all the business microinstructions, the microinstruction tree relationship diagram and the sending information corresponding to each business microinstruction includes: The sending, to the business microinstruction scheduling system, of the business microinstruction set formed by all the business microinstructions, the microinstruction tree relationship diagram and the sending information corresponding to each business microinstruction includes:

8. A service micro-instruction issuing apparatus, characterized by comprising: The application is applied to a business microinstruction scheduling system, and the device includes: A receiving module is configured to receive a business microinstruction set, a microinstruction tree relationship diagram and sending information corresponding to each business microinstruction in the business microinstruction set sent by a sender business system, wherein the sending information includes a receiver business system identifier; A processing module is configured to, according to an order from a root node to a child node in the microinstruction tree relationship diagram, judge whether parameters of each business microinstruction in the business microinstruction set are filled in completely. An acquiring module is configured to, if the parameters of the business microinstruction are filled in completely, acquire a concurrent processing threshold value of a receiver system corresponding to a receiver business system identifier corresponding to the business microinstruction and a current concurrent processing quantity of the receiver business system. A sending module is configured to, if the current concurrent processing quantity is less than the concurrent processing threshold value, send the business microinstruction to the receiver business system, so that the receiver business system runs according to the business microinstruction.

9. A service micro-instruction issuing apparatus, characterized by comprising: The application is applied to a sender business system, and the device includes: An acquiring module is configured to acquire a plurality of business microinstructions, an execution order relationship between all the business microinstructions and sending information corresponding to each business microinstruction, wherein the sending information includes a receiver business system identifier. A processing module is configured to construct a microinstruction tree relationship diagram according to the execution order relationship between all the business microinstructions. The sending module is configured to send a service micro instruction set formed by all service micro instructions, the micro instruction tree relationship diagram, and sending information corresponding to each service micro instruction to a service micro instruction scheduling system, so that the service micro instruction scheduling system, according to an order from a root node to a child node in the micro instruction tree relationship diagram, for each service micro instruction in the service micro instruction set, acquires a concurrent processing threshold of a receiver system corresponding to a receiver system identifier corresponding to the service micro instruction, and a current concurrent processing number of the receiver system by the service micro instruction scheduling system, and sends the service micro instruction to the receiver system when the current concurrent processing number is less than the concurrent processing threshold, so that the receiver system runs according to the service micro instruction.

10. An electronic device, comprising: Comprise: a processor, a memory, a communication interface; the memory is configured to store executable instructions of the processor; wherein the processor is configured to execute the service micro instruction issuing method of any one of claims 1 to 5 via execution of the executable instructions.

11. An electronic device, comprising: Comprise: a processor, a memory, a communication interface; the memory is configured to store executable instructions of the processor; wherein the processor is configured to execute the service micro instruction issuing method of any one of claims 6 to 7 via execution of the executable instructions.

12. A readable storage medium, having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the service micro instruction issuing method of any one of claims 1 to 7. The computer program is executed by the processor to implement the service micro instruction issuing method of any one of claims 1 to 7.

Citation Information

Patent Citations

  • Task scheduling method and device, electronic equipment and readable storage medium

    CN112764911A

  • Credit granting service data processing method and device, equipment and medium

    CN115834492A