An information negotiation method, device and storage medium

By negotiating node identifiers and computing power through information negotiation methods, the problems of duplication and computing power mismatch caused by isolated node configurations in multi-party secure computation are solved, ensuring the normal operation of the system.

CN116781504BActive Publication Date: 2026-06-12CHINA MOBILE COMM LTD RES INST +1

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Filing Date
2022-03-11
Publication Date
2026-06-12

AI Technical Summary

Technical Problem

In the process of multi-party secure computing collaboration, the offline agreement on node configuration information leads to the isolation of online configuration work, which is prone to problems such as duplication, conflict and computing power mismatch, resulting in computing node configuration failure or system malfunction.

Method used

The information negotiation method between the first computing node and the second computing node includes receiving and sending service configuration information, performing format matching verification, and determining indication information to modify the identity identifier and computing power size to meet the service configuration conditions.

🎯Benefits of technology

It enables online coordination of node configuration, avoiding issues such as duplication, conflict, and computing power mismatch, and ensuring the normal operation of the multi-party secure computing system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116781504B_ABST
    Figure CN116781504B_ABST
Patent Text Reader

Abstract

The application discloses an information negotiation method and device and a storage medium. The method comprises the following steps: receiving first service configuration information sent by a second computing node; when it is determined that the first service configuration information satisfies a service configuration condition, determining first indication information according to the first service configuration information, and sending the first indication information to the second computing node; the first indication information is used for informing the second computing node to perform a configuration operation based on the first service configuration information; when it is determined that the first service configuration information does not satisfy the service configuration condition, determining second indication information according to the first service configuration information, and sending the second indication information to the second computing node; the second indication information is used for instructing the second computing node to modify the first service configuration information to obtain second service configuration information satisfying the service configuration condition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data services, and more particularly to an information negotiation method, apparatus, and storage medium. Background Technology

[0002] During multi-party secure computing collaboration, each participant must complete the network configuration of their respective node before collaborating. This mainly includes setting the participant's identity identifier (partID), registering network ports, and configuring routing.

[0003] The current configuration method mainly involves agreeing on the required information offline, and then implementing the relevant configuration online based on the agreed-upon information. For example, various identity identifiers (ID, Identity document) are mostly assigned offline, resulting in isolated online configuration tasks that are uncoordinated throughout the process.

[0004] If there are problems with adding or deleting nodes or offline agreements, it may lead to duplicate or conflicting configuration information of each node, mismatch of computing power (including wasted computing power, insufficient computing power, etc.), etc. This may result in failure of computing node configuration or failure of multi-party secure computing system operation, which in turn may cause problems in the execution of computing tasks. Summary of the Invention

[0005] In view of this, the main objective of the present invention is to provide an information negotiation method, apparatus and storage medium.

[0006] To achieve the above objectives, the technical solution of the present invention is implemented as follows:

[0007] This invention provides an information negotiation method applied to a first computing node, the method comprising:

[0008] Receive the first service configuration information sent by the second computing node;

[0009] When it is determined that the first service configuration information meets the service configuration conditions, a first indication information is determined based on the first service configuration information, and the first indication information is sent to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information;

[0010] When it is determined that the first service configuration information does not meet the service configuration conditions, a second indication information is determined based on the first service configuration information, and the second indication information is sent to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain a second service configuration information that meets the service configuration conditions.

[0011] The method in the above scheme further includes:

[0012] According to the preset business configuration information format requirements, the first business configuration information is subjected to format matching verification;

[0013] If the first service configuration information is determined to meet the preset service configuration information format requirements, then it is determined whether the first service configuration information meets the service configuration conditions.

[0014] In the above scheme, the first service configuration information includes: node identifier related data; the second indication information includes: identity identifier modification information;

[0015] When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including:

[0016] Extract node identifier-related data from the first service configuration information;

[0017] If the identity identifier in the node identifier related data is found to be the same as the identity identifier of the first computing node itself, identity identifier modification information is determined based on the first service configuration information; the identity identifier modification information is at least used to inform the second computing node to modify its own identity identifier.

[0018] In the above scheme, the first service configuration information includes: routing configuration information; the routing configuration information includes: computing power; the second indication information includes: computing power adjustment information;

[0019] When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including:

[0020] Extract the computing power from the first service configuration information;

[0021] The computing power information is matched with the computing power size according to the preset computing power conditions. If the computing power information does not match the computing power conditions, computing power adjustment information is determined according to the routing configuration information. The computing power adjustment information is used at least to inform the second computing node to modify the computing power size.

[0022] The method further includes:

[0023] Receive the modified first service configuration information sent by the second computing node; the modified first service configuration information includes at least the modified computing power.

[0024] The modified computing power is matched again according to the preset computing power conditions. If the modified computing power does not match the computing power conditions, the computing power adjustment information is determined again and sent to the second computing node until a computing power that matches the preset computing power conditions is determined.

[0025] This invention provides an information negotiation method applied to a second computing node, the method comprising:

[0026] The first service configuration information sent to the first computing node;

[0027] Receive the first instruction information or the second instruction information sent by the first computing node;

[0028] In response to receiving the first indication information sent by the first computing node, a configuration operation is performed according to the first service configuration information; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information.

[0029] In response to receiving the second indication information sent by the first computing node, the first service configuration information is modified according to the second indication information to obtain the second service configuration information that meets the service configuration conditions, and the configuration operation is performed according to the second service configuration information.

[0030] In the above scheme, the first service configuration information includes: node identifier related data;

[0031] The second indication information includes: identity modification information; the identity modification information is at least used to inform the second computing node to modify the identity.

[0032] The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions includes:

[0033] Modify your own identity based on the identity information.

[0034] In the above scheme, the first service configuration information may further include: cluster information; the cluster information includes: the total number of computing nodes contained in the cluster;

[0035] The step of modifying one's own identity identifier based on the identity identifier modification information includes:

[0036] The encoding rules are determined based on the cluster information; the encoding rules are used to limit the range of identity identifier settings.

[0037] Modify your own identity identifier according to the identity identifier modification information and the encoding rules.

[0038] In the above scheme, the first service configuration information includes: routing configuration information; the routing configuration information includes computing power.

[0039] The second indication information includes: computing power adjustment information; the computing power adjustment information is at least used to inform the second computing node to modify the computing power.

[0040] The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions includes:

[0041] Modify the computing power based on the computing power adjustment information;

[0042] The modified first service configuration information is sent to the first computing node; the modified first service configuration information includes at least the modified computing power.

[0043] This invention provides an information negotiation device applied to a first computing node, comprising: a first receiving module and a first processing module; wherein,

[0044] The first receiving module is used to receive the first service configuration information sent by the second computing node;

[0045] The first processing module is configured to determine first indication information based on the first service configuration information when it determines that the first service configuration information meets the service configuration conditions, and send the first indication information to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information.

[0046] When it is determined that the first service configuration information does not meet the service configuration conditions, a second indication information is determined based on the first service configuration information, and the second indication information is sent to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain a second service configuration information that meets the service configuration conditions.

[0047] In the above scheme, the first processing module is further configured to perform format matching verification on the first service configuration information according to the preset service configuration information format requirements;

[0048] If the first service configuration information is determined to meet the preset service configuration information format requirements, then it is determined whether the first service configuration information meets the service configuration conditions.

[0049] In the above scheme, the first service configuration information includes: node identifier related data; the second indication information includes: identity identifier modification information;

[0050] The first processing module is used to extract node identifier-related data from the first service configuration information;

[0051] If the identity identifier in the node identifier related data is found to be the same as the identity identifier of the first computing node itself, identity identifier modification information is determined based on the first service configuration information; the identity identifier modification information is at least used to inform the second computing node to modify its own identity identifier.

[0052] In the above scheme, the first service configuration information includes: routing configuration information; the routing configuration information includes: computing power; the second indication information includes: computing power adjustment information;

[0053] The first processing module is used to extract the computing power from the first service configuration information;

[0054] The computing power information is matched with the computing power size according to the preset computing power conditions. If the computing power information does not match the computing power conditions, computing power adjustment information is determined according to the routing configuration information. The computing power adjustment information is used at least to inform the second computing node to modify the computing power size.

[0055] The first processing module is further configured to receive modified first service configuration information sent by the second computing node; the modified first service configuration information includes at least the modified computing power.

[0056] The modified computing power is matched again according to the preset computing power conditions. If the modified computing power does not match the computing power conditions, the computing power adjustment information is determined again and sent to the second computing node until a computing power that matches the preset computing power conditions is determined.

[0057] This invention provides an information negotiation device applied to a second computing node, comprising: a second sending module, a second receiving module, and a second processing module; wherein,

[0058] The second sending module is used to send first service configuration information to the first computing node;

[0059] The second receiving module is used to receive the first indication information or the second indication information sent by the first computing node;

[0060] The second processing module is configured to perform a configuration operation based on the first service configuration information in response to receiving the first indication information sent by the first computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information.

[0061] In response to receiving the second indication information sent by the first computing node, the first service configuration information is modified according to the second indication information to obtain the second service configuration information that meets the service configuration conditions, and the configuration operation is performed according to the second service configuration information.

[0062] In the above scheme, the first service configuration information includes: node identifier related data;

[0063] The second indication information includes: identity modification information; the identity modification information is at least used to inform the second computing node to modify the identity.

[0064] The second processing module is used to modify its own identity identifier based on the identity identifier modification information.

[0065] In the above scheme, the first service configuration information may further include: cluster information; the cluster information includes: the total number of computing nodes contained in the cluster;

[0066] The second processing module is used to determine the encoding rules based on the cluster information; the encoding rules are used to limit the setting range of the identity identifier.

[0067] Modify your own identity identifier according to the identity identifier modification information and the encoding rules.

[0068] In the above scheme, the first service configuration information includes: routing configuration information; the routing configuration information includes computing power.

[0069] The second indication information includes: computing power adjustment information; the computing power adjustment information is at least used to inform the second computing node to modify the computing power.

[0070] The second processing module is used to modify the computing power based on the computing power adjustment information;

[0071] The modified first service configuration information is sent to the first computing node; the modified first service configuration information includes at least the modified computing power.

[0072] This invention provides an information negotiation device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of any of the methods described on a first computing node side; or, when the processor executes the program, it implements the steps of any of the methods described on a second computing node side.

[0073] This invention also provides a computer-readable storage medium storing a computer program thereon, wherein the computer program, when executed by a processor, implements the steps of any of the methods described in the first computing node; or, the computer program, when executed by a processor, implements the steps of any of the methods described in the second computing node.

[0074] This invention provides an information negotiation method, apparatus, and storage medium. The method includes: a first computing node receiving first service configuration information sent by a second computing node; when it is determined that the first service configuration information meets service configuration conditions, determining first indication information based on the first service configuration information and sending the first indication information to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information; when it is determined that the first service configuration information does not meet service configuration conditions, determining second indication information based on the first service configuration information and sending the second indication information to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain second service configuration information that meets the service configuration conditions.

[0075] Accordingly, the second computing node sends first service configuration information to the first computing node; receives first or second indication information from the first computing node; upon receiving the first indication information from the first computing node, performs a configuration operation based on the first service configuration information; upon receiving the second indication information from the first computing node, modifies the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions, and performs a configuration operation based on the second service configuration information.

[0076] In this way, the computing nodes (i.e., the first computing node and the second computing node) negotiate with each other through business configuration information to realize the information required for online configuration, and perform configuration operations based on the agreed information. In case of problems such as duplication, conflict, or mismatch of computing power, modifications can be made online to avoid the above problems. Attached Figure Description

[0077] Figure 1 A flowchart illustrating an information negotiation method provided in an embodiment of the present invention;

[0078] Figure 2 A flowchart illustrating another information negotiation method provided in an embodiment of the present invention;

[0079] Figure 3 This is a schematic diagram of the structure of an information negotiation device provided in an embodiment of the present invention;

[0080] Figure 4A schematic diagram of another information negotiation device provided in an embodiment of the present invention;

[0081] Figure 5 This is a schematic diagram of a node negotiation configuration mechanism provided in an embodiment of the present invention;

[0082] Figure 6 A flowchart illustrating a node negotiation method provided in an embodiment of the present invention;

[0083] Figure 7 A schematic diagram of a computing power matching mechanism provided in an embodiment of the present invention;

[0084] Figure 8 A flowchart illustrating a computing power negotiation method provided in an embodiment of the present invention;

[0085] Figure 9 This is a schematic diagram of another information negotiation device provided in an embodiment of the present invention. Detailed Implementation

[0086] The present invention will be further described in detail below with reference to the embodiments.

[0087] Figure 1 This is a flowchart illustrating an information negotiation method provided in an embodiment of the present invention; as shown below. Figure 1 As shown, the method can be applied to the first computing node; the method includes:

[0088] Step 101: Receive the first service configuration information sent by the second computing node;

[0089] Step 102: When it is determined that the first service configuration information meets the service configuration conditions, first indication information is determined based on the first service configuration information, and the first indication information is sent to the second computing node; the first indication information is used to inform the second computing node to perform configuration operations based on the first service configuration information.

[0090] Step 103: When it is determined that the first service configuration information does not meet the service configuration conditions, determine the second indication information based on the first service configuration information and send the second indication information to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain the second service configuration information that meets the service configuration conditions.

[0091] In this embodiment of the invention, the first computing node and the second computing node can negotiate and determine service configuration information (including first service configuration information or second service configuration information); the first computing node and the second computing node can be any computing node in a multi-party secure computing system. The first computing node can be understood as the receiver in the negotiation process, and the second computing node can be understood as the sender in the negotiation process.

[0092] The multi-party secure computation system includes compute nodes, data nodes, and a control node. Data nodes establish network connections with compute nodes based on communication addresses issued by the control node. Compute nodes may be deployed in one or more network environments independent of the control node, and their network configurations may be unknown to each other. The control node can send secure computation tasks to the corresponding compute nodes, enabling the compute nodes to cooperate and jointly execute the secure computation tasks.

[0093] In practical applications, over-reliance on offline agreed-upon business configuration information, such as various IDs, leads to isolated online configuration processes that are uncoordinated throughout. When duplicate or conflicting IDs exist between compute nodes, offline modifications are necessary. Therefore, a method for compute nodes to negotiate and determine various IDs is proposed.

[0094] Based on this, in some embodiments, the first service configuration information includes: node identifier related data; the second indication information includes: identity identifier modification information;

[0095] When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including:

[0096] Extract node identifier-related data from the first service configuration information;

[0097] If the identity identifier in the node identifier related data is found to be the same as the identity identifier of the first computing node itself, identity identifier modification information is determined based on the first service configuration information; the identity identifier modification information is at least used to inform the second computing node to modify the identity identifier.

[0098] The service configuration conditions include: the node identifier-related data of each computing node is not repeated; the node identifier-related data may include the node's identity document (ID).

[0099] Specifically, after the first computing node determines the node ID of the second computing node, it compares the node ID of the second computing node with its own node ID. If the two are the same, it considers that there is a duplication or conflict. Therefore, it can request the second computing node to modify its node ID. That is, the identity modification information is determined as a second indication information to inform the second computing node to modify its own identity.

[0100] For example, if the node IDs are determined to be unique after comparing them, the first indication information is determined; the first indication information may include: the ID of the second computing node, a "No" flag (a flag indicating whether there is an overlap or conflict, where "No" indicates that the node IDs do not conflict); the reserved extended number bits are empty.

[0101] If a duplicate node ID is determined, the overlapping conflict flag is marked as "Yes". At the same time, a number is added after the node ID. The added number after the own ID is "0" and the added number after the other party's ID is "1". The added number is stored in the reserved extended number reserve, which is the determined second indication information, including: node ID, Yes (i.e., node ID conflict, the overlapping conflict flag is filled with Yes); the reserved extended number reserve is filled with "the node ID of the first computing node - 0 (0 indicates that the node ID is the node ID of the first computing node itself), the ID of the second computing node - 1 (1 indicates that the node ID is the node ID of the second computing node)", so as to inform the second computing node to modify an ID that is different from the ID of the first computing node.

[0102] The unified format of the above information is determined offline through consultation among all parties involved in the multi-party computing task, and the data format is fixed.

[0103] The first service configuration information may further include: cluster information. The cluster information refers to the information about the cluster to which the computing node belongs, and the cluster information may include: the total number of computing nodes contained in the cluster.

[0104] When determining its own node ID, the second computing node can determine the number of computing nodes based on the cluster information, and then determine the encoding rule based on the number of computing nodes, and determine the node ID based on the encoding rule. For example, if the cluster information determines that there are 10 computing nodes, the encoding rule can be that the encoding range is between 1 and 10, and the node ID determined by any computing node in the cluster is any number between 1 and 10.

[0105] In practical applications, multi-party secure computation systems, when deployed with a large computing engine cluster, launch multiple computing nodes to execute multiple computational tasks. These nodes also interact with each other, resulting in a massive computational load that demands significant computing power. However, simply piling on hardware to increase computing power may lead to substantial performance waste in subsequent applications. Therefore, to ensure effective matching of computing power during the deployment of multi-party secure computation systems—guaranteeing performance requirements while avoiding hardware waste—a method is proposed where computing nodes negotiate the computing power they provide.

[0106] Based on this, in some embodiments, the first service configuration information includes: routing configuration information; the routing configuration information includes: computing power; the second indication information includes: computing power adjustment information;

[0107] When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including:

[0108] Extract the computing power from the first service configuration information;

[0109] The computing power information is matched with the computing power size according to the preset computing power conditions. If the computing power information does not match the computing power conditions, computing power adjustment information is determined according to the routing configuration information. The computing power adjustment information is used at least to inform the second computing node to modify the computing power size.

[0110] The method further includes:

[0111] Receive the modified first service configuration information sent by the second computing node; the modified first service configuration information includes at least the modified computing power.

[0112] The modified computing power is matched again according to the preset computing power conditions. If the modified computing power does not match the computing power conditions, the computing power adjustment information is determined again and sent to the second computing node until a computing power that matches the preset computing power conditions is determined.

[0113] The service configuration conditions include: the computing power provided by the second computing node matches the task requirements (including the required computing power) of the first computing node itself.

[0114] In one example, the routing configuration information may also include: computing power matching tags.

[0115] The computing power adjustment information is used to inform the second computing node to modify the computing power size, and may include at least one of the following: the computing power adjustment level, the computing power size required by the task, and the computing power adjustment level required by the computing task;

[0116] Among them, computing power refers to the amount of computing power provided by the computing node, that is, the current computing power supply.

[0117] The incremental adjustment of computing power refers to the incremental increase or decrease in computing power requested from the other party's computing node;

[0118] The computing power required for the task refers to the amount of computing power that is expected to be provided by the other computing node.

[0119] The increment of computing power required for the computing task refers to the increment of computing power that the computing node needs to increase or decrease to perform the computing task.

[0120] The increments can be pre-agreed or negotiated by each computing node, with different increment values ​​representing different increases or decreases in computing power.

[0121] When the second computing node sends routing configuration information to the first computing node for the first time, the computing power matching flag can be empty; the computing power size should be filled in based on the actual situation.

[0122] When the first computing node determines that the computing power is mismatched, it determines computing power adjustment information based on the routing configuration information. The determined computing power adjustment information may include: computing power matching flag, computing power adjustment level, computing power required for the task, and computing power adjustment level required for the computing task. Among them, the computing power required for the task is filled in based on the actual needs of the first computing node itself; the computing power matching flag corresponds to "no", indicating a mismatch; the computing power adjustment level corresponds to "the level value of requesting the other computing node to increase or decrease computing power adjustment"; the computing power adjustment level required for the computing task may correspond to "the level value of computing power that the computing node needs to increase or decrease to execute the computing task".

[0123] It should be noted that the first and second computing nodes act as the two parties negotiating and determining the business configuration information. When the first computing node can act as a computing power requester, the second computing node can act as a computing power provider. However, in actual applications, the first computing node may also be a computing power provider in different scenarios, and correspondingly, the second computing node may be a computing power requester. Therefore, the information sent by each computing node may differ depending on its role. For example, when the second computing node acts as a computing power provider, the first routing configuration information it sends includes the computing power size. When the second computing node acts as a party requesting computing power from other computing nodes (i.e., a computing power requester), it may receive the routing configuration information from other computing nodes, determine the computing power size it provides, and send computing power adjustment information according to task requirements to request the other party to modify the computing power size it provides. The computing power adjustment increments, the computing power size required by the task, and the computing power adjustment increments required for the computing task in the computing power adjustment information can be filled in based on its own actual needs.

[0124] In another example, the routing configuration information may include at least one of the following: computing power size, computing power matching flag, computing power adjustment level, computing power size required for task requirements, and computing power adjustment level required for computing tasks.

[0125] The computing power adjustment information may include at least one of the following: computing power size, computing power matching flag, computing power adjustment level, computing power size required for task requirements, and computing power adjustment level required for computing tasks.

[0126] That is, the routing configuration information and the computing power adjustment information include the same content, but both fill in the routing configuration information and computing power adjustment information based on their own identities (computing power demander or computing power provider).

[0127] For example, when a computing node acts as a computing power demander, the computing power matching flag, computing power adjustment level, computing power required for the task, and computing power adjustment level required for the computing task in the computing power adjustment information should be filled in based on the actual situation, while the computing power size should be empty or the computing power size provided by the other computing node; conversely, when a computing node acts as a computing power provider, the computing power matching flag and computing power size in the routing configuration information should be filled in based on the actual situation, while other content can be empty.

[0128] In the two examples above, the difference in computing power adjustment and the difference in computing power adjustment required by the computing task can be one or both. The purpose is to negotiate and adjust the computing power to meet the needs of the computing task.

[0129] Specifically, if a tiered approach to adjusting computing power is used to negotiate computing power, after each computing node has configured its routing, the computing power can be negotiated to determine the size. The first computing node first obtains and verifies the format of the routing configuration information of the second computing node. After successful verification, it reads the routing configuration information and uses the "computing power size" bit in the routing configuration information to determine the computing power provided by the second computing node, i.e., the computing power supply value. It compares the computing power supply value of the second computing node with its own stored computing task requirements. If it determines that the computing power supply value is less than (or greater than) the computing task requirements of this node, then the computing power matching flag is set to "No," the tiered approach to computing power adjustment is marked, and the routing request is returned. The second computing node receives the returned routing information (i.e., the computing power adjustment information), and based on the marked bit data, appropriately increases (or decreases) the computing power size within the adjustable range according to the tiered approach to increase (or decrease) computing power, updates the computing power supply value, then clears the marked bit data, and resends the routing request to repeat the negotiation communication process until the computing power and task requirements of both parties match. Then, this round of negotiation communication is successful, and the computing power matching flag is set to "Yes."

[0130] Similarly, if a tiered approach is used to adjust the computing power required for each task to achieve computing power negotiation, the computing power size can be negotiated and determined after each computing node has configured its routing. The first computing node first obtains and verifies the format of the routing configuration information of the second computing node. After successful verification, it reads the routing configuration information and determines the computing power provided by the second computing node, i.e., the computing power supply value, from the "computing power size" bit in the routing configuration information. It then compares the computing power supply value of the second computing node with its own stored computing task requirements. If the computing power supply value is less than (or greater than) the computing task requirements of this computing node, the computing power matching bit is marked as "no". The step-by-step bit for adjusting the computing power required for the computational task is marked. The first computing node of this side decreases (or increases) the computing power required for the computational task according to the step-by-step bit, updates the value of the computing power required for the computational task, and returns the routing request. The second computing node receives the returned routing information (i.e., computing power adjustment information), determines whether it matches. If it matches, the computing power matching bit is set to "yes", and the routing request is sent back. Otherwise, the computing power matching bit is not changed, and the routing is sent again to repeat the negotiation communication process until the computing power of both parties and the computing power required for the task match. Then the negotiation communication is successful, and the computing power matching bit is marked as "yes".

[0131] During the computing power negotiation and adjustment process, if the computing power of either party is reduced or the computing power required for the task is reduced to a certain range that cannot be increased (or decreased), the computing power value or the required value can be changed, and a new application can be initiated. The computing power matching bit will be marked as "0". When the other party's computing node receives the new application, it will confirm whether the computing power requirement value matches. If they do not match, the issue will be resolved through offline negotiation. If they match, the computing power matching bit will be marked as "yes", and the negotiation will be terminated.

[0132] In some embodiments, the method further includes:

[0133] According to the preset business configuration information format requirements, the first business configuration information is subjected to format matching verification;

[0134] If the first service configuration information is determined to meet the preset service configuration information format requirements, then it is determined whether the first service configuration information meets the service configuration conditions.

[0135] Thus, by verifying the format of the first service configuration information, it is determined whether the first service configuration information is valid, that is, whether the sender of the first service configuration information (i.e., the second computing node) is a computing node within the target cluster.

[0136] Here, a multi-party secure computation system can be built from a cluster of one or more computing nodes, which together perform one or more computation tasks.

[0137] Each cluster includes at least one or more computing nodes; the target cluster may be the cluster to which the first computing node belongs, or it may be other clusters within the multi-party secure computing system other than the cluster to which the first computing node belongs (i.e., other clusters that perform computing tasks with the first computing node).

[0138] Figure 2 A flowchart illustrating another information negotiation method provided in an embodiment of the present invention; as shown Figure 2 As shown, the method can be applied to a second computing node; the method includes:

[0139] Step 201: Send the first service configuration information to the first computing node;

[0140] Step 202: Receive the first instruction information or the second instruction information sent by the first computing node;

[0141] Step 203: In response to receiving the first indication information sent by the first computing node, perform a configuration operation based on the first service configuration information; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information.

[0142] Step 204: In response to receiving the second indication information sent by the first computing node, modify the first service configuration information according to the second indication information to obtain the second service configuration information that meets the service configuration conditions, and perform the configuration operation according to the second service configuration information.

[0143] In some embodiments, the first service configuration information includes: node identifier related data;

[0144] The second indication information includes: identity modification information; the identity modification information is at least used to inform the second computing node to modify the identity.

[0145] The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions includes:

[0146] Modify your own identity based on the identity information.

[0147] The first service configuration information may further include: cluster information; the cluster information may include: the total number of computing nodes contained in the cluster.

[0148] The step of modifying one's own identity identifier based on the identity identifier modification information includes:

[0149] The encoding rules are determined based on the cluster information; the encoding rules are used to limit the range of identity identifier settings.

[0150] Modify your own identity identifier according to the identity identifier modification information and the encoding rules.

[0151] Specifically, the cluster information refers to the information of the cluster to which the computing node belongs, and the cluster information may include: the total number of computing nodes contained in the cluster.

[0152] When determining its own node ID, the second computing node can determine the number of computing nodes based on the cluster information, and then determine the encoding rule based on the number of computing nodes, and determine the node ID based on the encoding rule. For example, if the cluster information determines that there are 10 computing nodes, the encoding rule can be that the set range of the identity identifier is limited to 1-10, and the node ID determined by any computing node in the cluster is any number between 1 and 10.

[0153] After the second computing node modifies its own identity, it can send the modified identity (i.e., node ID) back to the first computing node. The first computing node will then perform a matching process to ensure that the identity is not duplicated (not conflicting) before sending the first instruction information to the second node.

[0154] It should be noted that the second computing node may negotiate with multiple computing nodes. When negotiating with multiple computing nodes, it needs to modify its own identity to be unique among the identity of each of the other computing nodes. This process can be a round-robin process, in which multiple computing nodes negotiate with each other to determine their respective identity.

[0155] In some embodiments, the first service configuration information includes: routing configuration information; the routing configuration information includes computing power.

[0156] The second indication information includes: computing power adjustment information; the computing power adjustment information is at least used to inform the second computing node to modify the computing power.

[0157] The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions includes:

[0158] Adjust the computing power based on the computing power adjustment information;

[0159] The modified first service configuration information is sent to the first computing node; the modified first service configuration information includes at least the modified computing power.

[0160] In one example, the routing configuration information may further include: a computing power matching tag;

[0161] The computing power adjustment information is used to inform the second computing node to modify the computing power size, and may include at least one of the following: the computing power size required for the task, the increment of computing power adjustment, and the increment of computing power adjustment required for the computing task.

[0162] Among them, computing power refers to the amount of computing power provided by the computing node, that is, the current computing power supply.

[0163] The computing power required for the task refers to the amount of computing power that is expected to be provided by the other computing node.

[0164] The incremental adjustment of computing power refers to the incremental increase or decrease in computing power requested from the other party's computing node;

[0165] The increment of computing power required for the computing task refers to the increment of computing power that the computing node needs to increase or decrease to perform the computing task.

[0166] The increments can be pre-agreed or negotiated by each computing node, with different increment values ​​representing different increases or decreases in computing power.

[0167] When the second computing node sends routing configuration information to the first computing node for the first time, the computing power matching flag can be empty; the computing power size should be filled in based on the actual situation.

[0168] When the first computing node determines that the computing power is mismatched, it determines computing power adjustment information based on the routing configuration information. The determined computing power adjustment information may include: computing power matching flag, computing power required for the task, computing power adjustment increment, and computing power adjustment increment required for the computing task. Among them, the computing power required for the task is filled in based on the actual needs of the first computing node itself; the computing power matching flag is "No", indicating a mismatch; the computing power adjustment increment corresponds to "the increment value of the computing power adjustment requested from the other computing node to increase or decrease"; the computing power adjustment increment required for the computing task may correspond to "the increment value of the computing power that the computing node needs to increase or decrease to execute the computing task".

[0169] It should be noted that the first and second computing nodes act as the two parties negotiating and determining the business configuration information. When the first computing node can act as a computing power requester, the second computing node can act as a computing power provider. However, in actual applications, the first computing node may also act as a computing power provider in different scenarios, and correspondingly, the second computing node may act as a computing power requester. Therefore, the information sent by each computing node may differ depending on its role. For example, when the second computing node acts as a computing power provider, the first routing configuration information it sends includes the computing power size. When the second computing node acts as a party requesting computing power from other computing nodes (i.e., a computing power requester), it may receive the routing configuration information from other computing nodes, determine the computing power size they provide, and send computing power adjustment information according to task requirements to request the other party to modify the computing power size it provides. The computing power adjustment increments, the computing power size required by the task, and the computing power adjustment increments required for the computing task in the computing power adjustment information can be filled in based on its own actual needs.

[0170] In another example, the routing configuration information may include at least one of the following: computing power size, computing power matching flag, computing power adjustment level, computing power size required for task requirements, and computing power adjustment level required for computing tasks.

[0171] The computing power adjustment information may include at least one of the following: computing power size, computing power matching flag, computing power adjustment level, computing power size required for task requirements, and computing power adjustment level required for computing tasks.

[0172] That is, the routing configuration information and the computing power adjustment information include the same content, but both fill in the routing configuration information and computing power adjustment information based on their own identities (computing power demander or computing power provider).

[0173] For example, when a computing node acts as a computing power demander, the computing power matching flag, computing power adjustment level, computing power required for the task, and computing power adjustment level required for the computing task in the computing power adjustment information should be filled in based on the actual situation, while the computing power size can be empty or the computing power size provided by the other computing node; conversely, when a computing node acts as a computing power provider, the computing power matching flag and computing power size in the routing configuration information should be filled in based on the actual situation, while other content can be empty.

[0174] In the two examples above, the difference in computing power adjustment and the difference in computing power adjustment required by the computing task can be one or both. The purpose is to negotiate and adjust the computing power to meet the needs of the computing task.

[0175] After adjusting the computing power as needed, the second computing node obtains new routing configuration information. It can then send the new routing configuration information back to the first computing node for verification. This process is repeated until the first computing node determines that the computing power is matched and sends the first indication information to the second node.

[0176] It should be noted that the second computing node may negotiate with multiple computing nodes. In the case of negotiation with multiple computing nodes, this process can be a round-robin process, in which each computing node among the multiple computing nodes determines its most suitable computing power size, i.e., computing power supply value, through multiple negotiations.

[0177] In some embodiments, the configuration operation includes:

[0178] The network is configured and a communication network is established based on preset routing rules, preset port configuration rules, the node ID of the second computing node, and the computing power provided by the second computing node.

[0179] Here, the preset routing rules and preset port configuration rules can be pre-set and stored in each computing node. The routing rules and port configuration rules are used to describe how two computing nodes communicate with each other. No further limitations are imposed here.

[0180] In practical applications, after each computing node completes its configuration, the business configuration information can be placed on the control node so that the control node can know the status and relationship of each computing node, and so that administrators can query the status and relationship of the computing nodes through the control node.

[0181] Based on this, in some embodiments, the method further includes:

[0182] Send third service configuration information to the control node; the third service configuration information includes first service configuration information that meets the service configuration conditions, or second service configuration information that meets the service configuration conditions.

[0183] Figure 3 This is a schematic diagram of the structure of an information processing device provided in an embodiment of the present invention; as shown below. Figure 3 As shown, the device is applied to a first computing node and includes: a first receiving module and a first processing module; wherein,

[0184] The first receiving module is used to receive the first service configuration information sent by the second computing node;

[0185] The first processing module is configured to determine first indication information based on the first service configuration information when it determines that the first service configuration information meets the service configuration conditions, and send the first indication information to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information.

[0186] When it is determined that the first service configuration information does not meet the service configuration conditions, a second indication information is determined based on the first service configuration information, and the second indication information is sent to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain a second service configuration information that meets the service configuration conditions.

[0187] In some embodiments, the first processing module is further configured to perform format matching verification on the first service configuration information according to preset service configuration information format requirements;

[0188] If the first service configuration information is determined to meet the preset service configuration information format requirements, then it is determined whether the first service configuration information meets the service configuration conditions.

[0189] In some embodiments, the first service configuration information includes: node identifier related data; the second indication information includes: identity identifier modification information;

[0190] The first processing module is used to extract node identifier-related data from the first service configuration information;

[0191] If the identity identifier in the node identifier related data is found to be the same as the identity identifier of the first computing node itself, identity identifier modification information is determined based on the first service configuration information; the identity identifier modification information is at least used to inform the second computing node to modify its own identity identifier.

[0192] In some embodiments, the first service configuration information includes: routing configuration information; the routing configuration information includes: computing power; the second indication information includes: computing power adjustment information;

[0193] The first processing module is used to extract the computing power from the first service configuration information;

[0194] The computing power information is matched with the computing power size according to the preset computing power conditions. If the computing power information does not match the computing power conditions, computing power adjustment information is determined according to the routing configuration information. The computing power adjustment information is used at least to inform the second computing node to modify the computing power size.

[0195] The first processing module is further configured to receive modified first service configuration information sent by the second computing node; the modified first service configuration information includes at least the modified computing power.

[0196] The modified computing power is matched again according to the preset computing power conditions. If the modified computing power does not match the computing power conditions, the computing power adjustment information is determined again and sent to the second computing node until a computing power that matches the preset computing power conditions is determined.

[0197] It should be noted that the information negotiation device provided in the above embodiments is only illustrated by the division of the above program modules when implementing the corresponding information negotiation method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the first computing node can be divided into different program modules to complete all or part of the processing described above. In addition, the device and the corresponding method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0198] Figure 4 This is a schematic diagram of another information processing device provided in an embodiment of the present invention; as shown below. Figure 4 As shown, the device is applied to a second computing node and includes: a second transmitting module, a second receiving module, and a second processing module; wherein,

[0199] The second sending module is used to send first service configuration information to the first computing node;

[0200] The second receiving module is used to receive the first indication information or the second indication information sent by the first computing node;

[0201] The second processing module is configured to perform a configuration operation based on the first service configuration information in response to receiving the first indication information sent by the first computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information.

[0202] In response to receiving the second indication information sent by the first computing node, the first service configuration information is modified according to the second indication information to obtain the second service configuration information that meets the service configuration conditions, and the configuration operation is performed according to the second service configuration information.

[0203] In some embodiments, the first service configuration information includes: node identifier related data;

[0204] The second indication information includes: identity modification information; the identity modification information is at least used to inform the second computing node to modify the identity.

[0205] The second processing module is used to modify its own identity identifier based on the identity identifier modification information.

[0206] In some embodiments, the first service configuration information may further include: cluster information; the cluster information includes: the total number of computing nodes contained in the cluster;

[0207] The second processing module is used to determine the encoding rules based on the cluster information; the encoding rules are used to limit the setting range of the identity identifier.

[0208] Modify your own identity identifier according to the identity identifier modification information and the encoding rules.

[0209] In some embodiments, the first service configuration information includes: routing configuration information; the routing configuration information includes computing power.

[0210] The second indication information includes: computing power adjustment information; the computing power adjustment information is at least used to inform the second computing node to modify the computing power.

[0211] The second processing module is used to modify the computing power based on the computing power adjustment information;

[0212] The modified first service configuration information is sent to the first computing node; the modified first service configuration information includes at least the modified computing power.

[0213] It should be noted that the information negotiation device provided in the above embodiments is only illustrated by the division of the above program modules when implementing the corresponding information negotiation method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the second computing node can be divided into different program modules to complete all or part of the processing described above. In addition, the device and the corresponding method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.

[0214] Figure 5 This is a schematic diagram of a node negotiation configuration mechanism provided in an embodiment of the present invention; as shown. Figure 5 As shown, any computing node can adopt a node negotiation configuration mechanism; the node negotiation configuration mechanism specifically includes: a node access mechanism, a node listening negotiation mechanism, and a node configuration mechanism. Through this node negotiation configuration mechanism, computing nodes in a multi-party secure computing system can collaboratively configure their own configuration information online, ensuring that the configuration information does not conflict.

[0215] The following sections explain the node access mechanism, node listening negotiation mechanism, and node configuration mechanism.

[0216] The node access mechanism is used to send its own service configuration information to other computing nodes (i.e., the second computing node mentioned above), and / or receive service configuration information sent by other computing nodes.

[0217] The business configuration information includes: cluster information (including cluster identifier, total number of computing nodes in the cluster, etc.), computing power, increments for increasing or decreasing computing power, and increments for increasing or decreasing computing power required for the computing task. In addition to the above data, the business configuration information also includes a verification flag, which is used to identify node-related data. Specifically, the node-related data includes: the computing node ID, a flag indicating whether IDs overlap or conflict, and reserved extended numeric bits. The format of each data item in the business configuration information can be predefined, specifically determined offline through negotiation among the parties involved in the multi-party secure computing task, and the data format is fixed.

[0218] The node listening negotiation mechanism is used to realize functions such as node sniffing, receiving and listening, matching and coordinating.

[0219] Specifically, the node sniffing function is used to detect and identify other computing nodes that are within its communication range and in a communication state.

[0220] By receiving and listening functions, service configuration information sent by other computing nodes can be detected and received in a timely manner.

[0221] The configuration information is negotiated through a matching and coordination function. Specifically, after receiving service configuration information from other computing nodes, the received service configuration information undergoes format matching verification. If the received service configuration information passes the format matching verification, it is deemed valid, and the computing node corresponding to the received service configuration information is confirmed to belong to the current computing cluster, allowing further configuration operations to proceed. This can be understood as the listening and negotiation module, upon receiving service configuration information, first verifying the identity of the second computing node that sent the service configuration information based on its format to determine its legitimacy (i.e., whether it can jointly execute secure computing tasks). If the format matching verification passes, the second computing node is deemed legitimate, i.e., it is determined to be the computing node required to execute secure computing tasks. After confirming that the format matching verification has passed, the node ID is negotiated based on the received service configuration information.

[0222] The node configuration mechanism is used to perform network configuration and establish communication networks based on a defined node ID.

[0223] Here, node ID negotiation is performed based on the received service configuration information. This includes comparing the node ID in the received service configuration information with the user's own node ID. If they are not duplicated, the conflict flag is marked as "no". If they are duplicated, they are marked as "yes", and a digit is added to the end of the ID, with "0" for the user and "1" for the other party. The added digit is stored in the reserved bit of the extended digit. This node ID serves as an important reference for all flag information in the configuration information.

[0224] In this way, the node negotiation configuration module of each computing node enables matching and coordination between computing nodes, ensuring that various identification information (such as node ID) of each computing node does not conflict.

[0225] Figure 6 This is a flowchart illustrating a node negotiation method provided in an embodiment of the present invention; as shown below. Figure 6 As shown, the node access mechanism is used to obtain the service configuration information of other computing nodes; the node listening negotiation mechanism is used to negotiate the service configuration information, mainly including the negotiation of node IDs; and the node configuration mechanism is used to configure the network based on the determined node IDs in order to establish a communication network.

[0226] After the communication network is established, each computing node can also send its final service configuration information to the control node.

[0227] Figure 7 This is a schematic diagram of a computing power matching mechanism provided in an embodiment of the present invention; as shown. Figure 7 As shown, the computing power matching mechanism includes: dynamic routing mechanism, communication protocol configuration mechanism, and node port configuration mechanism.

[0228] The dynamic routing mechanism is used to negotiate the computing power among computing nodes and determine the computing power supply they provide. For example... Figure 8As shown, the negotiation process includes: receiving routing configuration information sent by the other computing node and reading the computing power size from it; when the computing power size of the other computing node does not match the task requirements, determining computing power adjustment information, which is used to request the other computing node to adjust the computing power size. The computing power adjustment information may include: computing power size, computing power matching flag, computing power size required for the task, computing power adjustment increment, and computing power adjustment increment required for the computing task; wherein, the computing power size can be the computing power size in the routing configuration information and remains unchanged; the computing power size required for the task is filled in based on the actual needs of the first computing node; the computing power matching flag corresponds to "no", indicating a mismatch; the computing power adjustment increment corresponds to "the increment value of the computing power adjustment requested from the other computing node to increase or decrease"; the computing power adjustment increment required for the computing task can correspond to "the increment value of the computing power that the computing node still needs to increase or decrease to execute the computing task". When the computing power size of the other computing node matches the task requirements, determining the computing power size to be provided.

[0229] The routing configuration information has a fixed format and can be negotiated offline in advance. The routing configuration information includes: computing power information bits, which are specifically used to mark the computing power required by computing nodes. The computing power information bits can be used to store the following information: computing power size, computing power matching flag (i.e., marking whether the computing power size matches the task requirements), computing power size required by the task requirements, the increment of computing power increase (or decrease), the increment of computing power increase (or decrease) adjustment for the computing task, and the total number of computing nodes in the cluster.

[0230] The communication protocol configuration mechanism is used to determine the total number of computing nodes based on cluster information according to a preset configuration mechanism, to agree on encoding rules based on the total number of computing nodes, to determine the identity of each computing node, and thus to determine the communication protocol configuration between the computing nodes. For example, the communication protocol configuration mechanism can adopt... Figure 5 The node negotiation configuration mechanism is shown.

[0231] The node port configuration mechanism is used to configure ports according to the pre-defined port settings between each computing node, determine routing rules, and establish a communication network based on the determined routing rules.

[0232] The computing power matching mechanism facilitates the negotiation of computing power among computing nodes, thus determining the computing power contribution of each node. Furthermore, each computing node can send its final determined computing power contribution to the control node.

[0233] Figure 9 This is a schematic diagram of the structure of another information negotiation device provided in an embodiment of the present invention, as shown below. Figure 9As shown, the information negotiation device 90 includes: a processor 901 and a memory 902 for storing computer programs that can run on the processor;

[0234] The information negotiation device is applied to a first computing node. When the processor 901 runs the computer program, it performs the following actions: receiving first service configuration information sent by a second computing node; when it is determined that the first service configuration information meets the service configuration conditions, determining first indication information based on the first service configuration information and sending the first indication information to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information; when it is determined that the first service configuration information does not meet the service configuration conditions, determining second indication information based on the first service configuration information and sending the second indication information to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain second service configuration information that meets the service configuration conditions. Specifically, the information negotiation device can also perform the following actions: Figure 1 The method shown is the same as Figure 1 The information negotiation method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0235] The information negotiation device is applied to the second computing node. When the processor 901 runs the computer program, it performs the following actions: sending first service configuration information to the first computing node; receiving first or second instruction information from the first computing node; corresponding to receiving the first instruction information from the first computing node, performing a configuration operation based on the first service configuration information; the first instruction information is used to inform the second computing node to perform a configuration operation based on the first service configuration information; corresponding to receiving the second instruction information from the first computing node, modifying the first service configuration information according to the second instruction information to obtain second service configuration information that meets the service configuration conditions, and performing a configuration operation based on the second service configuration information. Specifically, the information negotiation device can also perform the following actions: Figure 2 The method shown is the same as Figure 2 The information negotiation method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0236] In practical applications, the information negotiation device 90 may further include at least one network interface 903. The various components in the information negotiation device 90 are coupled together via a bus system 904. It is understood that the bus system 904 is used to implement communication between these components. In addition to a data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in... Figure 9All buses are labeled as bus system 904. The number of processors 901 can be at least one. Network interface 903 is used for wired or wireless communication between information negotiation device 90 and other devices.

[0237] The memory 902 in this embodiment of the invention is used to store various types of data to support the operation of the information negotiation device 90.

[0238] The methods disclosed in the above embodiments of the present invention can be applied to or implemented by processor 901. Processor 901 may be an integrated circuit chip with signal processing capabilities. In implementation, each step of the above method can be completed by the integrated logic circuit of the hardware in processor 901 or by instructions in software form. The processor 901 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Processor 901 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present invention can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in memory 902. Processor 901 reads the information in memory 902 and combines its hardware to complete the steps of the aforementioned method.

[0239] In an exemplary embodiment, the information negotiation device 90 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0240] This invention also provides a computer-readable storage medium having a computer program stored thereon;

[0241] The computer-readable storage medium is applied to a first computing node. When the computer program is executed by a processor, it performs the following: receiving first service configuration information sent by a second computing node; when it is determined that the first service configuration information meets the service configuration conditions, determining first indication information based on the first service configuration information and sending the first indication information to the second computing node; the first indication information is used to instruct the second computing node to perform a configuration operation based on the first service configuration information; when it is determined that the first service configuration information does not meet the service configuration conditions, determining second indication information based on the first service configuration information and sending the second indication information to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain second service configuration information that meets the service configuration conditions. Specifically, the computer program can also perform the following: Figure 1 The method shown is the same as Figure 1 The information negotiation method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0242] The computer-readable storage medium is applied to the second computing node. When the computer program is executed by the processor, it performs the following: sending first service configuration information to the first computing node; receiving first or second instruction information sent by the first computing node; performing a configuration operation based on the first service configuration information in response to receiving the first instruction information sent by the first computing node; the first instruction information is used to inform the second computing node to perform a configuration operation based on the first service configuration information; and modifying the first service configuration information to obtain second service configuration information that meets the service configuration conditions in response to receiving the second instruction information sent by the first computing node, and performing a configuration operation based on the second service configuration information. Specifically, the computer program can also perform the following: Figure 2 The method shown is the same as Figure 2 The information negotiation method embodiments shown belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0243] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or units can be electrical, mechanical, or other forms.

[0244] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to achieve the purpose of this embodiment according to actual needs.

[0245] In addition, in the various embodiments of the present invention, each functional unit can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be implemented in hardware or in the form of hardware plus software functional units.

[0246] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0247] Alternatively, if the integrated units of this invention are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROM, RAM, magnetic disks, or optical disks.

[0248] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0249] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.

[0250] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. An information negotiation method, characterized in that, Applied to the first computing node, the method includes: Receive the first service configuration information sent by the second computing node; When it is determined that the first service configuration information meets the service configuration conditions, a first indication information is determined based on the first service configuration information, and the first indication information is sent to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information; When it is determined that the first service configuration information does not meet the service configuration conditions, a second indication information is determined based on the first service configuration information, and the second indication information is sent to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain a second service configuration information that meets the service configuration conditions. The first service configuration information includes: node identifier related data; the second indication information includes: identity identifier modification information; When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including: Extract node identifier-related data from the first service configuration information; If the identity identifier in the node identifier related data is found to be the same as the identity identifier of the first computing node itself, identity identifier modification information is determined based on the first service configuration information; the identity identifier modification information is at least used to inform the second computing node to modify its own identity identifier.

2. The method according to claim 1, characterized in that, The method further includes: According to the preset business configuration information format requirements, the first business configuration information is subjected to format matching verification; If the first service configuration information is determined to meet the preset service configuration information format requirements, then it is determined whether the first service configuration information meets the service configuration conditions.

3. The method according to claim 1, characterized in that, The first service configuration information further includes: routing configuration information; the routing configuration information further includes: computing power; the second indication information further includes: computing power adjustment information; When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including: Extract the computing power from the first service configuration information; The computing power information is matched with the computing power size according to the preset computing power conditions. If the computing power information does not match the computing power conditions, computing power adjustment information is determined according to the routing configuration information. The computing power adjustment information is used at least to inform the second computing node to modify the computing power size. The method further includes: Receive the modified first service configuration information sent by the second computing node; the modified first service configuration information includes at least the modified computing power. The modified computing power is matched again according to the preset computing power conditions. If the modified computing power does not match the computing power conditions, the computing power adjustment information is determined again and sent to the second computing node until a computing power that matches the preset computing power conditions is determined.

4. An information negotiation method, characterized in that, Applied to a second computing node, the method includes: The first service configuration information sent to the first computing node; Receive the first instruction information or the second instruction information sent by the first computing node; In response to receiving the first indication information sent by the first computing node, a configuration operation is performed according to the first service configuration information; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information. In response to receiving the second indication information sent by the first computing node, the first service configuration information is modified according to the second indication information to obtain the second service configuration information that meets the service configuration conditions, and the configuration operation is performed according to the second service configuration information; The first service configuration information includes: node identifier related data; The second indication information includes: identity modification information; the identity modification information is at least used to inform the second computing node to modify the identity. The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions includes: Modify your own identity based on the identity information.

5. The method according to claim 4, characterized in that, The first service configuration information may further include: cluster information; the cluster information includes: the total number of computing nodes contained in the cluster; The step of modifying one's own identity identifier based on the identity identifier modification information includes: The encoding rules are determined based on the cluster information; the encoding rules are used to limit the range of identity identifier settings. Modify your own identity identifier according to the identity identifier modification information and the encoding rules.

6. The method according to claim 4, characterized in that, The first service configuration information further includes: routing configuration information; the routing configuration information includes computing power. The second indication information also includes: computing power adjustment information; the computing power adjustment information is at least used to inform the second computing node to modify the computing power. The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions further includes: Modify the computing power based on the computing power adjustment information; The modified first service configuration information is sent to the first computing node; the modified first service configuration information includes at least the modified computing power.

7. An information negotiation device, characterized in that, Applied to the first computing node, it includes: a first receiving module and a first processing module; wherein, The first receiving module is used to receive the first service configuration information sent by the second computing node; The first processing module is configured to determine first indication information based on the first service configuration information when it determines that the first service configuration information meets the service configuration conditions, and send the first indication information to the second computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information. When it is determined that the first service configuration information does not meet the service configuration conditions, a second indication information is determined based on the first service configuration information, and the second indication information is sent to the second computing node; the second indication information is used to instruct the second computing node to modify the first service configuration information to obtain a second service configuration information that meets the service configuration conditions. The first service configuration information includes: node identifier related data; the second indication information includes: identity identifier modification information; When it is determined that the first service configuration information does not meet the service configuration conditions, the second indication information is determined based on the first service configuration information, including: Extract node identifier-related data from the first service configuration information; If the identity identifier in the node identifier related data is found to be the same as the identity identifier of the first computing node itself, identity identifier modification information is determined based on the first service configuration information; the identity identifier modification information is at least used to inform the second computing node to modify its own identity identifier.

8. An information negotiation device, characterized in that, Applied to the second computing node, it includes: a second transmitting module, a second receiving module, and a second processing module; wherein, The second sending module is used to send first service configuration information to the first computing node; The second receiving module is used to receive the first indication information or the second indication information sent by the first computing node; The second processing module is configured to perform a configuration operation based on the first service configuration information in response to receiving the first indication information sent by the first computing node; the first indication information is used to inform the second computing node to perform a configuration operation based on the first service configuration information. In response to receiving the second indication information sent by the first computing node, the first service configuration information is modified according to the second indication information to obtain the second service configuration information that meets the service configuration conditions, and the configuration operation is performed according to the second service configuration information; The first service configuration information includes: node identifier related data; The second indication information includes: identity modification information; the identity modification information is at least used to inform the second computing node to modify the identity. The step of modifying the first service configuration information according to the second indication information to obtain second service configuration information that meets the service configuration conditions includes: Modify your own identity based on the identity information.

9. An information negotiation device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 3; or... When the processor executes the program, it implements the steps of the method according to any one of claims 4 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 3; or... When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 4 to 6.