Logic calculation model generation method and device based on multi-party security calculation
The model component combination and parameter generation are carried out through the model generation interface, which solves the problem of insufficient user familiarity under the traditional manual input logic calculation formula method, and improves the convenience and accuracy of multi-party security calculation model generation.
Patent Information
- Application Number
- CN202411972252.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-25
AI Technical Summary
The traditional manual input logic calculation formula method requires users to be familiar with the programming logic of multi-party secure computing (MPC), resulting in low accuracy and rate of users who are not familiar with MPC logic when generating models.
By providing a model generation interface, users can select model components in the tool area and combine components in the work area, generate logical calculation models and their parameters, and bind them and publish them, so that the demanding party can participate in multi-party security logic calculations.
The convenience, efficiency and accuracy of the generation of multi-party security computing logic computing models has been improved, so that users who are not familiar with MPC programming logic can also generate applicable logic computing models.
Smart Images

Figure CN119883234A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a method and device for generating a logical computing model based on multi-party secure computing. Background Art
[0002] In privacy-preserving computing systems, application functions based on multi-party computing (MPC) are usually provided. When creating a policy project for multi-party computing, it usually includes three processes: model development, model deployment, and model release.
[0003] In the process of model development, it is necessary to edit the model's logical calculation formula, and the traditional method of manually inputting the logical calculation formula requires users to be familiar with the MPC programming logic. This method is not convenient for users who do not understand the MPC programming logic, resulting in low accuracy and speed of MPC model generation. Summary of the invention
[0004] The present invention provides a method and device for generating a logical computing model based on multi-party secure computing, so as to improve the convenience of generating a logical computing model based on multi-party secure computing, and to improve the efficiency and accuracy of model generation.
[0005] According to one aspect of the present invention, a method for generating a logical computing model based on multi-party secure computing is provided, the method comprising:
[0006] In response to a selection operation of at least one model component by an operating user in a tool area of a model generation interface, displaying each of the model components in a working area of the model generation interface, so that the operating user can combine each of the model components in the working area to obtain a combined model component;
[0007] Generate a logical calculation model and its corresponding model parameters according to the combined model components;
[0008] The logic computing model and the model parameters are bound and then published, so that the model demander can select computing participants who participate in the logic computing based on the published logic computing model and model parameters, thereby performing multi-party secure logic computing.
[0009] According to another aspect of the present invention, there is provided a device for generating a logic computing model based on multi-party secure computing, the device comprising:
[0010] An operation response module, for responding to a selection operation of at least one model component by an operating user in a tool area of a model generation interface, displaying each of the model components in a working area of the model generation interface, so that the operating user can combine each of the model components in the working area to obtain a combined model component;
[0011] A model generation module, used to generate a logical calculation model and its corresponding model parameters according to the combined model components;
[0012] The parameter binding module is used to bind the logical computing model and the model parameters and then publish them, so that the model demander can select computing participants participating in the logical computing based on the published logical computing model and model parameters, thereby performing multi-party secure logical computing.
[0013] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating a logical computing model based on multi-party secure computing described in any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a logical computing model based on multi-party secure computing described in any embodiment of the present invention when executed.
[0018] According to another aspect of the present invention, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, the method for generating a logical computing model based on multi-party secure computing is implemented.
[0019] The technical solution of the embodiment of the present invention combines model components in response to the selection operation of the operating user on the model components to obtain a combined model component, generates a logical calculation model and its corresponding model parameters according to the combined model component, binds the logical calculation model and the model parameters and publishes them, so that the model demander can select the computing participants who participate in the logical calculation based on the published logical calculation model and model parameters to perform multi-party secure logical calculation. The above technical solution generates the logical calculation model in the form of model components during the multi-party secure logical calculation process, so that operating users who are not familiar with the MPC programming logic can also generate corresponding logical calculation models based on their own needs, thereby improving the convenience of generating logical calculation models based on multi-party secure calculations, and improving the efficiency and accuracy of model generation.
[0020] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1A is a flow chart of a method for generating a logical computing model based on multi-party secure computing according to Embodiment 1 of the present invention;
[0023] Figure 1B This is a schematic diagram of a region display of a model generation interface provided according to the first embodiment of the present invention;
[0024] Figure 2 is a flow chart of a method for generating a logical computing model based on multi-party secure computing according to Embodiment 2 of the present invention;
[0025] Figure 3 It is a structural schematic diagram of a logical computing model generation device based on multi-party secure computing provided according to Embodiment 3 of the present invention;
[0026] Figure 4 It is a structural schematic diagram of an electronic device that implements the method for generating a logical computing model based on multi-party secure computing according to an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] Embodiment 1
[0030] Figure 1A The flowchart of a method for generating a logical computing model based on multi-party secure computing provided in the first embodiment of the present invention is applicable to the case where a logical computing model is generated and published in a multi-party secure computing scenario. The method can be executed by a logical computing model generating device based on multi-party secure computing. The logical computing model generating device based on multi-party secure computing can be implemented in the form of hardware and / or software. The logical computing model generating device based on multi-party secure computing can be configured in an electronic device. Figure 1A As shown, the method includes:
[0031] S110. In response to the operating user selecting at least one model component in the tool area of the model generation interface, the model components are displayed in the working area of the model generation interface, so that the operating user can combine the model components in the working area to obtain a combined model component.
[0032] The model generation interface includes a tool area and a work area; the tool area displays model components of various component types for the operating user to select; the operating user can select the corresponding model component by clicking or dragging. Specifically, when the operating user's selection action on the model component in the tool area is detected, the model component selected by the operating user is displayed in the work area of the model generation interface.
[0033] Among them, the model components can be functional components for realizing different logical computing functions, and the logical computing code of each logical component can be pre-compiled by relevant technical personnel based on MPC operation or coding logic, and bound to the corresponding model component.
[0034] The working area may be an operating area for the selected model components by the operating user, and specifically may be a component connection and parameter setting of the model components. Specifically, the operating user may combine components and set parameters of each selected model component in the working area to obtain a combined model component.
[0035] Optionally, the component type of the model component may include at least one of a variable type, a logical type, and a mathematical type; a logical type model component may include an operation type component and / or a Boolean type component; a digital type model component may include at least one of a maximum function component, a minimum function component, a median function component, and a mean function component.
[0036] For example, a variable type model component may be a function component for assigning values; an operation type model component may include function components of operation logic such as "=", "≠", ">", "<", "≤", and "≥". A Boolean type model component may include a "True" function component and a "Fasle" function component. A digital type model component may include function components for implementing different operations, such as maximum value operation, minimum value operation, median operation, and average operation.
[0037] like Figure 1B A schematic diagram of a model generation interface shown in FIG. 1 ; the model generation interface includes a tool area and a work area. The tool area includes three logic types of model components, which are respectively variable type, logic type and mathematical type; different logic types also include specific model components of the corresponding type (not shown in the figure). The work area includes a model component that implements the assignment function under the variable type selected by the operating user and a model component that implements the calculation function under the mathematical type.
[0038] S120: Generate a logical calculation model and its corresponding model parameters according to the combined model components.
[0039] It should be noted that since model components with different functions have their own logical codes, and the combination of model components with different functions can realize different logical functions, when the user generates a combined model component, it is necessary to perform logical function analysis on each model component included in the combined model component, so as to generate a logical calculation model based on the logical functions of each model component obtained by the analysis and the connection relationship between the model components.
[0040] The model parameters are obtained by determining the parameters of each model component when the operating user generates the combined model component, and can be obtained by model parsing. For example, when the operating user selects a model component of a digital type, the model parameters will be determined in the corresponding component selection or input box.
[0041] In an optional embodiment, a logical calculation model and its corresponding model parameters are generated according to the combined model component, including: performing component analysis on the combined model component, determining the component connection relationship of each model component in the combined model component, and determining the model parameters of the combined model component; generating a logical calculation model based on the component connection relationship according to the internal logic of each model component.
[0042] Perform component analysis on the combined model component to determine the component connection relationship between each model component in the combined model component; according to the component connection relationship, based on the component internal logic corresponding to each model component, determine the data transmission process of each model component. Specifically, the data can be transmitted from the input model component, the receiving model component stores the data and performs calculations, and then the results are passed to the next model component until the last model component receives the data calculation result, and the data transmission process of the combined model component is obtained. According to the data transmission process, a logical calculation model is generated based on the component internal logic of each model component. Among them, the model parameters of the combined model component can be directly obtained by parsing.
[0043] The technical solution of the above-mentioned embodiment determines the component connection relationship between the model components by parsing the combined model components, thereby generating a complete data transmission process of the combined model components based on the component connection relationship and the internal logic of each model component, and then generating a logical calculation model based on the data transmission process, thereby achieving accurate generation of the logical calculation model, thereby further improving the security, accuracy and reliability of multi-party secure computing.
[0044] It should be noted that the operations such as combination, assignment and movement of model components by the operating user need to be performed in the working area. When the area manipulated by the operating user on the model component is outside the working area, the series of operations on the model component will be invalid.
[0045] In addition, since the logical functions of model components are different, different types of logical components can be combined, but there are also cases where the same or different types of logical components cannot be combined. When the model components combined by the operating user cannot be combined, an operation error prompt can be given to the operating user.
[0046] In an optional embodiment, in response to the operating user's combination operation on each model component in the working area, it is determined whether the combination operation is valid; if so, the model components on which the operating user performs the combination operation are combined; if not, an operation error prompt message is generated and displayed based on the internal logic of the model components on which the operating user performs the combination operation.
[0047] Specifically, it is determined whether the model components combined by the operating user in the working area can be combined. If so, it is determined that the combination operation of the operating user is valid, and the model components combined by the operating user are combined; if not, it is determined that the combination operation of the operating user is invalid, and an operation error prompt message is displayed to the operating user. The operation error prompt message may include the reason information of the invalid combination; the reason information of the invalid combination can be generated according to the internal logic of the model components combined by the operating user.
[0048] The above technical solution improves the flexibility of model component combination by judging whether the operation between the model components combined by the operating user is valid, and provides effective information prompts for incorrectly combined model components, thereby bringing a good experience to the operating user and improving the operating convenience of the operating user.
[0049] S130: Bind the logic computing model and the model parameters and publish them, so that the model demander can select computing participants to participate in the logic computing based on the published logic computing model and model parameters, thereby performing multi-party secure logic computing.
[0050] The model demander may be a user, platform or enterprise that has a need to use the logical computing model.
[0051] Specifically, the model demander can select a model from the published logical computing models and participate in multi-party secure logical computing based on the specific implementation functions of the published logical computing models and their own computing needs. After the model demander determines the logical computing model, it is also necessary to select computing participants to participate in the logical computing based on the model parameters of the logical computing model.
[0052] When the model demander has completed the determination of the calculation participants, the logical calculation model can be bound to the characteristic values specifically involved in the calculation in the characteristic data table of the calculation participant, and the availability of the logical calculation model can be verified by generating a test data set to verify whether the logical calculation model can operate normally.
[0053] The specific way of publishing the logical computing model may be to publish the generated logical computing model as an API (Application Programming Interface) application service that can be called. One logical computing model may be published as one or more API application services.
[0054] In an optional embodiment, in response to the model demander's selection operation on the published logical computing model, and the selection operation on the characteristic values of the computing participants based on the corresponding model parameters, the model parameters and characteristic values of the selected logical computing model are bound; the characteristic values of the corresponding computing participants are called as model parameters to participate in the logical computing, the availability of the logical computing model is verified, and the verification result is obtained; if the verification result is that the verification is passed, a service call interface of the logical computing model is generated for the model demander to make a service call.
[0055] Specifically, multiple computing participants selected by the call model demander participate in the logic calculation based on their own characteristic values. The multi-party secure calculation method can be a homomorphic encryption method to ensure the security of their own characteristic values and intermediate calculation data. After the calculation is completed, the availability of the logical calculation model is verified according to the calculation results. Specifically, it can be verified whether the calculation results of the logical calculation model are accurate. If the verification is passed, the (API application) service call interface of the logical calculation model is generated for the model demander to make service calls.
[0056] Optionally, if the verification result is verification failure, a verification failure prompt message is generated; the verification failure prompt message is fed back to the operating user of the corresponding logical computing model, so that the corresponding operating user can update the logical computing model that failed the verification based on the verification failure prompt message.
[0057] Among them, the verification failure prompt information may include the calculation results of the multi-party secure calculation based on the logical calculation model. When the operating user to which the logical calculation model belongs receives the verification failure prompt information, the logical calculation model can be corrected according to the calculation results. Specifically, the operating user can correct the model by combining model components, or can also regenerate the logical calculation model based on IDE (Encoder Integrated Development Environment) compilation to achieve model update of the logical calculation model.
[0058] The above technical solution verifies the availability of the logical computing model to determine the accuracy and reliability of the service call interface generated based on the logical computing model. When the availability verification of the logical computing model fails, the user who designed the logical computing model can also modify the logical computing model in different ways to achieve the update and availability of the model.
[0059] The technical solution of the embodiment of the present invention combines model components in response to the selection operation of the operating user on the model components to obtain a combined model component, generates a logical calculation model and its corresponding model parameters according to the combined model component, binds the logical calculation model and the model parameters and publishes them, so that the model demander can select the computing participants who participate in the logical calculation based on the published logical calculation model and model parameters to perform multi-party secure logical calculation. The above technical solution generates the logical calculation model in the form of model components during the multi-party secure logical calculation process, so that operating users who are not familiar with the MPC programming logic can also generate corresponding logical calculation models based on their own needs, thereby improving the convenience of generating logical calculation models based on multi-party secure calculations, and improving the efficiency and accuracy of model generation.
[0060] Embodiment 2
[0061] Figure 2 This is a flow chart of a method for generating a logical computing model based on multi-party secure computing provided in the second embodiment of the present invention. This embodiment provides a preferred example based on the above embodiment.
[0062] like Figure 2 As shown, the method comprises the following specific steps:
[0063] S210: In response to a user selecting at least one model component in a tool area of a model generation interface, displaying each model component in a working area of the model generation interface.
[0064] S220. In response to the user's combination operation on each model component in the work area, determine whether the combination operation is valid; if so, execute S230A; if not, execute S230B.
[0065] S230A, combining the model components on which the operating user performs the combination operation to obtain a combined model component.
[0066] S230B. Generate and display operation error prompt information according to the internal logic of the model component of the combined operation performed by the operating user.
[0067] S240: Component analysis is performed on the combined model component to determine the component connection relationship of each model component in the combined model component, and to determine the model parameters of the combined model component.
[0068] S250: Generate a logic calculation model according to the internal logic of each model component and based on the component connection relationship.
[0069] S260: Bind the logic computing model and the model parameters and publish them, so that the model demander can select computing participants to participate in the logic computing based on the published logic computing model and model parameters, thereby performing multi-party secure logic computing.
[0070] S270: In response to the model demander's selection operation on the published logical computing model and the selection operation on the characteristic values of the computing participants based on the corresponding model parameters, the model parameters and characteristic values of the selected logical computing model are bound.
[0071] S280: Call the characteristic values of the corresponding calculation participants as model parameters to participate in the logic calculation, verify the availability of the logic calculation model, and obtain the verification result.
[0072] S290A: If the verification result is that the verification is passed, a service call interface of the logical calculation model is generated for the model demander to make a service call.
[0073] S290B. If the verification result is that the verification fails, a verification failure prompt message is generated, and the verification failure prompt message is fed back to the operating user of the corresponding logical calculation model, so that the corresponding operating user can update the model of the logical calculation model that fails the verification based on the verification failure prompt message.
[0074] Embodiment 3
[0075] Figure 3 A schematic diagram of the structure of a logical computing model generation device based on multi-party secure computing provided in the third embodiment of the present invention. A logical computing model generation device based on multi-party secure computing provided in the embodiment of the present invention can be applied to the case where a logical computing model is generated and published in a multi-party secure computing scenario. The logical computing model generation device based on multi-party secure computing can be implemented in the form of hardware and / or software, such as Figure 3 As shown, the device specifically includes: an operation response module 301, a model generation module 302 and a parameter binding module 303. Among them,
[0076] An operation response module 301 is used for displaying each model component in a working area of the model generation interface in response to an operation of selecting at least one model component by an operating user in a tool area of the model generation interface, so that the operating user can combine each model component in the working area to obtain a combined model component;
[0077] A model generation module 302, used to generate a logical calculation model and its corresponding model parameters according to the combined model components;
[0078] The parameter binding module 303 is used to bind the logic computing model and the model parameters and publish them, so that the model demander can select computing participants participating in the logic computing based on the published logic computing model and model parameters, thereby performing multi-party secure logic computing.
[0079] The technical solution of the embodiment of the present invention combines model components in response to the selection operation of the operating user on the model components to obtain a combined model component, generates a logical calculation model and its corresponding model parameters according to the combined model component, binds the logical calculation model and the model parameters and publishes them, so that the model demander can select the computing participants who participate in the logical calculation based on the published logical calculation model and model parameters to perform multi-party secure logical calculation. The above technical solution generates the logical calculation model in the form of model components during the multi-party secure logical calculation process, so that operating users who are not familiar with the MPC programming logic can also generate corresponding logical calculation models based on their own needs, thereby improving the convenience of generating logical calculation models based on multi-party secure calculations, and improving the efficiency and accuracy of model generation.
[0080] Optionally, the model generation module 302 is specifically used for:
[0081] Performing component analysis on the combined model component, determining component connection relationships among model components in the combined model component, and determining model parameters of the combined model component;
[0082] According to the internal logic of each model component and based on the component connection relationship, a logical calculation model is generated.
[0083] Optionally, the device further comprises:
[0084] An operation validity judgment module, used for judging whether the combined operation of each model component in the working area by the operating user is valid;
[0085] A component combination module, used for combining the model components on which the operation user performs the combination operation if the combination operation is valid;
[0086] The error information display module is used to generate and display operation error prompt information according to the internal logic of the model component on which the operation user performs the combination operation if the combination operation is invalid.
[0087] Optionally, the component type of the model component includes at least one of a variable type, a logical type and a mathematical type; the logical type model component includes an operation type component and / or a Boolean type component; the digital type model component includes at least one of a maximum function component, a minimum function component, a median function component and a mean function component.
[0088] Optionally, the device further comprises:
[0089] A selection operation response module is used to respond to the selection operation of the model demander on the published logical computing model, and the selection operation of the characteristic value of the computing participant based on the corresponding model parameters, and bind the model parameters and characteristic values of the selected logical computing model;
[0090] A logic calculation module, used to call the characteristic values of the corresponding calculation participants as model parameters to participate in the logic calculation, verify the availability of the logic calculation model, and obtain the verification result;
[0091] The calling interface generation module is used to generate a service calling interface of the logical computing model if the verification result is that the verification is passed, so that the model demander can make a service call.
[0092] Optionally, the device further comprises:
[0093] A failure prompt module is used to use the characteristic value of the corresponding calculation participant as a model parameter to participate in the logic calculation, verify the availability of the logic calculation model, and after obtaining the verification result, if the verification result is that the verification fails, generate a verification failure prompt message;
[0094] The failure information feedback module is used to feed back the verification failure prompt information to the operating user of the corresponding logical calculation model, so that the corresponding operating user can update the logical calculation model that has not passed the verification based on the verification failure prompt information.
[0095] The device for generating a logical computing model based on multi-party secure computing provided in an embodiment of the present invention can execute the method for generating a logical computing model based on multi-party secure computing provided in any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method.
[0096] Embodiment 4
[0097] Figure 4A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0098] like Figure 4 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0099] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0100] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a logical computing model generation method based on multi-party secure computing.
[0101] In some embodiments, the method for generating a logical computing model based on multi-party secure computation may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the method for generating a logical computing model based on multi-party secure computation described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the method for generating a logical computing model based on multi-party secure computation by any other appropriate means (e.g., by means of firmware).
[0102] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0103] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0104] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0105] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0106] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0107] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0108] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0109] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for generating a logical computing model based on multi-party secure computing, characterized in that: include: In response to a selection operation of at least one model component by an operating user in a tool area of a model generation interface, displaying each of the model components in a working area of the model generation interface, so that the operating user can combine each of the model components in the working area to obtain a combined model component; Generate a logical calculation model and its corresponding model parameters according to the combined model components; The logic computing model and the model parameters are bound and then published, so that the model demander can select computing participants who participate in the logic computing based on the published logic computing model and model parameters, thereby performing multi-party secure logic computing.
2. The method according to claim 1, characterized in that The step of generating a logical calculation model and its corresponding model parameters according to the combined model components includes: Performing component analysis on the combined model component, determining component connection relationships among model components in the combined model component, and determining model parameters of the combined model component; According to the internal logic of each model component and based on the component connection relationship, a logical calculation model is generated.
3. The method according to claim 1, characterized in that The method further comprises: In response to the operating user's combined operation on each of the model components in the work area, determining whether the combined operation is valid; If yes, then combining the model components on which the operation user performs the combination operation; If not, an operation error prompt message is generated and displayed according to the internal logic of the model component on which the operation user performs the combined operation.
4. The method according to claim 1, characterized in that: The component type of the model component includes at least one of a variable type, a logical type and a mathematical type; the model component of the logical type includes an operation type component and / or a Boolean type component; the model component of the digital type includes at least one of a maximum function component, a minimum function component, a median function component and a mean function component.
5. The method according to claim 1, characterized in that The method further comprises: In response to the selection operation of the model demander on the published logical computing model and the selection operation of the characteristic value of the computing participant based on the corresponding model parameters, the model parameters and characteristic values of the selected logical computing model are bound; Calling the characteristic values of the corresponding calculation participants as model parameters to participate in the logic calculation, verifying the availability of the logic calculation model, and obtaining the verification result; If the verification result is that the verification is passed, a service call interface of the logical computing model is generated for the model demander to make a service call.
6. The method according to claim 5, characterized in that After calling the characteristic values of the corresponding computing participants as model parameters to participate in the logic computing, verifying the availability of the logic computing model, and obtaining the verification result, the method further includes: If the verification result is that the verification fails, a verification failure prompt message is generated; The verification failure prompt information is fed back to the operating user of the corresponding logical calculation model, so that the corresponding operating user can update the logical calculation model that has failed the verification based on the verification failure prompt information.
7. A logical computing model generation device based on multi-party secure computing, characterized in that: include: An operation response module, for responding to a selection operation of at least one model component by an operating user in a tool area of a model generation interface, displaying each of the model components in a working area of the model generation interface, so that the operating user can combine each of the model components in the working area to obtain a combined model component; A model generation module, used to generate a logical calculation model and its corresponding model parameters according to the combined model components; The parameter binding module is used to bind the logical computing model and the model parameters and then publish them, so that the model demander can select computing participants participating in the logical computing based on the published logical computing model and model parameters, thereby performing multi-party secure logical computing.
8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for generating a logical computing model based on multi-party secure computing as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for generating a logical computing model based on multi-party secure computing according to any one of claims 1 to 6 when executed.
10. A computer program product, characterized in that The computer program product comprises a computer program, which, when executed by a processor, implements the method for generating a logical computing model based on multi-party secure computing according to any one of claims 1 to 6.