A multi-node processing method and system for independent business instructions

By dynamically adjusting the moderate values ​​of MTU and shards, combining preset business processes and optimal MTU sequences, the problems of resource lock competition and scalability in the existing technology are solved, and the processing efficiency and system adaptability of large-scale business instructions are improved. .

CN118972022BActive Publication Date: 2025-01-10珠海盈米基金销售有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411420031.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-01-10
Estimated Expiration
2044-10-12

AI Technical Summary

Technical Problem

When the prior art handles large-scale business instructions, resource lock competition problems and system scalability are limited, and cannot adapt to complex business needs, resulting in inefficient processing.

Method used

By dynamically adjusting the size of the maximum transmission unit (MTU) and the appropriate value of shards, the sharding and transmission process of service instructions are optimized, combined with preset business processes and optimal MTU sequences, the MTU is gradually adjusted to adapt to network conditions and improve transmission efficiency.

Benefits of technology

It improves the processing capability of large-scale business instruction data, reduces the probability of resource lock competition problems, improves multi-node processing efficiency, and strikes a balance between stability and transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972022B_ABST
    Figure CN118972022B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of data processing, and proposes a multi-node processing method and system for independent business instructions, which includes the following steps: processing a business instruction corresponding to a business node on a preset business process on a page, and determining the next business node of the current business node according to the preset business process; after processing the business instruction corresponding to the current business node, processing the business instruction corresponding to the next business node on the same page. According to this processing method, the processing capability of large business instruction data can be improved, the probability of occurrence of resource lock competition problems can be reduced, and thus the multi-node processing efficiency of independent business instructions can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing, and in particular relates to a multi-node processing method and system for independent business instructions. Background Art

[0002] Due to the Chinese patent publication number CN106453462A "A method and device for processing multi-service node type services" when transmitting large business instructions, the above method may have the following disadvantages: Since business instructions may have a large or small amount of data, processing the business instructions of each different node with the same shard size may cause resource lock competition. When the size of the business nodes varies greatly and the network fluctuates greatly, different shard sizes need to be used to adapt to the business instructions of different nodes. If the system does not have an effective mechanism to dynamically adjust the shard size, it will greatly affect the efficiency and stability of data transmission.

[0003] Although the Chinese patent publication number CN118523871A "A method and system for processing financial data" proposes to achieve optimal transmission performance by dynamically adjusting the MTU and data fragment size, and can adaptively optimize data transmission when network conditions change, the processing capacity of this method will be limited when the number of business nodes increases, because it requires each business node to transmit in sequence through a fixed maximum transmission unit. This processing method will become very slow when facing large business instructions from multiple nodes, thereby affecting the scalability of the system and failing to achieve node collaborative processing. Moreover, as the complexity of business processes increases, this method cannot quickly adapt to the processing needs of complex businesses, resulting in the system being unable to process complex or large amounts of business instruction data. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art to at least a certain extent. To this end, the first object of the present invention is to propose a multi-node processing method for independent business instructions, which can improve the processing capability of large business instruction data and reduce the probability of resource lock competition problems, thereby improving the multi-node processing efficiency of independent business instructions;

[0005] The second objective of the present invention is to provide a multi-node processing system for independent business instructions.

[0006] To achieve the above object, a first embodiment of the present invention provides a multi-node processing method for independent service instructions, the method comprising the following steps:

[0007] S100, processing a business instruction corresponding to a business node on a preset business process on a page, wherein before processing the business instruction, the instructions need to be transmitted from a server or other storage location to a client, and the transmission steps are: after the server receives the business instruction, obtaining business instruction data according to the business instruction; slicing the business instruction data to generate business instruction data slices; and transmitting data to the business instruction data slices;

[0008] S200, determining the next service node of the current service node according to a preset service process;

[0009] S300, after processing the service instruction corresponding to the current service node, processing the service instruction corresponding to the next service node in the same page.

[0010] The processing method according to the embodiment of the present invention can improve the processing capability of large-scale business instruction data, reduce the probability of occurrence of resource lock competition problems, and thus improve the multi-node processing efficiency of independent business instructions.

[0011] Furthermore, in step S100, the user or enterprise receives or sends the service instruction pushed by the server through a mobile device or a client such as a notebook computer or a desktop computer.

[0012] Furthermore, in the mesh topology structure formed by the server and multiple clients, each client is connected to the server through any one of a wired network and a wireless network to communicate business instructions.

[0013] Among them, business instructions include: query instructions, operation instructions, specific operations or answers to questions, etc., which means that a certain instruction needs to be completed on a business node. When the query is completed, the system returns complete result data to the user. The query instruction ends when the user or the system confirms that the data has been received and meets the requirements; when the operation is successfully executed and the system returns a successful operation message, it indicates that the operation instruction ends; when a specific operation or an answer to a question is completed, a success or failure result will be obtained based on the completion of the operation or the answer to the question, and the business instruction ends.

[0014] Among them, business instructions are composed of operation codes and address codes; business nodes are the basic units in the business process. Each business node contains clear tasks and task end conditions. Business nodes also include a combination of multiple business instructions. For example, a business node needs to first query existing data (query instructions), then perform a series of operations (operation instructions) based on the query results, and finally verify and confirm (specific operations or question answers). When all these instructions are successfully executed, the node is considered completed.

[0015] Furthermore, the business instruction data includes multiple data items, each of which includes: any one or more combinations of text information, image information or network links.

[0016] Furthermore, in order to solve the problem of a large number of data items or complex data structures contained in large business instruction data, the system needs to read and process the data item by item when parsing the large business instruction data. This complex parsing process will consume more computing resources and time. For example, business instructions for image recognition or image optimization based on the sent images often contain image information with a large amount of data.

[0017] In order to solve the above problem, in step S100, the server segments the service instruction data, and the process of generating the service instruction data segments includes:

[0018] The server fragments the data items of the data elements of the business instruction to generate multiple business instruction data fragments, wherein the fragmentation process includes: dividing the data items of the data elements of the entire business instruction into smaller data blocks suitable for network transmission according to the maximum transmission unit MTU of the server, and recording these smaller data blocks as business instruction data fragments.

[0019] After the size of the current maximum transmission unit MTU is changed, the server automatically fragments the unsent service instructions into fragments of the size of the current maximum transmission unit MTU.

[0020] In S100, the step of transmitting data to the service instruction data slices includes:

[0021] S110, calculating a first shard fitness value;

[0022] Set the offset ΔM to 30 bytes; within the range of 600 bytes and 1500 bytes, start from 600 bytes and use 600 bytes as the current maximum transmission unit MTU size and start transmitting service instructions. After successfully sending a service instruction data fragment with the size of the current maximum transmission unit MTU size, reset the current maximum transmission unit MTU size, where each reset current maximum transmission unit MTU size is the current maximum transmission unit MTU size plus ΔM;

[0023] Specifically, variable i is used as the serial number of each maximum transmission unit MTU of different sizes, i∈[1, K], K is the number of maximum transmission units; MTU1(i) is the i-th maximum transmission unit within the range of 600 bytes and 1500 bytes, and the transmission time of MTU1(i) is obtained according to each maximum transmission unit of different sizes; wherein, the method for obtaining the transmission time of MTU1(i) is as follows: when sending a service instruction data fragment with MTU1(i) as the current maximum transmission unit, the current timestamp is recorded as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, the current timestamp is recorded as the end time of completing the transmission of the service instruction data fragment, and the transmission time of MTU1(i) is obtained by calculating the difference between the start time and the end time; further, the transmission time of sending the service instruction data fragment with MTU1(i) as the maximum transmission unit is recorded as t(i), and the first fragment fitness value is calculated within the value range of i;

[0024] Among them, the fragmentation moderation value is an indicator used to evaluate and select the optimal data fragmentation size. The fragmentation moderation value is screened out by calculating the transmission efficiency under different maximum transmission unit MTU sizes under the current network conditions. Then, by allocating the moderation value to set the maximum transmission unit MTU size and the fragment size of the service instruction, the transmission process of service instructions of different sizes can be optimized.

[0025] The method for calculating the fitness value of the first shard is:

[0026] Calculate the transmission efficiency a1(i) of MTU1(i), where a1(i) = MTU1(i) / t(i). Compare the sizes of various a1(i), record the transmission efficiency with the largest value among all transmission efficiencies a1(i) as p, and record MTU1(p) as the first fragmentation appropriateness value.

[0027] S120, calculating a second shard fitness value by using the first shard fitness value;

[0028] Calculate the byte range of the first maximum transmission unit, where the byte range of the first maximum transmission unit is the byte range between the first minimum byte MS1 and the first maximum byte MX1, where the first minimum byte MS1=(MTU1(p)+600) / 2, and the first maximum byte MX1=(MTU1(p)+1500) / 2;

[0029] Further, the byte size of the offset ΔM1 is set to the value of {(MX1-MS1)÷20} rounded up; within the range of MS1 and MX1, starting from the MS1 byte, with the MS1 byte as the size of the current maximum transmission unit MTU and starting to transmit the remaining business command data, after successfully sending a business command data fragment with the size of the current maximum transmission unit MTU, the size of the current maximum transmission unit MTU is reset, wherein the size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM, if the size of the current maximum transmission unit MTU plus ΔM is greater than MX1, the size of the current maximum transmission unit MTU is set to MX1.

[0030] Specifically, variable j is used as the serial number of each maximum transmission unit MTU of different sizes, j∈[1,G], G is the number of maximum transmission units divided by offset ΔM1 within the range of MS1 and MX1; MTU2(j) is the jth maximum transmission unit within the range of MS1 and MX1, and the transmission time of MTU2(j) is obtained according to each maximum transmission unit of different sizes; wherein, the method for obtaining the transmission time of MTU2(j) is as follows: when sending a service instruction data fragment with MTU2(j) as the current maximum transmission unit, record the current timestamp as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, record Record the current timestamp as the end time of the service instruction data fragment transmission completion, and obtain the transmission time of MTU2(j) by calculating the difference between the start time and the end time; further record the transmission time of the service instruction data fragment sent with MTU2(j) as the current maximum transmission unit as t2(j), within the value range of j; calculate the transmission efficiency a2(j) of MTU2(j), where a2(j)=MTU2(j) / t2(j), compare the sizes of each a2(j), record the maximum value of the transmission efficiency a2(j) as q, and record MTU2(q) as the second fragmentation appropriateness value;

[0031] S130, calculating a third shard fitness value by using the first shard fitness value and the second shard fitness value;

[0032] Further, the byte size of the offset ΔM2 is set to the value rounded up to {│(MTU1(p)-MTU2(q))│÷20}, where ││ is the absolute value symbol; within the range of MTU1(p) and MTU2(q), the sizes of MTU1(p) and MTU2(q) are compared, and the larger value of MTU1(p) and MTU2(q) is recorded as MX2, and the smaller value is recorded as MS2. Starting from the MS2 byte, the MS2 byte is used as the size of the current maximum transmission unit MTU and the remaining service instruction data is transmitted. When a current maximum transmission unit MTU is successfully sent, After the service instruction data of the original MTU is fragmented, the size of the current maximum transmission unit MTU is reset, wherein the size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM, if the size of the current maximum transmission unit MTU plus ΔM is greater than MX2, the size of the current maximum transmission unit MTU is set to MX2, and the maximum transmission unit with the highest transmission efficiency within the range of MTU1 (p) and MTU2 (q) is obtained and recorded as the third fragmentation appropriateness value MTU3 (z), wherein the transmission efficiency is the ratio of the maximum transmission unit size to the transmission time;

[0033] Specifically, variable e is used as the serial number of each maximum transmission unit MTU of different sizes, e∈[1,F], F is the number of maximum transmission units divided by offset ΔM2 within the range of MS2 and MX2; MTU3(e) is the e-th maximum transmission unit within the range of MS2 and MX2, and the transmission time of MTU3(e) is obtained according to each maximum transmission unit of different sizes; wherein, the method for obtaining the transmission time of MTU3(e) is as follows: when sending a service instruction data fragment with MTU3(e) as the current maximum transmission unit, record the current timestamp as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, record Record the current timestamp as the end time of the service instruction data segment transmission completion, and obtain the transmission time of MTU3(e) by calculating the difference between the start time and the end time; further record the transmission time of the service instruction data segment sent with MTU3(e) as the current maximum transmission unit as t3(e), within the value range of e; calculate the transmission efficiency a3(e) of MTU3(e), where a3(e)=MTU3(e) / t3(e), compare the sizes of each a3(e), record the maximum value in the transmission efficiency a3(e) as z, and record MTU3(z) as the third fragmentation moderation value.

[0034] Since network fluctuations may cause errors in the fragmentation moderation value, in order to solve this problem, it is necessary to further determine the maximum transmission unit MTU size for transmitting the remaining service instruction data;

[0035] S140, transmitting the remaining service instruction data according to the first slice fitness value, the second slice fitness value and the third slice fitness value;

[0036] Optionally, the remaining service instruction data is transmitted with the third fragmentation moderation value as the maximum transmission unit MTU and the fragmentation size;

[0037] The beneficial effects of this step are: directly using the determined optimal MTU for transmission, which is easy to operate. Since MTU3 (z) is already the optimal transmission unit after optimization, it can provide better transmission efficiency in most cases, reducing the frequent adjustment of MTU operations, thereby reducing system complexity and processing overhead. However, the fixed use of MTU3 (z) may not be able to adapt to real-time changes in network conditions, resulting in lower transmission efficiency than dynamic adjustment in some cases, and untimely response to sudden network congestion or changes may lead to reduced transmission efficiency.

[0038] In order to solve the above problems, the following preferred methods are proposed:

[0039] Preferably, a blank sequence is created, MTU1 (p), MTU2 (q) and MTU3 (z) are stored in the blank sequence as the optimal MTU sequence, and the maximum transmission unit in the optimal MTU sequence is recorded as MTU4 (k), where k is the identifier of the maximum transmission unit in the optimal MTU sequence, k∈[1,3], and the maximum transmission units in the optimal MTU sequence are used in sequence within the range of k to transmit the remaining service instruction data:

[0040] S141, setting the size of the current maximum transmission unit MTU to MTU4 (1) and starting to transmit the remaining service instruction data;

[0041] S142, after successfully sending a service instruction data fragment of size MTU4 (1), re-set the size of the current maximum transmission unit MTU to MTU4 (2) and start transmitting the remaining service instruction data;

[0042] S143, after successfully sending a service instruction data fragment of size MTU4 (2), re-set the size of the current maximum transmission unit MTU to MTU4 (3) and start transmitting the remaining service instruction data;

[0043] S144, after successfully sending a service instruction data fragment of size MTU4 (3), determine whether all service instruction data has been sent, if so, jump to S145, if not, return to S141;

[0044] S145, ending the service instruction data transmission.

[0045] The beneficial effect of this step is: by using different optimal MTU sizes in sequence, the transmission efficiency is gradually optimized, which can adapt to the real-time network conditions and achieve a certain balance between stability and transmission efficiency. However, the MTU needs to be adjusted after each transmission, which increases the processing complexity of the system, and frequent adjustment of the MTU may increase system overhead and affect the overall performance. It is suitable for scenarios where network conditions change frequently, and the transmission efficiency can be improved by dynamically adjusting the MTU.

[0046] In order to further solve the above problems, the following preferred methods are proposed:

[0047] Preferably, the transmission using the maximum transmission units in the optimal MTU sequence in sequence within the range of k can also be as follows: setting the size of the current maximum transmission unit MTU to MTU4 (1) and starting to transmit the remaining business instruction data; after successfully sending a business instruction data fragment of size MTU4 (1), resetting the size of the current maximum transmission unit MTU to MTU4 (2) and starting to transmit the remaining business instruction data; after successfully sending a business instruction data fragment of size MTU4 (2), resetting the size of the current maximum transmission unit MTU to MTU4 (3) and starting to transmit the remaining business instruction data; after successfully sending a business instruction data fragment of size MTU4 (3), comparing the transmission efficiencies of MTU4 (1), MTU4 (2) and MTU4 (3), recording the one with the highest transmission efficiency as MMAX, and transmitting the remaining business instruction data fragments with the maximum transmission unit MTU of size MMAX.

[0048] The beneficial effects of this step are: by comparing the transmission efficiency of the three optimal MTUs, the MTU with the highest transmission efficiency is selected for transmission, ensuring optimal performance and high transmission efficiency. The optimal MTU can be selected according to the real-time transmission situation, and a balance can be achieved between fixed selection and dynamic adjustment, taking into account efficiency and adaptability. It is suitable for application scenarios that require both transmission efficiency and system complexity, thereby maximizing the processing capabilities for large business instruction data, reducing the probability of resource lock competition problems, and improving the multi-node processing efficiency of independent business instructions.

[0049] In step S200, according to a preset service process, determining the next service node of the current service node includes:

[0050] Read a predefined business process from a storage or configuration file; this process consists of multiple business nodes in a certain order, and defines the processing order and logical relationship of each node; obtain information about the business node currently being processed by checking the status of the current page or from the system's business process control module; find the position of the current business node in the process and determine its next business node according to the definition in the preset business process, where the business process is stored in the form of a list or graph, and the next node can be determined by finding the index or pointer of the current node; if the business process contains conditional judgments, such as selecting different branches based on a certain condition, it is necessary to determine which branch is the next business node based on the processing result of the current node or the system status, where the conditional judgment is based on business rules, user input or other dynamic data; record the information of the determined next business node and return or pass it to subsequent processing steps so that after the current node is processed, the business instructions of the next node can be processed.

[0051] In step S300, after the business instructions corresponding to the current business node are processed, the business instructions corresponding to the next business node are processed on the same page, including: confirming that the business instructions of the current business node have been fully processed through a status flag, a processing result, or a callback function; preparing to load the business instructions of the next business node from the next business node information obtained in step S200; cleaning up temporary data, status, and UI components related to the current business node on the current page to make room for the processing of the next business node; preparing necessary UI components, input boxes, buttons, etc. according to the needs of the next business node; displaying the business instructions corresponding to the next business node on the same page. This may include updating UI elements such as text, forms, and charts on the page to reflect the tasks of the next business node; initializing the business instruction processing logic of the next business node, such as binding an event handler, setting a data model, starting a timer, etc.; starting to process the business instructions of the next business node through user input or automated logic to ensure that the page can respond to user operations and interact with the server or other system components as needed.

[0052] The beneficial effects of the present invention are as follows: the processing method according to the embodiment of the present invention can improve the processing capability of large business instruction data, reduce the probability of occurrence of resource lock competition problems, and thus improve the multi-node processing efficiency of independent business instructions.

[0053] To achieve the above-mentioned purpose, the second aspect embodiment of the present invention further proposes a multi-node processing system for independent business instructions, wherein the multi-node processing system for independent business instructions comprises: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps in a multi-node processing method for independent business instructions when executing the computer program, and the multi-node processing system for independent business instructions runs on computing devices such as desktop computers, notebooks, PDAs, and cloud data centers.

[0054] By executing a multi-node processing method for independent business instructions through a multi-node processing system for independent business instructions, the processing capability for large business instruction data can be improved, the probability of occurrence of resource lock competition problems can be reduced, and thus the multi-node processing efficiency of independent business instructions can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 Shown is a flow chart of a multi-node processing method for independent business instructions;

[0056] Figure 2 Shown is a structural diagram of a multi-node processing system for independent business instructions. DETAILED DESCRIPTION

[0057] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0058] Figure 1 Shown is a flow chart of a multi-node processing method for independent business instructions.

[0059] Reference Figure 1 The present invention proposes a multi-node processing method for independent service instructions, the method comprising the following steps:

[0060] S100, processing a business instruction corresponding to a business node on a preset business process on a page, wherein before processing the business instruction, the instructions need to be transmitted from a server or other storage location to a client, and the transmission steps are: after the server receives the business instruction, obtaining business instruction data according to the business instruction; slicing the business instruction data to generate business instruction data slices; and transmitting data to the business instruction data slices;

[0061] S200, determining the next service node of the current service node according to a preset service process;

[0062] S300, after processing the service instruction corresponding to the current service node, processing the service instruction corresponding to the next service node in the same page.

[0063] The processing method according to the embodiment of the present invention can improve the processing capability of large-scale business instruction data, reduce the probability of occurrence of resource lock competition problems, and thus improve the multi-node processing efficiency of independent business instructions.

[0064] Furthermore, in step S100, the user or enterprise receives or sends the service instruction pushed by the server through a mobile device or a client such as a notebook computer or a desktop computer.

[0065] Furthermore, in the mesh topology structure formed by the server and multiple clients, each client is connected to the server through any one of a wired network and a wireless network to communicate business instructions.

[0066] Among them, business instructions include: query instructions, operation instructions, specific operations or answers to questions, etc., which means that a certain instruction needs to be completed on a business node. When the query is completed, the system returns complete result data to the user. The query instruction ends when the user or the system confirms that the data has been received and meets the requirements; when the operation is successfully executed and the system returns a successful operation message, it indicates that the operation instruction ends; when a specific operation or an answer to a question is completed, a success or failure result will be obtained based on the completion of the operation or the answer to the question, and the business instruction ends.

[0067] Furthermore, the business instruction data includes multiple data items, each of which includes: any one or more combinations of text information, image information or network links.

[0068] Furthermore, in order to solve the problem of a large number of data items or complex data structures contained in large business instruction data, the system needs to read and process the data item by item when parsing the large business instruction data. This complex parsing process will consume more computing resources and time. For example, business instructions for image recognition or image optimization based on the sent images often contain image information with a large amount of data.

[0069] In order to solve the above problem, in step S100, the server segments the service instruction data, and the process of generating the service instruction data segments includes:

[0070] The server fragments the data items of the data elements of the business instruction to generate multiple business instruction data fragments, wherein the fragmentation process includes: dividing the data items of the data elements of the entire business instruction into smaller data blocks suitable for network transmission according to the maximum transmission unit MTU of the server, and recording these smaller data blocks as business instruction data fragments.

[0071] After the size of the current maximum transmission unit MTU is changed, the server automatically fragments the unsent service instructions into fragments of the size of the current maximum transmission unit MTU.

[0072] In S100, the step of transmitting data to the service instruction data slices includes:

[0073] S110, calculating a first shard fitness value;

[0074] Set the offset ΔM to 30 bytes; within the range of 600 bytes and 1500 bytes, start from 600 bytes and use 600 bytes as the current maximum transmission unit MTU size and start transmitting service instructions. After successfully sending a service instruction data fragment with the size of the current maximum transmission unit MTU size, reset the current maximum transmission unit MTU size, where each reset current maximum transmission unit MTU size is the current maximum transmission unit MTU size plus ΔM;

[0075] Specifically, variable i is used as the serial number of each maximum transmission unit MTU of different sizes, i∈[1, K], K is the number of maximum transmission units; MTU1(i) is the i-th maximum transmission unit within the range of 600 bytes and 1500 bytes, and the transmission time of MTU1(i) is obtained according to each maximum transmission unit of different sizes; wherein, the method for obtaining the transmission time of MTU1(i) is as follows: when sending a service instruction data fragment with MTU1(i) as the current maximum transmission unit, the current timestamp is recorded as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, the current timestamp is recorded as the end time of completing the transmission of the service instruction data fragment, and the transmission time of MTU1(i) is obtained by calculating the difference between the start time and the end time; further, the transmission time of sending the service instruction data fragment with MTU1(i) as the maximum transmission unit is recorded as t(i), and the first fragment fitness value is calculated within the value range of i;

[0076] Among them, the fragmentation moderation value is an indicator used to evaluate and select the optimal data fragmentation size. The fragmentation moderation value is screened out by calculating the transmission efficiency under different maximum transmission unit MTU sizes under the current network conditions. Then, by allocating the moderation value to set the maximum transmission unit MTU size and the fragment size of the service instruction, the transmission process of service instructions of different sizes can be optimized.

[0077] The method for calculating the fitness value of the first shard is:

[0078] Calculate the transmission efficiency a1(i) of MTU1(i), where a1(i) = MTU1(i) / t(i). Compare the sizes of various a1(i), record the transmission efficiency with the largest value among all transmission efficiencies a1(i) as p, and record MTU1(p) as the first fragmentation appropriateness value.

[0079] S120, calculating a second shard fitness value by using the first shard fitness value;

[0080] Calculate the byte range of the first maximum transmission unit, where the byte range of the first maximum transmission unit is the byte range between the first minimum byte MS1 and the first maximum byte MX1, where the first minimum byte MS1=(MTU1(p)+600) / 2, and the first maximum byte MX1=(MTU1(p)+1500) / 2;

[0081] Further, the byte size of the offset ΔM1 is set to the value of {(MX1-MS1)÷20} rounded up; within the range of MS1 and MX1, starting from the MS1 byte, with the MS1 byte as the size of the current maximum transmission unit MTU and starting to transmit the remaining business command data, after successfully sending a business command data fragment with the size of the current maximum transmission unit MTU, the size of the current maximum transmission unit MTU is reset, wherein the size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM, if the size of the current maximum transmission unit MTU plus ΔM is greater than MX1, the size of the current maximum transmission unit MTU is set to MX1.

[0082] Specifically, variable j is used as the serial number of each maximum transmission unit MTU of different sizes, j∈[1,G], G is the number of maximum transmission units divided by offset ΔM1 within the range of MS1 and MX1; MTU2(j) is the jth maximum transmission unit within the range of MS1 and MX1, and the transmission time of MTU2(j) is obtained according to each maximum transmission unit of different sizes; wherein, the method for obtaining the transmission time of MTU2(j) is as follows: when sending a service instruction data fragment with MTU2(j) as the current maximum transmission unit, record the current timestamp as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, record Record the current timestamp as the end time of the service instruction data fragment transmission completion, and obtain the transmission time of MTU2(j) by calculating the difference between the start time and the end time; further record the transmission time of the service instruction data fragment sent with MTU2(j) as the current maximum transmission unit as t2(j), within the value range of j; calculate the transmission efficiency a2(j) of MTU2(j), where a2(j)=MTU2(j) / t2(j), compare the sizes of each a2(j), record the maximum value of the transmission efficiency a2(j) as q, and record MTU2(q) as the second fragmentation appropriateness value;

[0083] S130, calculating a third shard fitness value by using the first shard fitness value and the second shard fitness value;

[0084] Further, the byte size of the offset ΔM2 is set to the value rounded up to {│(MTU1(p)-MTU2(q))│÷20}; within the range of MTU1(p) and MTU2(q), the sizes of MTU1(p) and MTU2(q) are compared, the larger value of MTU1(p) and MTU2(q) is recorded as MX2, and the smaller value is recorded as MS2, starting from the MS2 byte, the MS2 byte is used as the size of the current maximum transmission unit MTU and the remaining service instruction data is transmitted. When a current maximum transmission unit MTU is successfully sent, After the service instruction data is fragmented, the size of the current maximum transmission unit MTU is reset, wherein the size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM, if the size of the current maximum transmission unit MTU plus ΔM is greater than MX2, then the size of the current maximum transmission unit MTU is set to MX2, and the maximum transmission unit with the highest transmission efficiency within the range of MTU1 (p) and MTU2 (q) is obtained and recorded as the third fragmentation appropriateness value MTU3 (z), wherein the transmission efficiency is the ratio of the maximum transmission unit size to the transmission time;

[0085] Specifically, variable e is used as the serial number of each maximum transmission unit MTU of different sizes, e∈[1,F], F is the number of maximum transmission units divided by offset ΔM2 within the range of MS2 and MX2; MTU3(e) is the e-th maximum transmission unit within the range of MS2 and MX2, and the transmission time of MTU3(e) is obtained according to each maximum transmission unit of different sizes; wherein, the method for obtaining the transmission time of MTU3(e) is as follows: when sending a service instruction data fragment with MTU3(e) as the current maximum transmission unit, record the current timestamp as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, record Record the current timestamp as the end time of the service instruction data segment transmission completion, and obtain the transmission time of MTU3(e) by calculating the difference between the start time and the end time; further record the transmission time of the service instruction data segment sent with MTU3(e) as the current maximum transmission unit as t3(e), within the value range of e; calculate the transmission efficiency a3(e) of MTU3(e), where a3(e)=MTU3(e) / t3(e), compare the sizes of each a3(e), record the maximum value in the transmission efficiency a3(e) as z, and record MTU3(z) as the third fragmentation moderation value.

[0086] Since network fluctuations may cause errors in the fragmentation moderation value, in order to solve this problem, it is necessary to further determine the maximum transmission unit MTU size for transmitting the remaining service instruction data;

[0087] S140, transmitting the remaining service instruction data according to the first slice fitness value, the second slice fitness value and the third slice fitness value;

[0088] Embodiment 1: In step S140, the remaining service instruction data is transmitted according to the first fragmentation appropriateness value, the second fragmentation appropriateness value and the third fragmentation appropriateness value: the remaining service instruction data is transmitted with MTU3 (z) as the maximum transmission unit MTU and fragmentation size.

[0089] The beneficial effects of this step are: directly using the determined optimal MTU for transmission, which is easy to operate. Since MTU3 (z) is already the optimal transmission unit after optimization, it can provide better transmission efficiency in most cases, reducing the frequent adjustment of MTU operations, thereby reducing system complexity and processing overhead. However, the fixed use of MTU3 (z) may not be able to adapt to real-time changes in network conditions, resulting in lower transmission efficiency than dynamic adjustment in some cases, and untimely response to sudden network congestion or changes may lead to reduced transmission efficiency.

[0090] Embodiment 2: In step S140, the remaining service instruction data is transmitted according to the first fragmentation moderation value, the second fragmentation moderation value and the third fragmentation moderation value: a blank sequence is created, MTU1 (p), MTU2 (q) and MTU3 (z) are stored in the blank sequence as an optimal MTU sequence, and the maximum transmission unit in the optimal MTU sequence is recorded as MTU4 (k), where k is the identifier of the maximum transmission unit in the optimal MTU sequence, k∈[1,3] and the maximum transmission unit in the optimal MTU sequence is used in sequence within the range of k to transmit the remaining service instruction data:

[0091] S141, setting the size of the current maximum transmission unit MTU to MTU4 (1) and starting to transmit the remaining service instruction data;

[0092] S142, after successfully sending a service instruction data fragment of size MTU4 (1), re-set the size of the current maximum transmission unit MTU to MTU4 (2) and start transmitting the remaining service instruction data;

[0093] S143, after successfully sending a service instruction data fragment of size MTU4 (2), re-set the size of the current maximum transmission unit MTU to MTU4 (3) and start transmitting the remaining service instruction data;

[0094] S144, after successfully sending a service instruction data fragment of size MTU4 (3), determine whether all service instruction data has been sent, if so, jump to S145, if not, return to S141;

[0095] S145, ending the service instruction data transmission.

[0096] The beneficial effect of this step is: by using different optimal MTU sizes in sequence, the transmission efficiency is gradually optimized, which can adapt to the real-time network conditions and achieve a certain balance between stability and transmission efficiency. However, the MTU needs to be adjusted after each transmission, which increases the processing complexity of the system, and frequent adjustment of the MTU may increase system overhead and affect the overall performance. It is suitable for scenarios where network conditions change frequently, and the transmission efficiency can be improved by dynamically adjusting the MTU.

[0097] Embodiment 3: In step S140, the remaining business instruction data is transmitted according to the first fragmentation moderation value, the second fragmentation moderation value and the third fragmentation moderation value as follows: within the range of k, the maximum transmission units in the optimal MTU sequence are used for transmission in sequence. It can also be as follows: the size of the current maximum transmission unit MTU is set to MTU4 (1) and the remaining business instruction data is transmitted; after a business instruction data fragment of size MTU4 (1) is successfully sent, the size of the current maximum transmission unit MTU is reset to MTU4 (2) and the remaining business instruction data is transmitted; after a business instruction data fragment of size MTU4 (2) is successfully sent, the size of the current maximum transmission unit MTU is reset to MTU4 (3) and the remaining business instruction data is transmitted; after a business instruction data fragment of size MTU4 (3) is successfully sent, the transmission efficiency of MTU4 (1), MTU4 (2) and MTU4 (3) is compared, the one with the highest transmission efficiency is recorded as MMAX, and the remaining business instruction data fragments are transmitted with the maximum transmission unit MTU of size MMAX.

[0098] The beneficial effects of this step are: by comparing the transmission efficiency of the three optimal MTUs, the MTU with the highest transmission efficiency is selected for transmission, ensuring optimal performance and high transmission efficiency. The optimal MTU can be selected according to the real-time transmission situation, and a balance can be achieved between fixed selection and dynamic adjustment, taking into account efficiency and adaptability. It is suitable for application scenarios that require both transmission efficiency and system complexity, thereby maximizing the processing capabilities for large business instruction data, reducing the probability of resource lock competition problems, and improving the multi-node processing efficiency of independent business instructions.

[0099] In step S200, according to a preset service process, determining the next service node of the current service node includes:

[0100] Read a predefined business process from a storage or configuration file; this process consists of multiple business nodes in a certain order, and defines the processing order and logical relationship of each node; obtain information about the business node currently being processed by checking the status of the current page or from the system's business process control module; find the position of the current business node in the process and determine its next business node according to the definition in the preset business process, where the business process is stored in the form of a list or graph, and the next node can be determined by finding the index or pointer of the current node; if the business process contains conditional judgments, such as selecting different branches based on a certain condition, it is necessary to determine which branch is the next business node based on the processing result of the current node or the system status, where the conditional judgment is based on business rules, user input or other dynamic data; record the information of the determined next business node and return or pass it to subsequent processing steps so that after the current node is processed, the business instructions of the next node can be processed.

[0101] In step S300, after the business instructions corresponding to the current business node are processed, the business instructions corresponding to the next business node are processed on the same page, including: confirming that the business instructions of the current business node have been fully processed through a status flag, a processing result, or a callback function; preparing to load the business instructions of the next business node from the next business node information obtained in step S200; cleaning up temporary data, status, and UI components related to the current business node on the current page to make room for the processing of the next business node; preparing necessary UI components, input boxes, buttons, etc. according to the needs of the next business node; displaying the business instructions corresponding to the next business node on the same page. This may include updating UI elements such as text, forms, and charts on the page to reflect the tasks of the next business node; initializing the business instruction processing logic of the next business node, such as binding an event handler, setting a data model, starting a timer, etc.; starting to process the business instructions of the next business node through user input or automated logic to ensure that the page can respond to user operations and interact with the server or other system components as needed.

[0102] Figure 2 Shown is a structural diagram of a multi-node processing system for independent business instructions.

[0103] Reference Figure 2The present invention also proposes a multi-node processing system 20 for independent business instructions, the multi-node processing system 20 for independent business instructions includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, the processor implements the steps in a multi-node processing method for independent business instructions when executing the computer program, and the multi-node processing system 20 for independent business instructions runs in computing devices such as desktop computers, notebooks, PDAs, and cloud data centers.

[0104] The processing system comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to run in the following units of the processing system:

[0105] The first processing unit 21 is used to process a business instruction corresponding to a business node on a preset business process on a page;

[0106] A confirmation unit 22, used to determine the next service node of the current service node according to a preset service process;

[0107] The second processing unit 23 is used to process the service instruction corresponding to the next service node in the same page after processing the service instruction corresponding to the current service node.

[0108] The multi-node processing system for independent business instructions can be run in computing devices such as desktop computers, notebooks, PDAs, and cloud servers. The multi-node processing system for independent business instructions can include, but is not limited to, processors and memories. Those skilled in the art will appreciate that the example is merely an example of a multi-node processing system 20 for independent business instructions, and does not constitute a limitation on a multi-node processing system 20 for independent business instructions. It can include more or fewer components than the example, or a combination of certain components, or different components. For example, the multi-node processing system for independent business instructions can also include input and output devices, network access devices, buses, etc.

[0109] By executing the multi-node processing method of independent business instructions through the multi-node processing system 20 of independent business instructions, the processing capability of large business instruction data can be improved, the probability of occurrence of resource lock competition problems can be reduced, and thus the multi-node processing efficiency of independent business instructions can be improved.

[0110] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0111] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0113] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.

[0114] In addition, the terms "first", "second", etc. used in the embodiments of the present invention are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in the present embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of the present invention can explicitly or implicitly indicate that the embodiment includes at least one of the features. In the description of the present invention, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.

[0115] In the present invention, unless otherwise clearly specified or limited in the embodiments, the terms "installed", "connected", "connected" and "fixed" etc. in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal connection of two elements, or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific implementation situation.

[0116] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0117] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A multi-node processing method for independent business instructions, characterized in that: The method comprises the following steps: S100, in a page, a business instruction corresponding to a business node on a preset business process is processed, wherein before processing the business instruction, these instructions need to be transmitted from a server or other storage location to a client, and the transmission steps are: after receiving the business instruction, the server obtains business instruction data according to the business instruction; slices the business instruction data to generate business instruction data slices; and transmits data to the business instruction data slices; wherein step S100 includes: S110, calculating a first slice fitness value; wherein step S110 includes: setting an offset ΔM to 30 bytes; within a range of 600 bytes and 1500 bytes, starting from 600 bytes, using 600 bytes as the size of the current maximum transmission unit MTU and starting to transmit business instructions, after successfully sending a business instruction data slice of the size of the current maximum transmission unit MTU, resetting the size of the current maximum transmission unit MTU, wherein the size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM; using a variable i as the sequence number of each maximum transmission unit MTU of different sizes, i∈[1 ,K], K is the number of maximum transmission units; MTU1 (i) is the i-th maximum transmission unit within the range of 600 bytes and 1500 bytes, and the transmission time of MTU1 (i) is obtained according to the maximum transmission units of different sizes; wherein, the method for obtaining the transmission time of MTU1 (i) is as follows: when sending a service instruction data fragment with MTU1 (i) as the current maximum transmission unit, the current timestamp is recorded as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, the current timestamp is recorded as the end time of the completion of the transmission of the service instruction data fragment, and the transmission time of MTU1 (i) is obtained by calculating the difference between the start time and the end time; further, the transmission time of sending the service instruction data fragment with MTU1 (i) as the maximum transmission unit is recorded as t (i), and within the value range of i, the first fragment fitness value is calculated, wherein the method for calculating the first fragment fitness value is as follows: Calculate the transmission efficiency a1(i) of MTU1(i), where a1(i) = MTU1(i) / t(i). Compare the sizes of various a1(i), and mark the transmission efficiency with the largest value among all transmission efficiencies a1(i) as p. MTU1(p) is recorded as the first fragmentation appropriateness value. S120, calculating the second fragment fitness value by the first fragment fitness value; wherein step S120 comprises: calculating the byte range of the first maximum transmission unit, wherein the byte range of the first maximum transmission unit is the byte range between the first minimum byte MS1 and the first maximum byte MX1, wherein the first minimum byte MS1=(MTU1(p)+600) / 2, the first maximum byte MX1=(MTU1(p)+1500) / 2; setting the byte size of the offset ΔM1 to the value of {(MX1-MS1)÷20} rounded up; within the range of MS1 and MX1, starting from the MS1 byte , take MS1 bytes as the size of the current maximum transmission unit MTU and start transmitting the remaining service instruction data. After successfully sending a service instruction data fragment of the size of the current maximum transmission unit MTU, reset the size of the current maximum transmission unit MTU. The size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM. If the size of the current maximum transmission unit MTU plus ΔM is greater than MX1, the size of the current maximum transmission unit MTU is set to MX1. The variable j is used as the serial number of each maximum transmission unit MTU of different sizes, j∈[1 ,G], G is the number of maximum transmission units divided by offset ΔM1 within the range of MS1 and MX1; MTU2(j) is the jth maximum transmission unit within the range of MS1 and MX1, and the transmission time of MTU2(j) is obtained according to the maximum transmission units of different sizes; wherein, the method for obtaining the transmission time of MTU2(j) is as follows: when sending a service instruction data fragment with MTU2(j) as the current maximum transmission unit, record the current timestamp as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, record Record the current timestamp as the end time of the service instruction data fragment transmission completion, and obtain the transmission time of MTU2(j) by calculating the difference between the start time and the end time; further record the transmission time of the service instruction data fragment sent with MTU2(j) as the current maximum transmission unit as t2(j), within the value range of j; calculate the transmission efficiency a2(j) of MTU2(j), where a2(j)=MTU2(j) / t2(j), compare the sizes of each a2(j), record the maximum value of the transmission efficiency a2(j) as q, and record MTU2(q) as the second fragmentation appropriateness value; S130, calculating the third slice fitness value by the first slice fitness value and the second slice fitness value; wherein step S130 comprises: setting the byte size of the offset ΔM2 to the value rounded up to {│(MTU1(p)-MTU2(q))│÷20}, wherein ││ is the absolute value symbol; within the range of MTU1(p) and MTU2(q), comparing the sizes of MTU1(p) and MTU2(q), recording the larger value of MTU1(p) and MTU2(q) as MX2, and the smaller value as MS2, starting from the MS2 byte, taking the MS2 byte as the size of the current maximum transmission unit MTU and starting to transmit the remaining service instruction data, when a current After the service instruction data of the maximum transmission unit MTU is fragmented, the size of the current maximum transmission unit MTU is reset, wherein the size of the current maximum transmission unit MTU reset each time is the size of the current maximum transmission unit MTU plus ΔM. If the size of the current maximum transmission unit MTU plus ΔM is greater than MX2, the size of the current maximum transmission unit MTU is set to MX2, and the maximum transmission unit with the highest transmission efficiency within the range of MTU1 (p) and MTU2 (q) is obtained and recorded as the third fragmentation moderation value MTU3 (z), wherein the transmission efficiency is the ratio of the maximum transmission unit size to the transmission time; the variable e is used as the serial number of each maximum transmission unit MTU of different sizes, e∈[1 ,F], F is the number of maximum transmission units divided by the offset ΔM2 within the range of MS2 and MX2; MTU3 (e) is the e-th maximum transmission unit within the range of MS2 and MX2, and the transmission time of MTU3 (e) is obtained according to the maximum transmission units of different sizes; wherein, the method for obtaining the transmission time of MTU3 (e) is as follows: when sending a service instruction data fragment with MTU3 (e) as the current maximum transmission unit, record the current timestamp as the start time of sending the service instruction data fragment, and when the client receives the service instruction data fragment or the service instruction data fragment is confirmed, record Record the current timestamp as the end time of the service instruction data fragment transmission completion, and obtain the transmission time of MTU3(e) by calculating the difference between the start time and the end time; further record the transmission time of the service instruction data fragment sent with MTU3(e) as the current maximum transmission unit as t3(e), within the value range of e; calculate the transmission efficiency a3(e) of MTU3(e), where a3(e)=MTU3(e) / t3(e), compare the sizes of various a3(e), record the maximum value of the transmission efficiency a3(e) as z, and record MTU3(z) as the third fragmentation appropriateness value; S140, transmitting the remaining service instruction data according to the first fragmentation moderation value, the second fragmentation moderation value and the third fragmentation moderation value; wherein step S140 includes: creating a blank sequence, storing MTU1 (p), MTU2 (q) and MTU3 (z) in the blank sequence as an optimal MTU sequence, and recording the maximum transmission unit in the optimal MTU sequence as MTU4 (k), wherein k is the identifier of the maximum transmission unit in the optimal MTU sequence, k∈[1 ,3] Use the maximum transmission unit in the optimal MTU sequence in turn within the range of k to transmit the remaining business instruction data: S141, set the size of the current maximum transmission unit MTU to MTU4 (1) and start transmitting the remaining business instruction data; S142, after successfully sending a business instruction data fragment with a size of MTU4 (1), reset the size of the current maximum transmission unit MTU to MTU4 (2) and start transmitting the remaining business instruction data; S143, after successfully sending a business instruction data fragment with a size of MTU4 (2), reset the size of the current maximum transmission unit MTU to MTU4 (3) and start transmitting the remaining business instruction data; S144, after successfully sending a business instruction data fragment with a size of MTU4 (3), determine whether all the business instruction data has been sent. If so, jump to S145, if not, return to S141; S145, end the business instruction data transmission; S200, determining the next service node of the current service node according to a preset service process; S300, after processing the service instruction corresponding to the current service node, processing the service instruction corresponding to the next service node in the same page.

2. A multi-node processing method for independent service instructions according to claim 1, characterized in that: In step S100, the server segments the service instruction data, and the process of generating the service instruction data segments includes: The server fragments the data items of the data elements of the business instruction to generate multiple business instruction data fragments, wherein the fragmentation process includes: dividing the data items of the data elements of the entire business instruction into smaller data blocks suitable for network transmission according to the maximum transmission unit MTU of the server, and recording these smaller data blocks as business instruction data fragments.

3. The multi-node processing method for independent service instructions according to claim 1, characterized in that: In step S140, the method for transmitting the remaining service instruction data according to the first slice fitness value, the second slice fitness value and the third slice fitness value includes: transmitting the remaining service instruction data with the third slice fitness value as the maximum transmission unit MTU and the slice size.

4. A multi-node processing system for independent business instructions, characterized in that: The multi-node processing system for independent business instructions includes: a processor, a memory, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, it implements the steps in the multi-node processing method for independent business instructions described in any one of claims 1 to 3.

Citation Information

Patent Citations

  • Multi-service-node type service processing method and device

    CN106453462A

  • Fund data processing method and system

    CN118523871A